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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  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. console.log("上传本地",res);
  390. state.form.proxyUrlName = res.tempFilePaths[0];
  391. uploadFile(res.tempFilePaths[0], val).then((data) => {
  392. // state.form.proxyUrl = data;
  393. state.form.proxyUrl = data.imageUrl;
  394. // state.form.proxyUrlName = data.imageUrl;
  395. })
  396. },
  397. });
  398. };
  399. const takePhotoMode = (index) => {
  400. console.log("index", index)
  401. state.isTakePhotoModeShow = true
  402. state.choiceIndex = index
  403. }
  404. const xiangce = (val) => {
  405. console.log("val", val)
  406. var imageType = val;
  407. chooseImageCompress((res) => {
  408. state.images = res.tempFilePath ? res.tempFilePath : res.tempFilePaths[0]
  409. state.showImg = false
  410. state.phoneType = state.choiceIndex
  411. state.isTakePhotoModeShow = false
  412. })
  413. // uni.chooseImage({
  414. // count: 1, //只能选取一张照片
  415. // sizeType: ["original"], //可以指定是原图还是压缩图,默认二者都有
  416. // sourceType: ["album"], //从相册选择
  417. // success: function (res) {
  418. // let scall=res.tempFiles[0].size/1024/1024/2
  419. // console.log("scall",scall)
  420. // console.log("res.tempFiles[0].size", res.tempFilePaths[0], res.tempFiles[0].size)
  421. // if(scall>1){
  422. // console.log("压缩")
  423. // compressImage(res.tempFilePaths[0], (res) => {
  424. // state.images = res.tempFilePath
  425. // state.showImg = false
  426. // state.phoneType = state.choiceIndex
  427. // state.isTakePhotoModeShow = false
  428. // })
  429. // }else{
  430. // state.images = res.tempFilePaths[0]
  431. // state.showImg = false
  432. // state.phoneType = state.choiceIndex
  433. // state.isTakePhotoModeShow = false
  434. // }
  435. // },
  436. // })
  437. }
  438. const takePhoto = (val) => {
  439. console.log("拍照", val)
  440. state.showImg = true
  441. state.phoneType = val;
  442. }
  443. const confirmReturn = (val) => {
  444. state.phoneType = 0
  445. state.isTakePhotoModeShow = false
  446. var imageType = state.choiceIndex;
  447. console.log("图片地址val", val.tempImagePath)
  448. uploadFile(val.tempImagePath, imageType).then((data : any) => {
  449. console.log("身份证上传", data)
  450. if (state.choiceIndex == 1) {
  451. state.form.agentName = data.name;
  452. state.form.agentIdNum = data.idno;
  453. state.form.agentPosImgUrl = data.imageName;
  454. // state.form.agentPosImgUrlName = data.imageName;
  455. state.form.agentAddress = data.address;
  456. state.form.agentGender = data.gender;
  457. } else {
  458. state.form.agentIdVld = data.enddate;
  459. state.form.agentNegImgUrl = data.imageName;
  460. state.form.negImgUrl = data.imageUrl;
  461. // state.form.agentNegImgUrlName = data.imageName;
  462. compareDates(data.enddate)
  463. }
  464. state.isTakePhotoModeShow = false
  465. })
  466. }
  467. const cancle = () => {
  468. state.isTakePhotoModeShow = false
  469. }
  470. const downAuthD = () => {
  471. uni.downloadFile({
  472. url: "https://qtzl.etcjz.cn/default-bucket/20240311/单位委托书.docx",
  473. filePath: uni.env.USER_DATA_PATH + '/' + '单位委托书.docx',
  474. success(res) {
  475. const filePath = res.filePath
  476. uni.openDocument({
  477. filePath: filePath,
  478. fileType: 'docx',
  479. showMenu: true, //关键点
  480. success: function (res) {
  481. },
  482. fail: function (err) {
  483. msg("打开文档失败");
  484. }
  485. });
  486. },
  487. fail: function (err) {
  488. msg("下载文档失败");
  489. console.log("err", err)
  490. },
  491. complete(res) {
  492. }
  493. })
  494. }
  495. // 无感注册
  496. const registerRequest = () => {
  497. let data = {
  498. userType: "ENTERPRISE",
  499. idNum: state.form.userIdNum,
  500. idType: state.form.userIdType,
  501. mobile: state.form.agentTel,
  502. userName: state.form.userName,
  503. gender: 'UNKOWN',
  504. certifyChannel: "BAIDUOCR",
  505. address: state.form.userAddress,
  506. agentIdNum: state.form.agentIdNum,
  507. agentIdType: state.form.agentIdType,
  508. agentName: state.form.agentName,
  509. department: state.form.department,
  510. userIdImgUrl: state.form.posImgUrl,
  511. userIdImgBase64: "",
  512. jsCode: state.jsCode
  513. }
  514. const options = {
  515. type: 2,
  516. data: data,
  517. method: "POST",
  518. showLoading: true,
  519. };
  520. return new Promise(async (resolve, reject) => {
  521. const res = await requestNew(registerFull, options);
  522. const data = res;
  523. resolve(data);
  524. }).catch((error) => {
  525. reject(error);
  526. });
  527. }
  528. </script>
  529. <style lang="scss" scoped>
  530. .content-wrap {
  531. position: absolute;
  532. top: 370rpx;
  533. width: 100%;
  534. min-height: calc(100% - 370rpx);
  535. box-sizing: border-box;
  536. padding: 0 30rpx 210rpx;
  537. .t-card {
  538. width: 100%;
  539. background-color: #fff;
  540. border-radius: 12rpx;
  541. padding: 40rpx 30rpx 30rpx;
  542. box-sizing: border-box;
  543. }
  544. .action {
  545. position: absolute;
  546. bottom: 0rpx;
  547. left: 0;
  548. height: 188rpx;
  549. background-color: #fff;
  550. border-radius: 30rpx 30rpx 0 0;
  551. width: 100vw;
  552. display: flex;
  553. align-items: center;
  554. justify-content: center;
  555. flex-direction: column;
  556. .btn-tip {
  557. font-family: SourceHanSansSC, SourceHanSansSC;
  558. font-weight: 400;
  559. font-size: 24rpx;
  560. color: #CCB375;
  561. margin-bottom: 14rpx;
  562. }
  563. }
  564. .item-tips {
  565. .title {
  566. font-size: 30rpx;
  567. font-family: Microsoft YaHei;
  568. font-weight: 500;
  569. color: #01243A;
  570. line-height: 30rpx;
  571. }
  572. .tip {
  573. margin-top: 16rpx;
  574. font-size: 24rpx;
  575. font-family: Microsoft YaHei;
  576. font-weight: 400;
  577. color: #999999;
  578. line-height: 24rpx;
  579. }
  580. }
  581. .picture-wrapper {
  582. margin-top: 30rpx;
  583. .bg {
  584. background: #F5F9FB;
  585. border-radius: 10rpx;
  586. padding: 40rpx 30rpx;
  587. display: flex;
  588. // align-items: center;
  589. justify-content: space-between;
  590. .name {
  591. padding-top: 30rpx;
  592. font-size: 32rpx;
  593. font-family: SourceHanSansSC, SourceHanSansSC;
  594. font-weight: 500;
  595. color: #111;
  596. line-height: 34rpx;
  597. }
  598. .value {
  599. margin-top: 20rpx;
  600. font-size: 22rpx;
  601. font-family: SourceHanSansSC, SourceHanSansSC;
  602. font-weight: 400;
  603. color: #999999;
  604. line-height: 24rpx;
  605. }
  606. .tip {
  607. margin-top: 20rpx;
  608. text-align: center;
  609. width: 100rpx;
  610. height: 30rpx;
  611. // background: rgba(204, 179, 117);
  612. border-radius: 6rpx;
  613. border: 1rpx solid #CCB375;
  614. .tip-value {
  615. font-size: 20rpx;
  616. font-family: Microsoft YaHei;
  617. font-weight: 400;
  618. color: #CCB375;
  619. line-height: 30rpx;
  620. opacity: 1;
  621. }
  622. }
  623. }
  624. .icon {
  625. width: 304rpx;
  626. height: 190rpx;
  627. background-image: var(--bgimg);
  628. background-size: 100% 100%;
  629. background-repeat: no-repeat;
  630. }
  631. }
  632. .shibie-wrapper {
  633. margin-top: 30rpx;
  634. border-radius: 12rpx;
  635. background-color: #fff;
  636. width: 100%;
  637. padding: 30rpx 30rpx 0;
  638. box-sizing: border-box;
  639. .title {
  640. font-size: 30rpx;
  641. font-family: Microsoft YaHei;
  642. font-weight: 500;
  643. color: #01243A;
  644. line-height: 30rpx;
  645. }
  646. }
  647. }
  648. ::v-deep .u-input__input {
  649. background: transparent;
  650. }
  651. ::v-deep .u-form-item--left .u-form-item--left__content {
  652. padding-right: 0px;
  653. }
  654. .choice-takePhoto {
  655. position: absolute;
  656. bottom: 0;
  657. background-color: white;
  658. width: 100%;
  659. border-radius: 20rpx 20rpx 0 0;
  660. }
  661. .choice-takePhoto>view:first-child {
  662. text-align: center;
  663. height: 80rpx;
  664. line-height: 80rpx;
  665. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  666. background-color: white;
  667. }
  668. .choice-takePhoto>view:last-child {
  669. text-align: center;
  670. height: 80rpx;
  671. line-height: 80rpx;
  672. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  673. background-color: white;
  674. }
  675. .choice-takePhoto>view {
  676. text-align: center;
  677. height: 80rpx;
  678. line-height: 80rpx;
  679. background-color: white;
  680. }
  681. .choice-takePhoto-wrap {
  682. width: 100%;
  683. height: 100vh;
  684. background-color: rgba(127, 127, 127, 0.2);
  685. position: fixed;
  686. left: 0;
  687. top: 0;
  688. z-index: 11111;
  689. }
  690. .down {
  691. background: #CCB375;
  692. color: #fff;
  693. border-radius: 5rpx;
  694. font-size: 20rpx;
  695. margin-top: 10rpx;
  696. width: 100rpx;
  697. height: 30rpx;
  698. text-align: center;
  699. line-height: 30rpx;
  700. }
  701. </style>