settleIn.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <template>
  2. <view class="page">
  3. <view class="content">
  4. <u--form
  5. labelPosition="left"
  6. :model="model1"
  7. ref="uForm"
  8. labelWidth="100"
  9. >
  10. <u-form-item label="姓名" prop="userInfo.name" borderBottom ref="item1">
  11. <u--input
  12. inputAlign="right"
  13. v-model="model1.name"
  14. placeholder="请输入真实姓名"
  15. border="none"
  16. ></u--input>
  17. </u-form-item>
  18. <u-form-item
  19. label="身份证号"
  20. prop="userInfo.name"
  21. borderBottom
  22. ref="item1"
  23. >
  24. <u--input
  25. inputAlign="right"
  26. v-model="model1.idcard"
  27. type="idcard"
  28. placeholder="请输入您的身份证"
  29. border="none"
  30. ></u--input>
  31. </u-form-item>
  32. <u-form-item
  33. label="银行卡号"
  34. prop="userInfo.name"
  35. borderBottom
  36. ref="item1"
  37. >
  38. <u--input
  39. inputAlign="right"
  40. v-model="model1.card_number"
  41. type="number"
  42. placeholder="请输入您的银行卡号"
  43. border="none"
  44. ></u--input>
  45. </u-form-item>
  46. <u-form-item
  47. label="手机号"
  48. prop="userInfo.name"
  49. borderBottom
  50. ref="item1"
  51. >
  52. <u--input
  53. inputAlign="right"
  54. v-model="model1.phone"
  55. type="number"
  56. placeholder="请输入手机号"
  57. border="none"
  58. ></u--input>
  59. </u-form-item>
  60. <u-form-item label="验证码" borderBottom ref="item1">
  61. <view style="display: flex; align-items: center">
  62. <u--input
  63. inputAlign="right"
  64. v-model="model1.code"
  65. placeholder="请输入短信验证码"
  66. border="none"
  67. ></u--input>
  68. <view style="color: #f83224; font-weight: 600; margin-left: 50rpx">
  69. 获取验证码
  70. </view>
  71. </view>
  72. </u-form-item>
  73. </u--form>
  74. </view>
  75. <view class="bottom-1">
  76. <u-radio-group
  77. v-model="radiovalue1"
  78. placement="column"
  79. @change="groupChange"
  80. >
  81. <u-radio name="name" @change="radioChange" activeColor="red"> </u-radio>
  82. </u-radio-group>
  83. 我已阅读并同意<text style="color: #f83224">《用户服务协议》</text>和
  84. <text style="color: #f83224">《隐私政策》</text>
  85. </view>
  86. <button class="btn" @click="submit">开始人脸识别验证</button>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. model1: {
  94. name: "",
  95. idcard: "",
  96. phone: "",
  97. card_number: "",
  98. code: "",
  99. },
  100. radiovalue1: "",
  101. };
  102. },
  103. methods: {
  104. radioChange() {
  105. this.value = !this.value;
  106. },
  107. groupChange(e) {
  108. console.log(e);
  109. },
  110. submit() {
  111. delete this.model1.code;
  112. uni.$u.http.post("/api/merchant/apply", this.model1).then((res) => {
  113. console.log(res);
  114. });
  115. },
  116. getTeamStatus() {},
  117. },
  118. mounted() {
  119. this.getTeamStatus();
  120. uni.setNavigationBarTitle({
  121. title: "团长入驻",
  122. });
  123. },
  124. };
  125. </script>
  126. <style lang="scss" scoped>
  127. .page {
  128. padding: 20rpx 24rpx;
  129. .content {
  130. padding: 0 20rpx;
  131. background-color: #fff;
  132. border-radius: 16rpx;
  133. }
  134. .bottom-1 {
  135. font-size: 20rpx;
  136. margin-top: 68rpx;
  137. color: #555;
  138. display: flex;
  139. justify-content: flex-start;
  140. align-items: center;
  141. width: 70%;
  142. .radio {
  143. width: 24rpx;
  144. height: 24rpx;
  145. }
  146. }
  147. .btn {
  148. color: #fff;
  149. background-color: #f83224;
  150. border-radius: 44rpx;
  151. margin-top: 28rpx;
  152. height: 88rpx;
  153. font-size: 32rpx;
  154. }
  155. }
  156. </style>