index.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <template>
  2. <view class="my-box flex-common-css">
  3. <Nav title="我的" :leftShow='false' titleColor="#333" bgckgroundBox='transparent'></Nav>
  4. <image class="bg-box" src="@/static/img/my/bg.png" mode=""></image>
  5. <view class="user-box align-items-center">
  6. <view class="user-img-box mr-24">
  7. <image class="user-img" src="@/static/img/my/user-img.png" mode=""></image>
  8. <image class="set-iimg" src="@/static/img/my/pen.png" mode=""></image>
  9. </view>
  10. <view class="user-name text-overflow-ellipsis-one fs-34">
  11. {{ name }}
  12. </view>
  13. </view>
  14. <view class="function-one-box box-border-box">
  15. <view class="function-one b-rad-20 bgc-f box-border-box mb-24 align-items-center flex-justify-space">
  16. <view class="my-function-box flex-direction align-items-center">
  17. <image class="my-img" src="@/static/img/my/wdkq.png" mode=""></image>
  18. <view class="fs-26">
  19. 我的卡券
  20. </view>
  21. </view>
  22. <view class="my-function-box flex-direction align-items-center">
  23. <image class="my-img" src="@/static/img/my/wdfb.png" mode=""></image>
  24. <view class="fs-26">
  25. 我的发布
  26. </view>
  27. </view>
  28. <view class="my-function-box flex-direction align-items-center">
  29. <image class="my-img" src="@/static/img/my/wdpj.png" mode=""></image>
  30. <view class="fs-26">
  31. 我的评价
  32. </view>
  33. </view>
  34. <view class="my-function-box flex-direction align-items-center">
  35. <image class="my-img" src="@/static/img/my/dzgl.png" mode=""></image>
  36. <view class="fs-26">
  37. 地址管理
  38. </view>
  39. </view>
  40. </view>
  41. <view class="function-two b-rad-20 box-border-box flex-justify-space mb-22">
  42. <view class="function-two-left">
  43. <view class="align-items-center mb-12 p-t-10">
  44. <image class="lqzx-img" src="@/static/img/my/lqzx.png" mode=""></image>
  45. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  46. </view>
  47. <view class="fs-26 fc-9">
  48. 领券下单更优惠
  49. </view>
  50. </view>
  51. <image class="function-two-right" src="@/static/img/my/q.png" mode=""></image>
  52. </view>
  53. </view>
  54. <scroll-view class="" :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  55. <view class="list-box function-one-box box-border-box">
  56. <view class="list bgc-f b-rad-20">
  57. <view class="item-box align-items-center flex-justify-space mb-64">
  58. <view class="item-left align-items-center">
  59. <image class="item-img" src="@/static/img/my/xxzx.png" mode=""></image>
  60. <view class="fs-32 fc-3">
  61. 消息中心
  62. </view>
  63. </view>
  64. <view class="item-right align-items-center">
  65. <view class="fs-24 fc-9">
  66. {{newsNum}}条未读消息
  67. </view>
  68. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  69. </view>
  70. </view>
  71. <view class="item-box align-items-center flex-justify-space mb-64">
  72. <view class="item-left align-items-center">
  73. <image class="item-img" src="@/static/img/my/lxkf.png" mode=""></image>
  74. <view class="fs-32 fc-3">
  75. 联系客服
  76. </view>
  77. </view>
  78. <view class="item-right align-items-center">
  79. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  80. </view>
  81. </view>
  82. <view class="item-box align-items-center flex-justify-space mb-64">
  83. <view class="item-left align-items-center">
  84. <image class="item-img" src="@/static/img/my/swhz.png" mode=""></image>
  85. <view class="fs-32 fc-3">
  86. 商务合作
  87. </view>
  88. </view>
  89. <view class="item-right align-items-center">
  90. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  91. </view>
  92. </view>
  93. <view class="item-box align-items-center flex-justify-space mb-64">
  94. <view class="item-left align-items-center">
  95. <image class="item-img" src="@/static/img/my/qszp.png" mode=""></image>
  96. <view class="fs-32 fc-3">
  97. 骑手招聘
  98. </view>
  99. </view>
  100. <view class="item-right align-items-center">
  101. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  102. </view>
  103. </view>
  104. <view class="item-box align-items-center flex-justify-space mb-64">
  105. <view class="item-left align-items-center">
  106. <image class="item-img" src="@/static/img/my/wtfk.png" mode=""></image>
  107. <view class="fs-32 fc-3">
  108. 问题反馈
  109. </view>
  110. </view>
  111. <view class="item-right align-items-center">
  112. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  113. </view>
  114. </view>
  115. <view class="item-box align-items-center flex-justify-space">
  116. <view class="item-left align-items-center">
  117. <image class="item-img" src="@/static/img/my/gywm.png" mode=""></image>
  118. <view class="fs-32 fc-3">
  119. 关于我们
  120. </view>
  121. </view>
  122. <view class="item-right align-items-center">
  123. <image class="to-right" src="@/static/img/toRight.png" mode=""></image>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. </scroll-view>
  129. <view class="p-b-20 b-rad-20"></view>
  130. </view>
  131. </template>
  132. <script>
  133. export default {
  134. components: {},
  135. data() {
  136. return {
  137. name:'仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...',
  138. newsNum: 24
  139. };
  140. },
  141. onLoad(data) {},
  142. mounted() {},
  143. methods: {
  144. scrolltolower() {
  145. console.log('触底');
  146. },
  147. },
  148. }
  149. </script>
  150. <style lang="scss" scoped>
  151. .my-box{}
  152. .bg-box{
  153. width: 100%;
  154. height: 476rpx;
  155. position: fixed;
  156. top: 0;
  157. z-index: -1;
  158. }
  159. .user-img-box{
  160. width: 112rpx;
  161. height: 112rpx;
  162. position: relative;
  163. }
  164. .user-box{
  165. padding: 54rpx 32rpx;
  166. }
  167. .user-img{
  168. width: 100%;
  169. height: 100%;
  170. }
  171. .set-iimg{
  172. position: absolute;
  173. right: 4rpx;
  174. bottom: 0;
  175. width: 33rpx;
  176. height: 33rpx;
  177. }
  178. .user-name{
  179. max-width: 388rpx;
  180. }
  181. .function-one-box{
  182. padding: 0 24rpx;
  183. }
  184. .function-one{
  185. padding: 24rpx 34rpx;
  186. }
  187. .function-two{
  188. padding: 22rpx 40rpx 22rpx 32rpx;
  189. background: linear-gradient( 90deg, #FFFFFF 47%, #FFF7E5 100%);
  190. }
  191. .my-img{
  192. width: 80rpx;
  193. height: 80rpx;
  194. margin: 0 0 8rpx 0;
  195. }
  196. .function-two-right{
  197. width: 96rpx;
  198. height: 96rpx;
  199. }
  200. .lqzx-img{
  201. width: 137rpx;
  202. height: 30rpx;
  203. margin: 0 8rpx 0 0;
  204. }
  205. .to-right {
  206. width: 32rpx;
  207. height: 32rpx;
  208. }
  209. // .list-box{
  210. // padding: 0 24rpx 20rpx;
  211. // }
  212. .list{
  213. padding: 32rpx 28rpx 32rpx 32rpx;
  214. }
  215. .item-img{
  216. width: 48rpx;
  217. height: 48rpx;
  218. margin: 0 20rpx 0 0;
  219. }
  220. </style>