collection.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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/mybank.png" mode=""></image>
  8. </view>
  9. <view class="bank">
  10. 银行卡
  11. </view>
  12. </view>
  13. <view class="gg" @click="nav('/pages/collection/bank')">
  14. <view class="status">
  15. 未添加
  16. </view>
  17. <view class="img1" @click="nav('')">
  18. <text class="iconfont iconenter"></text>
  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" @click="nav('/pages/collection/zfb')">
  32. <view class="status">
  33. 未添加
  34. </view>
  35. <view class="img1">
  36. <text class="iconfont iconenter"></text>
  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" @click="nav('/pages/collection/wx')">
  50. <view class="status">
  51. 未添加
  52. </view>
  53. <view class="img1">
  54. <text class="iconfont iconenter"></text>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. };
  66. },
  67. onLoad() {
  68. this.loadData();
  69. },
  70. methods: {
  71. loadData(){
  72. },
  73. nav(url){
  74. uni.navigateTo({
  75. url
  76. })
  77. }
  78. }
  79. }
  80. </script>
  81. <style lang="scss">
  82. page,
  83. .content {
  84. height: 100%;
  85. margin: 0;
  86. height: 0;
  87. }
  88. .collection-box {
  89. background: #FFFFFF;
  90. margin: 50rpx 20rpx;
  91. width: 710rpx;
  92. display: flex;
  93. flex-direction: column;
  94. .collection-item {
  95. margin: 35rpx 30rpx;
  96. display: flex;
  97. justify-content: space-between;
  98. .left {
  99. display: flex;
  100. .img {
  101. height: 40rpx;
  102. width: 40rpx;
  103. image {
  104. height: 100%;
  105. width: 100%;
  106. }
  107. }
  108. .bank {
  109. margin-left: 25rpx;
  110. font-size: 26rpx;
  111. font-family: PingFang SC;
  112. font-weight: 500;
  113. color: #333333;
  114. }
  115. }
  116. .gg {
  117. display: flex;
  118. .status {
  119. font-size: 26rpx;
  120. font-family: PingFang SC;
  121. font-weight: 500;
  122. color: #999999;
  123. margin-right: 20rpx;
  124. }
  125. .img1 {
  126. width: 15rpx;
  127. height: 25rpx;
  128. image {
  129. width: 100%;
  130. height: 100%;
  131. }
  132. }
  133. }
  134. }
  135. }
  136. </style>