Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

opening-account-unit.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <template>
  2. <navBar title="ETC开户新办申请-单位" :scrollTop="scrollTop"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content-wrap">
  5. <view class="item-tips">
  6. <view class="title"> 上传后请核对识别信息 </view>
  7. <view class="tip"> 如有错误请及时手动修改 </view>
  8. </view>
  9. <view class="picture-wrapper" @click="cardImageOcrYY()">
  10. <view class="bg">
  11. <view class="">
  12. <view class="name"> 营业执照 </view>
  13. <view class="value"> 上传企业的营业执照 </view>
  14. <view class="tip">
  15. <view class="tip-value"> 拍摄规范 </view>
  16. </view>
  17. </view>
  18. <image v-if="!state.form.posImgUrl" class="icon" :src="`${$imgUrl}applyCard/zhizhao.png`">
  19. </image>
  20. <image v-else class="icon" :src="strReplace(state.form.posImgUrl)"></image>
  21. </view>
  22. </view>
  23. <view class="picture-wrapper" @click="takePhotoMode('1')">
  24. <view class="bg">
  25. <view class="">
  26. <view class="name"> 人像面 </view>
  27. <view class="value"> 上传身份证的人像面 </view>
  28. <view class="tip">
  29. <view class="tip-value"> 拍摄规范 </view>
  30. </view>
  31. </view>
  32. <image v-if="!state.form.agentPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  33. </image>
  34. <image v-else class="icon" :src="strReplace(state.form.agentPosImgUrl)"></image>
  35. </view>
  36. </view>
  37. <view class="picture-wrapper" @click="takePhotoMode('2')">
  38. <view class="bg">
  39. <view class="">
  40. <view class="name"> 国徽面 </view>
  41. <view class="value"> 上传身份证的国徽面 </view>
  42. <view class="tip">
  43. <view class="tip-value"> 拍摄规范 </view>
  44. </view>
  45. </view>
  46. <image v-if="!state.form.agentNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  47. </image>
  48. <image v-else class="icon" :src="strReplace(state.form.agentNegImgUrl)"></image>
  49. </view>
  50. </view>
  51. <view class="picture-wrapper" @click="cardFileImageUpdate()">
  52. <view class="bg">
  53. <view class="">
  54. <view class="name"> 委托书 </view>
  55. <view class="value"> 上传文字清晰的委托书 </view>
  56. <view class="tip">
  57. <view class="tip-value"> 拍摄规范 </view>
  58. </view>
  59. </view>
  60. <image v-if="!state.form.proxyUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  61. </image>
  62. <image v-else class="icon" :src="strReplace(state.form.proxyUrl)"></image>
  63. </view>
  64. </view>
  65. <view class="shibie-wrapper">
  66. <view class="title"> 识别内容如下 </view>
  67. <u-form label-width="200" :model="state.form" ref="uForm">
  68. <u-form-item label="公司名称">
  69. <u-input inputAlign="right" class="clearBg" placeholder='请输入公司名称' v-model="state.form.userName" />
  70. </u-form-item>
  71. <u-form-item label="部门名称">
  72. <u-input inputAlign="right" class="clearBg" placeholder='请输入部门名称' v-model="state.form.department" />
  73. </u-form-item>
  74. <u-form-item label="社会信用代码">
  75. <u-input inputAlign="right" class="clearBg" placeholder='请输入社会信用代码'
  76. v-model="state.form.userIdNum" />
  77. </u-form-item>
  78. <u-form-item label="经办人姓名">
  79. <u-input inputAlign="right" class="clearBg" placeholder='请输入经办人姓名' v-model="state.form.agentName" />
  80. </u-form-item>
  81. <u-form-item label="经办人身份证号">
  82. <u-input inputAlign="right" class="clearBg" placeholder='请输入经办人身份证号'
  83. v-model="state.form.agentIdNum" />
  84. </u-form-item>
  85. <u-form-item label="经办人联系方式">
  86. <u-input inputAlign="right" class="clearBg" placeholder='请输入经办人联系方式' v-model="state.form.tel" />
  87. </u-form-item>
  88. </u-form>
  89. </view>
  90. <view class="green-tip">
  91. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  92. </view>
  93. <view class="action">
  94. <button type="default" class="button" @click="savaHandle()">
  95. 下一步
  96. </button>
  97. </view>
  98. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  99. <view class="choice-takePhoto">
  100. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  101. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  102. <view @click.stop="cancle">取消</view>
  103. </view>
  104. </view>
  105. <viewfinder v-if="state.phoneType" :phoneType="state.phoneType" @confirmReturn="confirmReturn"></viewfinder>
  106. </view>
  107. </template>
  108. <script setup lang="ts">
  109. import {
  110. reactive, ref
  111. } from "vue";
  112. import navBgCar from "./components/nav-bg-car3";
  113. import navBar from "@/components/nav-bar/nav-bar2.vue";
  114. import viewfinder from "../../components/viewfinder.vue"
  115. import {
  116. pathToBase64
  117. } from "@/utils/image-tools/index.js";
  118. import {
  119. ocrAllQuery,
  120. fileUpload,
  121. envs,
  122. etcOcrCard,
  123. etcCompanyCardInfoSubmit,
  124. register,
  125. } from "@/utils/network/api.js";
  126. import {
  127. request
  128. } from "@/utils/network/request.js";
  129. import {
  130. stringToJson
  131. } from "@/utils/network/encryption";
  132. import {
  133. onLoad,
  134. onPageScroll,
  135. } from "@dcloudio/uni-app";
  136. import {
  137. setItem,
  138. getItem,
  139. } from "@/utils/storage";
  140. import {
  141. msg,
  142. checkStr
  143. } from "@/utils/utils";
  144. const scrollTop = ref(0);//滚动距离
  145. const state = reactive({
  146. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  147. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  148. isTakePhotoModeShow: false, //选择拍照方式是否出来
  149. form: {
  150. orderId: "", //订单ID
  151. //营业执照信息
  152. userName: "", //开户名称/账户名称
  153. userIdType: "203", //用户证件类型 203//营业执照
  154. userIdNum: "", //营业执照号码
  155. posImgUrl: "", //营业执照证明
  156. department: '本部', //不超过50个字符,若单位仅开一个账户,填写“本部”
  157. address: "", //单位地址
  158. //经办人信息
  159. agentName: "",
  160. agentIdType: "101",
  161. agentIdNum: "",
  162. agentAddress: "",
  163. agentPhone: "",
  164. agentIdVld: '',
  165. tel: '',
  166. agentGender: '',
  167. agentPosImgUrl: "",
  168. agentNegImgUrl: "",
  169. proxyUrl: "",
  170. sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  171. channelId: "", //渠道id
  172. opId: '',
  173. orderSource: 'WECHAT',
  174. },
  175. orderId: "",
  176. vehiclePlateColor: '',
  177. isSign: ''
  178. });
  179. const savaHandle = () => {
  180. if (state.form.agentGender === '男') {
  181. state.form.agentGender = 'MAN'
  182. } else {
  183. state.form.agentGender = 'WOMAN'
  184. }
  185. if (!state.form.posImgUrl) {
  186. msg('请上传营业执照');
  187. return;
  188. }
  189. if (!state.form.agentPosImgUrl) {
  190. msg('上传身份证的人像面');
  191. return;
  192. }
  193. if (!state.form.agentNegImgUrl) {
  194. msg('上传身份证的国徽面');
  195. return;
  196. }
  197. if (!state.form.proxyUrl) {
  198. msg('上传身份证的委托书');
  199. return;
  200. }
  201. if (!state.form.userName) {
  202. msg('请输入公司名称');
  203. return;
  204. }
  205. if (!state.form.department) {
  206. msg('请输入社会信用代码');
  207. return;
  208. }
  209. if (!state.form.agentName) {
  210. msg('请输入经办人姓名');
  211. return;
  212. }
  213. if (!checkStr(state.form.agentIdNum, 'card')) {
  214. msg('请输入正确的经办人身份证号');
  215. return;
  216. }
  217. if (!checkStr(state.form.tel, 'mobile')) {
  218. msg('请输入正确的经办人联系方式');
  219. return;
  220. }
  221. //如果未登录||新用户
  222. // if (!getItem('openId')) {
  223. let data = {
  224. userType: "ENTERPRISE",
  225. idNum: state.form.userIdNum,
  226. idType: state.form.userIdType,
  227. mobile: state.form.tel,
  228. userName: state.form.userName,
  229. gender: 'UNKOWN',
  230. certifyChannel: "BAIDUOCR",
  231. address: state.form.address,
  232. agentIdNum: state.form.agentIdNum,
  233. agentIdType: state.form.agentIdType,
  234. agentName: state.form.agentName,
  235. department: state.form.department,
  236. userIdImgUrl: state.form.posImgUrl,
  237. userIdImgBase64: "",
  238. }
  239. const options = {
  240. type: 2,
  241. data: data,
  242. method: "POST",
  243. showLoading: true,
  244. };
  245. request(register, options).then((res) => {
  246. let result = stringToJson(res.bizContent);
  247. if (result.accessToken && result.openId) {
  248. setItem('token', result.accessToken)
  249. setItem('openId', result.openId)
  250. state.form.opId = result.openId;
  251. let data = state.form;
  252. const options = {
  253. type: 2,
  254. data: data,
  255. method: "POST",
  256. showLoading: true,
  257. };
  258. request(etcCompanyCardInfoSubmit, options).then((res) => {
  259. // let result = stringToJson(res.bizContent);
  260. console.log(res);
  261. uni.redirectTo({
  262. url: `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=1&isSign=${state.isSign}`,
  263. });
  264. });
  265. }
  266. })
  267. // }else{
  268. // var data = state.form;
  269. // const options = {
  270. // type: 2,
  271. // data: data,
  272. // method: "POST",
  273. // showLoading: true,
  274. // };
  275. // request(etcCompanyCardInfoSubmit, options).then((res) => {
  276. // const data = stringToJson(res.bizContent);
  277. // uni.redirectTo({
  278. // url: `/subpackage/orders/car-release?orderId=${state.orderId}&&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`,
  279. // });
  280. // });
  281. // }
  282. };
  283. onLoad((option : any) => {
  284. state.form.orderId = option.orderId;
  285. state.orderId = option.orderId;
  286. state.vehiclePlateColor = option.vehiclePlateColor;
  287. state.form.opId = getItem('openId') ? getItem('openId') : '';
  288. state.isSign = option.isSign;
  289. });
  290. //监听页面滚动
  291. onPageScroll((e) => {
  292. scrollTop.value = e.scrollTop;
  293. });
  294. //营业执照Orc接口调用
  295. const cardImageOcrYY = () => {
  296. uni.chooseImage({
  297. count: 1, //只能选取一张照片
  298. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  299. sourceType: ["camera", "album"], //从相册选择
  300. success: function (res) {
  301. pathToBase64(res.tempFilePaths[0])
  302. .then((path) => {
  303. var data = {
  304. type: 'business_license',
  305. base64: path,
  306. };
  307. const options = {
  308. type: 2,
  309. data: data,
  310. method: "POST",
  311. showLoading: true,
  312. };
  313. request(ocrAllQuery, options).then((res) => {
  314. const data = stringToJson(res.bizContent);
  315. if (data.result) {
  316. state.form.userName = stringToJson(data.result
  317. .businessLicense)[
  318. '名称'];
  319. state.form.userIdNum = stringToJson(data.result
  320. .businessLicense)[
  321. '统一社会信用代码'];
  322. cardFileImageUpdateyy(path)
  323. }
  324. });
  325. })
  326. .catch((error) => { });
  327. },
  328. });
  329. };
  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: "WECHAT",
  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(etcOcrCard, options).then((res) => {
  353. // const data = stringToJson(res.bizContent);
  354. // if (val === "1") {
  355. // state.form.agentName = data.name;
  356. // state.form.agentIdNum = data.idno;
  357. // state.form.agentPosImgUrl = data.imageUrl;
  358. // state.form.address = data.address;
  359. // state.form.agentGender = data.gender;
  360. // } else {
  361. // state.form.agentIdVld = data.enddate;
  362. // state.form.agentNegImgUrl = data.imageUrl;
  363. // }
  364. // });
  365. // })
  366. // .catch((error) => { });
  367. // },
  368. // });
  369. // };
  370. //委托书获取图片给后端
  371. const cardFileImageUpdateyy = (val : any) => {
  372. var data = {
  373. fileBase64: val,
  374. };
  375. const options = {
  376. type: 2,
  377. data: data,
  378. method: "POST",
  379. showLoading: true,
  380. };
  381. request(fileUpload, options).then((res) => {
  382. const data = stringToJson(res.bizContent);
  383. state.form.posImgUrl = data.data.url;
  384. });
  385. };
  386. const cardFileImageUpdate = () => {
  387. uni.chooseImage({
  388. count: 1, //只能选取一张照片
  389. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  390. sourceType: ["camera", "album"], //从相册选择
  391. success: function (res) {
  392. pathToBase64(res.tempFilePaths[0])
  393. .then((path) => {
  394. var data = {
  395. fileBase64: path,
  396. };
  397. const options = {
  398. type: 2,
  399. data: data,
  400. method: "POST",
  401. showLoading: true,
  402. };
  403. request(fileUpload, options).then((res) => {
  404. const data = stringToJson(res.bizContent);
  405. state.form.proxyUrl = data.data.url;
  406. });
  407. })
  408. .catch((error) => { });
  409. },
  410. });
  411. };
  412. //替换图片地址
  413. const strReplace = (str : string) => {
  414. let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
  415. imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
  416. return imgUrl;
  417. }
  418. const takePhotoMode = (index) => {
  419. console.log("index", index)
  420. state.isTakePhotoModeShow = true
  421. state.choiceIndex = index
  422. }
  423. const xiangce = (val) => {
  424. console.log("val", val)
  425. var imageType = val;
  426. uni.chooseImage({
  427. count: 1, //只能选取一张照片
  428. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  429. sourceType: ["album"], //从相册选择
  430. success: function (res) {
  431. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  432. pathToBase64(res.tempFilePaths[0])
  433. .then((path) => {
  434. var data = {
  435. source: "1",
  436. agencyId: "52010106004",
  437. imageType: imageType,
  438. fileName: res.tempFilePaths[0],
  439. imageBase64: path,
  440. };
  441. const options = {
  442. type: 2,
  443. data: data,
  444. method: "POST",
  445. showLoading: true,
  446. };
  447. request(etcOcrCard, options).then((res) => {
  448. const data = stringToJson(res.bizContent);
  449. if (state.choiceIndex === "1") {
  450. state.form.agentName = data.name;
  451. state.form.agentIdNum = data.idno;
  452. state.form.agentPosImgUrl = data.imageUrl;
  453. state.form.address = data.address;
  454. state.form.agentGender = data.gender;
  455. } else {
  456. state.form.agentIdVld = data.enddate;
  457. state.form.agentNegImgUrl = data.imageUrl;
  458. }
  459. state.isTakePhotoModeShow = false
  460. });
  461. })
  462. .catch((error) => { });
  463. },
  464. })
  465. }
  466. const takePhoto = (val) => {
  467. console.log("拍照", val)
  468. // uni.navigateTo({
  469. // url: `/subpackage/orders/takePhoto?phoneType=${val}`
  470. // })
  471. state.phoneType = val;
  472. }
  473. const confirmReturn = (val) => {
  474. state.phoneType = 0
  475. state.isTakePhotoModeShow = false
  476. var imageType = state.choiceIndex;
  477. console.log("图片地址val", val.tempImagePath)
  478. pathToBase64(val.tempImagePath)
  479. .then((path) => {
  480. var data = {
  481. source: "1",
  482. agencyId: "52010106004",
  483. imageType: imageType,
  484. fileName: val.tempImagePath,
  485. imageBase64: path,
  486. };
  487. const options = {
  488. type: 2,
  489. data: data,
  490. method: "POST",
  491. showLoading: true,
  492. };
  493. request(etcOcrCard, options).then((res) => {
  494. const data = stringToJson(res.bizContent);
  495. if (state.choiceIndex === "1") {
  496. state.form.agentName = data.name;
  497. state.form.agentIdNum = data.idno;
  498. state.form.agentPosImgUrl = data.imageUrl;
  499. state.form.address = data.address;
  500. state.form.agentGender = data.gender;
  501. } else {
  502. state.form.agentIdVld = data.enddate;
  503. state.form.agentNegImgUrl = data.imageUrl;
  504. }
  505. state.isTakePhotoModeShow = false
  506. });
  507. })
  508. .catch((error) => { });
  509. }
  510. const cancle = () => {
  511. state.isTakePhotoModeShow = false
  512. }
  513. </script>
  514. <style lang="scss" scoped>
  515. .content-wrap {
  516. position: relative;
  517. margin-top: -50rpx;
  518. padding: 0rpx 30rpx;
  519. position: relative;
  520. .action {
  521. padding-left: 20rpx;
  522. padding-right: 20rpx;
  523. padding-bottom: 30rpx;
  524. .button {
  525. height: 80rpx;
  526. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  527. border-radius: 40rpx;
  528. font-size: 32rpx;
  529. font-weight: 400;
  530. color: #ffffff;
  531. line-height: 80rpx;
  532. }
  533. }
  534. .item-tips {
  535. .title {
  536. font-size: 30rpx;
  537. font-family: Microsoft YaHei;
  538. font-weight: 400;
  539. color: #000000;
  540. line-height: 24rpx;
  541. }
  542. .tip {
  543. margin-top: 16rpx;
  544. font-size: 24rpx;
  545. font-family: Microsoft YaHei;
  546. font-weight: 400;
  547. color: #999999;
  548. line-height: 24rpx;
  549. }
  550. }
  551. .picture-wrapper {
  552. margin-top: 40rpx;
  553. .bg {
  554. background: #ffffff;
  555. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  556. border-radius: 20rpx;
  557. padding: 40rpx;
  558. display: flex;
  559. // align-items: center;
  560. justify-content: space-between;
  561. .name {
  562. font-size: 34rpx;
  563. font-family: Microsoft YaHei;
  564. font-weight: 400;
  565. color: #000000;
  566. line-height: 34rpx;
  567. }
  568. .value {
  569. margin-top: 20rpx;
  570. font-size: 24rpx;
  571. font-family: Microsoft YaHei;
  572. font-weight: 400;
  573. color: #999999;
  574. line-height: 24rpx;
  575. }
  576. .tip {
  577. margin-top: 20rpx;
  578. text-align: center;
  579. width: 110rpx;
  580. height: 40rpx;
  581. background: rgba(33, 190, 177, 0.2);
  582. border-radius: 6rpx;
  583. .tip-value {
  584. font-size: 20rpx;
  585. font-family: Microsoft YaHei;
  586. font-weight: 400;
  587. color: #0a8f8a;
  588. line-height: 40rpx;
  589. opacity: 1;
  590. }
  591. }
  592. }
  593. .icon {
  594. width: 294rpx;
  595. height: 188rpx;
  596. }
  597. }
  598. .shibie-wrapper {
  599. margin-top: 60rpx;
  600. .title {
  601. font-size: 30rpx;
  602. font-family: Microsoft YaHei;
  603. font-weight: 400;
  604. color: #000000;
  605. line-height: 30rpx;
  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. ::v-deep .u-input__input {
  629. background: transparent;
  630. }
  631. ::v-deep .u-form-item--left .u-form-item--left__content {
  632. padding-right: 0px;
  633. }
  634. .choice-takePhoto {
  635. position: absolute;
  636. bottom: 0;
  637. background-color: white;
  638. width: 100%;
  639. border-radius: 20rpx 20rpx 0 0;
  640. }
  641. .choice-takePhoto>view:first-child {
  642. text-align: center;
  643. height: 80rpx;
  644. line-height: 80rpx;
  645. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  646. background-color: white;
  647. }
  648. .choice-takePhoto>view:last-child {
  649. text-align: center;
  650. height: 80rpx;
  651. line-height: 80rpx;
  652. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  653. background-color: white;
  654. }
  655. .choice-takePhoto>view {
  656. text-align: center;
  657. height: 80rpx;
  658. line-height: 80rpx;
  659. background-color: white;
  660. }
  661. .choice-takePhoto-wrap {
  662. width: 100%;
  663. height: 100vh;
  664. background-color: rgba(127, 127, 127, 0.2);
  665. position: fixed;
  666. left: 0;
  667. top: 0;
  668. z-index: 11111;
  669. }
  670. </style>