Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. <template>
  2. <view class="page-content">
  3. <view class="bg">
  4. <template v-if="state.userType === '1'">
  5. <!--身份证正面-->
  6. <ocr-cert-block :img="formData.customerPosUrl" :type="1"></ocr-cert-block>
  7. <!--身份证反面-->
  8. <ocr-cert-block :img="formData.customerNegUrl" :type="2"></ocr-cert-block>
  9. </template>
  10. <template v-else>
  11. <ocr-cert-block
  12. :text="{
  13. title: '单位授权书',
  14. tag1: '上传授权书',
  15. tag2: '拍摄规范',
  16. img: 'issuance/weituo.png'
  17. }"
  18. :img="formData.proxyUrl"
  19. @click="uploadOtherFile"
  20. ></ocr-cert-block>
  21. <!--营业执照-->
  22. <ocr-cert-block :type="5" :img="formData.customerPosUrl" @click="takePhotoMode"></ocr-cert-block>
  23. <!--经办人身份证正面-->
  24. <ocr-cert-block :text="{title: '经办人身份证人像面'}" :img="formData.agentPosImgUrl" :type="1"></ocr-cert-block>
  25. <!--经办人身份证反面-->
  26. <ocr-cert-block :text="{title: '经办人身份证国徽面'}" :img="formData.agentNegImgUrl" :type="2"></ocr-cert-block>
  27. </template>
  28. </view>
  29. <view class="bg">
  30. <!--驾驶证正本-->
  31. <ocr-cert-block :img="formData.vehPosImgUrl" :type="3"></ocr-cert-block>
  32. <!--驾驶证副本-->
  33. <ocr-cert-block :img="formData.vehNegImgUrl" :type="4"></ocr-cert-block>
  34. </view>
  35. <view class="bg">
  36. <view class="title"> 基本信息 </view>
  37. <u-form label-width="230" :model="formData" ref="uForm" :label-style='labelStyle'>
  38. <template v-if="state.userType === '1'">
  39. <u-form-item label="姓名" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  40. <u-input v-model="formData.customerName" placeholder='请输入姓名' inputAlign="right"/>
  41. </u-form-item>
  42. <u-form-item label="证件号码" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  43. <u-input placeholder='请填写证件号码' type="number" v-model="formData.customerIdNum" inputAlign="right"/>
  44. </u-form-item>
  45. <u-form-item label="车牌号" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  46. <car-number-input @numberInputResult="carNumber" :defaultStr="formData.vehiclePlate"></car-number-input>
  47. </u-form-item>
  48. </template>
  49. <template v-else>
  50. <u-form-item label="单位名称" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  51. <u-input v-model="formData.customerName" placeholder='请输入单位名称' inputAlign="right"/>
  52. </u-form-item>
  53. <u-form-item label="单位证件号" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  54. <u-input v-model="formData.customerIdNum" placeholder='请输入单位证件号' inputAlign="right"/>
  55. </u-form-item>
  56. <u-form-item label="经办人姓名" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  57. <u-input v-model="formData.agentName" placeholder='请输入经办人姓名' inputAlign="right"/>
  58. </u-form-item>
  59. <u-form-item label="经办人证件号码" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  60. <u-input placeholder='请填写经办人证件号码' type="number" v-model="formData.agentIdNum" inputAlign="right"/>
  61. </u-form-item>
  62. <u-form-item label="车牌号" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  63. <car-number-input @numberInputResult="carNumber" :defaultStr="formData.vehiclePlate"></car-number-input>
  64. </u-form-item>
  65. </template>
  66. </u-form>
  67. </view>
  68. <view class="action">
  69. <button type="default" class="ui-btn" @click="submit()">
  70. 提交
  71. </button>
  72. </view>
  73. </view>
  74. <!--证件照上传 start-->
  75. <!-- <uploadOcr
  76. :isTakePhotoModeShow="state.isTakePhotoModeShow"
  77. :phoneType="state.choiceIndex"
  78. @close="close"
  79. @ocrResult="ocrResult">
  80. </uploadOcr> -->
  81. <!--证件照上传 end-->
  82. </template>
  83. <script setup lang="ts">
  84. import { reactive, ref, computed } from "vue";
  85. import { onLoad, onShow } from "@dcloudio/uni-app";
  86. import { getItem, StorageKeys } from "@/utils/storage";
  87. import { checkStr, navTo, uploadFile, msg, getFullImageUrl, replaceBaseImageUrl, maskBankCard } from "@/utils/utils";
  88. import { requestNew } from "@/utils/network/request.js";
  89. import { deviceResumeAdd, vehicleInfoView, getCustomerDetail } from "@/utils/network/api.js";
  90. import { useUserStore } from "@/stores/user";
  91. import { commonStore } from '@/stores/common.js'
  92. import { getCodeName } from '@/datas/queryKey.js'
  93. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  94. import { getVehiclePlateColorPai } from '@/datas/vehiclePlateColor'
  95. // import uploadOcr from '@/components/uploadOcr';
  96. import { compareDates, showModals } from '@/utils/utils'
  97. import { startHeartbeat, stopHeartbeat } from "@/pages/bluetooth/heartbeatService"
  98. const cmd = require("../../../static/etcUtil/cmdConfig.js");
  99. const tools = require("../../../static/etcUtil/tools.js");
  100. const bluetoothUtil = require("../../../static/etcUtil/index.js");
  101. const commonStoreUse = commonStore()
  102. const { getSelectIndex, setIsRefresh } = commonStoreUse
  103. const refreshKey = 'runWaterRefundInfo'
  104. const isMultiProvince = [
  105. {name: '单省', id: 0},
  106. {name: '跨省', id: 1},
  107. ]
  108. interface uploadFileParams{
  109. imageUrl: string
  110. }
  111. interface pageParams{
  112. routeType: string,
  113. vehicleId: string,
  114. cardId: string,
  115. obuId: string,
  116. cardExpireTime: string,
  117. obuExpireTime: string
  118. }
  119. const labelStyle = {
  120. color: "#004576",
  121. fontSize: "28rpx",
  122. }
  123. const leftIcon = {
  124. height: '100%',
  125. width: '8rpx',
  126. display: 'flex',
  127. 'align-items': 'center',
  128. 'margin-right': '4rpx',
  129. }
  130. const formData = reactive({
  131. customerPosUrl: '',
  132. customerNegUrl: '',
  133. customerName: '',
  134. customerIdNum: '',
  135. vehiclePlate: '',
  136. vehiclePlateColor: '',
  137. vehPosImgUrl: '',
  138. vehNegImgUrl: '',
  139. cardVehicleType: '',
  140. proxyUrl: '', // 委托书
  141. // agentIdtype: 'AMJMSFZ',
  142. agentPosImgUrl: '', // 经办人信息
  143. agentNegImgUrl: '',
  144. agentName: '',
  145. agentIdNum: '',
  146. customerTel: '',
  147. cardId: '',
  148. obuId: '',
  149. oldCardExpireTime: '',
  150. oldObuExpireTime: '',
  151. axleCount: '',
  152. approvedCount: '',
  153. totalMass: '',
  154. vehicleDimensions: '',
  155. vanType: '',
  156. customerIdType: "SFZ"
  157. })
  158. const card = reactive({
  159. cardId: "",
  160. cardNo: "",
  161. startTime: "",
  162. endTime: "",
  163. userName: "",
  164. userNameStr: "",
  165. idNum: "",
  166. idNumStr: "",
  167. vehiclePlate: "",
  168. vehiclePlateColor: "",
  169. color: "",
  170. colorStr: "",
  171. version: "",
  172. type: "",
  173. typeStr: "",
  174. favourable: "",
  175. favourableStr: "",
  176. money: "",
  177. v_userType: "",
  178. cardBalance: ""
  179. });
  180. const obu = reactive({
  181. obuId: "",
  182. num: "",
  183. startTime: "",
  184. endTime: "",
  185. version: "",
  186. approvedCount: "",
  187. axleCount: "",
  188. axleDistance: "",
  189. engineNum: "",
  190. type: "",
  191. typeStr: "",
  192. userType: "",
  193. userTypeStr: "",
  194. vehiclePlate: "",
  195. vehiclePlateColor: "",
  196. vehiclePlateColorStr: "",
  197. vin: "",
  198. wheelCount: "",
  199. isJH: "",
  200. isJHStr: "",
  201. outsideDimensions: "",
  202. loadStatus: ""
  203. });
  204. const state = reactive({
  205. isTakePhotoModeShow: false,
  206. choiceIndex: null,
  207. userType: '', // 1 个人用户,2:单位用户
  208. pageParams: {
  209. routeType: "",
  210. vehicleId: "",
  211. cardId: "",
  212. obuId: "",
  213. cardExpireTime: "",
  214. obuExpireTime: ""
  215. },
  216. deviceInfo: {
  217. ownerName: '',
  218. ownerPosImgUrl: '',
  219. ownerNegImgUrl: '',
  220. ownerIdNum: '',
  221. vehiclePlate: '',
  222. vehiclePlateColor: '',
  223. type: '',
  224. vehPosImgUrl: '',
  225. vehNegImgUrl: '',
  226. proxyUrl: '',
  227. ownerTel: '',
  228. customerType: 0,
  229. axleCount: '',
  230. approvedCount: '',
  231. totalMass: '',
  232. vehicleDimensions: '',
  233. vehicleType: ''
  234. },
  235. userInfo: {
  236. },
  237. customerObj: {
  238. userType: ''
  239. }
  240. })
  241. onLoad((option: pageParams) => {
  242. if (option) {
  243. state.pageParams = option
  244. formData.cardId = option.cardId
  245. formData.obuId = option.obuId
  246. formData.oldCardExpireTime = option.cardExpireTime
  247. formData.oldObuExpireTime = option.obuExpireTime
  248. }
  249. state.customerObj = getItem('customerObj')
  250. state.userType = String(state.customerObj.userType)
  251. getCustomerDetailInfo()
  252. getVehicleInfoView()
  253. // getCardDetailInfo()
  254. })
  255. onShow(() => {
  256. })
  257. /**
  258. * 身份证ocr识别后接收参数
  259. */
  260. interface OCRData {
  261. imageUrl: string,
  262. bizContent: string,
  263. screditCode: string,
  264. enddate: string
  265. }
  266. const submit = () => {
  267. if (!paramsVerify()) return;
  268. const options = {
  269. type: 2,
  270. data: {...formData},
  271. method: "POST",
  272. showLoading: true,
  273. }
  274. //调用方式
  275. requestNew(deviceResumeAdd, options).then(res => {
  276. uni.redirectTo({
  277. url: '/pages/common/submit-result?back=1&tipText=' + '预计1-3日完成资料审核'
  278. })
  279. })
  280. }
  281. // 获取当前用户详情
  282. const getCustomerDetailInfo = () => {
  283. const options = {
  284. type: 2,
  285. data: {},
  286. method: "POST",
  287. showLoading: true,
  288. }
  289. //调用方式
  290. requestNew(getCustomerDetail, options).then(res => {
  291. let userInfo = state.userInfo = res
  292. formData.customerPosUrl = userInfo.customerPosImgUrl
  293. formData.agentPosImgUrl = userInfo.agentPosImgUrl
  294. formData.agentNegImgUrl = userInfo.agentNegImgUrl
  295. formData.agentName = userInfo.agentName
  296. formData.agentIdNum = userInfo.agentIdNum
  297. formData.customerName = userInfo.customerName
  298. formData.customerIdNum = userInfo.customerIdNum
  299. })
  300. }
  301. // 获取卡签信息
  302. // const getCardDetailInfo = () => {
  303. // getCardDetail().then(res => {
  304. // console.log(1111111111111)
  305. // console.log(res)
  306. // })
  307. // }
  308. // 获取车辆详情
  309. const getVehicleInfoView = () => {
  310. let option = {
  311. type: 2,
  312. data: {vehicleId: state.pageParams.vehicleId},
  313. method: "POST",
  314. showLoading: true,
  315. }
  316. requestNew(vehicleInfoView, option).then(res => {
  317. state.deviceInfo = res
  318. setFormData()
  319. })
  320. }
  321. // 初始化表单参数
  322. const setFormData = () => {
  323. let deviceInfo = state.deviceInfo
  324. // state.userType = deviceInfo.customerType === 1 ? '2' : '1'
  325. formData.customerName = deviceInfo.ownerName
  326. formData.customerIdNum = deviceInfo.ownerIdNum
  327. formData.vehiclePlate = deviceInfo.vehiclePlate
  328. formData.vehiclePlateColor = deviceInfo.vehiclePlateColor
  329. formData.cardVehicleType = deviceInfo.vehicleType
  330. formData.vehPosImgUrl = deviceInfo.vehPosImgUrl
  331. formData.vehNegImgUrl = deviceInfo.vehNegImgUrl
  332. formData.proxyUrl = state.userType === '1' ? '' : deviceInfo.proxyUrl
  333. formData.customerTel = deviceInfo.ownerTel
  334. formData.axleCount = deviceInfo.axleCount
  335. formData.approvedCount = deviceInfo.approvedCount
  336. formData.totalMass = deviceInfo.totalMass
  337. formData.vehicleDimensions = deviceInfo.vehicleDimensions
  338. formData.vanType = deviceInfo.type
  339. if (state.userType === '1') {
  340. formData.customerPosUrl = deviceInfo.ownerPosImgUrl
  341. formData.customerNegUrl = deviceInfo.ownerNegImgUrl
  342. formData.agentName = deviceInfo.ownerName
  343. formData.agentIdNum = deviceInfo.ownerIdNum
  344. formData.agentPosImgUrl = deviceInfo.ownerPosImgUrl
  345. formData.agentNegImgUrl = deviceInfo.ownerNegImgUrl
  346. // formData.agentIdtype = ownerIdType
  347. } else {
  348. getCustomerDetailInfo()
  349. // formData.agentPosImgUrl = deviceInfo.ownerPosImgUrl
  350. // formData.agentNegImgUrl = deviceInfo.ownerNegImgUrl
  351. }
  352. }
  353. const selectProvince = () => {
  354. uni.navigateTo({
  355. url: '/pages/common/select-data-list'
  356. })
  357. }
  358. // 字段校验
  359. const paramsVerify = () => {
  360. let isVerify = true;
  361. if (state.userType === '1') {
  362. if(!formData.customerName){
  363. msg('请输入用户姓名');
  364. isVerify = false;
  365. } else if(!formData.customerIdNum){
  366. msg('请输入证件号码');
  367. isVerify = false;
  368. } else if(!formData.vehiclePlate){
  369. msg('请输入车牌号码');
  370. isVerify = false;
  371. }
  372. } else {
  373. if (!formData.proxyUrl) {
  374. msg('请上传单位授权书');
  375. isVerify = false;
  376. } else if(!formData.customerName){
  377. msg('请输入单位名称');
  378. isVerify = false;
  379. } else if(!formData.customerIdNum){
  380. msg('请输入单位证件号');
  381. isVerify = false;
  382. } else if(!formData.agentName){
  383. msg('请输入经办人姓名');
  384. isVerify = false;
  385. } else if(!formData.agentIdNum){
  386. msg('请填写经办人证件号码');
  387. isVerify = false;
  388. } else if(!formData.vehiclePlate){
  389. msg('请输入车牌号码');
  390. isVerify = false;
  391. }
  392. }
  393. return isVerify;
  394. }
  395. //车牌号输入
  396. const carNumber = (val : any) => {
  397. formData.vehiclePlate = val.trim();
  398. };
  399. const close = (e) => {
  400. state.isTakePhotoModeShow = e
  401. }
  402. const takePhotoMode = (index: number) => {
  403. state.isTakePhotoModeShow = true
  404. state.choiceIndex = index
  405. }
  406. // const ocrResult = (data: OCRData) => {
  407. // let bizContent = data.bizContent = data.bizContent ? JSON.parse(data.bizContent) : {}
  408. // if (state.choiceIndex === 1) {
  409. // if (!bizContent.idno) {
  410. // msg('识别失败,请重新上传')
  411. // } else {
  412. // if (state.userType === '1') {
  413. // formData.customerName = bizContent.name;
  414. // formData.customerIdNum = bizContent.idno;
  415. // formData.customerPosUrl = data.imageUrl;
  416. // } else {
  417. // formData.agentName = bizContent.name;
  418. // formData.agentIdNum = bizContent.idno;
  419. // formData.agentPosImgUrl = data.imageUrl
  420. // }
  421. // }
  422. // } else if (state.choiceIndex === 2) {
  423. // if (!bizContent.begindate) {
  424. // msg('识别失败,请重新上传')
  425. // } else {
  426. // if (state.userType === '1') {
  427. // formData.customerNegUrl = data.imageUrl;
  428. // compareDates(data.enddate)
  429. // } else {
  430. // formData.agentNegImgUrl = data.imageUrl
  431. // compareDates(data.enddate)
  432. // }
  433. // }
  434. // } else if (state.choiceIndex === 3) {
  435. // formData.vehPosImgUrl = bizContent.imageUrl
  436. // if (bizContent.plate_a.length > 8) {
  437. // formData.vehiclePlate = bizContent.plate_a.substring(0, 8);
  438. // } else {
  439. // formData.vehiclePlate = bizContent.plate_a;
  440. // }
  441. // } else if (state.choiceIndex === 4) {
  442. // formData.vehNegImgUrl = bizContent.imageUrl
  443. // } else if (state.choiceIndex === 5) {
  444. // submitForm.name = bizContent.unitName;
  445. // submitForm.address = bizContent.adress;
  446. // submitForm.idNo = bizContent.screditCode;
  447. // submitForm.idCardFront = data.imageUrl
  448. // }
  449. // }
  450. // 授权证书上传
  451. const uploadOtherFile = () => {
  452. uni.chooseImage({
  453. count: 1, // 只能选取一张照片
  454. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  455. sourceType: ["camera", "album"], //从相册选择
  456. success: (res) => {
  457. uploadFile(res.tempFilePaths[0]).then((data: uploadFileParams) => {
  458. formData.proxyUrl = data.imageUrl
  459. })
  460. },
  461. });
  462. }
  463. /**
  464. * 获取OBU号 读OBU
  465. */
  466. const getObuId = () => {
  467. console.log('======获取OBU号======')
  468. let cmdArray = [cmd.HOME_DIRECTORY, cmd.OBU_SYSTEM_FILE, cmd.RANDOM_NUMBER];
  469. bluetoothUtil.transCmd(cmdArray, "20", function(res) {
  470. var status = res[1].substring(res[1].length - 4, res[1].length);
  471. console.log('获取OBU号执行结果' + status, res)
  472. //第一次获取随机数
  473. if (status == "9000") {
  474. obu.obuId = res[1].substring(20, 36);
  475. // obu.obuId = '5201250802001105';
  476. obu.vin = res[1].substring(18, 20);
  477. obu.version = res[1].substring(18, 20);
  478. state.ObuVersion = res[1].substring(18, 20)
  479. state.ChipSn = res[1].substring(0, 8)
  480. cmdRandNum = res[2].substring(0, res[2].length - 4);
  481. getCardId()
  482. } else {
  483. showModals('获取设备信息错误!')
  484. }
  485. }, () => {
  486. showModals('获取设备信息错误')
  487. });
  488. };
  489. // 获取卡详情
  490. const getCardId = () => {
  491. //执行0015文件
  492. tools.showLoadingAlert("执行指令");
  493. let cmdArr = [cmd.HOME_DIRECTORY, cmd.APPLICATION_DIRECTORY, cmd.CMD_READBINARY, cmd.CMD_GETBALANCE];
  494. console.log(cmdArr);
  495. console.log(bluetoothUtil);
  496. bluetoothUtil.transCmd(cmdArr, '10', function(res) { //10:写卡 20:写OBU
  497. console.log("5201", res)
  498. let str = res[2].substring(res[2].length - 4, res[2].length); //判断是否为9000
  499. let str3 = res[3].substring(res[3].length - 4, res[3].length); //判断是否为9000
  500. if (str == "9000" || str3 == "9000") {
  501. if (res[2].length > 86 || res[3] >= 12) {
  502. card.cardId = res[2].substring(20, 40);
  503. // card.cardId = '52012511110201724155';
  504. state.CardVersion = res[2].substring(18, 20),
  505. tools.hideLoadingAlert();
  506. state.showBtn = true
  507. } else {
  508. alertF("CMD_READBINARY指令长度不符" + res[2]);
  509. }
  510. return;
  511. }
  512. alertF("CMD_READBINARY指令长度不符" + res[2]);
  513. })
  514. };
  515. //提示对话框
  516. const alertF = (msg) => {
  517. //隐藏加载框
  518. tools.hideLoadingAlert();
  519. //提示对话框
  520. tools.showModalAlert(msg);
  521. stopHeartbeat();
  522. }
  523. function showModals(msg) {
  524. uni.showModal({
  525. title: '提示',
  526. content: msg,
  527. showCancel: false,
  528. success: function(res) {
  529. if (res.confirm) {
  530. uni.navigateBack()
  531. console.log('用户点击确定1');
  532. } else if (res.cancel) {
  533. console.log('用户点击取消1');
  534. }
  535. }
  536. });
  537. }
  538. </script>
  539. <style lang="scss" scoped>
  540. .bg{
  541. background-color: white;
  542. margin:0 32rpx;
  543. margin-top: 20rpx;
  544. border-radius: 12rpx;
  545. border: 1px solid #FFFFFF;
  546. padding: 20rpx;
  547. }
  548. .card {
  549. display: flex;
  550. margin: 0 20rpx;
  551. align-items: center;
  552. }
  553. .action {
  554. background-color: #fff;
  555. border-radius: 30rpx 30rpx 0 0;
  556. width: 100vw;
  557. display: flex;
  558. align-items: center;
  559. justify-content: center;
  560. flex-direction: column;
  561. margin-top: 20rpx;
  562. padding: 24rpx 0 calc(24rpx + env(safe-area-inset-bottom));
  563. }
  564. ::deep.uni-select {
  565. font-size: 13px;
  566. height: 30px;
  567. line-height: 30px;
  568. }
  569. .choice-takePhoto-wrap {
  570. width: 100%;
  571. height: 100vh;
  572. background-color: rgba(127, 127, 127, 0.2);
  573. position: fixed;
  574. left: 0;
  575. top: 0;
  576. z-index: 11111;
  577. }
  578. .choice-takePhoto {
  579. position: absolute;
  580. bottom: 0;
  581. background-color: white;
  582. width: 100%;
  583. border-radius: 20rpx 20rpx 0 0;
  584. }
  585. .choice-takePhoto>view:first-child {
  586. text-align: center;
  587. height: 80rpx;
  588. line-height: 80rpx;
  589. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  590. background-color: white;
  591. }
  592. .choice-takePhoto>view:last-child {
  593. text-align: center;
  594. height: 80rpx;
  595. line-height: 80rpx;
  596. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  597. background-color: white;
  598. }
  599. .choice-takePhoto>view {
  600. text-align: center;
  601. height: 80rpx;
  602. line-height: 80rpx;
  603. background-color: white;
  604. }
  605. .choice-takePhoto-wrap {
  606. width: 100%;
  607. height: 100vh;
  608. background-color: rgba(127, 127, 127, 0.2);
  609. position: fixed;
  610. left: 0;
  611. top: 0;
  612. z-index: 11111;
  613. }
  614. .car-type{
  615. width: 400rpx;
  616. height: 68rpx;
  617. margin: 50rpx auto;
  618. border-radius: 68rpx;
  619. border: 1px #CCB375 solid;
  620. font-size: 28rpx;
  621. overflow: hidden;
  622. display: flex;
  623. .car-type-item{
  624. width: 50%;
  625. height: 100%;
  626. line-height: 68rpx;
  627. text-align: center;
  628. color: #CCB375;
  629. flex-shrink: 0;
  630. flex-grow: 0;
  631. }
  632. .active{
  633. color: #FFFFFF;
  634. background-color: #CCB375;
  635. }
  636. }
  637. .disabled-text{
  638. color: #999999;
  639. }
  640. .uni-list{
  641. width: 88%;
  642. margin: 24rpx auto;
  643. .left-owner-radio{
  644. margin-right: 12rpx;
  645. }
  646. }
  647. .page-content{
  648. position: relative;
  649. min-height: 100vh;
  650. }
  651. .flex-input{
  652. flex: 1;
  653. display: flex;
  654. align-items: center;
  655. justify-content: flex-end;
  656. .unit{
  657. color: #01243A;
  658. font-size: 26rpx;
  659. width: 60rpx;
  660. text-align: center;
  661. }
  662. }
  663. .image-list{
  664. display: flex;
  665. flex-wrap: wrap;
  666. margin-top: 24rpx;
  667. .icon{
  668. width: 180rpx;
  669. height: 180rpx;
  670. margin: 0 24rpx 24rpx 0;
  671. }
  672. .image-out{
  673. width: 180rpx;
  674. height: 180rpx;
  675. margin: 0 24rpx 24rpx 0;
  676. position: relative;
  677. .delete{
  678. position: absolute;
  679. right: 0;
  680. top: 0;
  681. }
  682. }
  683. }
  684. .upload-num{
  685. color: #999999;
  686. font-size: 26rpx;
  687. margin-left: 12rpx;
  688. }
  689. </style>