Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

opening-account-people.vue 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. <template>
  2. <navBar title="ETC开户新办申请-个人" :scrollTop="scrollTop"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content-wrap">
  5. <view @click="tabChange(true)">
  6. <view :class="state.isMyPeopple ? 'big' : 'nomal'"> 本人车辆 </view>
  7. <view :class="state.isMyPeopple ? 'tip' : ''"> </view>
  8. </view>
  9. <view @click="tabChange(false)" style="margin-left: 60rpx" class="" v-if="state.isEnableOther">
  10. <view :class="state.isMyPeopple ? 'nomal' : 'big'"> 他人车辆 </view>
  11. <view :class="state.isMyPeopple ? '' : 'tip'"> </view>
  12. </view>
  13. </view>
  14. <view v-if="state.isMyPeopple" class="content">
  15. <view class="item-tips">
  16. <view class="title"> 上传后请核对识别信息 </view>
  17. <view class="tip"> 如有错误请及时手动修改 </view>
  18. </view>
  19. <view class="picture-wrapper" @click="cardImageOcr('1')">
  20. <view class="bg">
  21. <view class="">
  22. <view class="name"> 人像面 </view>
  23. <view class="value"> 上传身份证的人像面 </view>
  24. <view class="tip">
  25. <view class="tip-value"> 拍摄规范 </view>
  26. </view>
  27. </view>
  28. <image v-if="!state.form.userPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  29. </image>
  30. <image v-else class="icon" :src="strReplace(state.form.userPosImgUrl)"></image>
  31. </view>
  32. </view>
  33. <view class="picture-wrapper" @click="cardImageOcr('2')">
  34. <view class="bg">
  35. <view class="">
  36. <view class="name"> 国徽面 </view>
  37. <view class="value"> 上传身份证的国徽面 </view>
  38. <view class="tip">
  39. <view class="tip-value"> 拍摄规范 </view>
  40. </view>
  41. </view>
  42. <image v-if="!state.form.userNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  43. </image>
  44. <image v-else class="icon" :src="strReplace(state.form.userNegImgUrl)"></image>
  45. </view>
  46. </view>
  47. <view class="shibie-wrapper">
  48. <view class="title"> 识别内容如下 </view>
  49. <u-form label-width="200" :model="state.form" ref="uForm">
  50. <u-form-item label="姓名">
  51. <u-input v-model="state.form.userName" placeholder='请输入姓名' :disabled="state.isEnableOCRData"/>
  52. </u-form-item>
  53. <!-- <u-form-item label="性别">
  54. <u-input placeholder='请选择性别' v-model="state.form.gender" @click="userGenderAction()"
  55. type="select" />
  56. </u-form-item> -->
  57. <u-form-item label="身份证号">
  58. <u-input placeholder='请输入身份证' type="idcard" v-model="state.form.userIdNum" :disabled="state.isEnableOCRData"/>
  59. </u-form-item>
  60. <u-form-item label="地址">
  61. <u-input placeholder='请输入地址' height='38' type='textarea' :autoHeight='true'
  62. v-model="state.form.address" :disabled="state.isEnableOCRData"/>
  63. </u-form-item>
  64. <!-- <u-form-item label="证件有效期">
  65. <u-input v-model="state.form.begindate" type="select" />
  66. </u-form-item> -->
  67. <u-form-item label="联系方式">
  68. <u-input placeholder='请输入联系方式' type="number" v-model="state.form.tel" />
  69. </u-form-item>
  70. </u-form>
  71. </view>
  72. <view class="green-tip">
  73. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  74. </view>
  75. <view class="action">
  76. <button type="default" class="button" @click="savaHandle()">
  77. 下一步
  78. </button>
  79. </view>
  80. </view>
  81. <view v-else class="content">
  82. <view class="title"> 车主信息 </view>
  83. <view class="item-tips">
  84. <view class="title"> 上传后请核对识别信息 </view>
  85. <view class="tip"> 如有错误请及时手动修改 </view>
  86. </view>
  87. <view class="picture-wrapper" @click="cardImageOcr('1')">
  88. <view class="bg">
  89. <view class="">
  90. <view class="name"> 人像面 </view>
  91. <view class="value"> 上传身份证的人像面 </view>
  92. <view class="tip">
  93. <view class="tip-value"> 拍摄规范 </view>
  94. </view>
  95. </view>
  96. <image v-if="!state.form.userPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  97. </image>
  98. <image v-else class="icon" :src="state.form.userPosImgUrl"></image>
  99. </view>
  100. </view>
  101. <view class="picture-wrapper" @click="cardImageOcr('2')">
  102. <view class="bg">
  103. <view class="">
  104. <view class="name"> 国徽面 </view>
  105. <view class="value"> 上传身份证的国徽面 </view>
  106. <view class="tip">
  107. <view class="tip-value"> 拍摄规范 </view>
  108. </view>
  109. </view>
  110. <image v-if="!state.form.userNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  111. </image>
  112. <image v-else class="icon" :src="state.form.userNegImgUrl"></image>
  113. </view>
  114. </view>
  115. <view class="shibie-wrapper">
  116. <view class="title"> 识别内容如下 </view>
  117. <u-form label-width="200" :model="state.form" ref="uForm">
  118. <u-form-item label="姓名">
  119. <u-input inputAlign="right" placeholder='请输入姓名' v-model="state.form.userName" :disabled="state.isEnableOCRData"/>
  120. </u-form-item>
  121. <!-- <u-form-item label="性别">
  122. <u-input inputAlign="right" placeholder='请选择性别' v-model="state.form.gender" type="select" />
  123. </u-form-item> -->
  124. <u-form-item label="身份证号">
  125. <u-input inputAlign="right" placeholder='请输入身份证号' v-model="state.form.userIdNum" :disabled="state.isEnableOCRData"/>
  126. </u-form-item>
  127. <!-- <u-form-item label="">
  128. <u-input v-model="state.form.userIdNum" />
  129. </u-form-item> -->
  130. <!-- <u-form-item label="证件有效期">
  131. <u-input v-model="state.form.begindate" type="select" />
  132. </u-form-item> -->
  133. <u-form-item label="联系方式">
  134. <u-input inputAlign="right" placeholder='请输入联系方式' v-model="state.form.tel" />
  135. </u-form-item>
  136. </u-form>
  137. </view>
  138. <view style="margin-top: 30rpx" class="title"> 代办人信息 </view>
  139. <view class="item-tips">
  140. <view class="title"> 上传后请核对识别信息 </view>
  141. <view class="tip"> 如有错误请及时手动修改 </view>
  142. </view>
  143. <view class="picture-wrapper" @click="cardDbImageOcr('1')">
  144. <view class="bg">
  145. <view class="">
  146. <view class="name"> 人像面 </view>
  147. <view class="value"> 上传身份证的人像面 </view>
  148. <view class="tip">
  149. <view class="tip-value"> 拍摄规范 </view>
  150. </view>
  151. </view>
  152. <image v-if="!state.form.agentPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  153. </image>
  154. <image v-else class="icon" :src="state.form.agentPosImgUrl"></image>
  155. </view>
  156. </view>
  157. <view class="picture-wrapper" @click="cardDbImageOcr('2')">
  158. <view class="bg">
  159. <view class="">
  160. <view class="name"> 国徽面 </view>
  161. <view class="value"> 上传身份证的国徽面 </view>
  162. <view class="tip">
  163. <view class="tip-value"> 拍摄规范 </view>
  164. </view>
  165. </view>
  166. <image v-if="!state.form.agentNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  167. </image>
  168. <image v-else class="icon" :src="state.form.agentNegImgUrl"></image>
  169. </view>
  170. </view>
  171. <view class="picture-wrapper" @click="cardFileImageUpdate()" v-if='state.isEnableBook'>
  172. <view class="bg">
  173. <view class="">
  174. <view class="name"> 委托书 </view>
  175. <view class="value"> 上传文字清晰的委托书 </view>
  176. <view class="tip">
  177. <view class="tip-value"> 拍摄规范 </view>
  178. </view>
  179. </view>
  180. <image v-if="!state.form.proxyUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  181. </image>
  182. <image v-else class="icon" :src="state.form.proxyUrl"></image>
  183. </view>
  184. </view>
  185. <view class="shibie-wrapper">
  186. <view class="title"> 识别内容如下 </view>
  187. <u-form label-width="200" :model="state.form" ref="uForm">
  188. <u-form-item label="经办人姓名">
  189. <u-input inputAlign="right" placeholder='请输入经办人姓名' v-model="state.form.agentName" :disabled="state.isEnableOCRData"/>
  190. </u-form-item>
  191. <!-- <u-form-item label="性别">
  192. <u-input v-model="state.form.agentGender" type="select" />
  193. </u-form-item> -->
  194. <u-form-item label="身份证号">
  195. <u-input inputAlign="right" placeholder='请输入身份证号' v-model="state.form.agentIdNum" :disabled="state.isEnableOCRData"/>
  196. </u-form-item>
  197. <!-- <u-form-item label="证件有效期">
  198. <u-input v-model="state.form.begindate" type="select" />
  199. </u-form-item> -->
  200. <u-form-item label="联系方式">
  201. <u-input inputAlign="right" placeholder='请输入联系方式' v-model="state.form.agentTel" />
  202. </u-form-item>
  203. </u-form>
  204. </view>
  205. <view class="green-tip">
  206. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  207. </view>
  208. <view class="action">
  209. <button type="default" class="button" @click="savaHandle()">
  210. 下一步
  211. </button>
  212. </view>
  213. </view>
  214. <u-select mode="single-column" :list="state.genderList" v-model="state.genderShow" @confirm="genderSelectConfirm">
  215. </u-select>
  216. </template>
  217. <script setup lang="ts">
  218. import navBgCar from "./components/nav-bg-car3";
  219. import {
  220. pathToBase64
  221. } from "@/utils/image-tools/index.js";
  222. import {
  223. reactive,
  224. ref,
  225. } from "vue";
  226. import {
  227. msg,
  228. checkStr
  229. } from "@/utils/utils";
  230. import {
  231. onLoad,
  232. onPageScroll,
  233. } from "@dcloudio/uni-app";
  234. import {
  235. etcOcrCard,
  236. etcUserCardInfoSubmit,
  237. fileUpload,
  238. register,
  239. envs,
  240. } from "@/utils/network/api.js";
  241. import {
  242. request
  243. } from "@/utils/network/request.js";
  244. import {
  245. stringToJson
  246. } from "@/utils/network/encryption";
  247. import {
  248. setItem,
  249. getItem,
  250. } from "@/utils/storage";
  251. import {
  252. getCodeName
  253. } from "@/datas/queryKey.js";
  254. import navBar from "@/components/nav-bar/nav-bar2.vue";
  255. const scrollTop = ref(0)
  256. const state = reactive({
  257. genderList: [{
  258. value: '男',
  259. label: '男'
  260. },
  261. {
  262. value: '女',
  263. label: '女'
  264. }
  265. ],
  266. form: {
  267. orderId: "", //订单ID
  268. userName: "", //开户人姓名
  269. userIdType: "101", //用户证件类型 101//身份证
  270. userIdNum: "", //用户证件号码
  271. userPosImgUrl: "", //身份证正面
  272. userNegImgUrl: "", //身份证反面
  273. tel: "", //开户人手机号
  274. address: "", //开户人地址
  275. sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  276. channelId: "", //渠道id
  277. gender: "",
  278. customerIdVld: "",
  279. agentName: "",
  280. agentGender: "",
  281. agentTel: '',
  282. agentPhone: "",
  283. agentIdType: "101",
  284. agentIdNum: "",
  285. agentPosImgUrl: "",
  286. agentNegImgUrl: "",
  287. proxyUrl: "",
  288. agentAddress: "",
  289. agentIdVld: '',
  290. opId: '',
  291. orderSource: 'WECHAT',
  292. },
  293. genderShow: false,
  294. orderId: "",
  295. vehiclePlateColor: undefined,
  296. isMyPeopple: true,
  297. isSign:'',
  298. isEnableOther:true, //小程序是否支持他人办理
  299. isEnableBook:true, //他人办理时是否上传委托书
  300. isEnableInfo:true, //小程序信息带出
  301. isEnableOCRData:true, //允许修改OCR识别出来的数据
  302. });
  303. const userGenderAction = () => {
  304. state.genderShow = true;
  305. };
  306. const genderSelectConfirm = (e) => {
  307. state.form.gender = ''
  308. e.map((val, index) => {
  309. state.form.gender = val.label;
  310. })
  311. };
  312. const savaHandle = () => {
  313. if (!checkStr(state.form.userIdNum, 'card')) {
  314. msg('请输入正确身份证');
  315. return;
  316. }
  317. if (!checkStr(state.form.tel, 'mobile')) {
  318. msg('请输入正确手机号');
  319. return;
  320. }
  321. //如果未登录||新用户
  322. // if (!getItem('openId')) {
  323. let data = {
  324. userType: "PERSONAL",
  325. idNum: state.form.userIdNum,
  326. idType: state.form.userIdType,
  327. mobile: state.form.tel,
  328. name: state.form.userName,
  329. gender: state.form.gender == '男' ? 'MALE' : 'FEMALE',
  330. certifyChannel: "BAIDUOCR",
  331. address: state.form.address,
  332. agentIdNum: state.form.agentIdNum,
  333. agentIdType: state.form.agentIdType,
  334. agentName: state.form.agentName,
  335. department: "",
  336. userIdImgUrl: state.form.userPosImgUrl,
  337. userIdImgBase64: "",
  338. }
  339. const options = {
  340. type: 2,
  341. data: data,
  342. method: "POST",
  343. showLoading: true,
  344. };
  345. request(register, options).then((res) => {
  346. let result = stringToJson(res.bizContent);
  347. if (result.accessToken && result.openId) {
  348. setItem('token', result.accessToken)
  349. setItem('openId', result.openId)
  350. state.form.opId = result.openId;
  351. let data = state.form;
  352. const options = {
  353. type: 2,
  354. data: data,
  355. method: "POST",
  356. showLoading: true,
  357. };
  358. request(etcUserCardInfoSubmit, options).then((res) => {
  359. // let result = stringToJson(res.bizContent);
  360. console.log(res);
  361. uni.redirectTo({
  362. url: `/subpackage/applyCard/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=1&isSign=${state.isSign}`,
  363. });
  364. });
  365. }
  366. })
  367. // } else {
  368. //已经登录
  369. // let data = state.form;
  370. // const options = {
  371. // type: 2,
  372. // data: data,
  373. // method: "POST",
  374. // showLoading: true,
  375. // };
  376. // request(etcUserCardInfoSubmit, options).then((res) => {
  377. // // let result = stringToJson(res.bizContent);
  378. // console.log(res);
  379. // uni.redirectTo({
  380. // url: `/subpackage/applyCard/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`,
  381. // });
  382. // });
  383. // }
  384. };
  385. const cardFileImageUpdate = () => {
  386. uni.chooseImage({
  387. count: 1, //只能选取一张照片
  388. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  389. sourceType: ["camera", "album"], //从相册选择
  390. success: function (res) {
  391. pathToBase64(res.tempFilePaths[0])
  392. .then((path) => {
  393. var data = {
  394. fileBase64: path,
  395. };
  396. const options = {
  397. type: 2,
  398. data: data,
  399. method: "POST",
  400. showLoading: true,
  401. };
  402. request(fileUpload, options).then((res) => {
  403. const data = stringToJson(res.bizContent);
  404. console.log(data);
  405. state.form.proxyUrl = data.data.url;
  406. });
  407. })
  408. .catch((error) => { });
  409. },
  410. });
  411. };
  412. //tab切换
  413. const tabChange = (val : any) => {
  414. if (val) {
  415. state.isMyPeopple = true;
  416. } else {
  417. state.isMyPeopple = false;
  418. }
  419. state.form = {
  420. orderId: state.orderId, //订单ID
  421. userName: "", //开户人姓名
  422. userIdType: "101", //用户证件类型 101//身份证
  423. userIdNum: "", //用户证件号码
  424. userPosImgUrl: "", //身份证正面
  425. userNegImgUrl: "", //身份证反面
  426. tel: "", //开户人手机号
  427. address: "", //开户人地址
  428. sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  429. channelId: "", //渠道id
  430. gender: "",
  431. customerIdVld: "",
  432. agentName: "",
  433. agentGender: "",
  434. agentTel: '',
  435. agentPhone: "",
  436. agentIdType: "101",
  437. agentIdNum: "",
  438. agentPosImgUrl: "",
  439. agentNegImgUrl: "",
  440. proxyUrl: "",
  441. agentAddress: "",
  442. agentIdVld: '',
  443. };
  444. };
  445. onLoad((option : any) => {
  446. state.form.orderId = option.orderId;
  447. state.orderId = option.orderId;
  448. state.vehiclePlateColor = option.vehiclePlateColor;
  449. state.form.opId = getItem('openId')??'';
  450. state.isSign=option.isSign;
  451. //state.fromOrder = option.fromOrder //是否来自订单-修改资料
  452. getGlobalParam(); //全局配置数据
  453. });
  454. //监听页面滚动
  455. onPageScroll((e) => {
  456. scrollTop.value = e.scrollTop;
  457. });
  458. const cardDbImageOcr = (val : any) => {
  459. var imageType = val;
  460. uni.chooseImage({
  461. count: 1, //只能选取一张照片
  462. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  463. sourceType: ["camera", "album"], //从相册选择
  464. success: function (res) {
  465. pathToBase64(res.tempFilePaths[0])
  466. .then((path) => {
  467. var data = {
  468. source: "1",
  469. agencyId: "52010106004",
  470. imageType: imageType,
  471. fileName: res.tempFilePaths[0],
  472. imageBase64: path,
  473. };
  474. const options = {
  475. type: 2,
  476. data: data,
  477. method: "POST",
  478. showLoading: true,
  479. };
  480. request(etcOcrCard, options).then((res) => {
  481. const data = stringToJson(res.bizContent);
  482. if (val === "1") {
  483. state.form.agentName = data.name;
  484. state.form.agentGender = data.gender;
  485. state.form.agentIdNum = data.idno;
  486. state.form.agentPosImgUrl = data.imageUrl;
  487. state.form.agentAddress = data.address;
  488. } else {
  489. state.form.agentIdVld = data.enddate;
  490. state.form.agentNegImgUrl = data.imageUrl;
  491. }
  492. });
  493. })
  494. .catch((error) => { });
  495. },
  496. });
  497. };
  498. //orc接口调用
  499. const cardImageOcr = (val : any) => {
  500. console.log("点击了");
  501. var imageType = val;
  502. uni.chooseImage({
  503. count: 1, //只能选取一张照片
  504. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  505. sourceType: ["camera", "album"], //从相册选择
  506. success: function (res) {
  507. pathToBase64(res.tempFilePaths[0])
  508. .then((path) => {
  509. var data = {
  510. source: "1",
  511. agencyId: "52010106004",
  512. imageType: imageType,
  513. fileName: res.tempFilePaths[0],
  514. imageBase64: path,
  515. };
  516. const options = {
  517. type: 2,
  518. data: data,
  519. method: "POST",
  520. showLoading: true,
  521. };
  522. request(etcOcrCard, options).then((res) => {
  523. const data = stringToJson(res.bizContent);
  524. if (val === "1") {
  525. state.form.userName = data.name;
  526. state.form.gender = data.gender;
  527. state.form.userIdNum = data.idno;
  528. state.form.userPosImgUrl = data.imageUrl;
  529. state.form.address = data.address;
  530. } else {
  531. state.form.customerIdVld = data.enddate;
  532. state.form.userNegImgUrl = data.imageUrl;
  533. }
  534. });
  535. })
  536. .catch((error) => { });
  537. },
  538. });
  539. };
  540. //替换图片地址
  541. const strReplace = (str : string) => {
  542. return str.replace('192.168.101.145:9000', envs[process.env.NODE_ENV].baseUrl)
  543. }
  544. const getGlobalParam=()=>{
  545. const data=getItem('globalParam')
  546. console.log("全局配置数据",getCodeName('IS_ENABLE',data.miniSupportOther),getCodeName('IS_ENABLE',data.otherUploadProxy),getCodeName('IS_ENABLE',data.miniInfoShow),getCodeName('IS_ENABLE',data.changeOCRData))
  547. // 小程序是否支持他人办理
  548. if(getCodeName('IS_ENABLE',data.miniSupportOther)=='启用'){
  549. state.isEnableOther=true;
  550. }else{
  551. state.isEnableOther=false;
  552. }
  553. // 他人办理时是否上传委托书
  554. if(getCodeName('IS_ENABLE',data.otherUploadProxy)=='启用'){
  555. state.isEnableBook=true;
  556. }else{
  557. state.isEnableBook=false;
  558. }
  559. // 小程序信息带出
  560. if(getCodeName('IS_ENABLE',data.miniInfoShow)=='启用'){
  561. state.isEnableInfo=true;
  562. }else{
  563. state.isEnableInfo=false;
  564. }
  565. // 允许修改OCR识别出来的数据
  566. if(getCodeName('IS_ENABLE',data.changeOCRData)=='启用'){
  567. state.isEnableOCRData=false;
  568. }else{
  569. state.isEnableOCRData=true;
  570. }
  571. }
  572. </script>
  573. <style lang="scss" scoped>
  574. .title {
  575. font-size: 35rpx;
  576. font-family: Microsoft YaHei;
  577. font-weight: 400;
  578. color: #000000;
  579. line-height: 80rpx;
  580. margin-bottom: 10rpx;
  581. }
  582. .content-wrap {
  583. position: relative;
  584. margin-top: -50rpx;
  585. padding: 0rpx 30rpx;
  586. display: flex;
  587. .big {
  588. font-size: 30rpx;
  589. font-family: Microsoft YaHei;
  590. font-weight: 400;
  591. color: #333333;
  592. line-height: 24rpx;
  593. }
  594. .nomal {
  595. font-size: 26rpx;
  596. font-family: Microsoft YaHei;
  597. font-weight: 400;
  598. color: #666666;
  599. line-height: 24rpx;
  600. }
  601. .tip {
  602. margin-top: -5px;
  603. width: 117rpx;
  604. height: 16rpx;
  605. background: #00b38b;
  606. opacity: 0.3;
  607. }
  608. }
  609. .content {
  610. padding: 50rpx 30rpx 50rpx 30rpx;
  611. .action {
  612. padding-left: 20rpx;
  613. padding-right: 20rpx;
  614. padding-bottom: 30rpx;
  615. .button {
  616. height: 80rpx;
  617. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  618. border-radius: 40rpx;
  619. font-size: 32rpx;
  620. font-weight: 400;
  621. color: #ffffff;
  622. line-height: 80rpx;
  623. }
  624. }
  625. .item-tips {
  626. .title {
  627. font-size: 30rpx;
  628. font-family: Microsoft YaHei;
  629. font-weight: 400;
  630. color: #000000;
  631. line-height: 24rpx;
  632. }
  633. .tip {
  634. margin-top: 16rpx;
  635. font-size: 24rpx;
  636. font-family: Microsoft YaHei;
  637. font-weight: 400;
  638. color: #999999;
  639. line-height: 24rpx;
  640. }
  641. }
  642. .picture-wrapper {
  643. margin-top: 40rpx;
  644. .bg {
  645. background: #ffffff;
  646. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  647. border-radius: 20rpx;
  648. padding: 40rpx;
  649. display: flex;
  650. // align-items: center;
  651. justify-content: space-between;
  652. .name {
  653. font-size: 34rpx;
  654. font-family: Microsoft YaHei;
  655. font-weight: 400;
  656. color: #000000;
  657. line-height: 34rpx;
  658. }
  659. .value {
  660. margin-top: 20rpx;
  661. font-size: 24rpx;
  662. font-family: Microsoft YaHei;
  663. font-weight: 400;
  664. color: #999999;
  665. line-height: 24rpx;
  666. }
  667. .tip {
  668. margin-top: 20rpx;
  669. text-align: center;
  670. width: 110rpx;
  671. height: 40rpx;
  672. background: rgba(33, 190, 177, 0.2);
  673. border-radius: 6rpx;
  674. .tip-value {
  675. font-size: 20rpx;
  676. font-family: Microsoft YaHei;
  677. font-weight: 400;
  678. color: #0a8f8a;
  679. line-height: 40rpx;
  680. opacity: 1;
  681. }
  682. }
  683. }
  684. .icon {
  685. width: 294rpx;
  686. height: 188rpx;
  687. }
  688. }
  689. .shibie-wrapper {
  690. margin-top: 60rpx;
  691. .title {
  692. font-size: 30rpx;
  693. font-family: Microsoft YaHei;
  694. font-weight: 400;
  695. color: #000000;
  696. line-height: 30rpx;
  697. }
  698. }
  699. .buchong-wrapper {
  700. margin-top: 60rpx;
  701. .title {
  702. font-size: 30rpx;
  703. font-family: Microsoft YaHei;
  704. font-weight: 400;
  705. color: #000000;
  706. line-height: 30rpx;
  707. }
  708. }
  709. .green-tip {
  710. margin-top: 50rpx;
  711. font-size: 24rpx;
  712. font-family: Microsoft YaHei;
  713. font-weight: 400;
  714. color: #00b38b;
  715. line-height: 24rpx;
  716. margin-bottom: 60rpx;
  717. }
  718. }
  719. </style>