帧视界壹通告,付费看视频的微信小程序
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.

145 lines
4.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view style="display: flex;flex-direction: column; width: 100vw;height: 100vh;">
  3. <tabber :select="2"/>
  4. <!-- 顶部 -->
  5. <view style="width: 100%;height: 30%;">
  6. <image src="/static/image/center/1.png" style="width: 100%;height: 100%;"></image>
  7. </view>
  8. <!--中部 用户信息-->
  9. <view
  10. style="border-radius: 20rpx;position: absolute;top: 20%;left: 10%; width:80%;height: 12%;z-index: 1;background: white;">
  11. <!--头像-->
  12. <view
  13. style="position: absolute;z-index:2;width:33%;height:100%;border-radius: 50%;overflow: hidden;top: -32%;left: 0%;">
  14. <image src="/static/image/center/tyx.png" style="width: 100%;height: 100%;"></image>
  15. </view>
  16. <!--福利中心-->
  17. <view style="position: absolute;z-index:2;width:33%;height:30%;top: 13%;right: 2%;">
  18. <image src="/static/image/center/flzx.png" style="width: 100%;height: 100%;"></image>
  19. </view>
  20. <!-- 未认证-->
  21. <view style="position: absolute;z-index:2;width:15%;height:20%;top: 33%;left: 28%;">
  22. <image src="/static/image/center/wrz.png" style="width: 100%;height: 100%;"></image>
  23. </view>
  24. <!-- 去认证 -->
  25. <view style="position: absolute;z-index:2;width:55%;height:20%;top: 32%;left: 44%;">
  26. <span style="font-size: 26rpx;" class="textColor">去认证</span>
  27. </view>
  28. <!-- 用户信息 -->
  29. <view style="position: absolute;z-index:2;width:55%;height:20%;top: 60%;left: 7%;">
  30. <view>
  31. <span style="font-size: 35rpx;margin-right: 5rpx">海绵宝贝</span>
  32. <span style="font-size: 18rpx">15012142563</span>
  33. </view>
  34. </view>
  35. <!-- 点赞量 -->
  36. <view
  37. style="display: flex;flex-direction: column;gap:2rpx ;position: absolute;z-index:2;width:15%;height:40%;top: 55%;right: 3%;">
  38. <view style="display: flex;justify-content: center;align-items: center;width: 100%;height: 100%;">
  39. <image src="/static/image/center/dianZan.svg" style="width: 40%;height: 84%;"></image>
  40. </view>
  41. <view style="display: flex;justify-content: center ;font-size: 20rpx;color:#777777">点赞量</view>
  42. </view>
  43. </view>
  44. <!-- 下部 -->
  45. <view style="width: 100%;height: 70%;padding-top:150rpx">
  46. <view>
  47. <!--上GridView-->
  48. <view>
  49. <uv-grid :col="4">
  50. <uv-grid-item v-for="(item,index) in baseList" :key="index" @click="goToPage(item)">
  51. <img :src="item.imageUrl" :alt="item.title"
  52. :style="{ width: '80rpx', height: '80rpx',marginBottom: '10rpx'}"/>
  53. <text style="font-size: 30rpx;color: #333333;">{{ item.title }}
  54. </text>
  55. </uv-grid-item>
  56. </uv-grid>
  57. </view>
  58. <!--其他-->
  59. <view style="margin:50rpx 0 0 50rpx;font-size: 40rpx;color: #333333;">其他</view>
  60. <!--下GridView-->
  61. <view style="margin-top: 50rpx;">
  62. <uv-grid :col="4">
  63. <uv-grid-item v-for="(item,index) in otherList" :key="index" @click="goToPage(item)">
  64. <img :src="item.imageUrl" :alt="item.title"
  65. :style="{ width: '80rpx', height: '80rpx',marginBottom: '10rpx'}"/>
  66. <text style="font-size: 30rpx;color: #333333;">{{ item.title }}
  67. </text>
  68. </uv-grid-item>
  69. </uv-grid>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </template>
  75. <script>
  76. import tabber from '@/components/base/tabbar.vue'
  77. import {mapState} from 'vuex'
  78. export default {
  79. components: {
  80. tabber
  81. },
  82. computed: {
  83. ...mapState(['count']),
  84. },
  85. data() {
  86. return {
  87. // 基础列表
  88. baseList: [
  89. {
  90. name: 'photo',
  91. imageUrl: '/static/image/center/1.png',
  92. title: '我的发布',
  93. gotoPageUrl: '/mine/releaseRecord'
  94. },
  95. {
  96. name: 'lock', imageUrl: '/static/image/center/1.png', title: '我的推广',
  97. gotoPageUrl: '/mine/promotionRecord'
  98. },
  99. {name: 'star', imageUrl: '/static/image/center/1.png', title: '我的银行卡',
  100. gotoPageUrl: '/mine/addBankCard'
  101. },
  102. {name: 'star', imageUrl: '/static/image/center/1.png', title: '我的钱包',
  103. gotoPageUrl: '/mine/purse'},
  104. ],
  105. // 其他列表
  106. otherList: [
  107. {name: 'photo', imageUrl: '/static/image/center/1.png', title: '实名信息'},
  108. {name: 'lock', imageUrl: '/static/image/center/1.png', title: '帮助反馈'},
  109. ],
  110. }
  111. },
  112. methods: {
  113. // 点击列表跳转页面
  114. goToPage(item) {
  115. this.$utils.navigateTo(item.gotoPageUrl)
  116. },
  117. }
  118. }
  119. </script>
  120. <style lang="scss" scoped>
  121. * {
  122. box-sizing: border-box;
  123. margin: 0;
  124. padding: 0;
  125. }
  126. .textColor {
  127. background: $uni-linear-gradient-color;
  128. -webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/
  129. -webkit-text-fill-color: transparent; /*给文字设置成透明*/
  130. }
  131. </style>