like-me.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <view class="like-me flex-common-css box-sizing-border iPhone-bottom">
  3. <Nav title='谁喜欢我' titleColor='#333' bgckgroundBox='#fff'></Nav>
  4. <view class="info-box box-sizing-border" :class="true?'info-box-y':'info-box-n'">
  5. <view class="card">
  6. <view class="car-home">
  7. <view class="car-info">
  8. <view class="sys-size-40 sys-weight-600 sys-color-white">10000</view>
  9. <view class="sys-size-24 sys-color-gray-9">最近收到</view>
  10. </view>
  11. <view class="car-info-xian"></view>
  12. <view class="car-info">
  13. <view class="sys-size-40 sys-weight-600 sys-color-white">100</view>
  14. <view class="sys-size-24 sys-color-gray-9">收到的喜欢</view>
  15. </view>
  16. </view>
  17. <image class="card-b-img" src="@/static/img/wallet/jiasu.png" mode="aspectFill"></image>
  18. </view>
  19. <view class="info-title">
  20. <view class="title-box">
  21. <image src="@/static/img/wallet/xd-black.png" mode="aspectFill"></image>
  22. <text class="sys-size-32 sys-color-gray-3 sys-weight-600">心动擦亮</text>
  23. </view>
  24. <view class="title-box">
  25. <text class="sys-size-24 sys-color-gray-9">全部</text>
  26. <uni-icons type="forward" size="12" color="#999"></uni-icons>
  27. </view>
  28. </view>
  29. <scroll-view scroll-x="true" class="list-x-scroll" @scrolltoupper="scrolltoupper">
  30. <view>
  31. </view>
  32. </scroll-view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data(){
  39. return{
  40. }
  41. },
  42. methods:{
  43. },
  44. }
  45. </script>
  46. <style scoped lang="scss">
  47. .like-me{
  48. .info-box-y{
  49. flex: 1;
  50. overflow: auto;
  51. }
  52. .info-box-n{
  53. flex: 1;
  54. overflow: hidden;
  55. }
  56. .info-box{
  57. padding: 32rpx;
  58. .info-title{
  59. display: flex;
  60. justify-content: space-between;
  61. .title-box{
  62. line-height: 20rpx;
  63. display: flex;
  64. align-items: center;
  65. image{
  66. width: 40rpx;
  67. height: 40rpx;
  68. margin-right: 8rpx;
  69. }
  70. }
  71. }
  72. }
  73. .card{
  74. width: 100%;
  75. height: 302rpx;
  76. border-radius: 16rpx;
  77. background: url('@/static/img/wallet/like-me.png') no-repeat;
  78. background-size: 100% 100%;
  79. padding: 24rpx 30rpx;
  80. box-sizing: border-box;
  81. margin-bottom: 46rpx;
  82. .car-home{
  83. display: flex;
  84. align-items: center;
  85. .car-info{
  86. width: 120rpx;
  87. text-align: center;
  88. }
  89. .car-info-xian{
  90. width: 2rpx;
  91. height: 62rpx;
  92. background-color: #999;
  93. margin: 0 80rpx;
  94. }
  95. }
  96. .card-b-img{
  97. margin-top: 60rpx;
  98. width: 100%;
  99. height: 108rpx;
  100. border-radius: 16rpx;
  101. }
  102. }
  103. }
  104. </style>