index.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <template>
  2. <view class="msg-box">
  3. <view class="nav-box">
  4. <view class="nav-left sys-background-F2F2F2 sys-radius-200">
  5. <image class="nav-left-img" src="@/static/img/msg/yl.png" mode=""></image>
  6. <view class="nav-left-name sys-size-28 sys-weight-600 sys-color-black-3">
  7. 有料
  8. </view>
  9. </view>
  10. <view class="nav-text sys-size-36 sys-weight-600 sys-color-black-3">
  11. 消息
  12. </view>
  13. <image class="nav-right" src="@/static/img/msg/tx.png" mode=""></image>
  14. </view>
  15. <view class="msg-content">
  16. <view class="xpy-title sys-size-32 sys-weight-600 sys-color-black">
  17. 新朋友
  18. </view>
  19. <view class="xpy-list">
  20. <view class="xpy-list-left">
  21. <scroll-view class="scroll-view-x" scroll-x="true">
  22. <view class="xpy-list-left-item sys-radius-12" v-for="(item,index) in 4">
  23. </view>
  24. </scroll-view>
  25. </view>
  26. <view class="xpy-list-right sys-background-F2F2F2 sys-radius-12">
  27. <image class="xpy-list-right-img" src="@/static/img/msg/qbpd.png" mode=""></image>
  28. <view class="sys-size-28 sys-color-gray-9">
  29. 全部配对
  30. </view>
  31. </view>
  32. </view>
  33. <view class="xx-box">
  34. <view class="sys-size-32 sys-weight-600 sys-color-black">
  35. 消息
  36. </view>
  37. <image class="xx-box-img" src="@/static/img/msg/sx.png" mode=""></image>
  38. </view>
  39. <view class="msg-list">
  40. <image src="../../static/img/my/bg.png" class="msg-list-img sys-radius-round" mode=""></image>
  41. <view class="msg-list-item">
  42. <view class="msg-list-item-one">
  43. <view class="sys-size-32 sys-weight-600 sys-color-black">
  44. 系统消息
  45. </view>
  46. <view class="sys-size-24 sys-color-gray-9">
  47. 11.50
  48. </view>
  49. </view>
  50. <view class="msg-list-item-two sys-size-28 sys-color-gray-9">
  51. 刚刚左滑掉喜欢你的人,速去查看~
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. }
  63. },
  64. methods: {
  65. }
  66. }
  67. </script>
  68. <style scoped lang="scss">
  69. .msg-box {
  70. width: 100%;
  71. height: auto;
  72. .nav-box {
  73. padding: 16rpx 32rpx;
  74. box-sizing: border-box;
  75. display: flex;
  76. align-items: center;
  77. justify-content: space-between;
  78. position: relative;
  79. .nav-left {
  80. display: flex;
  81. align-items: center;
  82. padding: 6rpx 24rpx;
  83. .nav-left-img {
  84. width: 40rpx;
  85. height: 40rpx;
  86. margin: 0 8rpx 0 0;
  87. }
  88. }
  89. .nav-text {
  90. position: absolute;
  91. left: calc((100% - 72rpx) / 2);
  92. top: 22rpx;
  93. }
  94. .nav-right {
  95. width: 52rpx;
  96. height: 52rpx;
  97. }
  98. }
  99. .msg-content {
  100. padding: 40rpx 32rpx;
  101. box-sizing: border-box;
  102. .xpy-title {
  103. margin: 0 0 18rpx 0;
  104. }
  105. .xpy-list {
  106. display: flex;
  107. align-items: center;
  108. margin: 0 0 60rpx 0;
  109. .xpy-list-left {
  110. display: flex;
  111. align-items: center;
  112. max-width: calc(100% - 32rpx);
  113. overflow: hidden;
  114. .scroll-view-x {
  115. white-space: nowrap;
  116. width: 100%;
  117. .xpy-list-left-item {
  118. display: inline-block;
  119. width: 160rpx;
  120. height: 212rpx;
  121. margin: 0 16rpx 0 0;
  122. padding: 0 0 8rpx 8rpx;
  123. background: rgba(0, 0, 0, .3);
  124. }
  125. }
  126. }
  127. .xpy-list-right {
  128. width: 32rpx;
  129. padding: 16rpx 30rpx;
  130. display: flex;
  131. flex-direction: column;
  132. align-items: center;
  133. margin: 0 0 0 12rpx;
  134. flex-shrink: 0;
  135. .xpy-list-right-img {
  136. width: 32rpx;
  137. height: 32rpx;
  138. margin: 0 0 14rpx 0;
  139. }
  140. }
  141. }
  142. .xx-box {
  143. display: flex;
  144. align-items: center;
  145. justify-content: space-between;
  146. margin: 0 0 32rpx 0;
  147. .xx-box-img {
  148. width: 36rpx;
  149. height: 26rpx;
  150. }
  151. }
  152. .msg-list {
  153. display: flex;
  154. align-items: center;
  155. .msg-list-img {
  156. width: 112rpx;
  157. height: 112rpx;
  158. margin: 0 20rpx 0 0;
  159. flex-shrink: 0;
  160. }
  161. .msg-list-item {
  162. width: 100%;
  163. .msg-list-item-one {
  164. display: flex;
  165. align-items: center;
  166. justify-content: space-between;
  167. margin: 0 0 4rpx 0;
  168. }
  169. .msg-list-item-two {}
  170. }
  171. }
  172. }
  173. }
  174. </style>