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.

opening-account-unit.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  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. strReplace
  144. } from "@/utils/utils";
  145. const scrollTop = ref(0);//滚动距离
  146. const state = reactive({
  147. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  148. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  149. isTakePhotoModeShow: false, //选择拍照方式是否出来
  150. form: {
  151. orderId: "", //订单ID
  152. //营业执照信息
  153. userName: "", //开户名称/账户名称
  154. userIdType: "203", //用户证件类型 203//营业执照
  155. userIdNum: "", //营业执照号码
  156. posImgUrl: "", //营业执照证明
  157. department: '本部', //不超过50个字符,若单位仅开一个账户,填写“本部”
  158. address: "", //单位地址
  159. //经办人信息
  160. agentName: "",
  161. agentIdType: "101",
  162. agentIdNum: "",
  163. agentAddress: "",
  164. agentPhone: "",
  165. agentIdVld: '',
  166. tel: '',
  167. agentGender: '',
  168. agentPosImgUrl: "",
  169. agentNegImgUrl: "",
  170. proxyUrl: "",
  171. sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  172. channelId: "", //渠道id
  173. opId: '',
  174. orderSource: 'WECHAT',
  175. },
  176. orderId: "",
  177. vehiclePlateColor: '',
  178. isSign: ''
  179. });
  180. const savaHandle = () => {
  181. if (state.form.agentGender === '男') {
  182. state.form.agentGender = 'MAN'
  183. } else {
  184. state.form.agentGender = 'WOMAN'
  185. }
  186. if (!state.form.posImgUrl) {
  187. msg('请上传营业执照');
  188. return;
  189. }
  190. if (!state.form.agentPosImgUrl) {
  191. msg('上传身份证的人像面');
  192. return;
  193. }
  194. if (!state.form.agentNegImgUrl) {
  195. msg('上传身份证的国徽面');
  196. return;
  197. }
  198. if (!state.form.proxyUrl) {
  199. msg('上传身份证的委托书');
  200. return;
  201. }
  202. if (!state.form.userName) {
  203. msg('请输入公司名称');
  204. return;
  205. }
  206. if (!state.form.department) {
  207. msg('请输入社会信用代码');
  208. return;
  209. }
  210. if (!state.form.agentName) {
  211. msg('请输入经办人姓名');
  212. return;
  213. }
  214. if (!checkStr(state.form.agentIdNum, 'card')) {
  215. msg('请输入正确的经办人身份证号');
  216. return;
  217. }
  218. if (!checkStr(state.form.tel, 'mobile')) {
  219. msg('请输入正确的经办人联系方式');
  220. return;
  221. }
  222. //如果未登录||新用户
  223. // if (!getItem('openId')) {
  224. let data = {
  225. userType: "ENTERPRISE",
  226. idNum: state.form.userIdNum,
  227. idType: state.form.userIdType,
  228. mobile: state.form.tel,
  229. userName: state.form.userName,
  230. gender: 'UNKOWN',
  231. certifyChannel: "BAIDUOCR",
  232. address: state.form.address,
  233. agentIdNum: state.form.agentIdNum,
  234. agentIdType: state.form.agentIdType,
  235. agentName: state.form.agentName,
  236. department: state.form.department,
  237. userIdImgUrl: state.form.posImgUrl,
  238. userIdImgBase64: "",
  239. }
  240. const options = {
  241. type: 2,
  242. data: data,
  243. method: "POST",
  244. showLoading: true,
  245. };
  246. request(register, options).then((res) => {
  247. let result = stringToJson(res.bizContent);
  248. if (result.accessToken && result.openId) {
  249. setItem('token', result.accessToken)
  250. setItem('openId', result.openId)
  251. state.form.opId = result.openId;
  252. let data = state.form;
  253. const options = {
  254. type: 2,
  255. data: data,
  256. method: "POST",
  257. showLoading: true,
  258. };
  259. request(etcCompanyCardInfoSubmit, options).then((res) => {
  260. // let result = stringToJson(res.bizContent);
  261. console.log(res);
  262. uni.redirectTo({
  263. url: `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=1&isSign=${state.isSign}`,
  264. });
  265. });
  266. }
  267. })
  268. // }else{
  269. // var data = state.form;
  270. // const options = {
  271. // type: 2,
  272. // data: data,
  273. // method: "POST",
  274. // showLoading: true,
  275. // };
  276. // request(etcCompanyCardInfoSubmit, options).then((res) => {
  277. // const data = stringToJson(res.bizContent);
  278. // uni.redirectTo({
  279. // url: `/subpackage/orders/car-release?orderId=${state.orderId}&&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`,
  280. // });
  281. // });
  282. // }
  283. };
  284. onLoad((option : any) => {
  285. state.form.orderId = option.orderId;
  286. state.orderId = option.orderId;
  287. state.vehiclePlateColor = option.vehiclePlateColor;
  288. state.form.opId = getItem('openId') ? getItem('openId') : '';
  289. state.isSign = option.isSign;
  290. });
  291. //监听页面滚动
  292. onPageScroll((e) => {
  293. scrollTop.value = e.scrollTop;
  294. });
  295. //营业执照Orc接口调用
  296. const cardImageOcrYY = () => {
  297. uni.chooseImage({
  298. count: 1, //只能选取一张照片
  299. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  300. sourceType: ["camera", "album"], //从相册选择
  301. success: function (res) {
  302. pathToBase64(res.tempFilePaths[0])
  303. .then((path) => {
  304. var data = {
  305. type: 'business_license',
  306. base64: path,
  307. };
  308. const options = {
  309. type: 2,
  310. data: data,
  311. method: "POST",
  312. showLoading: true,
  313. };
  314. request(ocrAllQuery, options).then((res) => {
  315. const data = stringToJson(res.bizContent);
  316. if (data.result) {
  317. state.form.userName = stringToJson(data.result
  318. .businessLicense)[
  319. '名称'];
  320. state.form.userIdNum = stringToJson(data.result
  321. .businessLicense)[
  322. '统一社会信用代码'];
  323. cardFileImageUpdateyy(path)
  324. }
  325. });
  326. })
  327. .catch((error) => { });
  328. },
  329. });
  330. };
  331. // const cardImageOcr = (val : any) => {
  332. // var imageType = val;
  333. // uni.chooseImage({
  334. // count: 1, //只能选取一张照片
  335. // sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  336. // sourceType: ["camera", "album"], //从相册选择
  337. // success: function (res) {
  338. // pathToBase64(res.tempFilePaths[0])
  339. // .then((path) => {
  340. // var data = {
  341. // source: "WECHAT",
  342. // agencyId: "52010106004",
  343. // imageType: imageType,
  344. // fileName: res.tempFilePaths[0],
  345. // imageBase64: path,
  346. // };
  347. // const options = {
  348. // type: 2,
  349. // data: data,
  350. // method: "POST",
  351. // showLoading: true,
  352. // };
  353. // request(etcOcrCard, options).then((res) => {
  354. // const data = stringToJson(res.bizContent);
  355. // if (val === "1") {
  356. // state.form.agentName = data.name;
  357. // state.form.agentIdNum = data.idno;
  358. // state.form.agentPosImgUrl = data.imageUrl;
  359. // state.form.address = data.address;
  360. // state.form.agentGender = data.gender;
  361. // } else {
  362. // state.form.agentIdVld = data.enddate;
  363. // state.form.agentNegImgUrl = data.imageUrl;
  364. // }
  365. // });
  366. // })
  367. // .catch((error) => { });
  368. // },
  369. // });
  370. // };
  371. //委托书获取图片给后端
  372. const cardFileImageUpdateyy = (val : any) => {
  373. var data = {
  374. fileBase64: val,
  375. };
  376. const options = {
  377. type: 2,
  378. data: data,
  379. method: "POST",
  380. showLoading: true,
  381. };
  382. request(fileUpload, options).then((res) => {
  383. const data = stringToJson(res.bizContent);
  384. state.form.posImgUrl = data.data.url;
  385. });
  386. };
  387. const cardFileImageUpdate = () => {
  388. uni.chooseImage({
  389. count: 1, //只能选取一张照片
  390. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  391. sourceType: ["camera", "album"], //从相册选择
  392. success: function (res) {
  393. pathToBase64(res.tempFilePaths[0])
  394. .then((path) => {
  395. var data = {
  396. fileBase64: path,
  397. };
  398. const options = {
  399. type: 2,
  400. data: data,
  401. method: "POST",
  402. showLoading: true,
  403. };
  404. request(fileUpload, options).then((res) => {
  405. const data = stringToJson(res.bizContent);
  406. state.form.proxyUrl = data.data.url;
  407. });
  408. })
  409. .catch((error) => { });
  410. },
  411. });
  412. };
  413. //替换图片地址
  414. // const strReplace = (str : string) => {
  415. // let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
  416. // imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
  417. // return imgUrl;
  418. // }
  419. const takePhotoMode = (index) => {
  420. console.log("index", index)
  421. state.isTakePhotoModeShow = true
  422. state.choiceIndex = index
  423. }
  424. const xiangce = (val) => {
  425. console.log("val", val)
  426. var imageType = val;
  427. uni.chooseImage({
  428. count: 1, //只能选取一张照片
  429. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  430. sourceType: ["album"], //从相册选择
  431. success: function (res) {
  432. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  433. pathToBase64(res.tempFilePaths[0])
  434. .then((path) => {
  435. var data = {
  436. source: "1",
  437. agencyId: "52010106004",
  438. imageType: imageType,
  439. fileName: res.tempFilePaths[0],
  440. imageBase64: path,
  441. };
  442. const options = {
  443. type: 2,
  444. data: data,
  445. method: "POST",
  446. showLoading: true,
  447. };
  448. request(etcOcrCard, options).then((res) => {
  449. const data = stringToJson(res.bizContent);
  450. if (state.choiceIndex === "1") {
  451. state.form.agentName = data.name;
  452. state.form.agentIdNum = data.idno;
  453. state.form.agentPosImgUrl = data.imageUrl;
  454. state.form.address = data.address;
  455. state.form.agentGender = data.gender;
  456. } else {
  457. state.form.agentIdVld = data.enddate;
  458. state.form.agentNegImgUrl = data.imageUrl;
  459. }
  460. state.isTakePhotoModeShow = false
  461. });
  462. })
  463. .catch((error) => { });
  464. },
  465. })
  466. }
  467. const takePhoto = (val) => {
  468. console.log("拍照", val)
  469. // uni.navigateTo({
  470. // url: `/subpackage/orders/takePhoto?phoneType=${val}`
  471. // })
  472. state.phoneType = val;
  473. }
  474. const confirmReturn = (val) => {
  475. state.phoneType = 0
  476. state.isTakePhotoModeShow = false
  477. var imageType = state.choiceIndex;
  478. console.log("图片地址val", val.tempImagePath)
  479. pathToBase64(val.tempImagePath)
  480. .then((path) => {
  481. var data = {
  482. source: "1",
  483. agencyId: "52010106004",
  484. imageType: imageType,
  485. fileName: val.tempImagePath,
  486. imageBase64: path,
  487. };
  488. const options = {
  489. type: 2,
  490. data: data,
  491. method: "POST",
  492. showLoading: true,
  493. };
  494. request(etcOcrCard, options).then((res) => {
  495. const data = stringToJson(res.bizContent);
  496. if (state.choiceIndex === "1") {
  497. state.form.agentName = data.name;
  498. state.form.agentIdNum = data.idno;
  499. state.form.agentPosImgUrl = data.imageUrl;
  500. state.form.address = data.address;
  501. state.form.agentGender = data.gender;
  502. } else {
  503. state.form.agentIdVld = data.enddate;
  504. state.form.agentNegImgUrl = data.imageUrl;
  505. }
  506. state.isTakePhotoModeShow = false
  507. });
  508. })
  509. .catch((error) => { });
  510. }
  511. const cancle = () => {
  512. state.isTakePhotoModeShow = false
  513. }
  514. </script>
  515. <style lang="scss" scoped>
  516. .content-wrap {
  517. position: relative;
  518. margin-top: -50rpx;
  519. padding: 0rpx 30rpx;
  520. position: relative;
  521. .action {
  522. padding-left: 20rpx;
  523. padding-right: 20rpx;
  524. padding-bottom: 30rpx;
  525. .button {
  526. height: 80rpx;
  527. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  528. border-radius: 40rpx;
  529. font-size: 32rpx;
  530. font-weight: 400;
  531. color: #ffffff;
  532. line-height: 80rpx;
  533. }
  534. }
  535. .item-tips {
  536. .title {
  537. font-size: 30rpx;
  538. font-family: Microsoft YaHei;
  539. font-weight: 400;
  540. color: #000000;
  541. line-height: 24rpx;
  542. }
  543. .tip {
  544. margin-top: 16rpx;
  545. font-size: 24rpx;
  546. font-family: Microsoft YaHei;
  547. font-weight: 400;
  548. color: #999999;
  549. line-height: 24rpx;
  550. }
  551. }
  552. .picture-wrapper {
  553. margin-top: 40rpx;
  554. .bg {
  555. background: #ffffff;
  556. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  557. border-radius: 20rpx;
  558. padding: 40rpx;
  559. display: flex;
  560. // align-items: center;
  561. justify-content: space-between;
  562. .name {
  563. font-size: 34rpx;
  564. font-family: Microsoft YaHei;
  565. font-weight: 400;
  566. color: #000000;
  567. line-height: 34rpx;
  568. }
  569. .value {
  570. margin-top: 20rpx;
  571. font-size: 24rpx;
  572. font-family: Microsoft YaHei;
  573. font-weight: 400;
  574. color: #999999;
  575. line-height: 24rpx;
  576. }
  577. .tip {
  578. margin-top: 20rpx;
  579. text-align: center;
  580. width: 110rpx;
  581. height: 40rpx;
  582. background: rgba(33, 190, 177, 0.2);
  583. border-radius: 6rpx;
  584. .tip-value {
  585. font-size: 20rpx;
  586. font-family: Microsoft YaHei;
  587. font-weight: 400;
  588. color: #0a8f8a;
  589. line-height: 40rpx;
  590. opacity: 1;
  591. }
  592. }
  593. }
  594. .icon {
  595. width: 294rpx;
  596. height: 188rpx;
  597. }
  598. }
  599. .shibie-wrapper {
  600. margin-top: 60rpx;
  601. .title {
  602. font-size: 30rpx;
  603. font-family: Microsoft YaHei;
  604. font-weight: 400;
  605. color: #000000;
  606. line-height: 30rpx;
  607. }
  608. }
  609. .buchong-wrapper {
  610. margin-top: 60rpx;
  611. .title {
  612. font-size: 30rpx;
  613. font-family: Microsoft YaHei;
  614. font-weight: 400;
  615. color: #000000;
  616. line-height: 30rpx;
  617. }
  618. }
  619. .green-tip {
  620. margin-top: 50rpx;
  621. font-size: 24rpx;
  622. font-family: Microsoft YaHei;
  623. font-weight: 400;
  624. color: #00b38b;
  625. line-height: 24rpx;
  626. margin-bottom: 60rpx;
  627. }
  628. }
  629. ::v-deep .u-input__input {
  630. background: transparent;
  631. }
  632. ::v-deep .u-form-item--left .u-form-item--left__content {
  633. padding-right: 0px;
  634. }
  635. .choice-takePhoto {
  636. position: absolute;
  637. bottom: 0;
  638. background-color: white;
  639. width: 100%;
  640. border-radius: 20rpx 20rpx 0 0;
  641. }
  642. .choice-takePhoto>view:first-child {
  643. text-align: center;
  644. height: 80rpx;
  645. line-height: 80rpx;
  646. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  647. background-color: white;
  648. }
  649. .choice-takePhoto>view:last-child {
  650. text-align: center;
  651. height: 80rpx;
  652. line-height: 80rpx;
  653. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  654. background-color: white;
  655. }
  656. .choice-takePhoto>view {
  657. text-align: center;
  658. height: 80rpx;
  659. line-height: 80rpx;
  660. background-color: white;
  661. }
  662. .choice-takePhoto-wrap {
  663. width: 100%;
  664. height: 100vh;
  665. background-color: rgba(127, 127, 127, 0.2);
  666. position: fixed;
  667. left: 0;
  668. top: 0;
  669. z-index: 11111;
  670. }
  671. </style>