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 20KB

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