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.
|
|
<template> <view class="content"> <view class="list" v-for="(item, index) in list" :key="index" @click="$url(item.path)" hover-class="lf-opacity"> <image class="icon" src="../../static/images/empty.png"></image> <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: '', path: '', unread_count: 0 },{ title: '联系过的人', desc: '去看看哪些人联系过了', icon: '', path: '', unread_count: 0 },{ title: '系统消息', desc: '查看官方消息', icon: '', 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; } } }</style>
|