editDriverCertification.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  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. } else {
  274. if (!e.value[1] || !e.value[2]) {
  275. this.$refs.uToast.show({
  276. type: 'error',
  277. message: "日期格式错误,请重新选择!",
  278. })
  279. return
  280. }
  281. var date=new Date()
  282. if(e.value[0]<date.getFullYear()){
  283. this.$refs.uToast.show({
  284. type: 'error',
  285. message: "身份证已过期!",
  286. })
  287. return
  288. }
  289. if(e.value[0]==date.getFullYear()&&Number(e.value[1])<(date.getMonth()+1)){
  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)&&Number(e.value[2])<=(date.getDate())){
  297. this.$refs.uToast.show({
  298. type: 'error',
  299. message: "身份证已过期!",
  300. })
  301. return
  302. }
  303. this.dataDetails.cardValidityDate = e.value[0] + '-' + e.value[1] + '-' + e.value[2]
  304. }
  305. this.isShowcardValidity = false
  306. },
  307. selectValidityPeriod() {
  308. this.isShowcardValidity = true
  309. },
  310. //设置图片
  311. setImage(e) {
  312. console.log(e);
  313. //显示在页面
  314. //this.imagesrc = e.path;
  315. if (e.dotype == 'idphoto') {
  316. _this.zjzClipper(e.path);
  317. } else if (e.dotype == 'watermark') {
  318. _this.watermark(e.path);
  319. } else {
  320. _this.savePhoto(e.path);
  321. }
  322. },
  323. //保存图片到相册,方便核查
  324. savePhoto(path) {
  325. this.imagesrc = path;
  326. // this.dataDetails.cardAddressUrl = path
  327. uploadImage(path, 'appData/',
  328. result => {
  329. // 上传成功
  330. console.log('图片地址', result)
  331. this.dataDetails.cardAddressUrl = result
  332. }
  333. )
  334. },
  335. uploadImg(type, index) {
  336. this.uploadType = type
  337. // this.isShowimgType = true
  338. this.index = index
  339. this.imgTypeSelect()
  340. },
  341. // 上传图片
  342. imgTypeSelect() {
  343. // console.log(val)
  344. console.log(this.uploadType)
  345. // if (val.name == '相册') {
  346. uni.chooseImage({
  347. count: 1,
  348. // sourceType: this.$helper.chooseImage.sourceType,
  349. success: function(res) {
  350. console.log(JSON.stringify(res.tempFilePaths));
  351. uploadImage('image',res.tempFilePaths[0], 'appData/',
  352. result => {
  353. // 上传成功回调函数
  354. console.log('图片地址', result)
  355. switch (_this.uploadType) {
  356. // 身份正面
  357. case 1:
  358. _this.dataDetails.cardAddressUrl = result
  359. // 识别
  360. _this.$request.baseRequest('get',
  361. '/driverInfo/personShibie', {
  362. personImg: result,
  363. flag:1
  364. }).then(res => {
  365. _this.dataDetails.numberCard = res.data.recPersonNo
  366. })
  367. .catch(res => {
  368. uni.$u.toast(res.message);
  369. });
  370. break
  371. // 身份反面
  372. case 2:
  373. _this.dataDetails.cardBackAddressUrl = result
  374. // 识别
  375. _this.$request.baseRequest('get',
  376. '/driverInfo/personShibie', {
  377. personImg: result,
  378. flag:2
  379. }).then(res => {
  380. if(res.data.idCardValidity){
  381. let date = res.data.idCardValidity.split("-")[1]
  382. _this.dataDetails.cardValidityDate = date.replace('.', '-').replace('.', '-')
  383. }
  384. })
  385. .catch(res => {
  386. uni.$u.toast(res.message);
  387. });
  388. break
  389. case 3:
  390. break;
  391. }
  392. }
  393. )
  394. }
  395. });
  396. // } else {
  397. // switch (this.uploadType) {
  398. // case 0:
  399. // break
  400. // case 1:
  401. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=idcardface');
  402. // console.log('身份正面')
  403. // break
  404. // case 2:
  405. // uni.$u.route('/pages/mine/camera/idcard/idcard?dotype=badge');
  406. // console.log('身份反面')
  407. // break
  408. // case 3:
  409. // break
  410. // case 4:
  411. // }
  412. // }
  413. },
  414. next(val) {
  415. if (this.validate()) return
  416. uni.$u.route('/pages/mine/editDriverCertificationNext', {
  417. data: JSON.stringify(this.dataDetails),
  418. });
  419. },
  420. validate() {
  421. // true 为校验不通过
  422. if (uni.$u.test.isEmpty(this.dataDetails.driverName)) {
  423. this.$refs.uToast.show({
  424. type: 'error',
  425. message: "司机姓名不能为空!",
  426. })
  427. return true
  428. }
  429. if (!uni.$u.test.chinese(this.dataDetails.driverName)) {
  430. this.$refs.uToast.show({
  431. type: 'error',
  432. message: "姓名为汉字!",
  433. })
  434. return true
  435. }
  436. if (uni.$u.test.isEmpty(this.dataDetails.driverCall)) {
  437. this.$refs.uToast.show({
  438. type: 'error',
  439. message: "司机称呼不能为空!",
  440. })
  441. return true
  442. }
  443. if (!uni.$u.test.chinese(this.dataDetails.driverCall)) {
  444. this.$refs.uToast.show({
  445. type: 'error',
  446. message: "称呼为汉字!",
  447. })
  448. return true
  449. }
  450. if (uni.$u.test.isEmpty(this.dataDetails.driverPhone)) {
  451. this.$refs.uToast.show({
  452. type: 'error',
  453. message: "联系电话不能为空!",
  454. })
  455. return true
  456. }
  457. if (!uni.$u.test.mobile(this.dataDetails.driverPhone)) {
  458. this.$refs.uToast.show({
  459. type: 'error',
  460. message: "电话号码格式错误!",
  461. })
  462. return true
  463. }
  464. if (uni.$u.test.isEmpty(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.cardValidityDate)) {
  479. this.$refs.uToast.show({
  480. type: 'error',
  481. message: "身份证人有效截止日期不能为空!",
  482. })
  483. return true
  484. }
  485. return false
  486. }
  487. },
  488. };
  489. </script>
  490. <style scoped lang="scss">
  491. /deep/.u-radio {
  492. margin-bottom: 0 !important;
  493. }
  494. .top-head {
  495. background: #2772FB;
  496. height: 80rpx;
  497. width: 100%;
  498. }
  499. .container {
  500. position: relative;
  501. top: -60rpx;
  502. margin: 0 20rpx;
  503. }
  504. .row4-img {
  505. width: 32rpx;
  506. height: 32rpx;
  507. }
  508. .content1,
  509. .content2,
  510. .content3 {
  511. .left-text {
  512. width: 290rpx;
  513. color: #333333;
  514. display: flex;
  515. align-items: center;
  516. }
  517. .row {
  518. border-bottom: 1px solid #EEEEEE;
  519. padding-bottom: 28rpx;
  520. margin-top: 26rpx;
  521. .ch-style {}
  522. }
  523. .row-ch {
  524. padding-right: 180rpx;
  525. box-sizing: border-box;
  526. }
  527. }
  528. .content1-car {
  529. margin-top: 20rpx;
  530. .left-text {
  531. width: 290rpx;
  532. color: #333333;
  533. display: flex;
  534. align-items: center;
  535. }
  536. .row {
  537. border-bottom: 1px solid #EEEEEE;
  538. padding-bottom: 28rpx;
  539. margin-top: 26rpx;
  540. .color {
  541. // background: blue;
  542. width: 340rpx;
  543. }
  544. }
  545. }
  546. .input-ckg {
  547. height: 86rpx;
  548. margin-top: 0 !important;
  549. padding-bottom: 0 !important;
  550. .u-input {
  551. height: 100%;
  552. background: #F7F8FA;
  553. padding-left: 10rpx !important;
  554. padding-right: 85rpx !important;
  555. }
  556. .star {
  557. display: flex;
  558. align-items: center;
  559. margin: 0 10rpx;
  560. }
  561. .input-positon {
  562. position: relative;
  563. }
  564. .position-right {
  565. position: absolute;
  566. right: 20rpx;
  567. top: 0;
  568. width: 60rpx;
  569. height: 50rpx;
  570. bottom: 0;
  571. margin: auto;
  572. }
  573. }
  574. .picture {
  575. margin-top: 20rpx;
  576. background: #F5F6FA;
  577. width: 212rpx;
  578. height: 212rpx;
  579. border-radius: 20rpx;
  580. display: flex;
  581. flex-direction: column;
  582. justify-content: center;
  583. align-items: center;
  584. color: #6A7282;
  585. }
  586. .add-car {
  587. background: #FFFFFF;
  588. margin: 20rpx 50rpx;
  589. border-radius: 50rpx;
  590. display: flex;
  591. justify-content: center;
  592. align-items: center;
  593. padding: 20rpx 0;
  594. .icon {
  595. margin-right: 20rpx;
  596. }
  597. .car-text {
  598. font-size: 36rpx;
  599. font-weight: 700;
  600. color: #2772FB;
  601. }
  602. }
  603. .carlist-item {
  604. margin-top: 20rpx;
  605. padding: 0 20rpx 20rpx 20rpx;
  606. background: white;
  607. border-radius: 10rpx;
  608. position: relative;
  609. .del-car {
  610. position: absolute;
  611. top: 0;
  612. right: 0;
  613. width: 80rpx;
  614. height: 80rpx;
  615. }
  616. }
  617. .content2,
  618. .content3 {
  619. .del-bank {
  620. position: absolute;
  621. top: 0;
  622. right: 0;
  623. width: 80rpx;
  624. height: 80rpx;
  625. }
  626. .picture {
  627. width: 100%;
  628. height: 440rpx;
  629. position: relative;
  630. .text {
  631. margin-top: 20rpx;
  632. }
  633. }
  634. .picture1 {
  635. background: url(../../static/images/mine/zm.png);
  636. background-size: 100% 100%;
  637. }
  638. .picture2 {
  639. background: url(../../static/images/mine/gh.png);
  640. background-size: 100% 100%;
  641. }
  642. .picture3 {
  643. background: url(../../static/images/mine/yhkzm.png);
  644. background-size: 100% 100%;
  645. }
  646. .xj-image {
  647. width: 100rpx;
  648. height: 100rpx;
  649. }
  650. .title {
  651. color: #999999;
  652. margin: 20rpx 0;
  653. }
  654. }
  655. .content3 {
  656. position: relative;
  657. background: white;
  658. margin: 20rpx 0 0 0;
  659. border-radius: 10rpx;
  660. padding: 20rpx;
  661. .khzh-styel {
  662. // width: 350rpx;
  663. }
  664. .type {
  665. background: #2772FB;
  666. border-radius: 10rpx;
  667. color: white;
  668. box-sizing: border-box;
  669. padding: 4rpx 10rpx;
  670. font-size: 26rpx;
  671. display: flex;
  672. justify-content: center;
  673. align-items: center;
  674. }
  675. .select-bankzh {
  676. width: 230rpx;
  677. height: 48rpx;
  678. }
  679. }
  680. .content4 {
  681. display: flex;
  682. justify-content: center;
  683. background: white;
  684. padding: 40rpx 20rpx 50rpx 20rpx;
  685. .next-btn {
  686. background: rgb(39, 114, 251);
  687. width: 90%;
  688. padding: 20rpx 20rpx;
  689. text-align: center;
  690. color: #fff;
  691. border-radius: 50rpx;
  692. }
  693. }
  694. .yzm {}
  695. .yzm-btn {
  696. background: #2772FB;
  697. color: white;
  698. height: 60rpx;
  699. }
  700. .preview-card-img {
  701. // /deep/uni-image>div,
  702. // uni-image>img {
  703. // transform: scale(1.5) rotate(-90deg);
  704. // }
  705. }
  706. .del-card {
  707. position: absolute;
  708. top: -10rpx;
  709. right: -6rpx;
  710. width: 80rpx;
  711. height: 80rpx;
  712. z-index: 9;
  713. }
  714. /deep/.u-radio{
  715. margin-right:10px;
  716. }
  717. </style>