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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  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.posImgName)"
  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(99)">
  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 = {
  292. ...state.form,
  293. orderNo: state.orderId,
  294. userPosImgUrl: state.form.posImgUrl
  295. };
  296. const options = {
  297. type: 2,
  298. data: data,
  299. method: "POST",
  300. showLoading: true,
  301. };
  302. requestNew(userUpload, options).then((res) => {
  303. const data = res;
  304. navTo(
  305. `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&vanType=${state.vanType}&vehicleId=${state.vehicleId}`,
  306. );
  307. });
  308. // })
  309. };
  310. onLoad((option : any) => {
  311. state.form.orderId = option.orderId;
  312. state.orderId = option.orderId;
  313. state.vehiclePlateColor = option.vehiclePlateColor;
  314. state.form.opId = getItem('openId') ? getItem('openId') : '';
  315. state.isSign = option.isSign;
  316. state.vanType = option.vanType;
  317. state.vehicleId = option.vehicleId;
  318. console.log("state.type", option)
  319. uni.login({
  320. provider: "weixin",
  321. success: function (e) {
  322. console.log("jsCode", e.code)
  323. state.jsCode = e.code
  324. },
  325. });
  326. queryUserMsg();
  327. });
  328. // 通过opneId查询用户信息
  329. const queryUserMsg = () => {
  330. const options = {
  331. type: 2,
  332. data: {
  333. // "openId": getItem('openId')
  334. customerId: "",
  335. },
  336. method: "POST",
  337. showLoading: true,
  338. };
  339. requestNew(getUserMsg, options).then((res) => {
  340. console.log("通过opneId查询用户信息", res)
  341. const data = res;
  342. state.form.agentPosImgUrl = data.userPosImgUrl;
  343. state.form.agentNegImgUrl = data.userNegImgUrl;
  344. state.form.agentName = data.userName;
  345. state.form.agentIdNum = data.userIdNum;
  346. state.form.agentAddress = data.userAddress;
  347. state.form.agentTel = data.mobile;
  348. state.form.agentIdVld = data.customerIdVld;
  349. })
  350. }
  351. //监听页面滚动
  352. onPageScroll((e) => {
  353. scrollTop.value = e.scrollTop;
  354. });
  355. //营业执照Orc接口调用
  356. const cardImageOcrYY = () => {
  357. uni.chooseImage({
  358. count: 1, //只能选取一张照片
  359. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  360. sourceType: ["camera", "album"], //从相册选择
  361. success: function (res) {
  362. state.form.posImgName = res.tempFilePaths[0];
  363. uploadFile(res.tempFilePaths[0], "5").then((data : any) => {
  364. console.log('state.form输出内容', data)
  365. state.form.userName = data.unitName;
  366. state.form.userIdNum = data.screditCode;
  367. state.form.userAddress = data.adress
  368. state.form.posImgUrl = data.imageUrl;
  369. state.form.posImgName = data.imageName;
  370. // state.form.userPosImgUrl = data.imageUrl;
  371. // uploadFile(res.tempFilePaths[0], "", "").then((data: any) => {
  372. // state.form.posImgUrl = data; pos
  373. // state.form.userNegImgUrl = data;
  374. // state.form.userPosImgUrl = data;
  375. // })
  376. })
  377. },
  378. });
  379. };
  380. const camera = () => {
  381. state.phoneType = 0
  382. }
  383. const cardFileImageUpdate = (val) => {
  384. uni.chooseImage({
  385. count: 1, //只能选取一张照片
  386. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  387. sourceType: ["camera", "album"], //从相册选择
  388. success: function (res) {
  389. state.form.proxyUrlName = res.tempFilePaths[0];
  390. uploadFile(res.tempFilePaths[0], val).then((data) => {
  391. // state.form.proxyUrl = data;
  392. state.form.proxyUrl = data.imageUrl;
  393. // state.form.proxyUrlName = data.imageUrl;
  394. })
  395. },
  396. });
  397. };
  398. const takePhotoMode = (index) => {
  399. console.log("index", index)
  400. state.isTakePhotoModeShow = true
  401. state.choiceIndex = index
  402. }
  403. const xiangce = (val) => {
  404. console.log("val", val)
  405. var imageType = val;
  406. chooseImageCompress((res) => {
  407. state.images = res.tempFilePath ? res.tempFilePath : res.tempFilePaths[0]
  408. state.showImg = false
  409. state.phoneType = state.choiceIndex
  410. state.isTakePhotoModeShow = false
  411. })
  412. // uni.chooseImage({
  413. // count: 1, //只能选取一张照片
  414. // sizeType: ["original"], //可以指定是原图还是压缩图,默认二者都有
  415. // sourceType: ["album"], //从相册选择
  416. // success: function (res) {
  417. // let scall=res.tempFiles[0].size/1024/1024/2
  418. // console.log("scall",scall)
  419. // console.log("res.tempFiles[0].size", res.tempFilePaths[0], res.tempFiles[0].size)
  420. // if(scall>1){
  421. // console.log("压缩")
  422. // compressImage(res.tempFilePaths[0], (res) => {
  423. // state.images = res.tempFilePath
  424. // state.showImg = false
  425. // state.phoneType = state.choiceIndex
  426. // state.isTakePhotoModeShow = false
  427. // })
  428. // }else{
  429. // state.images = res.tempFilePaths[0]
  430. // state.showImg = false
  431. // state.phoneType = state.choiceIndex
  432. // state.isTakePhotoModeShow = false
  433. // }
  434. // },
  435. // })
  436. }
  437. const takePhoto = (val) => {
  438. console.log("拍照", val)
  439. state.showImg = true
  440. state.phoneType = val;
  441. }
  442. const confirmReturn = (val) => {
  443. state.phoneType = 0
  444. state.isTakePhotoModeShow = false
  445. var imageType = state.choiceIndex;
  446. console.log("图片地址val", val.tempImagePath)
  447. uploadFile(val.tempImagePath, imageType).then((data : any) => {
  448. console.log("身份证上传", data)
  449. if (state.choiceIndex == 1) {
  450. state.form.agentName = data.name;
  451. state.form.agentIdNum = data.idno;
  452. state.form.agentPosImgUrl = data.imageName;
  453. // state.form.agentPosImgUrlName = data.imageName;
  454. state.form.agentAddress = data.address;
  455. state.form.agentGender = data.gender;
  456. } else {
  457. state.form.agentIdVld = data.enddate;
  458. state.form.agentNegImgUrl = data.imageName;
  459. state.form.negImgUrl = data.imageUrl;
  460. // state.form.agentNegImgUrlName = data.imageName;
  461. compareDates(data.enddate)
  462. }
  463. state.isTakePhotoModeShow = false
  464. })
  465. }
  466. const cancle = () => {
  467. state.isTakePhotoModeShow = false
  468. }
  469. const downAuthD = () => {
  470. uni.downloadFile({
  471. url: "https://qtzl.etcjz.cn/default-bucket/20240311/单位委托书.docx",
  472. filePath: uni.env.USER_DATA_PATH + '/' + '单位委托书.docx',
  473. success(res) {
  474. const filePath = res.filePath
  475. uni.openDocument({
  476. filePath: filePath,
  477. fileType: 'docx',
  478. showMenu: true, //关键点
  479. success: function (res) {
  480. },
  481. fail: function (err) {
  482. msg("打开文档失败");
  483. }
  484. });
  485. },
  486. fail: function (err) {
  487. msg("下载文档失败");
  488. console.log("err", err)
  489. },
  490. complete(res) {
  491. }
  492. })
  493. }
  494. // 无感注册
  495. const registerRequest = () => {
  496. let data = {
  497. userType: "ENTERPRISE",
  498. idNum: state.form.userIdNum,
  499. idType: state.form.userIdType,
  500. mobile: state.form.agentTel,
  501. userName: state.form.userName,
  502. gender: 'UNKOWN',
  503. certifyChannel: "BAIDUOCR",
  504. address: state.form.userAddress,
  505. agentIdNum: state.form.agentIdNum,
  506. agentIdType: state.form.agentIdType,
  507. agentName: state.form.agentName,
  508. department: state.form.department,
  509. userIdImgUrl: state.form.posImgUrl,
  510. userIdImgBase64: "",
  511. jsCode: state.jsCode
  512. }
  513. const options = {
  514. type: 2,
  515. data: data,
  516. method: "POST",
  517. showLoading: true,
  518. };
  519. return new Promise(async (resolve, reject) => {
  520. const res = await requestNew(registerFull, options);
  521. const data = res;
  522. resolve(data);
  523. }).catch((error) => {
  524. reject(error);
  525. });
  526. }
  527. </script>
  528. <style lang="scss" scoped>
  529. .content-wrap {
  530. position: absolute;
  531. top: 370rpx;
  532. width: 100%;
  533. min-height: calc(100% - 370rpx);
  534. box-sizing: border-box;
  535. padding: 0 30rpx 210rpx;
  536. .t-card {
  537. width: 100%;
  538. background-color: #fff;
  539. border-radius: 12rpx;
  540. padding: 40rpx 30rpx 30rpx;
  541. box-sizing: border-box;
  542. }
  543. .action {
  544. position: absolute;
  545. bottom: 0rpx;
  546. left: 0;
  547. height: 188rpx;
  548. background-color: #fff;
  549. border-radius: 30rpx 30rpx 0 0;
  550. width: 100vw;
  551. display: flex;
  552. align-items: center;
  553. justify-content: center;
  554. flex-direction: column;
  555. .btn-tip {
  556. font-family: SourceHanSansSC, SourceHanSansSC;
  557. font-weight: 400;
  558. font-size: 24rpx;
  559. color: #CCB375;
  560. margin-bottom: 14rpx;
  561. }
  562. }
  563. .item-tips {
  564. .title {
  565. font-size: 30rpx;
  566. font-family: Microsoft YaHei;
  567. font-weight: 500;
  568. color: #01243A;
  569. line-height: 30rpx;
  570. }
  571. .tip {
  572. margin-top: 16rpx;
  573. font-size: 24rpx;
  574. font-family: Microsoft YaHei;
  575. font-weight: 400;
  576. color: #999999;
  577. line-height: 24rpx;
  578. }
  579. }
  580. .picture-wrapper {
  581. margin-top: 30rpx;
  582. .bg {
  583. background: #F5F9FB;
  584. border-radius: 10rpx;
  585. padding: 40rpx 30rpx;
  586. display: flex;
  587. // align-items: center;
  588. justify-content: space-between;
  589. .name {
  590. padding-top: 30rpx;
  591. font-size: 32rpx;
  592. font-family: SourceHanSansSC, SourceHanSansSC;
  593. font-weight: 500;
  594. color: #111;
  595. line-height: 34rpx;
  596. }
  597. .value {
  598. margin-top: 20rpx;
  599. font-size: 22rpx;
  600. font-family: SourceHanSansSC, SourceHanSansSC;
  601. font-weight: 400;
  602. color: #999999;
  603. line-height: 24rpx;
  604. }
  605. .tip {
  606. margin-top: 20rpx;
  607. text-align: center;
  608. width: 100rpx;
  609. height: 30rpx;
  610. // background: rgba(204, 179, 117);
  611. border-radius: 6rpx;
  612. border: 1rpx solid #CCB375;
  613. .tip-value {
  614. font-size: 20rpx;
  615. font-family: Microsoft YaHei;
  616. font-weight: 400;
  617. color: #CCB375;
  618. line-height: 30rpx;
  619. opacity: 1;
  620. }
  621. }
  622. }
  623. .icon {
  624. width: 304rpx;
  625. height: 190rpx;
  626. background-image: var(--bgimg);
  627. background-size: 100% 100%;
  628. background-repeat: no-repeat;
  629. }
  630. }
  631. .shibie-wrapper {
  632. margin-top: 30rpx;
  633. border-radius: 12rpx;
  634. background-color: #fff;
  635. width: 100%;
  636. padding: 30rpx 30rpx 0;
  637. box-sizing: border-box;
  638. .title {
  639. font-size: 30rpx;
  640. font-family: Microsoft YaHei;
  641. font-weight: 500;
  642. color: #01243A;
  643. line-height: 30rpx;
  644. }
  645. }
  646. }
  647. ::v-deep .u-input__input {
  648. background: transparent;
  649. }
  650. ::v-deep .u-form-item--left .u-form-item--left__content {
  651. padding-right: 0px;
  652. }
  653. .choice-takePhoto {
  654. position: absolute;
  655. bottom: 0;
  656. background-color: white;
  657. width: 100%;
  658. border-radius: 20rpx 20rpx 0 0;
  659. }
  660. .choice-takePhoto>view:first-child {
  661. text-align: center;
  662. height: 80rpx;
  663. line-height: 80rpx;
  664. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  665. background-color: white;
  666. }
  667. .choice-takePhoto>view:last-child {
  668. text-align: center;
  669. height: 80rpx;
  670. line-height: 80rpx;
  671. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  672. background-color: white;
  673. }
  674. .choice-takePhoto>view {
  675. text-align: center;
  676. height: 80rpx;
  677. line-height: 80rpx;
  678. background-color: white;
  679. }
  680. .choice-takePhoto-wrap {
  681. width: 100%;
  682. height: 100vh;
  683. background-color: rgba(127, 127, 127, 0.2);
  684. position: fixed;
  685. left: 0;
  686. top: 0;
  687. z-index: 11111;
  688. }
  689. .down {
  690. background: #CCB375;
  691. color: #fff;
  692. border-radius: 5rpx;
  693. font-size: 20rpx;
  694. margin-top: 10rpx;
  695. width: 100rpx;
  696. height: 30rpx;
  697. text-align: center;
  698. line-height: 30rpx;
  699. }
  700. </style>