index.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="my-box">
  3. <Nav title="我的" :left-show="false" titleColor="#D9E4F6"></Nav>
  4. <view class="content">
  5. <view class="user-box" >
  6. <image class="user-box-left" src="/static/img/icon/logo.png" mode=""></image>
  7. <view class="user-box-right">
  8. <view class="user-box-right-one">
  9. 张啥的境况
  10. </view>
  11. <view class="user-box-right-two">
  12. 一级会员
  13. </view>
  14. </view>
  15. </view>
  16. <view class="more-function">
  17. 更多功能
  18. </view>
  19. <view class="function-box">
  20. <view class="function-box-list" >
  21. <view class="function-box-list-left">
  22. <view class="function-box-list-left-two">
  23. 操作中心
  24. </view>
  25. </view>
  26. <image class="function-box-list-right" src="@/static/img/my/jrimg.png" mode=""></image>
  27. </view>
  28. <view class="function-box-list" >
  29. <view class="function-box-list-left">
  30. <view class="function-box-list-left-two">
  31. 操作中心
  32. </view>
  33. </view>
  34. <image class="function-box-list-right" src="@/static/img/my/jrimg.png" mode=""></image>
  35. </view>
  36. <view class="function-box-list" >
  37. <view class="function-box-list-left">
  38. <view class="function-box-list-left-two">
  39. 操作中心
  40. </view>
  41. </view>
  42. <image class="function-box-list-right" src="@/static/img/my/jrimg.png" mode=""></image>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. name: "index",
  51. components: {},
  52. props: {},
  53. data() {
  54. return {}
  55. },
  56. watch: {},
  57. mounted() {
  58. },
  59. methods: {}
  60. }
  61. </script>
  62. <style scoped lang="scss">
  63. .my-box{
  64. background: #131E30;
  65. min-height: calc(100vh - 50px);
  66. .content {
  67. width: 100%;
  68. height: auto;
  69. padding: 60rpx 32rpx 0;
  70. box-sizing: border-box;
  71. .user-box {
  72. display: flex;
  73. align-items: center;
  74. margin: 0 0 34rpx 0;
  75. .user-box-left {
  76. width: 124rpx;
  77. height: 124rpx;
  78. border-radius: 50%;
  79. margin: 0 20rpx 0 0;
  80. }
  81. .user-box-right {
  82. .user-box-right-one {
  83. max-width: 320rpx;
  84. font-size: 40rpx;
  85. color: #D9E4F6;
  86. font-weight: 600;
  87. white-space: nowrap;
  88. text-overflow: ellipsis;
  89. overflow: hidden;
  90. word-break: break-all;
  91. }
  92. .user-box-right-two {
  93. font-size: 20rpx;
  94. padding: 2rpx 8rpx;
  95. background: #3169FA;
  96. border-radius: 3px;
  97. display: inline;
  98. color: #FFFFFF;
  99. }
  100. }
  101. }
  102. .more-function {
  103. padding: 0 0 0 32rpx;
  104. font-size: 32rpx;
  105. font-weight: 600;
  106. color: #D9E4F6;
  107. margin: 0 0 26rpx 0;
  108. }
  109. .function-box {
  110. width: 100%;
  111. height: auto;
  112. background: #061623;
  113. border-radius:16rpx;
  114. padding: 52rpx 26rpx 0;
  115. box-sizing: border-box;
  116. .function-box-list {
  117. display: flex;
  118. align-items: center;
  119. justify-content: space-between;
  120. padding: 0 0 56rpx 0;
  121. border-bottom: 1rpx solid #D9E4F6;
  122. margin: 0 0 54rpx 0;
  123. .function-box-list-left {
  124. display: flex;
  125. align-items: center;
  126. .function-box-list-left-one {
  127. width: 40rpx;
  128. height: 40rpx;
  129. margin: 0 12rpx 0 0;
  130. }
  131. .function-box-list-left-two {
  132. font-size: 32rpx;
  133. color: #D9E4F6;
  134. }
  135. }
  136. .function-box-list-right {
  137. width: 44rpx;
  138. height: 44rpx;
  139. display: block;
  140. }
  141. }
  142. .function-box-list:last-child{
  143. border:none;
  144. }
  145. }
  146. }
  147. }
  148. </style>