index.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <template>
  2. <view class="content">
  3. <<<<<<< HEAD
  4. <foot-tabs></foot-tabs>
  5. =======
  6. <div class="self-inf">
  7. <div class="img-name-box">
  8. <img src="/static/logo.png" alt="" class="heade-img" />
  9. <p src="" alt="" class="nickname">微信昵称2233</p>
  10. </div>
  11. <img
  12. class="bg-img"
  13. src="https://kiq.xazhima.com//upload/main_page/202109/202109231407288075.jpeg"
  14. alt=""
  15. />
  16. </div>
  17. <div class="options">
  18. <div v-for="(item, idx) in list" :key="idx" class="options-item">
  19. <div class="img-box">
  20. <img :src="item.icoin" alt="" class="options-item-img" /><span></span>
  21. </div>
  22. <div
  23. class="options-item-name"
  24. :class="{ fontGrey: idx == list.length - 1 }"
  25. >
  26. {{ item.name }}
  27. </div>
  28. </div>
  29. </div>
  30. >>>>>>> 081ec479ad7ee3fb7af49a140e84750670f16fdd
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. message: "我的",
  38. <<<<<<< HEAD
  39. =======
  40. list: [
  41. { icoin: "/static/logo.png", name: "我的建议" },
  42. { icoin: "/static/logo.png", name: "我的报名" },
  43. { icoin: "/static/logo.png", name: "我的收藏" },
  44. { icoin: "/static/logo.png", name: "退出登录" },
  45. ],
  46. >>>>>>> 081ec479ad7ee3fb7af49a140e84750670f16fdd
  47. };
  48. },
  49. onLoad() {},
  50. methods: {},
  51. };
  52. </script>
  53. <<<<<<< HEAD
  54. <style>
  55. .content {
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. .logo {
  62. height: 200rpx;
  63. width: 200rpx;
  64. margin-top: 200rpx;
  65. margin-left: auto;
  66. margin-right: auto;
  67. margin-bottom: 50rpx;
  68. }
  69. .text-area {
  70. display: flex;
  71. justify-content: center;
  72. }
  73. .title {
  74. font-size: 36rpx;
  75. color: #8f8f94;
  76. =======
  77. <style lang="scss" scoped>
  78. .content {
  79. display: flex;
  80. flex-direction: column;
  81. .self-inf {
  82. position: relative;
  83. height: 400rpx;
  84. width: 100%;
  85. display: flex;
  86. margin-bottom: 80rpx;
  87. border-radius: 0rpx 0rpx 100% 100%;
  88. .img-name-box {
  89. height: 150rpx;
  90. margin-top: 80rpx;
  91. display: flex;
  92. align-items: center;
  93. .heade-img {
  94. z-index: 1;
  95. width: 100rpx;
  96. height: 100rpx;
  97. border-radius: 50%;
  98. margin-left: 100rpx;
  99. }
  100. }
  101. .bg-img {
  102. z-index: -1;
  103. position: absolute;
  104. width: 100%;
  105. height: 100%;
  106. border-radius: 0rpx 0rpx 70rpx 70rpx;
  107. }
  108. .nickname {
  109. font-weight: 600;
  110. font-size: 35rpx;
  111. margin-left: 40rpx;
  112. color: #ffffff;
  113. letter-spacing: 1rpx;
  114. }
  115. }
  116. .options {
  117. padding: 70rpx;
  118. z-index: 99;
  119. position: relative;
  120. top: -230rpx;
  121. .options-item {
  122. background-color: #fff;
  123. display: flex;
  124. box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
  125. border-radius: 32rpx;
  126. margin-top: 20px;
  127. height: 150rpx;
  128. align-items: center;
  129. .img-box {
  130. margin-left: 40rpx;
  131. .options-item-img {
  132. width: 60rpx;
  133. height: 60rpx;
  134. }
  135. }
  136. .options-item-name {
  137. margin-left: 40rpx;
  138. font-weight: 600;
  139. font-size: 35rpx;
  140. }
  141. }
  142. }
  143. }
  144. .fontGrey {
  145. color: $uni-text-color-grey;
  146. >>>>>>> 081ec479ad7ee3fb7af49a140e84750670f16fdd
  147. }
  148. </style>