帧视界壹通告,付费看视频的微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
2.4 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="addBankCard">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="添加银行卡"/>
  5. <!--添加银行卡页面-->
  6. <view class="container">
  7. <view class="header">
  8. <text>为保证您的资金安全请绑定账户本人的银行卡</text>
  9. </view>
  10. <view class="form-item">
  11. <text class="label">卡号</text>
  12. <view class="card-info">
  13. <radio-group>
  14. <label>
  15. <radio value="建行" checked="true"></radio>
  16. <text>中国建设银行</text>
  17. </label>
  18. </radio-group>
  19. <view class="camera-icon" @click="onCameraClick">
  20. <image src="/static/image/addBankCard/1.svg"></image>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="form-item">
  25. <text class="label">姓名</text>
  26. <input class="input" placeholder="请输入姓名" v-model="name" />
  27. </view>
  28. <view class="form-item">
  29. <text class="label">身份证号</text>
  30. <input class="input" placeholder="请输入身份证号" v-model="idCard" />
  31. </view>
  32. <!--<button class="next-button" @click="onNextClick">下一步</button>-->
  33. </view>
  34. <!--下一步按钮-->
  35. <button @click="onNextClick" class="bottomBtn">
  36. 下一步
  37. </button>
  38. </view>
  39. </template>
  40. <script>
  41. import '../../common.css'; // 引入公共 CSS 文件
  42. export default {
  43. data() {
  44. return {
  45. name: 'xiaohua',
  46. idCard: '2101472154874512'
  47. };
  48. },
  49. methods: {
  50. onCameraClick() {
  51. // 添加拍照或选择图片的逻辑
  52. },
  53. onNextClick() {
  54. this.$utils.navigateTo("/mine/purse");
  55. }
  56. }
  57. }
  58. </script>
  59. <style lang="scss" scoped>
  60. * {
  61. box-sizing: border-box;
  62. margin: 0;
  63. padding: 0;
  64. }
  65. .container {
  66. padding: 16px;
  67. .header {
  68. margin-bottom: 20px;
  69. font-size: 14px;
  70. color: #666;
  71. }
  72. .form-item {
  73. margin-bottom: 20px;
  74. .label {
  75. font-size: 16px;
  76. margin-bottom: 10px;
  77. display: block;
  78. }
  79. .card-info {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. .camera-icon {
  84. width: 24px;
  85. height: 24px;
  86. image {
  87. width: 100%;
  88. height: 100%;
  89. }
  90. }
  91. }
  92. .input {
  93. width: 100%;
  94. padding: 10px;
  95. font-size: 16px;
  96. border: 1px solid #e5e5e5;
  97. border-radius: 4px;
  98. }
  99. }
  100. }
  101. </style>