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.

rescind-carId-select.vue 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <template>
  2. <view class="content">
  3. <view class="title"> 车主信息 </view>
  4. <view class="item-tips">
  5. <view class="title"> 上传后请核对识别信息 </view>
  6. <view class="tip"> 如有错误请及时手动修改 </view>
  7. </view>
  8. <view class="picture-wrapper" @click="takePhotoMode('1')">
  9. <view class="bg">
  10. <view class="">
  11. <view class="name"> 人像面 </view>
  12. <view class="value"> 上传身份证的人像面 </view>
  13. <view class="tip">
  14. <view class="tip-value"> 拍摄规范 </view>
  15. </view>
  16. </view>
  17. <image v-if="!state.form.userPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  18. </image>
  19. <image v-else class="icon" :src="strReplace(state.form.userPosImgUrl)"></image>
  20. </view>
  21. </view>
  22. <view class="picture-wrapper" @click="takePhotoMode('2')">
  23. <view class="bg">
  24. <view class="">
  25. <view class="name"> 国徽面 </view>
  26. <view class="value"> 上传身份证的国徽面 </view>
  27. <view class="tip">
  28. <view class="tip-value"> 拍摄规范 </view>
  29. </view>
  30. </view>
  31. <image v-if="!state.form.userNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  32. </image>
  33. <image v-else class="icon" :src="strReplace(state.form.userNegImgUrl)"></image>
  34. </view>
  35. </view>
  36. <view style="margin-top: 30rpx" class="title"> 行驶证信息 </view>
  37. <view class="item-tips">
  38. <view class="title"> 上传后请核对识别信息 </view>
  39. <view class="tip"> 如有错误请及时手动修改 </view>
  40. </view>
  41. <view class="picture-wrapper" @click="takePhotoMode('3')">
  42. <view class="bg">
  43. <view class="">
  44. <view class="name"> 行驶证正页 </view>
  45. <view class="value"> 上传 行驶证正页 </view>
  46. <view class="tip">
  47. <view class="tip-value"> 拍摄规范 </view>
  48. </view>
  49. </view>
  50. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  51. </image>
  52. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  53. </view>
  54. </view>
  55. <view class="picture-wrapper" @click="takePhotoMode('4')">
  56. <view class="bg">
  57. <view class="">
  58. <view class="name"> 行驶证副页 </view>
  59. <view class="value"> 上传行驶证副页 </view>
  60. <view class="tip">
  61. <view class="tip-value"> 拍摄规范 </view>
  62. </view>
  63. </view>
  64. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  65. </image>
  66. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  67. </view>
  68. </view>
  69. <view class="picture-wrapper" @click="cardFileImageUpdate(1)">
  70. <view class="bg">
  71. <view class="">
  72. <view class="name"> 人车合影 </view>
  73. <view class="value"> 上传人车合影照片 </view>
  74. <view class="tip">
  75. <view class="tip-value"> 拍摄规范 </view>
  76. </view>
  77. </view>
  78. <image v-if="!state.FormData.peopleVehicleImgUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  79. </image>
  80. <image v-else class="icon" :src="strReplace(state.FormData.peopleVehicleImgUrl)"></image>
  81. </view>
  82. </view>
  83. <view class="picture-wrapper" @click="cardFileImageUpdate(2)">
  84. <view class="bg">
  85. <view class="">
  86. <view class="name"> 承诺书 </view>
  87. <view class="value"> 上传承诺书照片 </view>
  88. <view class="tip">
  89. <view class="tip-value"> 拍摄规范 </view>
  90. </view>
  91. </view>
  92. <image v-if="!state.FormData.commitmentUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  93. </image>
  94. <image v-else class="icon" :src="strReplace(state.FormData.commitmentUrl)"></image>
  95. </view>
  96. </view>
  97. <view class="picture-wrapper" @click="cardFileImageUpdate(3)">
  98. <view class="bg">
  99. <view class="">
  100. <view class="name"> 委托书 </view>
  101. <view class="value"> 上传文字清晰的委托书 </view>
  102. <view class="tip">
  103. <view class="tip-value"> 拍摄规范 </view>
  104. </view>
  105. </view>
  106. <image v-if="!state.FormData.proxyUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  107. </image>
  108. <image v-else class="icon" :src="strReplace(state.FormData.proxyUrl)"></image>
  109. </view>
  110. </view>
  111. <view class="shibie-wrapper">
  112. <view class="title"> 识别内容如下 </view>
  113. <u-form label-width="200" :model="state.form" ref="uForm">
  114. <u-form-item label="车牌号">
  115. <u-input v-model="state.form.vehicleId" @input="getVehiclePlate" />
  116. </u-form-item>
  117. <u-form-item label="车牌颜色">
  118. <u-input v-model="state.form.caridCorlor" type="select" @click="show1 = true" />
  119. </u-form-item>
  120. </u-form>
  121. </view>
  122. <view class="green-tip">
  123. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  124. </view>
  125. <view class="action">
  126. <button type="default" class="button" @click="savaHandle()">
  127. 下一步
  128. </button>
  129. </view>
  130. <!-- 选择车牌颜色 -->
  131. <u-select v-model="show1" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
  132. </view>
  133. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  134. <view class="choice-takePhoto">
  135. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  136. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  137. <view @click.stop="cancle">取消</view>
  138. </view>
  139. </view>
  140. <viewfinder v-if="state.phoneType" :phoneType="state.phoneType" :images="state.images"
  141. :showStartPhoto="state.showImg" @confirmReturn="confirmReturn" @camera="camera"></viewfinder>
  142. </template>
  143. <script setup lang="ts">
  144. import selectCar from "./select-car.vue";
  145. import {
  146. reactive,
  147. ref
  148. } from "vue";
  149. import {
  150. onLoad
  151. } from "@dcloudio/uni-app";
  152. import {
  153. etcOcrCard,
  154. etcCarOcrCard,
  155. } from "@/utils/network/api.js";
  156. import {
  157. getItem
  158. } from "@/utils/storage.ts"
  159. import viewfinder from "@/components/viewfinder.vue"
  160. import {
  161. navTo, strReplace, uploadFile
  162. } from "@/utils/utils";
  163. // ########
  164. const show1 = ref(false)
  165. const state = reactive({
  166. showImg: true,
  167. isMy: "",//自己办理 他人办理
  168. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  169. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  170. isTakePhotoModeShow: false, //选择拍照方式是否出来
  171. images: '',
  172. ocrData: {
  173. name: "",
  174. gender: "",
  175. idno: "",
  176. address: "",
  177. begindate: "",
  178. enddate: "",
  179. tel: "",
  180. tmerValidity: "",
  181. },
  182. form: {
  183. caridCorlor: "", //车牌颜色
  184. userName: "", //开户人姓名
  185. userIdNum: "", //用户证件号码
  186. userPosImgUrl: "", //身份证正面
  187. userNegImgUrl: "", //身份证反面
  188. address: "", //开户人地址
  189. gender: "",
  190. tmerValidity: "",
  191. man: "", //所有人
  192. character: "", //使用性质
  193. register: "", //注册日期
  194. vehBodyUrl: '', //人车合照
  195. customerId: "", //用户编号
  196. vehicleId: "", //车牌编号
  197. issueDate: "", //发证日期
  198. vehPosImgUrl: "", //行驶证正面
  199. vehNegImgUrl: "", //行驶证证反面
  200. type: "0", //0,客车 1.货车
  201. useUserType: 0, //车辆用户类型
  202. useUserTypeName: "普通车",
  203. vehicleSign: 2, //前/后装标识
  204. vin: "", //车辆识别代号
  205. engineNum: "", //发动机号码
  206. vehicleType: "", //车辆类型
  207. vehicleModel: "", //行驶证品牌型号
  208. approvedCount: undefined, //核定人数
  209. totalMass: undefined, //总质量
  210. maintenaceMass: undefined, //整备质量
  211. permittedWeight: "", //核定载质量
  212. vehicleDimensions: "", //车辆尺寸
  213. permittedTowWeight: "", //准牵引总质量
  214. axleCount: "", //车轴数
  215. ownerName: "", //车主姓名
  216. ownerIdType: "", //车主证件类型
  217. ownerIdNum: "", //车主证件号码
  218. ownPosImgUrl: "", //车主证件正面图片
  219. ownNegImgUrl: "", //车主证件反面图片
  220. agreementId: "", //签约编号
  221. channelId: "5201018892300000001",
  222. proxyUrl: "", //委托书
  223. },
  224. orderId: "",
  225. isMyPeopple: true,
  226. actionSheetList: [{
  227. label: "蓝色",
  228. value: '0',
  229. }, {
  230. label: "黄色",
  231. value: 1,
  232. },
  233. {
  234. label: "黑色",
  235. value: 2,
  236. },
  237. {
  238. label: "白色",
  239. value: 3,
  240. },
  241. {
  242. label: "渐变绿色",
  243. value: 4,
  244. },
  245. {
  246. label: "黄绿双拼色",
  247. value: 5,
  248. },
  249. {
  250. label: "蓝白渐变色",
  251. value: 6,
  252. },
  253. {
  254. label: "未确定",
  255. value: 9,
  256. },
  257. {
  258. label: "绿色",
  259. value: 11,
  260. },
  261. {
  262. label: "红色",
  263. value: 12,
  264. },
  265. ],
  266. FormData: {
  267. vehiclePlate: '',
  268. vehiclePlatecolor: '',
  269. openid: getItem('openId'),
  270. idcardFrontImgUrl: '',
  271. idcardBacktImgUrl: '',
  272. vehPosImgUrl: '',
  273. vehNegImgUrl: '',
  274. peopleVehicleImgUrl: '',
  275. commitmentUrl: '',
  276. mobile: '',
  277. code: '',
  278. proxyUrl: "", //委托书
  279. }
  280. });
  281. const getVehiclePlate = (e) => {
  282. console.log("车牌号", e)
  283. state.FormData.vehiclePlate = e
  284. };
  285. const savaHandle = () => {
  286. if (state.FormData.idcardFrontImgUrl && state.FormData.idcardBacktImgUrl) {
  287. if (state.FormData.vehPosImgUrl && state.FormData.vehNegImgUrl) {
  288. if (state.FormData.peopleVehicleImgUrl) {
  289. if (state.FormData.vehiclePlate && state.FormData.vehiclePlatecolor.toString()) {
  290. state.FormData.vehiclePlatecolor = Number(state.FormData.vehiclePlatecolor)
  291. let data = JSON.stringify(state.FormData)
  292. navTo(`/subpackage/after-sale/rescind-carId/verification?fromData=${data}`);
  293. } else {
  294. uni.showToast({
  295. title: "请填写车牌号和车牌颜色",
  296. icon: "none"
  297. })
  298. }
  299. } else {
  300. uni.showToast({
  301. title: "请上传人车合影",
  302. icon: "none"
  303. })
  304. }
  305. } else {
  306. uni.showToast({
  307. title: "请上传行驶证正反图片",
  308. icon: "none"
  309. })
  310. }
  311. } else {
  312. uni.showToast({
  313. title: "请上传身份证正反图片",
  314. icon: "none"
  315. })
  316. }
  317. console.log(JSON.stringify(state.FormData));
  318. };
  319. const selectConfirm = (item : any) => {
  320. console.log(item);
  321. state.FormData.vehiclePlatecolor = item[0].value
  322. state.form.caridCorlor = item[0].label
  323. };
  324. const cardFileImageUpdate = (val) => {
  325. uni.chooseImage({
  326. count: 1, //只能选取一张照片
  327. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  328. sourceType: ["camera", "album"], //从相册选择
  329. success: function (res) {
  330. uploadFile(res.tempFilePaths[0], "", "").then((data) => {
  331. if (val == 1) {
  332. state.FormData.peopleVehicleImgUrl = data;
  333. } else if (val == 2) {
  334. state.FormData.commitmentUrl = data;
  335. } else if (val == 3) {
  336. state.FormData.proxyUrl = data;
  337. }
  338. })
  339. },
  340. });
  341. };
  342. onLoad((option : any) => {
  343. state.form.orderId = option.orderId;
  344. state.orderId = option.orderId;
  345. });
  346. const xiangce = (val) => {
  347. console.log("val", val)
  348. var imageType = val;
  349. uni.chooseImage({
  350. count: 1, //只能选取一张照片
  351. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  352. sourceType: ["album"], //从相册选择
  353. success: function (res) {
  354. state.showImg = false
  355. state.images = res.tempFilePaths[0]
  356. state.phoneType = state.choiceIndex
  357. state.isTakePhotoModeShow = false
  358. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  359. },
  360. })
  361. }
  362. const takePhoto = (val) => {
  363. state.showImg = true
  364. console.log("拍照", val)
  365. state.phoneType = val;
  366. }
  367. const confirmReturn = (val) => {
  368. state.phoneType = 0
  369. state.isTakePhotoModeShow = false
  370. var imageType = 1;
  371. if (state.choiceIndex == 1) {
  372. imageType = 1
  373. var isEtcOcrCard = etcOcrCard
  374. } else if (state.choiceIndex == 2) {
  375. imageType = 2
  376. var isEtcOcrCard = etcOcrCard
  377. } else if (state.choiceIndex == 3) {
  378. imageType = 1
  379. var isEtcOcrCard = etcCarOcrCard
  380. } else if (state.choiceIndex == 4) {
  381. imageType = 2
  382. var isEtcOcrCard = etcCarOcrCard
  383. } else
  384. console.log("图片地址val", val.tempImagePath)
  385. uploadFile(val.tempImagePath, imageType, isEtcOcrCard).then((data) => {
  386. console.log("身份证上传", data)
  387. if (state.choiceIndex === "1") {
  388. state.form.userName = data.name;
  389. state.form.gender = data.gender;
  390. state.form.userIdNum = data.idno;
  391. state.form.userPosImgUrl = data.imageUrl;
  392. state.form.address = data.address;
  393. state.FormData.idcardFrontImgUrl = data.imageUrl
  394. } else if (state.choiceIndex === "2") {
  395. state.form.tmerValidity = data.begindate + "-" + data.enddate;
  396. state.form.userNegImgUrl = data.imageUrl;
  397. state.FormData.idcardBacktImgUrl = data.imageUrl
  398. } else if (state.choiceIndex === "3") {
  399. state.form.vehicleId = data.plate_a;
  400. state.form.man = data.man;
  401. state.form.vehicleType = data.vehicle;
  402. state.form.character = data.character;
  403. state.form.vin = data.vin;
  404. state.form.engineNum = data.engine;
  405. state.form.register = data.register;
  406. state.form.issueDate = data.issue;
  407. state.form.vehPosImgUrl = data.imageUrl;
  408. state.form.vehicleModel = data.model;
  409. state.FormData.vehiclePlate = data.plate_a
  410. state.FormData.vehPosImgUrl = data.imageUrl
  411. } else if (state.choiceIndex === "4") {
  412. state.form.approvedCount = parseFloat(data.apc);
  413. state.form.maintenaceMass = parseFloat(data.unladen);
  414. state.form.vehicleDimensions = data.overall;
  415. state.form.totalMass = parseFloat(data.gross);
  416. state.form.vehNegImgUrl = data.imageUrl;
  417. state.FormData.vehNegImgUrl = data.imageUrl
  418. }
  419. state.isTakePhotoModeShow = false
  420. })
  421. }
  422. const takePhotoMode = (index) => {
  423. console.log("index", index)
  424. state.isTakePhotoModeShow = true
  425. state.choiceIndex = index
  426. }
  427. const cancle = () => {
  428. state.isTakePhotoModeShow = false
  429. }
  430. const camera = () => {
  431. state.phoneType = 0
  432. }
  433. </script>
  434. <style lang="scss" scoped>
  435. .title {
  436. font-size: 35rpx;
  437. font-family: Microsoft YaHei;
  438. font-weight: 400;
  439. color: #000000;
  440. line-height: 80rpx;
  441. margin-bottom: 10rpx;
  442. }
  443. .content-wrap {
  444. position: relative;
  445. margin-top: 50rpx;
  446. padding: 0rpx 30rpx;
  447. display: flex;
  448. .big {
  449. font-size: 30rpx;
  450. font-family: Microsoft YaHei;
  451. font-weight: 400;
  452. color: #333333;
  453. line-height: 24rpx;
  454. }
  455. .nomal {
  456. font-size: 26rpx;
  457. font-family: Microsoft YaHei;
  458. font-weight: 400;
  459. color: #666666;
  460. line-height: 24rpx;
  461. }
  462. .tip {
  463. margin-top: -5px;
  464. width: 117rpx;
  465. height: 16rpx;
  466. background: #00b38b;
  467. opacity: 0.3;
  468. }
  469. }
  470. .content {
  471. padding: 0rpx 30rpx 50rpx 30rpx;
  472. .item {
  473. padding: 20rpx;
  474. display: flex;
  475. justify-content: space-between;
  476. align-items: center;
  477. height: 130rpx;
  478. background: #ffffff;
  479. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  480. border-radius: 20rpx;
  481. margin-bottom: 30rpx;
  482. .iten-left {
  483. display: flex;
  484. align-items: center;
  485. image {
  486. width: 150rpx;
  487. height: 90rpx;
  488. }
  489. text {
  490. margin-left: 20rpx;
  491. font-size: 32rpx;
  492. font-family: Noto Sans S Chinese;
  493. font-weight: 400;
  494. color: #333333;
  495. }
  496. }
  497. .choose-item {
  498. width: 44rpx;
  499. height: 44rpx;
  500. background: #ffffff;
  501. border: 2rpx solid #00b38b;
  502. border-radius: 50%;
  503. margin-right: 20rpx;
  504. display: flex;
  505. justify-content: center;
  506. align-items: center;
  507. box-sizing: content-box;
  508. }
  509. .active {
  510. width: 34rpx;
  511. height: 34rpx;
  512. background: #00b38b;
  513. border-radius: 50%;
  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. ::v-deep .u-form-item {
  604. border-bottom: 1rpx solid #DCDCDC;
  605. padding: 10rpx 0;
  606. }
  607. }
  608. .buchong-wrapper {
  609. margin-top: 60rpx;
  610. .title {
  611. font-size: 30rpx;
  612. font-family: Microsoft YaHei;
  613. font-weight: 400;
  614. color: #000000;
  615. line-height: 30rpx;
  616. }
  617. }
  618. .green-tip {
  619. margin-top: 50rpx;
  620. font-size: 24rpx;
  621. font-family: Microsoft YaHei;
  622. font-weight: 400;
  623. color: #00b38b;
  624. line-height: 24rpx;
  625. margin-bottom: 60rpx;
  626. }
  627. }
  628. .choice-takePhoto {
  629. position: absolute;
  630. bottom: 0;
  631. background-color: white;
  632. width: 100%;
  633. border-radius: 20rpx 20rpx 0 0;
  634. }
  635. .choice-takePhoto>view:first-child {
  636. text-align: center;
  637. height: 80rpx;
  638. line-height: 80rpx;
  639. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  640. background-color: white;
  641. }
  642. .choice-takePhoto>view:last-child {
  643. text-align: center;
  644. height: 80rpx;
  645. line-height: 80rpx;
  646. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  647. background-color: white;
  648. }
  649. .choice-takePhoto>view {
  650. text-align: center;
  651. height: 80rpx;
  652. line-height: 80rpx;
  653. background-color: white;
  654. }
  655. .choice-takePhoto-wrap {
  656. width: 100%;
  657. height: 100vh;
  658. background-color: rgba(127, 127, 127, 0.2);
  659. position: fixed;
  660. left: 0;
  661. top: 0;
  662. z-index: 11111;
  663. }
  664. </style>