collection.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <view class="content">
  3. <view class="collection-box">
  4. <view class="collection-item">
  5. <view class="left">
  6. <view class="img">
  7. <image src="../../static/user/bank.png" mode=""></image>
  8. </view>
  9. <view class="bank">
  10. 银行卡
  11. </view>
  12. </view>
  13. <view class="gg">
  14. <view class="status">
  15. 未添加
  16. </view>
  17. <view class="img1" @click="nav('')">
  18. <image src="../../static/user/right.png" mode=""></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="collection-item">
  23. <view class="left">
  24. <view class="img">
  25. <image src="../../static/user/zfb.png" mode=""></image>
  26. </view>
  27. <view class="bank">
  28. 支付宝
  29. </view>
  30. </view>
  31. <view class="gg">
  32. <view class="status">
  33. 未添加
  34. </view>
  35. <view class="img1">
  36. <image src="../../static/user/right.png" mode=""></image>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="collection-item">
  41. <view class="left">
  42. <view class="img">
  43. <image src="../../static/user/wx.png" mode=""></image>
  44. </view>
  45. <view class="bank">
  46. 微信
  47. </view>
  48. </view>
  49. <view class="gg">
  50. <view class="status">
  51. 未添加
  52. </view>
  53. <view class="img1">
  54. <image src="../../static/user/right.png" mode=""></image>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. };
  66. }
  67. }
  68. </script>
  69. <style lang="scss">
  70. page,
  71. .content {
  72. height: 100%;
  73. margin: 0;
  74. height: 0;
  75. }
  76. .collection-box {
  77. background: #FFFFFF;
  78. margin: 50rpx 20rpx;
  79. width: 710rpx;
  80. display: flex;
  81. flex-direction: column;
  82. .collection-item {
  83. margin: 35rpx 30rpx;
  84. display: flex;
  85. justify-content: space-between;
  86. .left {
  87. display: flex;
  88. .img {
  89. height: 40rpx;
  90. width: 40rpx;
  91. image {
  92. height: 100%;
  93. width: 100%;
  94. }
  95. }
  96. .bank {
  97. margin-left: 25rpx;
  98. font-size: 26rpx;
  99. font-family: PingFang SC;
  100. font-weight: 500;
  101. color: #333333;
  102. }
  103. }
  104. .gg {
  105. display: flex;
  106. .status {
  107. font-size: 26rpx;
  108. font-family: PingFang SC;
  109. font-weight: 500;
  110. color: #999999;
  111. margin-right: 20rpx;
  112. }
  113. .img1 {
  114. width: 15rpx;
  115. height: 25rpx;
  116. image {
  117. width: 100%;
  118. height: 100%;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. </style>