user-content.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <template>
  2. <view class="user-content-box">
  3. <view class="content-top">
  4. <view class="top-left">“</view>
  5. <view class="top-right">
  6. <image class="right-img" mode="aspectFill" src="/static/img/index/authentication.png" ></image>
  7. <view class="right-text sys-color-white sys-weight-400">108喜欢</view>
  8. </view>
  9. </view>
  10. <view class="user-signature sys-color-white sys-weight-400">崇尚自由,热爱生活,足以!</view>
  11. <view class="user-tag">
  12. <view class="tag-item" v-for="i in 5">
  13. <image class="tag-img" mode="aspectFill" src="/static/img/index/tag-img.png" ></image>
  14. <view class="tag-text sys-color-gray-3 sys-weight-400">认识朋友</view>
  15. </view>
  16. </view>
  17. <view class="user-wire"></view>
  18. <view class="gift-box">
  19. <view class="gift-title">
  20. <view class="gift-title-left sys-weight-600">心动礼物</view>
  21. <view class="gift-title-right">
  22. <view class="gift-right-text sys-color-white sys-weight-400">全部</view>
  23. <image class="gift-right-img" mode="aspectFill" src="/static/img/index/authentication.png" ></image>
  24. </view>
  25. </view>
  26. <view class="gift-list">
  27. <view class="gift-item"></view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. name: "user-content",
  35. components: {},
  36. props: {},
  37. data() {
  38. return {}
  39. },
  40. watch: {},
  41. mounted() {
  42. },
  43. methods: {}
  44. }
  45. </script>
  46. <style scoped lang="scss">
  47. .user-content-box{
  48. background: #333333;
  49. padding: 40rpx 28rpx;
  50. .content-top{
  51. display: flex;
  52. justify-content: space-between;
  53. .top-left{
  54. font-size: 48rpx;
  55. color: rgba(255,255,255,0.3);
  56. }
  57. .top-right{
  58. display: flex;
  59. justify-content: center;
  60. .right-img{
  61. width: 36rpx;
  62. height: 36rpx;
  63. margin-right: 6rpx;
  64. }
  65. .right-text{
  66. font-size:26rpx ;
  67. }
  68. }
  69. }
  70. .user-signature{
  71. font-size: 32rpx;
  72. }
  73. .user-tag{
  74. display: flex;
  75. flex-wrap: wrap;
  76. margin-bottom: 62rpx;
  77. .tag-item{
  78. margin-top: 26rpx;
  79. margin-right: 20rpx;
  80. border-radius: 200rpx;
  81. background: rgba(255,255,255,0.4);
  82. display: flex;
  83. justify-content: center;
  84. padding: 6rpx 12rpx;
  85. .tag-img{
  86. width: 32rpx;
  87. height: 32rpx;
  88. margin-right: 8rpx;
  89. }
  90. .tag-text{
  91. font-size: 28rpx;
  92. height: 32rpx;
  93. line-height: 32rpx;
  94. }
  95. }
  96. }
  97. .user-wire{
  98. height: 2rpx;
  99. border-radius: 200rpx;
  100. opacity: 0.2;
  101. background-color: #4D4C4C;
  102. }
  103. .gift-box{
  104. margin-top: 64rpx;
  105. .gift-title{
  106. height: 56rpx;
  107. display: flex;
  108. justify-content: space-between;
  109. .gift-title-left{
  110. font-size: 40rpx;
  111. line-height: 56rpx;
  112. height: 56rpx;
  113. color: rgba(255,255,255,0.4);
  114. }
  115. .gift-title-right{
  116. display: flex;
  117. justify-content: center;
  118. .gift-right-text{
  119. font-size: 24rpx;
  120. margin-right: 8rpx;
  121. }
  122. .gift-right-img{
  123. height: 24rpx;
  124. width: 24rpx;
  125. }
  126. }
  127. }
  128. }
  129. }
  130. </style>