详情小程序
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.

70 lines
1.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. <template>
  2. <view class="content">
  3. <view class="list" v-for="(item, index) in list" :key="index" @click="$url(item.path)" hover-class="lf-opacity">
  4. <image class="icon" src="../../static/images/empty.png"></image>
  5. <view class="lf-row-between" style="width: 556rpx;">
  6. <view>
  7. <view class="lf-font-32 lf-color-222">{{ item.title }}</view>
  8. <view class="lf-m-t-10 lf-font-28 lf-color-777">{{ item.desc }}</view>
  9. </view>
  10. <view>
  11. <text class="lf-iconfont icon-xiangyou lf-color-999"></text>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data(){
  20. return {
  21. list: [{
  22. title: '消息订阅',
  23. desc: '关闭后将错过不少缘分',
  24. icon: '',
  25. path: '',
  26. unread_count: 0
  27. },{
  28. title: '联系过的人',
  29. desc: '去看看哪些人联系过了',
  30. icon: '',
  31. path: '',
  32. unread_count: 0
  33. },{
  34. title: '系统消息',
  35. desc: '查看官方消息',
  36. icon: '',
  37. path: '/pages/messageCenter/system',
  38. unread_count: 0
  39. }]
  40. }
  41. },
  42. onLoad(){
  43. },
  44. methods: {
  45. }
  46. }
  47. </script>
  48. <style lang="scss" scoped="scoped">
  49. .content{
  50. padding: 0 32rpx;
  51. width: 750rpx;
  52. height: max-content;
  53. box-sizing: border-box;
  54. .list{
  55. padding: 30rpx 0;
  56. border-bottom: 1rpx solid #e5e5e5;
  57. display: flex;
  58. .icon{
  59. width: 120rpx;
  60. height: 120rpx;
  61. border-radius: 50%;
  62. margin-right: 15rpx;
  63. }
  64. }
  65. }
  66. </style>