You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <template>
  2. <view class="content">
  3. <view class="item-tips">
  4. <view class="title"> 上传后请核对识别信息 </view>
  5. <view class="tip"> 如有错误请及时手动修改 </view>
  6. </view>
  7. <view class="picture-wrapper" @click="takePhotoMode('1')">
  8. <view class="bg">
  9. <view class="">
  10. <view class="name"> 行驶证主页 </view>
  11. <view class="value"> 上传行驶证的主页 </view>
  12. <view class="tip">
  13. <view class="tip-value"> 拍摄规范 </view>
  14. </view>
  15. </view>
  16. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  17. </image>
  18. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  19. </view>
  20. </view>
  21. <view class="picture-wrapper" @click="takePhotoMode('2')">
  22. <view class="bg">
  23. <view class="">
  24. <view class="name"> 行驶证副页 </view>
  25. <view class="value"> 上传行驶证的副页 </view>
  26. <view class="tip">
  27. <view class="tip-value"> 拍摄规范 </view>
  28. </view>
  29. </view>
  30. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  31. </image>
  32. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  33. </view>
  34. </view>
  35. <view class="picture-wrapper" @click="cardFileImageUpdate()">
  36. <view class="bg">
  37. <view class="">
  38. <view class="name"> 车头照 </view>
  39. <view class="value"> 上传汽车的车头照片 </view>
  40. <view class="tip">
  41. <view class="tip-value"> 拍摄规范 </view>
  42. </view>
  43. </view>
  44. <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  45. </image>
  46. <image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
  47. </view>
  48. </view>
  49. <view class="shibie-wrapper">
  50. <view class="title"> 识别内容如下 </view>
  51. <view class="">
  52. <u-form label-width="200" :model="state.form" ref="uForm">
  53. <u-form-item label="车牌号">
  54. <u-input inputAlign="right" v-model="state.form.vehicleId" />
  55. </u-form-item>
  56. <u-form-item label="车主姓名">
  57. <u-input inputAlign="right" v-model="state.form.ownerName" />
  58. </u-form-item>
  59. <u-form-item label="车辆类型">
  60. <u-input inputAlign="right" v-model="state.form.vehicleType" />
  61. </u-form-item>
  62. <!-- <u-form-item label="使用性质">
  63. <u-input inputAlign="right" v-model="state.form.useCharacter" />
  64. </u-form-item> -->
  65. <u-form-item label="车辆识别代号">
  66. <u-input inputAlign="right" v-model="state.form.vin" />
  67. </u-form-item>
  68. <u-form-item label="发动机号码">
  69. <u-input inputAlign="right" v-model="state.form.engineNum" />
  70. </u-form-item>
  71. <u-form-item label="注册日期">
  72. <u-input inputAlign="right" v-model="state.form.registerDate" />
  73. </u-form-item>
  74. <u-form-item label="发证日期">
  75. <u-input inputAlign="right" v-model="state.form.issueDate" />
  76. </u-form-item>
  77. <u-form-item label="核定载人数">
  78. <u-input inputAlign="right" v-model="state.form.approvedCount" />
  79. </u-form-item>
  80. <u-form-item label="整备质量">
  81. <u-input inputAlign="right" v-model="state.form.maintenaceMass" />
  82. </u-form-item>
  83. <u-form-item label="外廊尺寸">
  84. <u-input inputAlign="right" v-model="state.form.vehicleDimensions" />
  85. </u-form-item>
  86. <u-form-item label="总质量">
  87. <u-input inputAlign="right" v-model="state.form.totalMass" />
  88. </u-form-item>
  89. <u-form-item label="车牌颜色">
  90. <u-input @click="state.actionSheetShow = true" inputAlign="right"
  91. v-model="state.showCaridCorlor" type="select" />
  92. </u-form-item>
  93. </u-form>
  94. </view>
  95. </view>
  96. <view class="green-tip">
  97. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  98. </view>
  99. <view class="action">
  100. <button type="default" class="button" @click="savaHandle()">
  101. 下一步
  102. </button>
  103. </view>
  104. <u-select v-model="state.actionSheetShow" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
  105. </view>
  106. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  107. <view class="choice-takePhoto">
  108. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  109. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  110. <view @click.stop="cancle">取消</view>
  111. </view>
  112. </view>
  113. <viewfinderCar v-if="state.phoneType" :phoneType="state.phoneType" @confirmReturn="confirmReturn"></viewfinderCar>
  114. </template>
  115. <script setup lang="ts">
  116. import {
  117. reactive
  118. } from "vue";
  119. import navBgCar from "./components/nav-bg-car3";
  120. import navBar from "../../components/nav-bar/nav-bar2.vue";
  121. import {
  122. pathToBase64
  123. } from "@/utils/util/imageTool.js";
  124. import viewfinderCar from "../../../../components/viewfinderCar.vue";
  125. import {
  126. getItem
  127. } from "@/utils/storage.ts"
  128. import {
  129. etcCarCardInfoSubmit,
  130. etcCarOcrCard,
  131. fileUpload,
  132. createCarInfo,
  133. envs
  134. } from "@/utils/network/api.js";
  135. import {
  136. request
  137. } from "@/utils/network/request.js";
  138. import {
  139. stringToJson
  140. } from "@/utils/network/encryption";
  141. import {
  142. onLoad,
  143. onShow
  144. } from "@dcloudio/uni-app";
  145. import {
  146. strReplace
  147. } from "@/utils/utils";
  148. const savaHandle = () => {
  149. if (state.showCaridCorlor) {
  150. state.form.vehicleId = state.form.vehicleId + '_' + state.carIdcorlorCode
  151. var data = state.form;
  152. console.log(data, "##########");
  153. const options = {
  154. type: 2,
  155. data: data,
  156. method: "POST",
  157. showLoading: true,
  158. };
  159. request(createCarInfo, options).then((res) => {
  160. const data = stringToJson(res.bizContent);
  161. console.log(data)
  162. if (data.info == '成功.') {
  163. uni.reLaunch({
  164. url: "/subpackage/personal-center/setting/car-information/car-manage"
  165. })
  166. }
  167. }).catch(err => {
  168. console.log(err, "在这里");
  169. console.log(state.form.vehicleId.split('_'));
  170. state.form.vehicleId = state.form.vehicleId.split('_')[0]
  171. })
  172. } else {
  173. uni.showToast({
  174. title: "请选择车牌颜色",
  175. icon: "none"
  176. })
  177. }
  178. };
  179. const selectConfirm = (item : any) => {
  180. // item.map((val, index) => {
  181. // state.form.useUserType = val.value;
  182. // state.form.useUserTypeName = val.label;
  183. // });
  184. console.log(item);
  185. if (state.form.vehicleId) {
  186. state.showCaridCorlor = item[0].label
  187. state.carIdcorlorCode = item[0].value
  188. console.log(state.form);
  189. } else {
  190. uni.showToast({
  191. title: '请先填写车牌号',
  192. icon: 'none'
  193. })
  194. }
  195. };
  196. const cardFileImageUpdate = () => {
  197. uni.chooseImage({
  198. count: 1, //只能选取一张照片
  199. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  200. sourceType: ["camera", "album"], //从相册选择
  201. success: function (res) {
  202. pathToBase64(res.tempFilePaths[0])
  203. .then((path) => {
  204. var data = {
  205. fileBase64: path,
  206. };
  207. const options = {
  208. type: 2,
  209. data: data,
  210. method: "POST",
  211. showLoading: true,
  212. };
  213. request(fileUpload, options).then((res) => {
  214. const data = stringToJson(res.bizContent);
  215. console.log(data);
  216. state.form.vehBodyUrl = data.data.url;
  217. });
  218. })
  219. .catch((error) => { });
  220. },
  221. });
  222. };
  223. // const strReplace = (str : string) => {
  224. // let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
  225. // imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
  226. // return imgUrl;
  227. // };
  228. const state = reactive({
  229. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  230. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  231. isTakePhotoModeShow: false, //选择拍照方式是否出来
  232. actionSheetShow: false,
  233. actionSheetList: [{
  234. label: "蓝色",
  235. value: 0,
  236. }, {
  237. label: "黄色",
  238. value: 1,
  239. },
  240. {
  241. label: "黑色",
  242. value: 2,
  243. },
  244. {
  245. label: "白色",
  246. value: 3,
  247. },
  248. {
  249. label: "渐变绿色",
  250. value: 4,
  251. },
  252. {
  253. label: "黄绿双拼色",
  254. value: 5,
  255. },
  256. {
  257. label: "蓝白渐变色",
  258. value: 6,
  259. },
  260. {
  261. label: "未确定",
  262. value: 9,
  263. },
  264. {
  265. label: "绿色",
  266. value: 11,
  267. },
  268. {
  269. label: "红色",
  270. value: 12,
  271. },
  272. ],
  273. showCaridCorlor: '',
  274. carIdcorlorCode: '',
  275. form: {
  276. openId: getItem('openId'), //用户标识.
  277. // man: "", //所有人
  278. // character: "", //使用性质
  279. register: "", //注册日期
  280. customerId: "", //用户编号 .
  281. vehicleId: "", //车牌编号 .
  282. issueDate: "", //发证日期 .
  283. vehPosImgUrl: "", //行驶证正面 .
  284. vehNegImgUrl: "", //行驶证证反面 .
  285. type: 0, //0,客车 1.货车 .
  286. useUserType: 0, //车辆用户类型 .
  287. // useUserTypeName: "普通车",
  288. vehicleSign: 2, //前/后装标识 .
  289. vin: "", //车辆识别代号 .
  290. engineNum: "", //发动机号码 .
  291. vehicleType: "", //车辆类型 .
  292. vehicleModel: "", //行驶证品牌型号 .
  293. approvedCount: undefined, //核定人数 .
  294. totalMass: undefined, //总质量 .
  295. maintenaceMass: undefined, //整备质量.
  296. permittedWeight: "", //核定载质量 .
  297. vehicleDimensions: "", //车辆尺寸 .
  298. permittedTowWeight: "", //准牵引总质量 .
  299. axleCount: "", //车轴数 .
  300. ownerName: "", //车主姓名
  301. ownerIdType: "", //车主证件类型
  302. ownerIdNum: "", //车主证件号码
  303. ownPosImgUrl: "", //车主证件正面图片
  304. ownNegImgUrl: "", //车主证件反面图片
  305. agreementId: "", //签约编号
  306. channelId: "", //编号渠道
  307. scenePayType: "", //
  308. transportIdNum: "", //道路运输证编号
  309. licenseIdNum: "", //经营许可证编号
  310. vehBodyUrl: "", //车身照片
  311. proxyUrl: "", //委托书地址,
  312. emergencyFlag: '', //应急车辆标识 0-非应急车辆 1-应急车辆
  313. contacts: '', //指定联系人列表
  314. ownerAddress: '', //所有人联系地址
  315. axisType: '', //轴型
  316. ownerTel: '', //所有人联系方式
  317. axleDistance: '', //轴距
  318. testRecord: '', //检验记录
  319. fileNum: '', //档案编号
  320. useCharacter: '', //车辆使用性质
  321. registerDate: '' //注册日期
  322. },
  323. orderId: "",
  324. isMyPeopple: true,
  325. });
  326. onLoad((option : any) => {
  327. state.form.orderId = option.orderId;
  328. });
  329. //orc接口调用
  330. // const cardImageOcr = (val : any) => {
  331. // var imageType = val;
  332. // uni.chooseImage({
  333. // count: 1, //只能选取一张照片
  334. // sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  335. // sourceType: ["camera", "album"], //从相册选择
  336. // success: function (res) {
  337. // pathToBase64(res.tempFilePaths[0])
  338. // .then((path) => {
  339. // var data = {
  340. // source: "1",
  341. // agencyId: "52010106004",
  342. // imageType: imageType,
  343. // fileName: res.tempFilePaths[0],
  344. // imageBase64: path,
  345. // };
  346. // const options = {
  347. // type: 2,
  348. // data: data,
  349. // method: "POST",
  350. // showLoading: true,
  351. // };
  352. // request(etcCarOcrCard, options).then((res) => {
  353. // const data = stringToJson(res.bizContent);
  354. // console.log(data);
  355. // if (val === "1") {
  356. // state.form.vehicleId = data.plate_a;
  357. // state.form.ownerName = data.man;
  358. // state.form.vehicleType = data.vehicle;
  359. // // state.form.useCharacter = data.character;
  360. // state.form.vin = data.vin;
  361. // state.form.engineNum = data.engine;
  362. // state.form.registerDate = data.register;
  363. // state.form.issueDate = data.issue;
  364. // state.form.vehPosImgUrl = data.imageUrl;
  365. // state.form.vehicleModel = data.model;
  366. // } else {
  367. // state.form.approvedCount = parseFloat(data.apc);
  368. // state.form.maintenaceMass = parseFloat(data.unladen);
  369. // state.form.vehicleDimensions = data.overall;
  370. // state.form.totalMass = parseFloat(data.gross);
  371. // state.form.vehNegImgUrl = data.imageUrl;
  372. // }
  373. // });
  374. // })
  375. // .catch((error) => { });
  376. // },
  377. // });
  378. // };
  379. const xiangce = (val) => {
  380. console.log("val", val)
  381. var imageType = val;
  382. uni.chooseImage({
  383. count: 1, //只能选取一张照片
  384. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  385. sourceType: ["album"], //从相册选择
  386. success: function (res) {
  387. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  388. pathToBase64(res.tempFilePaths[0])
  389. .then((path) => {
  390. var data = {
  391. source: "1",
  392. agencyId: "52010106004",
  393. imageType: imageType,
  394. fileName: res.tempFilePaths[0],
  395. imageBase64: path,
  396. };
  397. const options = {
  398. type: 2,
  399. data: data,
  400. method: "POST",
  401. showLoading: true,
  402. };
  403. request(etcCarOcrCard, options).then((res) => {
  404. const data = stringToJson(res.bizContent);
  405. if (state.choiceIndex === "1") {
  406. state.form.vehicleId = data.plate_a;
  407. state.form.ownerName = data.man;
  408. state.form.vehicleType = data.vehicle;
  409. // state.form.useCharacter = data.character;
  410. state.form.vin = data.vin;
  411. state.form.engineNum = data.engine;
  412. state.form.registerDate = data.register;
  413. state.form.issueDate = data.issue;
  414. state.form.vehPosImgUrl = data.imageUrl;
  415. state.form.vehicleModel = data.model;
  416. } else {
  417. state.form.approvedCount = parseFloat(data.apc);
  418. state.form.maintenaceMass = parseFloat(data.unladen);
  419. state.form.vehicleDimensions = data.overall;
  420. state.form.totalMass = parseFloat(data.gross);
  421. state.form.vehNegImgUrl = data.imageUrl;
  422. }
  423. state.isTakePhotoModeShow = false
  424. });
  425. })
  426. .catch((error) => { });
  427. },
  428. })
  429. }
  430. const takePhoto = (val) => {
  431. console.log("拍照", val)
  432. // uni.navigateTo({
  433. // url: `/subpackage/orders/takePhoto?phoneType=${val}`
  434. // })
  435. state.phoneType = val;
  436. }
  437. const confirmReturn = (val) => {
  438. state.phoneType = 0
  439. state.isTakePhotoModeShow = false
  440. var imageType = state.choiceIndex;
  441. console.log("图片地址val", val.tempImagePath)
  442. pathToBase64(val.tempImagePath)
  443. .then((path) => {
  444. var data = {
  445. source: "1",
  446. agencyId: "52010106004",
  447. imageType: imageType,
  448. fileName: val.tempImagePath,
  449. imageBase64: path,
  450. };
  451. const options = {
  452. type: 2,
  453. data: data,
  454. method: "POST",
  455. showLoading: true,
  456. };
  457. request(etcCarOcrCard, options).then((res) => {
  458. const data = stringToJson(res.bizContent);
  459. if (state.choiceIndex === "1") {
  460. state.form.vehicleId = data.plate_a;
  461. state.form.ownerName = data.man;
  462. state.form.vehicleType = data.vehicle;
  463. // state.form.useCharacter = data.character;
  464. state.form.vin = data.vin;
  465. state.form.engineNum = data.engine;
  466. state.form.registerDate = data.register;
  467. state.form.issueDate = data.issue;
  468. state.form.vehPosImgUrl = data.imageUrl;
  469. state.form.vehicleModel = data.model;
  470. } else {
  471. state.form.approvedCount = parseFloat(data.apc);
  472. state.form.maintenaceMass = parseFloat(data.unladen);
  473. state.form.vehicleDimensions = data.overall;
  474. state.form.totalMass = parseFloat(data.gross);
  475. state.form.vehNegImgUrl = data.imageUrl;
  476. }
  477. state.isTakePhotoModeShow = false
  478. });
  479. })
  480. .catch((error) => { });
  481. }
  482. const takePhotoMode = (index) => {
  483. console.log("index", index)
  484. state.isTakePhotoModeShow = true
  485. state.choiceIndex = index
  486. }
  487. const cancle = () => {
  488. state.isTakePhotoModeShow = false
  489. }
  490. </script>
  491. <style lang="scss" scoped>
  492. .content {
  493. position: relative;
  494. // margin-top: -50rpx;
  495. padding: 0rpx 30rpx;
  496. position: relative;
  497. .img-pos {
  498. position: absolute;
  499. left: 270rpx;
  500. top: -38rpx;
  501. right: 50rpx;
  502. .img-flex {
  503. display: flex;
  504. justify-content: space-between;
  505. align-items: center;
  506. .car-img {
  507. width: 86rpx;
  508. height: 42rpx;
  509. }
  510. .flag-img {
  511. width: 30rpx;
  512. height: 35rpx;
  513. }
  514. }
  515. }
  516. .action {
  517. padding-left: 20rpx;
  518. padding-right: 20rpx;
  519. padding-bottom: 30rpx;
  520. .button {
  521. height: 80rpx;
  522. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  523. border-radius: 40rpx;
  524. font-size: 32rpx;
  525. font-weight: 400;
  526. color: #ffffff;
  527. line-height: 80rpx;
  528. }
  529. }
  530. .item-tips {
  531. .title {
  532. font-size: 30rpx;
  533. font-family: Microsoft YaHei;
  534. font-weight: 400;
  535. color: #000000;
  536. line-height: 24rpx;
  537. }
  538. .tip {
  539. margin-top: 16rpx;
  540. font-size: 24rpx;
  541. font-family: Microsoft YaHei;
  542. font-weight: 400;
  543. color: #999999;
  544. line-height: 24rpx;
  545. }
  546. }
  547. .picture-wrapper {
  548. margin-top: 40rpx;
  549. .bg {
  550. background: #ffffff;
  551. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  552. border-radius: 20rpx;
  553. padding: 40rpx;
  554. display: flex;
  555. // align-items: center;
  556. justify-content: space-between;
  557. .name {
  558. font-size: 34rpx;
  559. font-family: Microsoft YaHei;
  560. font-weight: 400;
  561. color: #000000;
  562. line-height: 34rpx;
  563. }
  564. .value {
  565. margin-top: 20rpx;
  566. font-size: 24rpx;
  567. font-family: Microsoft YaHei;
  568. font-weight: 400;
  569. color: #999999;
  570. line-height: 24rpx;
  571. }
  572. .tip {
  573. margin-top: 20rpx;
  574. text-align: center;
  575. width: 110rpx;
  576. height: 40rpx;
  577. background: rgba(33, 190, 177, 0.2);
  578. border-radius: 6rpx;
  579. .tip-value {
  580. font-size: 20rpx;
  581. font-family: Microsoft YaHei;
  582. font-weight: 400;
  583. color: #0a8f8a;
  584. line-height: 40rpx;
  585. opacity: 1;
  586. }
  587. }
  588. }
  589. .icon {
  590. width: 294rpx;
  591. height: 188rpx;
  592. }
  593. }
  594. .shibie-wrapper {
  595. margin-top: 60rpx;
  596. .title {
  597. font-size: 30rpx;
  598. font-family: Microsoft YaHei;
  599. font-weight: 400;
  600. color: #000000;
  601. line-height: 30rpx;
  602. }
  603. }
  604. .buchong-wrapper {
  605. margin-top: 60rpx;
  606. .title {
  607. font-size: 30rpx;
  608. font-family: Microsoft YaHei;
  609. font-weight: 400;
  610. color: #000000;
  611. line-height: 30rpx;
  612. }
  613. }
  614. .green-tip {
  615. margin-top: 50rpx;
  616. font-size: 24rpx;
  617. font-family: Microsoft YaHei;
  618. font-weight: 400;
  619. color: #00b38b;
  620. line-height: 24rpx;
  621. margin-bottom: 60rpx;
  622. }
  623. }
  624. .choice-takePhoto {
  625. position: absolute;
  626. bottom: 0;
  627. background-color: white;
  628. width: 100%;
  629. border-radius: 20rpx 20rpx 0 0;
  630. }
  631. .choice-takePhoto>view:first-child {
  632. text-align: center;
  633. height: 80rpx;
  634. line-height: 80rpx;
  635. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  636. background-color: white;
  637. }
  638. .choice-takePhoto>view:last-child {
  639. text-align: center;
  640. height: 80rpx;
  641. line-height: 80rpx;
  642. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  643. background-color: white;
  644. }
  645. .choice-takePhoto>view {
  646. text-align: center;
  647. height: 80rpx;
  648. line-height: 80rpx;
  649. background-color: white;
  650. }
  651. .choice-takePhoto-wrap {
  652. width: 100%;
  653. height: 100vh;
  654. background-color: rgba(127, 127, 127, 0.2);
  655. position: fixed;
  656. left: 0;
  657. top: 0;
  658. z-index: 11111;
  659. }
  660. </style>