Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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