collection.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <template>
  2. <view class="content">
  3. <view class="collection-box">
  4. <view class="collection-item" @click="navTo('/pages/collection/bank')">
  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" >
  18. <image src="../../static/user/right.png" mode=""></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="collection-item" @click="navTo('/pages/collection/zfb')">
  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" @click="navTo('/pages/collection/wx')">
  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. methods:{
  68. navTo(url){
  69. console.log(url);
  70. uni.navigateTo({
  71. url
  72. })
  73. }
  74. }
  75. }
  76. </script>
  77. <style lang="scss">
  78. page,
  79. .content {
  80. height: 100%;
  81. margin: 0;
  82. height: 0;
  83. }
  84. .collection-box {
  85. background: #FFFFFF;
  86. margin: 50rpx 20rpx;
  87. width: 710rpx;
  88. display: flex;
  89. flex-direction: column;
  90. .collection-item {
  91. margin: 35rpx 30rpx;
  92. display: flex;
  93. justify-content: space-between;
  94. .left {
  95. display: flex;
  96. .img {
  97. height: 40rpx;
  98. width: 40rpx;
  99. image {
  100. height: 100%;
  101. width: 100%;
  102. }
  103. }
  104. .bank {
  105. margin-left: 25rpx;
  106. font-size: 26rpx;
  107. font-family: PingFang SC;
  108. font-weight: 500;
  109. color: #333333;
  110. }
  111. }
  112. .gg {
  113. display: flex;
  114. .status {
  115. font-size: 26rpx;
  116. font-family: PingFang SC;
  117. font-weight: 500;
  118. color: #999999;
  119. margin-right: 20rpx;
  120. }
  121. .img1 {
  122. width: 15rpx;
  123. height: 25rpx;
  124. image {
  125. width: 100%;
  126. height: 100%;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. </style>