帧视界壹通告,付费看视频的微信小程序
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.

134 lines
3.0 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months 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. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {
  40. name: 'xiaohua',
  41. idCard: '2101472154874512'
  42. };
  43. },
  44. methods: {
  45. onCameraClick() {
  46. // 添加拍照或选择图片的逻辑
  47. },
  48. onNextClick() {
  49. this.$utils.navigateTo("/mine/purse");
  50. }
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. * {
  56. box-sizing: border-box;
  57. margin: 0;
  58. padding: 0;
  59. }
  60. .container {
  61. padding: 16px;
  62. .header {
  63. margin-bottom: 20px;
  64. font-size: 14px;
  65. color: #666;
  66. }
  67. .form-item {
  68. margin-bottom: 20px;
  69. .label {
  70. font-size: 16px;
  71. margin-bottom: 10px;
  72. display: block;
  73. }
  74. .card-info {
  75. display: flex;
  76. justify-content: space-between;
  77. align-items: center;
  78. .camera-icon {
  79. width: 24px;
  80. height: 24px;
  81. image {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. }
  86. }
  87. .input {
  88. width: 100%;
  89. padding: 10px;
  90. font-size: 16px;
  91. border: 1px solid #e5e5e5;
  92. border-radius: 4px;
  93. }
  94. }
  95. .next-button {
  96. position: fixed;
  97. bottom: 20px; // 距离页面底部20px
  98. left: 16px; // 与页面左边保持一定距离
  99. right: 16px; // 与页面右边保持一定距离
  100. background: $uni-linear-gradient-btn-color; // 按钮背景渐变
  101. color: white; // 按钮文字颜色
  102. text-align: center; // 文字居中
  103. padding: 10px 0; // 内边距,增加按钮的高度
  104. font-size: 18px; // 按钮文字大小
  105. z-index: 1000; // 确保按钮位于其他内容的上方
  106. display: flex;
  107. justify-content: center;
  108. align-items: center;
  109. width: 50%;
  110. height: 80rpx;
  111. border-radius: 10rpx;
  112. }
  113. }
  114. </style>