editDriverCertification.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  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. // if (e.index != 0) {
  217. // picker.setColumnValues(1, this.validityPeriod[1].shift())
  218. // }
  219. // } else if (columnIndex === 1) {
  220. // if (e.index != 0) {
  221. // picker.setColumnValues(2, this.validityPeriod[2].shift())
  222. // }
  223. // }
  224. },
  225. codeChange(text) {
  226. this.tips = text;
  227. },
  228. getCode() {
  229. if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.dataDetails.driverPhone)) {
  230. if (this.$refs.uCode.canGetCode) {
  231. // 模拟向后端请求验证码
  232. uni.showLoading({
  233. title: '正在获取验证码'
  234. })
  235. _this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
  236. phone: this.dataDetails.driverPhone
  237. }).then(res => {
  238. uni.hideLoading();
  239. // 这里此提示会被this.start()方法中的提示覆盖
  240. uni.$u.toast('验证码已发送');
  241. // 通知验证码组件内部开始倒计时
  242. this.$refs.uCode.start();
  243. })
  244. .catch(res => {
  245. uni.$u.toast(res.message);
  246. });
  247. // setTimeout(() => {
  248. // }, 2000);
  249. } else {
  250. uni.$u.toast('倒计时结束后再发送');
  251. }
  252. } else {
  253. uni.$u.toast('请输入正确手机号');
  254. }
  255. },
  256. end() {
  257. // uni.$u.toast('倒计时结束');
  258. },
  259. start() {
  260. // uni.$u.toast('倒计时开始');
  261. },
  262. // 性别切换
  263. radioChange(n) {
  264. console.log('radioChange', n);
  265. this.dataDetails.driverSex = n
  266. },
  267. //判断是否是初次认证
  268. getAuthenticationStatus() {
  269. this.$request.baseRequest('', '/driverInfo/firstAuthentication', {
  270. driverPhone: this.userInfo.phone,
  271. }).then(res => {
  272. if (res.code == 200) {
  273. this.dataDetails = res.data
  274. // this.dataDetails.driverName = res.data.driverName
  275. // this.dataDetails.driverSex = res.data.driverSex
  276. // this.dataDetails.driverCall = res.data.driverCall
  277. // this.dataDetails.driverPhone = res.data.driverPhone
  278. // this.dataDetails.cardAddressUrl = res.data.cardAddressUrl
  279. // this.dataDetails.cardBackAddressUrl = res.data.cardBackAddressUrl
  280. // this.dataDetails.numberCard = res.data.numberCard
  281. // this.dataDetails.cardValidityDate = res.data.cardValidityDate
  282. }
  283. })
  284. .catch(res => {
  285. uni.$u.toast(res.message);
  286. });
  287. },
  288. confirmValidityPeriod(date) {
  289. console.log('confirm', date)
  290. this.dataDetails.cardValidityDate = date.date
  291. },
  292. selectValidityPeriod() {
  293. if(this.dataDetails.cardValidityDate!='长期'){
  294. var arr=this.dataDetails.cardValidityDate.split('-')
  295. this.year=arr[0]
  296. this.month=arr[1]
  297. this.day=arr[2]
  298. }
  299. if(this.dataDetails.cardValidityDate=='长期'){
  300. this.year='长期'
  301. this.month=''
  302. this.day=''
  303. }
  304. this.$refs.dateEl.show()
  305. },
  306. //设置图片
  307. setImage(e) {
  308. console.log(e);
  309. //显示在页面
  310. //this.imagesrc = e.path;
  311. if (e.dotype == 'idphoto') {
  312. _this.zjzClipper(e.path);
  313. } else if (e.dotype == 'watermark') {
  314. _this.watermark(e.path);
  315. } else {
  316. _this.savePhoto(e.path);
  317. }
  318. },
  319. //保存图片到相册,方便核查
  320. savePhoto(path) {
  321. this.imagesrc = path;
  322. // this.dataDetails.cardAddressUrl = path
  323. uploadImage(path, 'appData/',
  324. result => {
  325. // 上传成功
  326. console.log('图片地址', result)
  327. this.dataDetails.cardAddressUrl = result
  328. }
  329. )
  330. },
  331. uploadImg(type, index) {
  332. this.uploadType = type
  333. // this.isShowimgType = true
  334. this.index = index
  335. this.imgTypeSelect()
  336. },
  337. delCard(type) {
  338. var _this=this
  339. switch (type) {
  340. case 1:
  341. _this.dataDetails.cardAddressUrl = ""
  342. break;
  343. case 2:
  344. _this.dataDetails.cardBackAddressUrl = ""
  345. break;
  346. }
  347. },
  348. // 上传图片
  349. imgTypeSelect() {
  350. // console.log(val)
  351. console.log(this.uploadType)
  352. // if (val.name == '相册') {
  353. uni.chooseImage({
  354. count: 1,
  355. // sourceType: this.$helper.chooseImage.sourceType,
  356. success: function(res) {
  357. console.log(JSON.stringify(res.tempFilePaths));
  358. uploadImage('image',res.tempFilePaths[0], 'appData/',
  359. result => {
  360. // 上传成功回调函数
  361. console.log('图片地址', result)
  362. switch (_this.uploadType) {
  363. // 身份正面
  364. case 1:
  365. _this.dataDetails.cardAddressUrl = result
  366. // 识别
  367. _this.$request.baseRequest('get',
  368. '/driverInfo/personShibie', {
  369. personImg: result,
  370. flag:1
  371. }).then(res => {
  372. if(res.data){
  373. _this.dataDetails.cardAddress=res.data.recPersonAddr
  374. // _this.dataDetails.numberCard = res.data.recPersonNo
  375. if (res.data.recPerson) {
  376. _this.dataDetails.driverName = res.data.recPerson
  377. _this.dataDetails.driverCall = res.data.recPerson.substring(0,1)
  378. }
  379. _this.dataDetails.driverBirthday=res.data.recPersonBrithday
  380. }
  381. })
  382. .catch(res => {
  383. uni.$u.toast(res.message);
  384. });
  385. break
  386. // 身份反面
  387. case 2:
  388. _this.dataDetails.cardBackAddressUrl = result
  389. // 识别
  390. _this.$request.baseRequest('get',
  391. '/driverInfo/personShibie', {
  392. personImg: result,
  393. flag:2
  394. }).then(res => {
  395. if(res.data.idCardValidity){
  396. let date = res.data.idCardValidity.split("-")[1]
  397. _this.dataDetails.cardValidityDate = date.replace('.', '-').replace('.', '-')
  398. }
  399. })
  400. .catch(res => {
  401. uni.$u.toast(res.message);
  402. });
  403. break
  404. case 3:
  405. break;
  406. }
  407. }
  408. )
  409. }
  410. });
  411. // } else {
  412. // switch (this.uploadType) {
  413. // case 0:
  414. // break
  415. // case 1:
  416. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=idcardface');
  417. // console.log('身份正面')
  418. // break
  419. // case 2:
  420. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=badge');
  421. // console.log('身份反面')
  422. // break
  423. // case 3:
  424. // break
  425. // case 4:
  426. // }
  427. // }
  428. },
  429. next(val) {
  430. if (this.validate()) return
  431. uni.$u.route('/pages/mine/editDriverCertificationNext', {
  432. data: JSON.stringify(this.dataDetails),
  433. });
  434. },
  435. validate() {
  436. // true 为校验不通过
  437. if (uni.$u.test.isEmpty(this.dataDetails.driverName)) {
  438. this.$refs.uToast.show({
  439. type: 'error',
  440. message: "司机姓名不能为空!",
  441. })
  442. return true
  443. }
  444. if (!uni.$u.test.chinese(this.dataDetails.driverName)) {
  445. this.$refs.uToast.show({
  446. type: 'error',
  447. message: "姓名为汉字!",
  448. })
  449. return true
  450. }
  451. if (uni.$u.test.isEmpty(this.dataDetails.driverCall)) {
  452. this.$refs.uToast.show({
  453. type: 'error',
  454. message: "司机称呼不能为空!",
  455. })
  456. return true
  457. }
  458. if (!uni.$u.test.chinese(this.dataDetails.driverCall)) {
  459. this.$refs.uToast.show({
  460. type: 'error',
  461. message: "称呼为汉字!",
  462. })
  463. return true
  464. }
  465. if (uni.$u.test.isEmpty(this.dataDetails.driverPhone)) {
  466. this.$refs.uToast.show({
  467. type: 'error',
  468. message: "联系电话不能为空!",
  469. })
  470. return true
  471. }
  472. if (!uni.$u.test.mobile(this.dataDetails.driverPhone)) {
  473. this.$refs.uToast.show({
  474. type: 'error',
  475. message: "电话号码格式错误!",
  476. })
  477. return true
  478. }
  479. // for (let i = 0; i < this.dataDetails.hyDriverCarInfoList.length; i++) {
  480. // let _item = this.dataDetails.hyDriverCarInfoList[i]
  481. // if (uni.$u.test.isEmpty(_item.carNumber)) {
  482. // this.$refs.uToast.show({
  483. // type: 'error',
  484. // message: "车牌号不能为空!",
  485. // })
  486. // return true
  487. // }
  488. // if (uni.$u.test.isEmpty(_item.fileList1)) {
  489. // this.$refs.uToast.show({
  490. // type: 'error',
  491. // message: "人车合影不能为空!",
  492. // })
  493. // return true
  494. // }
  495. // }
  496. if (uni.$u.test.isEmpty(this.dataDetails.cardAddressUrl)) {
  497. this.$refs.uToast.show({
  498. type: 'error',
  499. message: "身份证人像页不能为空!",
  500. })
  501. return true
  502. }
  503. if (uni.$u.test.isEmpty(this.dataDetails.cardBackAddressUrl)) {
  504. this.$refs.uToast.show({
  505. type: 'error',
  506. message: "身份证国徽页不能为空!",
  507. })
  508. return true
  509. }
  510. if (uni.$u.test.isEmpty(this.dataDetails.cardValidityDate)) {
  511. this.$refs.uToast.show({
  512. type: 'error',
  513. message: "身份证人有效截止日期不能为空!",
  514. })
  515. return true
  516. }
  517. if (uni.$u.test.isEmpty(this.dataDetails.cardAddress)) {
  518. this.$refs.uToast.show({
  519. type: 'error',
  520. message: "身份证地址为空!",
  521. })
  522. return true
  523. }
  524. return false
  525. }
  526. },
  527. };
  528. </script>
  529. <style scoped lang="scss">
  530. /deep/.u-radio {
  531. margin-bottom: 0 !important;
  532. }
  533. .top-head {
  534. background: #2772FB;
  535. height: 80rpx;
  536. width: 100%;
  537. }
  538. .container {
  539. position: relative;
  540. top: -60rpx;
  541. margin: 0 20rpx;
  542. }
  543. .row4-img {
  544. width: 32rpx;
  545. height: 32rpx;
  546. }
  547. .content1,
  548. .content2,
  549. .content3 {
  550. .left-text {
  551. width: 290rpx;
  552. color: #333333;
  553. display: flex;
  554. align-items: center;
  555. }
  556. .row {
  557. border-bottom: 1px solid #EEEEEE;
  558. padding-bottom: 28rpx;
  559. margin-top: 26rpx;
  560. .ch-style {}
  561. }
  562. .row-ch {
  563. padding-right: 180rpx;
  564. box-sizing: border-box;
  565. }
  566. }
  567. .content1-car {
  568. margin-top: 20rpx;
  569. .left-text {
  570. width: 290rpx;
  571. color: #333333;
  572. display: flex;
  573. align-items: center;
  574. }
  575. .row {
  576. border-bottom: 1px solid #EEEEEE;
  577. padding-bottom: 28rpx;
  578. margin-top: 26rpx;
  579. .color {
  580. // background: blue;
  581. width: 340rpx;
  582. }
  583. }
  584. }
  585. .input-ckg {
  586. height: 86rpx;
  587. margin-top: 0 !important;
  588. padding-bottom: 0 !important;
  589. .u-input {
  590. height: 100%;
  591. background: #F7F8FA;
  592. padding-left: 10rpx !important;
  593. padding-right: 85rpx !important;
  594. }
  595. .star {
  596. display: flex;
  597. align-items: center;
  598. margin: 0 10rpx;
  599. }
  600. .input-positon {
  601. position: relative;
  602. }
  603. .position-right {
  604. position: absolute;
  605. right: 20rpx;
  606. top: 0;
  607. width: 60rpx;
  608. height: 50rpx;
  609. bottom: 0;
  610. margin: auto;
  611. }
  612. }
  613. .picture {
  614. margin-top: 20rpx;
  615. background: #F5F6FA;
  616. width: 212rpx;
  617. height: 212rpx;
  618. border-radius: 20rpx;
  619. display: flex;
  620. flex-direction: column;
  621. justify-content: center;
  622. align-items: center;
  623. color: #6A7282;
  624. }
  625. .add-car {
  626. background: #FFFFFF;
  627. margin: 20rpx 50rpx;
  628. border-radius: 50rpx;
  629. display: flex;
  630. justify-content: center;
  631. align-items: center;
  632. padding: 20rpx 0;
  633. .icon {
  634. margin-right: 20rpx;
  635. }
  636. .car-text {
  637. font-size: 36rpx;
  638. font-weight: 700;
  639. color: #2772FB;
  640. }
  641. }
  642. .carlist-item {
  643. margin-top: 20rpx;
  644. padding: 0 20rpx 20rpx 20rpx;
  645. background: white;
  646. border-radius: 10rpx;
  647. position: relative;
  648. .del-car {
  649. position: absolute;
  650. top: 0;
  651. right: 0;
  652. width: 80rpx;
  653. height: 80rpx;
  654. }
  655. }
  656. .content2,
  657. .content3 {
  658. .del-bank {
  659. position: absolute;
  660. top: 0;
  661. right: 0;
  662. width: 80rpx;
  663. height: 80rpx;
  664. }
  665. .picture {
  666. width: 100%;
  667. height: 440rpx;
  668. position: relative;
  669. .text {
  670. margin-top: 20rpx;
  671. }
  672. }
  673. .picture1 {
  674. background: url(../../static/images/mine/zm.png);
  675. background-size: 100% 100%;
  676. }
  677. .picture2 {
  678. background: url(../../static/images/mine/gh.png);
  679. background-size: 100% 100%;
  680. }
  681. .picture3 {
  682. background: url(../../static/images/mine/yhkzm.png);
  683. background-size: 100% 100%;
  684. }
  685. .xj-image {
  686. width: 100rpx;
  687. height: 100rpx;
  688. }
  689. .title {
  690. color: #999999;
  691. margin: 20rpx 0;
  692. }
  693. }
  694. .content3 {
  695. position: relative;
  696. background: white;
  697. margin: 20rpx 0 0 0;
  698. border-radius: 10rpx;
  699. padding: 20rpx;
  700. .khzh-styel {
  701. // width: 350rpx;
  702. }
  703. .type {
  704. background: #2772FB;
  705. border-radius: 10rpx;
  706. color: white;
  707. box-sizing: border-box;
  708. padding: 4rpx 10rpx;
  709. font-size: 26rpx;
  710. display: flex;
  711. justify-content: center;
  712. align-items: center;
  713. }
  714. .select-bankzh {
  715. width: 230rpx;
  716. height: 48rpx;
  717. }
  718. }
  719. .content4 {
  720. display: flex;
  721. justify-content: center;
  722. background: white;
  723. padding: 40rpx 20rpx 50rpx 20rpx;
  724. .next-btn {
  725. background: rgb(39, 114, 251);
  726. width: 90%;
  727. padding: 20rpx 20rpx;
  728. text-align: center;
  729. color: #fff;
  730. border-radius: 50rpx;
  731. }
  732. }
  733. .yzm {}
  734. .yzm-btn {
  735. background: #2772FB;
  736. color: white;
  737. height: 60rpx;
  738. }
  739. .preview-card-img {
  740. // /deep/uni-image>div,
  741. // uni-image>img {
  742. // transform: scale(1.5) rotate(-90deg);
  743. // }
  744. }
  745. .del-card {
  746. position: absolute;
  747. top: -10rpx;
  748. right: -6rpx;
  749. width: 80rpx;
  750. height: 80rpx;
  751. z-index: 9;
  752. }
  753. /deep/.u-radio{
  754. margin-left:10px;
  755. }
  756. /deep/.uni-input-input:disabled {
  757. background: #fff;
  758. }
  759. /deep/.u-radio-group--row {
  760. justify-content: flex-end;
  761. }
  762. /deep/.u-textarea{
  763. padding:9px 0;
  764. }
  765. /deep/.u-textarea__field{
  766. color:#000;
  767. text-align:right;
  768. }
  769. </style>