详情小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

79 lines
1.7 KiB

<template>
<view class="content">
<view class="list" v-for="(item, index) in list" :key="index" @click="$url(item.path)" hover-class="lf-opacity">
<view class="icon" :style="{'background': item.bg_color}">
<text class="lf-iconfont lf-font-50" :class="item.icon"></text>
</view>
<view class="lf-row-between" style="width: 556rpx;">
<view>
<view class="lf-font-32 lf-color-222">{{ item.title }}</view>
<view class="lf-m-t-10 lf-font-28 lf-color-777">{{ item.desc }}</view>
</view>
<view>
<text class="lf-iconfont icon-xiangyou lf-color-999"></text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data(){
return {
list: [{
title: '消息订阅',
desc: '关闭后将错过不少缘分',
icon: 'icon-pinglun',
bg_color: '#409EEC',
path: '',
unread_count: 0
},{
title: '联系过的人',
desc: '去看看哪些人联系过了',
icon: 'icon-contact-person',
bg_color: '#FE3EA5',
path: '',
unread_count: 0
},{
title: '系统消息',
desc: '查看官方消息',
icon: 'icon-tongzhi',
bg_color: '#FE7B43',
path: '/pages/messageCenter/system',
unread_count: 0
}]
}
},
onLoad(){
},
methods: {
}
}
</script>
<style lang="scss" scoped="scoped">
.content{
padding: 0 32rpx;
width: 750rpx;
height: max-content;
box-sizing: border-box;
.list{
padding: 30rpx 0;
border-bottom: 1rpx solid #e5e5e5;
display: flex;
.icon{
width: 120rpx;
height: 120rpx;
border-radius: 50%;
margin-right: 15rpx;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
}
}
}
</style>