editDriverCertification.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  1. <template>
  2. <view class="content">
  3. <view class="top-head"></view>
  4. <view class="container">
  5. <view class="content1 content-other">
  6. <view class="flex row">
  7. <view class="left-text">姓名</view>
  8. <u--input placeholder="输入姓名" inputAlign='right' border="none" v-model="dataDetails.driverName">
  9. </u--input>
  10. </view>
  11. <view class="flex row">
  12. <view class="left-text">性别</view>
  13. <u-radio-group v-model="dataDetails.driverSex" placement="row">
  14. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  15. :label="item.name" :name="item.name" @change="radioChange">
  16. </u-radio>
  17. </u-radio-group>
  18. </view>
  19. <view class="flex row">
  20. <view class="left-text">称呼</view>
  21. <u--input placeholder="输入姓氏" class="ch-style" inputAlign='right' border="none"
  22. v-model="dataDetails.driverCall" maxlength="1">
  23. </u--input>
  24. <view style='margin-left:4px;font-size:15px;' class="flex align-center" v-if="dataDetails.driverSex=='男'">先生</view>
  25. <view style='margin-left:4px;font-size:15px;' class="flex align-center" v-else>女士</view>
  26. </view>
  27. <view class="flex row noborder">
  28. <view class="left-text">联系电话</view>
  29. <u--input placeholder="请输入联系电话" inputAlign='right' border="none" v-model="dataDetails.driverPhone">
  30. </u--input>
  31. </view>
  32. <view class="flex row noborder" v-if="dataDetails.driverPhone!=userInfo.phone">
  33. <view class="left-text">验证码</view>
  34. <u--input v-model="dataDetails.verifyCode" border="none" placeholder="请填写验证码"></u--input>
  35. <view class="yzm">
  36. <u-code :seconds="seconds" @end="end" @start="start" ref="uCode" @change="codeChange"></u-code>
  37. <u-button class="yzm-btn" @tap="getCode">{{tips}}</u-button>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="content2 content-other">
  42. <view class="title">上传身份证人像面</view>
  43. <view @click.stop="uploadImg(1,1)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
  44. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  45. <view class="text">上传身份证人像面</view>
  46. </view>
  47. <view v-if="dataDetails.cardAddressUrl" @click.stop="uploadImg(1,1)"
  48. class="preview-card-img picture">
  49. <image class="" :src="dataDetails.cardAddressUrl" mode="aspectFit" style=""></image>
  50. </view>
  51. <view class="title">上传身份证国徽面</view>
  52. <view @click="uploadImg(2,2)" class="picture picture2" v-if="!dataDetails.cardBackAddressUrl">
  53. <image class="xj-image" src="@/static/images/mine/ic_shanchuan@2x.png"></image>
  54. <view class="text">上传身份证国徽面</view>
  55. </view>
  56. <view v-if="dataDetails.cardBackAddressUrl" @click.stop="uploadImg(2,2)"
  57. class="preview-card-img picture">
  58. <image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit" style=""></image>
  59. </view>
  60. <view class="flex row">
  61. <view class="left-text">身份证号</view>
  62. <u--input disabled placeholder="请输入身份证号" inputAlign='right' border="none" v-model="dataDetails.numberCard" maxlength="18">
  63. </u--input>
  64. </view>
  65. <view class="flex row flex-space-between">
  66. <view class="left-text">身份证截止日期</view>
  67. <view class="" @click="selectValidityPeriod">
  68. {{dataDetails.cardValidityDate?dataDetails.cardValidityDate:'选择身份证截止日期>'}}
  69. </view>
  70. </view>
  71. <view class="flex row noborder">
  72. <view class="left-text">身份证地址</view>
  73. <u--textarea v-model="dataDetails.cardAddress" border="none" placeholder="请输入身份证地址" autoHeight maxlength="30"></u--textarea>
  74. <!-- <u--input placeholder="请输入身份证地址" inputAlign='right' border="none" >
  75. </u--input>-->
  76. </view>
  77. </view>
  78. <u-picker :show="isShowcardValidity" ref="uPicker" :columns="validityPeriod"
  79. @confirm="confirmValidityPeriod" @change="changeHandler" @cancel='isShowcardValidity= false'>
  80. </u-picker>
  81. <u-action-sheet :actions="$helper.imgTypeList" :title="$helper.imgType" :show="isShowimgType"
  82. @select="imgTypeSelect" :closeOnClickOverlay="true" :closeOnClickAction="true"
  83. @close="isShowimgType=false">
  84. </u-action-sheet>
  85. <u-toast ref="uToast"></u-toast>
  86. </view>
  87. <view class="content4">
  88. <view class="next-btn" @click="next()">
  89. 下一步
  90. </view>
  91. </view>
  92. </view>
  93. </template>
  94. <script>
  95. import upload from '@/components/upload.vue';
  96. import permision from "@/js_sdk/wa-permission/permission.js"
  97. import uploadImage from '@/components/ossutil/uploadFile.js';
  98. var _this
  99. import {
  100. mapState
  101. } from 'vuex';
  102. export default {
  103. components: {
  104. upload
  105. },
  106. data() {
  107. return {
  108. canvasSiz: {
  109. width: 188,
  110. height: 273
  111. },
  112. tips: '',
  113. // refCode: null,
  114. seconds: 30,
  115. radiolist1: [{
  116. name: '男',
  117. disabled: false
  118. },
  119. {
  120. name: '女',
  121. disabled: false
  122. },
  123. ],
  124. validityPeriod: [],
  125. isShowcardValidity: false,
  126. uploadType: '',
  127. isShowimgType: false,
  128. dataDetails: {
  129. commonId: '',
  130. driverName: '',
  131. driverSex: '',
  132. driverCall: '',
  133. driverPhone: '',
  134. numberCard: '',
  135. cardAddressUrl: '',
  136. cardBackAddressUrl: '',
  137. cardValidityDate: '',
  138. driverType: '',
  139. driverLicenseHomePage: '',
  140. driverLicenseBackPage: '',
  141. driverLicenseValidityDate: '',
  142. drivingLicenseHomePage: '',
  143. drivingLicenseBackPage: '',
  144. drivingLicenseValidityDate: '',
  145. trailerLicenseHomePage: '',
  146. trailerLicenseBackPage: '',
  147. trailerLicenseValidityDate: '',
  148. qualificationCertificate: '',
  149. qualificationCertificateValidityDate: '',
  150. operationCertificate: '',
  151. operationCertificateValidityDate: '',
  152. trailerOperationCertificate: '',
  153. trailerOperationCertificateValidityDate: '',
  154. },
  155. action: this.$helper.ossUploadUrl,
  156. // maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  157. // isAdd: true,
  158. imagesrc: null
  159. };
  160. },
  161. onLoad() {
  162. _this = this;
  163. console.log(this.userInfo)
  164. this.get_camera_permission()
  165. //获取截止日期List数据
  166. this.validityPeriod = this.$helper.makeValidityPeriod(0)
  167. // this.dataDetails.driverPhone = this.userInfo.phone
  168. this.dataDetails.commonId = this.userInfo.id
  169. //获取认证状态
  170. this.getAuthenticationStatus()
  171. },
  172. computed: {
  173. ...mapState(['hasLogin', 'userInfo']),
  174. },
  175. methods: {
  176. async get_camera_permission() {
  177. var photol=await permision.requestAndroidPermission("android.permission.CAMERA")
  178. if(photol == false){
  179. uni.showModal({
  180. title: '提示',
  181. content: '您已经关闭相册权限,去设置',
  182. success: function (res) {
  183. if (res.confirm) {
  184. permision.gotoAppPermissionSetting()
  185. // plus.runtime.openURL("app-settings:");
  186. } else if (res.cancel) {
  187. console.log('用户点击取消');
  188. }
  189. }
  190. });
  191. }
  192. },
  193. changeHandler(e) {
  194. const {
  195. columnIndex,
  196. value,
  197. values,
  198. index,
  199. picker = this.$refs.uPicker
  200. } = e
  201. // if (columnIndex === 0) {
  202. // debugger
  203. // if (e.index != 0) {
  204. // picker.setColumnValues(1, this.validityPeriod[1].shift())
  205. // }
  206. // } else if (columnIndex === 1) {
  207. // if (e.index != 0) {
  208. // picker.setColumnValues(2, this.validityPeriod[2].shift())
  209. // }
  210. // }
  211. },
  212. codeChange(text) {
  213. this.tips = text;
  214. },
  215. getCode() {
  216. if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.dataDetails.driverPhone)) {
  217. if (this.$refs.uCode.canGetCode) {
  218. // 模拟向后端请求验证码
  219. uni.showLoading({
  220. title: '正在获取验证码'
  221. })
  222. _this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
  223. phone: this.dataDetails.driverPhone
  224. }).then(res => {
  225. uni.hideLoading();
  226. // 这里此提示会被this.start()方法中的提示覆盖
  227. uni.$u.toast('验证码已发送');
  228. // 通知验证码组件内部开始倒计时
  229. this.$refs.uCode.start();
  230. })
  231. .catch(res => {
  232. uni.$u.toast(res.message);
  233. });
  234. // setTimeout(() => {
  235. // }, 2000);
  236. } else {
  237. uni.$u.toast('倒计时结束后再发送');
  238. }
  239. } else {
  240. uni.$u.toast('请输入正确手机号');
  241. }
  242. },
  243. end() {
  244. // uni.$u.toast('倒计时结束');
  245. },
  246. start() {
  247. // uni.$u.toast('倒计时开始');
  248. },
  249. // 性别切换
  250. radioChange(n) {
  251. console.log('radioChange', n);
  252. this.dataDetails.driverSex = n
  253. },
  254. //判断是否是初次认证
  255. getAuthenticationStatus() {
  256. this.$request.baseRequest('', '/driverInfo/firstAuthentication', {
  257. driverPhone: this.userInfo.phone,
  258. }).then(res => {
  259. if (res.code == 200) {
  260. this.dataDetails = res.data
  261. // this.dataDetails.driverName = res.data.driverName
  262. // this.dataDetails.driverSex = res.data.driverSex
  263. // this.dataDetails.driverCall = res.data.driverCall
  264. // this.dataDetails.driverPhone = res.data.driverPhone
  265. // this.dataDetails.cardAddressUrl = res.data.cardAddressUrl
  266. // this.dataDetails.cardBackAddressUrl = res.data.cardBackAddressUrl
  267. // this.dataDetails.numberCard = res.data.numberCard
  268. // this.dataDetails.cardValidityDate = res.data.cardValidityDate
  269. }
  270. })
  271. .catch(res => {
  272. uni.$u.toast(res.message);
  273. });
  274. },
  275. confirmValidityPeriod(e) {
  276. console.log('confirm', e)
  277. if (e.value[0] == '长期') {
  278. this.dataDetails.cardValidityDate = e.value[0]
  279. if (e.value[1] || e.value[2]) {
  280. this.$refs.uToast.show({
  281. type: 'error',
  282. message: "选择长期不允许选择月日!",
  283. })
  284. return
  285. }
  286. } else {
  287. if (!e.value[1] || !e.value[2]) {
  288. this.$refs.uToast.show({
  289. type: 'error',
  290. message: "日期格式错误,请重新选择!",
  291. })
  292. return
  293. }
  294. var date=new Date()
  295. if(e.value[0]<date.getFullYear()){
  296. this.$refs.uToast.show({
  297. type: 'error',
  298. message: "身份证已过期!",
  299. })
  300. return
  301. }
  302. if(e.value[0]==date.getFullYear()&&Number(e.value[1])<(date.getMonth()+1)){
  303. this.$refs.uToast.show({
  304. type: 'error',
  305. message: "身份证已过期!",
  306. })
  307. return
  308. }
  309. if(e.value[0]==date.getFullYear()&&Number(e.value[1])==(date.getMonth()+1)&&Number(e.value[2])<=(date.getDate())){
  310. this.$refs.uToast.show({
  311. type: 'error',
  312. message: "身份证已过期!",
  313. })
  314. return
  315. }
  316. this.dataDetails.cardValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
  317. }
  318. this.isShowcardValidity = false
  319. },
  320. selectValidityPeriod() {
  321. this.isShowcardValidity = true
  322. },
  323. //设置图片
  324. setImage(e) {
  325. console.log(e);
  326. //显示在页面
  327. //this.imagesrc = e.path;
  328. if (e.dotype == 'idphoto') {
  329. _this.zjzClipper(e.path);
  330. } else if (e.dotype == 'watermark') {
  331. _this.watermark(e.path);
  332. } else {
  333. _this.savePhoto(e.path);
  334. }
  335. },
  336. //保存图片到相册,方便核查
  337. savePhoto(path) {
  338. this.imagesrc = path;
  339. // this.dataDetails.cardAddressUrl = path
  340. uploadImage(path, 'appData/',
  341. result => {
  342. // 上传成功
  343. console.log('图片地址', result)
  344. this.dataDetails.cardAddressUrl = result
  345. }
  346. )
  347. },
  348. uploadImg(type, index) {
  349. this.uploadType = type
  350. // this.isShowimgType = true
  351. this.index = index
  352. this.imgTypeSelect()
  353. },
  354. // 上传图片
  355. imgTypeSelect() {
  356. // console.log(val)
  357. console.log(this.uploadType)
  358. // if (val.name == '相册') {
  359. uni.chooseImage({
  360. count: 1,
  361. // sourceType: this.$helper.chooseImage.sourceType,
  362. success: function(res) {
  363. console.log(JSON.stringify(res.tempFilePaths));
  364. uploadImage('image',res.tempFilePaths[0], 'appData/',
  365. result => {
  366. // 上传成功回调函数
  367. console.log('图片地址', result)
  368. switch (_this.uploadType) {
  369. // 身份正面
  370. case 1:
  371. _this.dataDetails.cardAddressUrl = result
  372. // 识别
  373. _this.$request.baseRequest('get',
  374. '/driverInfo/personShibie', {
  375. personImg: result,
  376. flag:1
  377. }).then(res => {
  378. if(res.data){
  379. _this.dataDetails.cardAddress=res.data.recPersonAddr
  380. // _this.dataDetails.numberCard = res.data.recPersonNo
  381. if (res.data.recPerson) {
  382. _this.dataDetails.driverName = res.data.recPerson
  383. _this.dataDetails.driverCall = res.data.recPerson.substring(0,1)
  384. }
  385. _this.dataDetails.driverBirthday=res.data.recPersonBrithday
  386. }
  387. })
  388. .catch(res => {
  389. uni.$u.toast(res.message);
  390. });
  391. break
  392. // 身份反面
  393. case 2:
  394. _this.dataDetails.cardBackAddressUrl = result
  395. // 识别
  396. _this.$request.baseRequest('get',
  397. '/driverInfo/personShibie', {
  398. personImg: result,
  399. flag:2
  400. }).then(res => {
  401. if(res.data.idCardValidity){
  402. let date = res.data.idCardValidity.split("-")[1]
  403. _this.dataDetails.cardValidityDate = date.replace('.', '-').replace('.', '-')
  404. }
  405. })
  406. .catch(res => {
  407. uni.$u.toast(res.message);
  408. });
  409. break
  410. case 3:
  411. break;
  412. }
  413. }
  414. )
  415. }
  416. });
  417. // } else {
  418. // switch (this.uploadType) {
  419. // case 0:
  420. // break
  421. // case 1:
  422. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=idcardface');
  423. // console.log('身份正面')
  424. // break
  425. // case 2:
  426. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=badge');
  427. // console.log('身份反面')
  428. // break
  429. // case 3:
  430. // break
  431. // case 4:
  432. // }
  433. // }
  434. },
  435. next(val) {
  436. if (this.validate()) return
  437. uni.$u.route('/pages/mine/editDriverCertificationNext', {
  438. data: JSON.stringify(this.dataDetails),
  439. });
  440. },
  441. validate() {
  442. // true 为校验不通过
  443. if (uni.$u.test.isEmpty(this.dataDetails.driverName)) {
  444. this.$refs.uToast.show({
  445. type: 'error',
  446. message: "司机姓名不能为空!",
  447. })
  448. return true
  449. }
  450. if (!uni.$u.test.chinese(this.dataDetails.driverName)) {
  451. this.$refs.uToast.show({
  452. type: 'error',
  453. message: "姓名为汉字!",
  454. })
  455. return true
  456. }
  457. if (uni.$u.test.isEmpty(this.dataDetails.driverCall)) {
  458. this.$refs.uToast.show({
  459. type: 'error',
  460. message: "司机称呼不能为空!",
  461. })
  462. return true
  463. }
  464. if (!uni.$u.test.chinese(this.dataDetails.driverCall)) {
  465. this.$refs.uToast.show({
  466. type: 'error',
  467. message: "称呼为汉字!",
  468. })
  469. return true
  470. }
  471. if (uni.$u.test.isEmpty(this.dataDetails.driverPhone)) {
  472. this.$refs.uToast.show({
  473. type: 'error',
  474. message: "联系电话不能为空!",
  475. })
  476. return true
  477. }
  478. if (!uni.$u.test.mobile(this.dataDetails.driverPhone)) {
  479. this.$refs.uToast.show({
  480. type: 'error',
  481. message: "电话号码格式错误!",
  482. })
  483. return true
  484. }
  485. if (uni.$u.test.isEmpty(this.dataDetails.driverPhone)) {
  486. this.$refs.uToast.show({
  487. type: 'error',
  488. message: "身份证人像页不能为空!",
  489. })
  490. return true
  491. }
  492. if (uni.$u.test.isEmpty(this.dataDetails.driverPhone)) {
  493. this.$refs.uToast.show({
  494. type: 'error',
  495. message: "身份证国徽页不能为空!",
  496. })
  497. return true
  498. }
  499. if (uni.$u.test.isEmpty(this.dataDetails.cardValidityDate)) {
  500. this.$refs.uToast.show({
  501. type: 'error',
  502. message: "身份证人有效截止日期不能为空!",
  503. })
  504. return true
  505. }
  506. if (uni.$u.test.isEmpty(this.dataDetails.cardAddress)) {
  507. this.$refs.uToast.show({
  508. type: 'error',
  509. message: "身份证地址为空!",
  510. })
  511. return true
  512. }
  513. return false
  514. }
  515. },
  516. };
  517. </script>
  518. <style scoped lang="scss">
  519. /deep/.u-radio {
  520. margin-bottom: 0 !important;
  521. }
  522. .top-head {
  523. background: #2772FB;
  524. height: 80rpx;
  525. width: 100%;
  526. }
  527. .container {
  528. position: relative;
  529. top: -60rpx;
  530. margin: 0 20rpx;
  531. }
  532. .row4-img {
  533. width: 32rpx;
  534. height: 32rpx;
  535. }
  536. .content1,
  537. .content2,
  538. .content3 {
  539. .left-text {
  540. width: 290rpx;
  541. color: #333333;
  542. display: flex;
  543. align-items: center;
  544. }
  545. .row {
  546. border-bottom: 1px solid #EEEEEE;
  547. padding-bottom: 28rpx;
  548. margin-top: 26rpx;
  549. .ch-style {}
  550. }
  551. .row-ch {
  552. padding-right: 180rpx;
  553. box-sizing: border-box;
  554. }
  555. }
  556. .content1-car {
  557. margin-top: 20rpx;
  558. .left-text {
  559. width: 290rpx;
  560. color: #333333;
  561. display: flex;
  562. align-items: center;
  563. }
  564. .row {
  565. border-bottom: 1px solid #EEEEEE;
  566. padding-bottom: 28rpx;
  567. margin-top: 26rpx;
  568. .color {
  569. // background: blue;
  570. width: 340rpx;
  571. }
  572. }
  573. }
  574. .input-ckg {
  575. height: 86rpx;
  576. margin-top: 0 !important;
  577. padding-bottom: 0 !important;
  578. .u-input {
  579. height: 100%;
  580. background: #F7F8FA;
  581. padding-left: 10rpx !important;
  582. padding-right: 85rpx !important;
  583. }
  584. .star {
  585. display: flex;
  586. align-items: center;
  587. margin: 0 10rpx;
  588. }
  589. .input-positon {
  590. position: relative;
  591. }
  592. .position-right {
  593. position: absolute;
  594. right: 20rpx;
  595. top: 0;
  596. width: 60rpx;
  597. height: 50rpx;
  598. bottom: 0;
  599. margin: auto;
  600. }
  601. }
  602. .picture {
  603. margin-top: 20rpx;
  604. background: #F5F6FA;
  605. width: 212rpx;
  606. height: 212rpx;
  607. border-radius: 20rpx;
  608. display: flex;
  609. flex-direction: column;
  610. justify-content: center;
  611. align-items: center;
  612. color: #6A7282;
  613. }
  614. .add-car {
  615. background: #FFFFFF;
  616. margin: 20rpx 50rpx;
  617. border-radius: 50rpx;
  618. display: flex;
  619. justify-content: center;
  620. align-items: center;
  621. padding: 20rpx 0;
  622. .icon {
  623. margin-right: 20rpx;
  624. }
  625. .car-text {
  626. font-size: 36rpx;
  627. font-weight: 700;
  628. color: #2772FB;
  629. }
  630. }
  631. .carlist-item {
  632. margin-top: 20rpx;
  633. padding: 0 20rpx 20rpx 20rpx;
  634. background: white;
  635. border-radius: 10rpx;
  636. position: relative;
  637. .del-car {
  638. position: absolute;
  639. top: 0;
  640. right: 0;
  641. width: 80rpx;
  642. height: 80rpx;
  643. }
  644. }
  645. .content2,
  646. .content3 {
  647. .del-bank {
  648. position: absolute;
  649. top: 0;
  650. right: 0;
  651. width: 80rpx;
  652. height: 80rpx;
  653. }
  654. .picture {
  655. width: 100%;
  656. height: 440rpx;
  657. position: relative;
  658. .text {
  659. margin-top: 20rpx;
  660. }
  661. }
  662. .picture1 {
  663. background: url(../../static/images/mine/zm.png);
  664. background-size: 100% 100%;
  665. }
  666. .picture2 {
  667. background: url(../../static/images/mine/gh.png);
  668. background-size: 100% 100%;
  669. }
  670. .picture3 {
  671. background: url(../../static/images/mine/yhkzm.png);
  672. background-size: 100% 100%;
  673. }
  674. .xj-image {
  675. width: 100rpx;
  676. height: 100rpx;
  677. }
  678. .title {
  679. color: #999999;
  680. margin: 20rpx 0;
  681. }
  682. }
  683. .content3 {
  684. position: relative;
  685. background: white;
  686. margin: 20rpx 0 0 0;
  687. border-radius: 10rpx;
  688. padding: 20rpx;
  689. .khzh-styel {
  690. // width: 350rpx;
  691. }
  692. .type {
  693. background: #2772FB;
  694. border-radius: 10rpx;
  695. color: white;
  696. box-sizing: border-box;
  697. padding: 4rpx 10rpx;
  698. font-size: 26rpx;
  699. display: flex;
  700. justify-content: center;
  701. align-items: center;
  702. }
  703. .select-bankzh {
  704. width: 230rpx;
  705. height: 48rpx;
  706. }
  707. }
  708. .content4 {
  709. display: flex;
  710. justify-content: center;
  711. background: white;
  712. padding: 40rpx 20rpx 50rpx 20rpx;
  713. .next-btn {
  714. background: rgb(39, 114, 251);
  715. width: 90%;
  716. padding: 20rpx 20rpx;
  717. text-align: center;
  718. color: #fff;
  719. border-radius: 50rpx;
  720. }
  721. }
  722. .yzm {}
  723. .yzm-btn {
  724. background: #2772FB;
  725. color: white;
  726. height: 60rpx;
  727. }
  728. .preview-card-img {
  729. // /deep/uni-image>div,
  730. // uni-image>img {
  731. // transform: scale(1.5) rotate(-90deg);
  732. // }
  733. }
  734. .del-card {
  735. position: absolute;
  736. top: -10rpx;
  737. right: -6rpx;
  738. width: 80rpx;
  739. height: 80rpx;
  740. z-index: 9;
  741. }
  742. /deep/.u-radio{
  743. margin-left:10px;
  744. }
  745. /deep/.uni-input-input:disabled {
  746. background: #fff;
  747. }
  748. /deep/.u-radio-group--row {
  749. justify-content: flex-end;
  750. }
  751. /deep/.u-textarea{
  752. padding:9px 0;
  753. }
  754. /deep/.u-textarea__field{
  755. color:#000;
  756. text-align:right;
  757. }
  758. </style>