carCaptainAuthentication.vue 19 KB

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