index.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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">
  42. </view>
  43. </view>
  44. <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  45. </scroll-view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. components: {},
  51. data() {
  52. return {
  53. name:'仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...仰看辉煌煌煌煌煌1111煌...'
  54. };
  55. },
  56. onLoad(data) {},
  57. mounted() {},
  58. methods: {
  59. scrolltolower() {
  60. console.log('触底');
  61. },
  62. },
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .my-box{}
  67. .bg-box{
  68. width: 100%;
  69. height: 476rpx;
  70. position: fixed;
  71. top: 0;
  72. z-index: -1;
  73. }
  74. .user-img-box{
  75. width: 112rpx;
  76. height: 112rpx;
  77. position: relative;
  78. }
  79. .user-box{
  80. padding: 54rpx 32rpx;
  81. }
  82. .user-img{
  83. width: 100%;
  84. height: 100%;
  85. }
  86. .set-iimg{
  87. position: absolute;
  88. right: 4rpx;
  89. bottom: 0;
  90. width: 33rpx;
  91. height: 33rpx;
  92. }
  93. .user-name{
  94. max-width: 388rpx;
  95. }
  96. .function-one-box{
  97. padding: 0 24rpx;
  98. }
  99. .function-one{
  100. padding: 24rpx 34rpx;
  101. }
  102. .function-two{
  103. padding: 22rpx 40rpx 22rpx 32rpx;
  104. background: linear-gradient( 90deg, #FFFFFF 47%, #FFF7E5 100%);
  105. }
  106. .my-img{
  107. width: 80rpx;
  108. height: 80rpx;
  109. margin: 0 0 8rpx 0;
  110. }
  111. </style>