accounts.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <template>
  2. <view class="content">
  3. <view class="list">
  4. <radio-group @change="tabRadio">
  5. <!-- #ifndef MP -->
  6. <label>
  7. <view class="box" @click="navTo('/pages/wallet/alipay')">
  8. <view class="icon iconfont iconzhifubao"></view>
  9. <view class="title-box">
  10. <view class="title"><text>支付宝</text></view>
  11. </view>
  12. <view class="right"><image src="../../static/img/img01.png"></image></view>
  13. </view>
  14. </label>
  15. <!-- #endif -->
  16. <label>
  17. <view class="box" @click="navTo('/pages/wallet/weixin')">
  18. <view class="icon iconfont iconweixin1"></view>
  19. <view class="title-box">
  20. <view class="title"><text>微信</text></view>
  21. <!-- <view class="node"><text>真实姓名(代勇明)</text></view> -->
  22. </view>
  23. <view class="right"><image src="../../static/img/img01.png"></image></view>
  24. </view>
  25. </label>
  26. <label>
  27. <view class="box1" @click="navTo('/pages/wallet/bankcard')">
  28. <view class="box1-top"><image src="../../static/img/img31.jpg"></image></view>
  29. <view class="title-box">
  30. <view class="title"><text>银行卡</text></view>
  31. <!-- <view class="node"><text>真实姓名(代勇明)</text></view> -->
  32. </view>
  33. <view class="right"><image src="../../static/img/img01.png"></image></view>
  34. </view>
  35. </label>
  36. </radio-group>
  37. </view>
  38. </view>
  39. </template>
  40. <script>
  41. // #ifdef H5
  42. import { rechargeWechat } from '@/api/wallet.js';
  43. // #endif
  44. // #ifdef MP
  45. import { rechargeRoutine } from '@/api/wallet.js';
  46. // #endif
  47. import { mapState } from 'vuex';
  48. export default {
  49. data() {
  50. return {
  51. };
  52. },
  53. onLoad(options) {},
  54. methods: {
  55. // 跳转
  56. navTo(url) {
  57. uni.navigateTo({
  58. url: url
  59. });
  60. },
  61. }
  62. };
  63. </script>
  64. <style lang="scss">
  65. page {
  66. height: 100%;
  67. }
  68. .add-btn {
  69. &.modified {
  70. color: $base-color;
  71. }
  72. &.up {
  73. background:$base-color;
  74. color: #fff;
  75. }
  76. display: flex;
  77. align-items: center;
  78. justify-content: center;
  79. width: 560rpx;
  80. height: 80rpx;
  81. margin: 0 auto;
  82. margin-top: 60rpx;
  83. font-size: $font-lg;
  84. border-radius: 40rpx;
  85. }
  86. .list {
  87. padding:0 30rpx;
  88. background-color: #ffffff;
  89. .box {
  90. display: flex;
  91. align-items: center;
  92. width: 100%;
  93. height: 100rpx;
  94. border-bottom: 1px solid $border-color-light;
  95. }
  96. .box1{
  97. display: flex;
  98. align-items: center;
  99. width: 100%;
  100. height: 100rpx;
  101. }
  102. .icon {
  103. font-size: 48rpx;
  104. padding-right: 20rpx;
  105. }
  106. .iconweixin1 {
  107. color: #18bf16;
  108. }
  109. .iconzhifubao {
  110. color: #08aaec;
  111. }
  112. .title-box {
  113. flex-grow: 1;
  114. text-align: left;
  115. .title {
  116. font-size: $font-base + 2rpx;
  117. color: #333333;
  118. }
  119. }
  120. .right{
  121. image {
  122. width: 13rpx;
  123. height: 25rpx;
  124. }
  125. }
  126. image {
  127. width: 48rpx;
  128. height: 37rpx;
  129. margin-right: 20rpx;
  130. }
  131. }
  132. /deep/ .uni-radio-input {
  133. width: 45rpx;
  134. height: 45rpx;
  135. }
  136. .active-bg {
  137. background-color: $color-gray !important;
  138. }
  139. </style>