editDriverCertification.vue 20 KB

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