index.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <view class="container">
  3. <view class="step-bar">
  4. <view v-for="(step, index) in steps" :key="index">
  5. <view >
  6. <view class="h-num">
  7. <text>{{ index + 1 }}</text>
  8. </view>
  9. <view v-if="index !== steps.length - 1" class="separator"></view>
  10. </view>
  11. <view class="">{{ step }}</view>
  12. </view>
  13. </view>
  14. <view class="form">
  15. <view v-if="currentStep === 0" class="h-content-wrap">
  16. <u--form labelPosition="top" :model="userInfo" :rules="rules" ref="form1">
  17. <u-form-item labelWidth="auto" labelAlign="right" label="老系统手机号" prop="phone">
  18. <u--input v-model="userInfo.phone" disabledColor="#ffffff" placeholder="填写老系统电话" border="bottom"
  19. maxlength="11"></u--input>
  20. </u-form-item>
  21. <u-form-item label="老系统会员姓名" prop="memberName" labelPosition="top" labelWidth="auto" labelAlign="right">
  22. <u--input v-model="userInfo.memberName" disabledColor="#ffffff" placeholder="填写姓名" border="bottom"
  23. maxlength="16"></u--input>
  24. </u-form-item>
  25. <u-form-item label="当前手机号" prop="phonenumber" labelWidth="auto" labelAlign="right">
  26. <u--input v-model="userInfo.phonenumber" disabledColor="#ffffff" placeholder="填写当前手机号"
  27. border="bottom" maxlength="11"></u--input>
  28. </u-form-item>
  29. <u-form-item labelWidth="auto" labelAlign="right" label="验证码" prop="smsCode" width="120">
  30. <u--input v-model="userInfo.smsCode" disabledColor="#ffffff" placeholder="请输入验证码" border="bottom"
  31. maxlength="6"></u--input>
  32. <template #right>
  33. <view class="identifying-code">
  34. <u-code ref="uCode2" @change="codeChange2" keep-running start-text="获取验证码"></u-code>
  35. <text @tap="getCode2" :text="tips2" class="u-page__code-text">{{ tips2 }}</text>
  36. </view>
  37. </template>
  38. </u-form-item>
  39. </u--form>
  40. </view>
  41. <view v-if="currentStep === 1">
  42. <view class="h-content">
  43. <view class="h-basic-info">
  44. <view class="h-value">
  45. <view class="h-name">会员编号</view>
  46. <view class="h-text">{{ userMemberInfo.memberNo }}</view>
  47. </view>
  48. <view class="h-value">
  49. <view class="h-name">会员卡号</view>
  50. <view class="h-text">{{ userMemberInfo.memberCard }}</view>
  51. </view>
  52. <view class="h-value">
  53. <view class="h-name">会员姓名</view>
  54. <view class="h-text">{{ userMemberInfo.memberName }}</view>
  55. </view>
  56. <view class="h-value">
  57. <view class="h-name">手机号码</view>
  58. <view class="h-text">{{ userMemberInfo.phone }}</view>
  59. </view>
  60. <view class="h-value">
  61. <view class="h-name">积分</view>
  62. <view class="h-text">{{ userMemberInfo.integral }}</view>
  63. </view>
  64. <view class="h-value">
  65. <view class="h-name">账户余额</view>
  66. <view class="h-text">¥{{ userMemberInfo.nowBalance }}</view>
  67. </view>
  68. </view>
  69. <view class="h-record">
  70. <!-- 导航-->
  71. <view class="service-order-tab-bar">
  72. <view class="service-order-tab-item" :class="{ active: currentServiceTab === 'orderTab1' }"
  73. @click="changeServiceTab('orderTab1')">
  74. <text :class="{ underline: currentServiceTab === 'orderTab1' }">充值记录</text>
  75. </view>
  76. <view class="service-order-tab-item" :class="{ active: currentServiceTab === 'orderTab2' }"
  77. @click="changeServiceTab('orderTab2')">
  78. <text :class="{ underline: currentServiceTab === 'orderTab2' }">消费记录</text>
  79. </view>
  80. </view>
  81. <view class="custom-line"></view>
  82. <!-- order -->
  83. <view v-if="currentServiceTab == 'orderTab1'" class="store-order-wrap">
  84. <view v-for="(item, index) in memberInfoRecords" class="store-order">
  85. <view class="h-content">
  86. <view class="h-row">
  87. <view class="h-value">
  88. <text>储值记录</text>
  89. </view>
  90. <view class="h-value">
  91. <text>+ ¥{{ item.rechargeAmount }}</text>
  92. </view>
  93. </view>
  94. <view class="h-row">
  95. <view class="h-value">
  96. <text class="h-text">{{ item.rechargeTime }}</text>
  97. </view>
  98. <view class="h-value h-name">
  99. <text class="h-text">账户余额:¥{{ item.nowBalance }}</text>
  100. </view>
  101. </view>
  102. </view>
  103. <view class="custom-line"></view>
  104. </view>
  105. </view>
  106. <view v-if="currentServiceTab == 'orderTab2'" class="store-order-wrap">
  107. <view v-for="(item, index) in memberInfoRecords" class="store-order">
  108. <view class="h-content">
  109. <view class="h-row">
  110. <view class="h-value">
  111. <text>消费记录</text>
  112. </view>
  113. <view class="h-value">
  114. <text>- ¥{{ item.consumeAmount }}</text>
  115. </view>
  116. </view>
  117. <view class="h-row">
  118. <view class="h-value">
  119. <text class="h-text">{{ item.consumeTime }}</text>
  120. </view>
  121. <view class="h-value h-name">
  122. <text class="h-text">账户余额:¥{{ item.nowBalance }}</text>
  123. </view>
  124. </view>
  125. </view>
  126. <view class="custom-line"></view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. <view v-if="currentStep === 2" class="">
  133. <view class="letter-commitment">
  134. <view class="h-title">
  135. <text>个人信息真实承诺书</text>
  136. </view>
  137. <view class="">
  138. <text>会员姓名:{{ userInfo.memberName }}</text>
  139. </view>
  140. <view class="">
  141. <text>老系统手机号: {{ userInfo.phone }}</text>
  142. </view>
  143. <view class="">
  144. <text>当前手机号: {{ userInfo.phonenumber }}</text>
  145. </view>
  146. <view class="">
  147. <text>为系统迁移: 本人郑重承诺</text>
  148. </view>
  149. <view class="h-content">
  150. <view class="" v-html="termOfService.aboutContent"></view>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. <view v-if="currentStep === 3" class="">
  156. <view class="h-content-step-end">
  157. <view class="h-success">
  158. <u-icon name="edit-pen-fill" color="#333" size="30"></u-icon>
  159. </view>
  160. <view class="h-name">
  161. <text>账户迁移成功</text>!
  162. </view>
  163. <view @click="nextStep(3)" class="h-btn">
  164. <text>确认</text>
  165. </view>
  166. </view>
  167. </view>
  168. <view v-if="currentStep == 0" class="button-group">
  169. <!-- <button @click="prevStep" :disabled="currentStep === 0">上一步</button> -->
  170. <button class="h-btn" @click="nextStep(0)" :disabled="currentStep === steps.length - 1">开始查询</button>
  171. </view>
  172. <view v-if="currentStep == 1" class="button-group">
  173. <button @click="prevStep" :disabled="currentStep === 0">上一步</button>
  174. <view class="h-btn" @click="nextStep(1)" :disabled="currentStep === steps.length - 1">
  175. <text>下一步</text>
  176. </view>
  177. </view>
  178. <view v-if="currentStep == 2" class="button-group">
  179. <button @click="prevStep" :disabled="currentStep === 0">上一步</button>
  180. <view class="h-btn" @click="nextStep(2)" :disabled="currentStep === steps.length - 1">
  181. <text>确认并迁移</text>
  182. </view>
  183. </view>
  184. </view>
  185. </template>
  186. <script>
  187. import signature from '../components/sign/sign';
  188. export default {
  189. components: {
  190. signature
  191. },
  192. data() {
  193. return {
  194. showCanvas: false,
  195. currentStep: 0,
  196. steps: ['账户查询', '信息确认', '用户承诺', '账户迁移'], // 步骤条的文字内容
  197. step1Value: '',
  198. step2Value: '',
  199. step3Value: '',
  200. userInfo: {
  201. auth: true,
  202. phone: '',
  203. memberName: '',
  204. phonenumber: '',
  205. smsCode: '',
  206. memberNo: null,
  207. type: 7,
  208. requstForm: true
  209. },
  210. // 服务条款对象信息
  211. termOfService: {
  212. aboutContent: "<p>会员协议会员协议会员协议会员协议会员协议会员协议</p>",
  213. aboutType: "1",
  214. createBy: "admin",
  215. createTime: "2023-07-30 08:53:17",
  216. id: "1685574269874098178",
  217. status: "0",
  218. updateBy: "admin",
  219. updateTime: "2023-07-30 21:04:51"
  220. },
  221. userMemberInfo: {
  222. memberNo: "string",
  223. pingYinCode: "string",
  224. memberName: "string",
  225. integral: 0,
  226. sex: 0,
  227. birthday: "string",
  228. phone: "string",
  229. memberPassword: "string",
  230. height: "string",
  231. weight: "string",
  232. memberCard: "string",
  233. address: "string",
  234. nowBalance: 0,
  235. totalConsumeAmount: 0,
  236. debt: 0,
  237. remarks: "string",
  238. joinTime: "string",
  239. memberStatus: 0,
  240. referencesNo: "string",
  241. consumeCycle: "string",
  242. otherInfo: "string",
  243. photoUrl: "string"
  244. },
  245. memberInfoRecords: [{
  246. orderNo: "string",
  247. memberNo: "string",
  248. memberName: "string",
  249. phone: "string",
  250. consumeAmount: 0,
  251. realPayAmount: 0,
  252. profit: 0,
  253. integral: 0,
  254. remainDebt: 0,
  255. consumeTime: "string",
  256. remarks: "string",
  257. consumeStore: "string",
  258. consumeType: "string",
  259. discountAmount: 0,
  260. bedName: "string",
  261. payInfo: "string",
  262. memberStore: "string",
  263. payType: "string"
  264. }],
  265. show: false,
  266. currentTab: 'tab1', // 当前选中的 Tab
  267. currentServiceTab: 'orderTab1', // 当前选中的 Tab
  268. defaultColor: '#CCCCCC',
  269. currentColor: '#FF0000',
  270. completedColor: '#00FF00',
  271. content: '一、本人所提供的个人信息 证明材料、证件',
  272. signType: '',
  273. signImg1: '',
  274. tips2: '',
  275. rules: {
  276. phone: [
  277. {
  278. required: true,
  279. min: 10,
  280. max: 12,
  281. message: '请输入11位电话号码',
  282. trigger: ['blur', 'change'],
  283. },
  284. {
  285. // 此为同步验证,可以直接返回true或者false,如果是异步验证,稍微不同,见下方说明
  286. validator: (rule, value, callback) => {
  287. // 调用uView自带的js验证规则,详见:https://www.uviewui.com/js/test.html
  288. return !this.$isDataEmpty(value);
  289. },
  290. message: "请认真填写电话号码",
  291. trigger: ['blur', 'change'],
  292. }
  293. ],
  294. memberName: [
  295. {
  296. required: true,
  297. message: '请输入名字',
  298. trigger: ['blur', 'change'],
  299. },
  300. ],
  301. phonenumber: [
  302. {
  303. required: true,
  304. min: 10,
  305. max: 12,
  306. message: '请输入11位电话号码',
  307. trigger: ['blur', 'change'],
  308. },
  309. {
  310. // 此为同步验证,可以直接返回true或者false,如果是异步验证,稍微不同,见下方说明
  311. validator: (rule, value, callback) => {
  312. // 调用uView自带的js验证规则,详见:https://www.uviewui.com/js/test.html
  313. return !this.$isDataEmpty(value);
  314. },
  315. message: "请认真填写电话号码",
  316. trigger: ['blur', 'change'],
  317. }
  318. ],
  319. smsCode: {
  320. required: true,
  321. min: 4,
  322. max: 6,
  323. message: '请认真填写验证码',
  324. trigger: ['blur', 'change'],
  325. },
  326. },
  327. };
  328. },
  329. onLoad() {
  330. // 获取服务条款数据
  331. this.getTermOfServiceByType();
  332. },
  333. onReady() {
  334. this.$refs.form1.setRules(this.rules)
  335. },
  336. methods: {
  337. // 关闭签名框
  338. closeCanvas() {
  339. this.showCanvas = false;
  340. },
  341. // 选择签名类型
  342. personSing(type) {
  343. this.showCanvas = true;
  344. this.signType = type;
  345. },
  346. // 保存签名信息
  347. saveCanvasImg(path) {
  348. console.log(path)
  349. let that = this;
  350. uni.uploadFile({
  351. url: this.$host + '/resource/oss/upload', //仅为示例,非真实的接口地址
  352. filePath: path,
  353. name: 'file',
  354. header: {
  355. 'Authorization': 'Bearer ' + that.$store.state.loginState.accessToken,
  356. },
  357. success: (uploadFileRes) => {
  358. let res = JSON.parse(uploadFileRes.data)
  359. console.log(res)
  360. that.showCanvas = false;
  361. }
  362. });
  363. },
  364. codeChange2(text) {
  365. this.tips2 = text;
  366. },
  367. getCode2() {
  368. if (this.$refs.uCode2.canGetCode) {
  369. this.$api.getSmsCode();
  370. } else {
  371. uni.$u.toast('倒计时结束后再发送');
  372. }
  373. },
  374. // 获取手机验证码
  375. getSmsCode() {
  376. let that = this;
  377. // 模拟向后端请求验证码
  378. uni.showLoading({
  379. title: '正在获取验证码'
  380. })
  381. this.$api.getSmsCode({ data: { phonenumber: this.userInfo.phonenumber, auth: true } }).then((res) => {
  382. uni.hideLoading();
  383. // 这里此提示会被this.start()方法中的提示覆盖
  384. uni.$u.toast('验证码已发送');
  385. // 通知验证码组件内部开始倒计时
  386. that.$refs.uCode2.start();
  387. }).catch(() => {
  388. uni.showToast({
  389. title: "操作失败"
  390. })
  391. });
  392. },
  393. getStepClass(index) {
  394. if (index < this.currentStep) {
  395. return 'step';
  396. } else if (index === this.currentStep) {
  397. return ['step', 'active'];
  398. } else {
  399. return ['step', 'default'];
  400. }
  401. },
  402. // 查询老会员系统数据
  403. getOldMember() {
  404. let that = this;
  405. this.$api.getOldMember({ data: that.userInfo }).then((res) => {
  406. if (!that.$isDataEmpty(res)) {
  407. that.userMemberInfo = res;
  408. that.userInfo.memberNo = res.memberNo;
  409. if (that.currentStep < that.steps.length - 1) {
  410. that.currentStep++;
  411. }
  412. // 查询充值记录
  413. that.$api.getOrderRechargeOldList();
  414. } else {
  415. uni.$u.toast('未查询到数据');
  416. }
  417. }).catch(() => {
  418. uni.showToast({
  419. title: "操作失败"
  420. })
  421. });
  422. },
  423. // 查询会员消费记录
  424. getOrderConsumeLogOld() {
  425. let that = this;
  426. this.$api.getOrderConsumeLogOld({ data: this.userInfo }).then((res) => {
  427. console.log(res)
  428. that.memberInfoRecords = res;
  429. }).catch(() => {
  430. uni.showToast({
  431. title: "操作失败"
  432. })
  433. });
  434. },
  435. // 查询叶会员充值记录
  436. getOrderRechargeOldList() {
  437. this.$api.getOrderRechargeOldList({ data: this.userInfo }).then((res) => {
  438. console.log(res)
  439. this.memberInfoRecords = res;
  440. }).catch(() => {
  441. uni.showToast({
  442. title: "操作失败"
  443. })
  444. });
  445. },
  446. // 提交保存
  447. submitOldData() {
  448. let that = this;
  449. this.$api.submitOldData(null, { data: that.userInfo }).then((res) => {
  450. console.log(res)
  451. if (this.currentStep < this.steps.length - 1) {
  452. this.currentStep++;
  453. }
  454. }).catch(() => {
  455. uni.showToast({
  456. title: "操作失败"
  457. })
  458. });
  459. },
  460. nextStep(idx) {
  461. if (idx == 0) { // 查询数据
  462. this.$refs.form1.validate().then(res => {
  463. this.$api.getOldMember();
  464. }).catch(errors => {
  465. uni.$u.toast('校验失败,请认真填写')
  466. })
  467. }
  468. if (idx == 1) { // 显示查询数据
  469. if (this.currentStep < this.steps.length - 1) {
  470. this.currentStep++;
  471. }
  472. }
  473. if (idx == 2) { // 用户签名确认
  474. this.$api.submitOldData();
  475. }
  476. if (idx == 3) { // 迁移成功,重新设置用户数据
  477. // 刷新用户信息
  478. this.$refreshUserLoginInfo();
  479. uni.navigateTo({
  480. url: '/pages/index/index',
  481. })
  482. }
  483. },
  484. prevStep() {
  485. if (this.currentStep > 0) {
  486. this.currentStep--;
  487. }
  488. },
  489. changeTab(tab) {
  490. this.currentTab = tab;
  491. },
  492. // 服务订单
  493. changeServiceTab(tab) {
  494. if (tab == 'orderTab1') {
  495. this.$api.getOrderRechargeOldList();
  496. } else if (tab == 'orderTab2') {
  497. this.$api.getOrderConsumeLogOld();
  498. }
  499. this.currentServiceTab = tab;
  500. },
  501. // 获取服务条款信息
  502. getTermOfServiceByType() {
  503. // 获取数据
  504. this.$api.getTermOfServiceByType({ data: this.userInfo }).then((res) => {
  505. if (res.aboutContent) {
  506. this.termOfService.aboutContent = res.aboutContent
  507. } else {
  508. this.termOfService.aboutContent = "暂无信息!!!"
  509. }
  510. }).catch(() => {
  511. uni.showToast({
  512. title: "操作失败"
  513. })
  514. });
  515. },
  516. }
  517. };
  518. </script>
  519. <style scoped lang="scss">
  520. .h-content-step-end {
  521. height: 300px;
  522. background: #fff;
  523. text-align: center;
  524. padding-top: 60px;
  525. font-family: PingFangSC-Regular, PingFang SC;
  526. .h-success {
  527. margin: 0 auto;
  528. display: flex;
  529. justify-content: center;
  530. height: 80px;
  531. width: 80px;
  532. background: #f7fbf3;
  533. border-radius: 40px;
  534. }
  535. .h-name {
  536. margin-top: 20px;
  537. height: 22px;
  538. font-size: 14px;
  539. font-weight: 400;
  540. color: #666666;
  541. line-height: 22px;
  542. }
  543. .h-btn {
  544. margin: 0 auto;
  545. margin-top: 40px;
  546. width: 319px;
  547. height: 42px;
  548. background: #FFE05C;
  549. border-radius: 27px;
  550. display: flex;
  551. justify-content: center;
  552. align-items: center;
  553. font-size: 14px;
  554. }
  555. }
  556. .letter-commitment {
  557. padding: 12px;
  558. background: #fff;
  559. .h-title {
  560. text-align: center;
  561. font-size: 14px;
  562. }
  563. }
  564. .col-border-2 {
  565. margin-top: 12px;
  566. .sign-wrap {
  567. display: flex;
  568. justify-content: center;
  569. align-items: center;
  570. height: 120px;
  571. background: #FFFFFF;
  572. }
  573. }
  574. .sign-agree {
  575. font-size: 14px;
  576. font-weight: 400;
  577. color: #666666;
  578. line-height: 50px;
  579. text-align: center;
  580. }
  581. .h-content-wrap {
  582. background: #fff;
  583. padding-left: 12px;
  584. padding-right: 12px;
  585. }
  586. .h-content {
  587. margin-bottom: 12px;
  588. background-color: #fff;
  589. .h-basic-info {
  590. padding: 12px;
  591. background: #fff;
  592. border-radius: 6px;
  593. .h-value {
  594. display: flex;
  595. font-family: PingFangSC-Regular, PingFang SC;
  596. font-size: 14px;
  597. font-weight: 400;
  598. .h-name {
  599. width: 56px;
  600. height: 22px;
  601. color: #999999;
  602. line-height: 22px;
  603. margin-right: 12px;
  604. }
  605. .h-text {
  606. height: 22px;
  607. color: #333333;
  608. line-height: 22px;
  609. }
  610. }
  611. }
  612. .h-record {
  613. margin-top: 12px;
  614. /* 服务订单内容*/
  615. .service-order-tab-bar {
  616. background: #fff;
  617. display: flex;
  618. justify-content: space-around;
  619. height: 50px;
  620. background-color: #f5f5f5;
  621. .service-order-tab-item {
  622. flex: 1;
  623. display: flex;
  624. align-items: center;
  625. justify-content: center;
  626. font-size: 16px;
  627. color: #333;
  628. line-height: 26px;
  629. }
  630. .service-order-tab-item.active {
  631. color: #ff0000;
  632. }
  633. .underline {
  634. border-bottom: 2px solid #ff0000;
  635. }
  636. }
  637. }
  638. }
  639. .store-order-wrap {
  640. padding: 12px;
  641. .store-order {
  642. background: #fff;
  643. padding: 10px;
  644. border-radius: 3px;
  645. font-family: PingFangSC-Regular, PingFang SC;
  646. .h-content {
  647. .h-row {
  648. display: flex;
  649. justify-content: space-between;
  650. }
  651. .h-text {
  652. font-size: 12px;
  653. font-weight: 400;
  654. color: #999999;
  655. line-height: 20px;
  656. }
  657. }
  658. }
  659. }
  660. .h-footer {
  661. text-align: right;
  662. }
  663. .signature-wrap {
  664. height: 120px;
  665. width: 300px;
  666. }
  667. .step-bar {
  668. padding: 12px;
  669. display: flex;
  670. justify-content: space-between;
  671. margin-bottom: 20px;
  672. }
  673. .step {
  674. position: relative;
  675. /* width: 100%; */
  676. // height: 40px;
  677. /* background-color: #ccc; */
  678. display: flex;
  679. align-items: center;
  680. justify-content: center;
  681. color: #fff;
  682. height: 30px;
  683. width: 30px;
  684. background: green;
  685. border-radius: 15px;
  686. margin: 0 auto;
  687. }
  688. //.h-num {
  689. // // height: 30px;
  690. // // width: 30px;
  691. // // background: #fff;
  692. // // border-radius: 15px;
  693. // // display: flex;
  694. // // align-items: center;
  695. // // justify-content: center;
  696. //}
  697. .step.default {
  698. color: #333;
  699. background: #fff;
  700. }
  701. .step.active {
  702. color: #333;
  703. background: #FFE05C;
  704. }
  705. .separator {
  706. position: absolute;
  707. top: 50%;
  708. left: 130%;
  709. transform: translateY(-50%);
  710. width: 50px;
  711. height: 2px;
  712. border: 1px dashed #000;
  713. }
  714. .form {
  715. margin-bottom: 20px;
  716. border-radius: 6px;
  717. }
  718. .button-group {
  719. height: 60px;
  720. position: fixed;
  721. bottom: 0px;
  722. left: 0px;
  723. right: 0px;
  724. display: flex;
  725. justify-content: space-between;
  726. background: #fff;
  727. .h-btn {
  728. margin: 0 auto;
  729. margin-top: 8px;
  730. width: 200px;
  731. height: 42px;
  732. background: #FFE05C;
  733. border-radius: 27px;
  734. display: flex;
  735. justify-content: center;
  736. align-items: center;
  737. font-size: 14px;
  738. }
  739. }
  740. .identifying-code {
  741. image {
  742. width: 80px;
  743. height: 30px;
  744. }
  745. }
  746. </style>