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.

opening-account-unit.vue 19KB

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