editDriverCertification.vue 19 KB

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