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

95 lines
2.0 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
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. <view class="icon" :style="{'background': item.bg_color}">
  5. <text class="lf-iconfont lf-font-50" :class="item.icon"></text>
  6. </view>
  7. <view class="lf-row-between" style="width: 556rpx;">
  8. <view>
  9. <view class="lf-font-32 lf-color-222">{{ item.title }}</view>
  10. <view class="lf-m-t-10 lf-font-28 lf-color-777">{{ item.desc }}</view>
  11. </view>
  12. <view class="lf-row-between">
  13. <view class="lf-bg-red lf-font-28 ifread-tag">99+</view>
  14. <text class="lf-iconfont icon-xiangyou lf-color-999"></text>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. // 隐藏部分
  25. // {
  26. // title: '消息订阅',
  27. // desc: '关闭后将错过不少缘分',
  28. // icon: 'icon-pinglun',
  29. // bg_color: '#409EEC',
  30. // path: '',
  31. // unread_count: 0
  32. // },
  33. list: [{
  34. title: '联系过的人',
  35. desc: '去看看哪些人联系过了',
  36. icon: 'icon-contact-person',
  37. bg_color: '#FE3EA5',
  38. path: '/pages/wallMember/contactedMember',
  39. unread_count: 0
  40. }, {
  41. title: '系统消息',
  42. desc: '查看官方消息',
  43. icon: 'icon-tongzhi',
  44. bg_color: '#FE7B43',
  45. path: '/pages/messageCenter/system',
  46. unread_count: 0
  47. }]
  48. }
  49. },
  50. onLoad() {
  51. },
  52. methods: {
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped="scoped">
  57. .content {
  58. padding: 0 32rpx;
  59. width: 750rpx;
  60. height: max-content;
  61. box-sizing: border-box;
  62. .list {
  63. padding: 30rpx 0;
  64. border-bottom: 1rpx solid #e5e5e5;
  65. display: flex;
  66. .icon {
  67. width: 120rpx;
  68. height: 120rpx;
  69. border-radius: 50%;
  70. margin-right: 15rpx;
  71. color: #FFFFFF;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. }
  77. }
  78. .ifread-tag {
  79. border-radius: 20rpx;
  80. padding: 4rpx;
  81. color: white;
  82. width: 64rpx;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. margin-right: 10rpx;
  87. }
  88. </style>