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.

rescind-carId-select.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  1. <template>
  2. <!-- <view class="content-wrap">
  3. <view @click="tabChange(true)">
  4. <view :class="state.isMyPeopple ? 'big' : 'nomal'"> 本人车辆 </view>
  5. <view :class="state.isMyPeopple ? 'tip' : ''"> </view>
  6. </view>
  7. <view @click="tabChange(false)" style="margin-left: 60rpx" class="">
  8. <view :class="state.isMyPeopple ? 'nomal' : 'big'"> 他人车辆 </view>
  9. <view :class="state.isMyPeopple ? '' : 'tip'"> </view>
  10. </view>
  11. </view> -->
  12. <!-- <view v-if="state.isMyPeopple" class="content">
  13. <view class="item" v-for="(item, i) in list" :key="i">
  14. <view class="iten-left">
  15. <image :src="`${$imgUrl}che.png`" mode=""></image>
  16. <text>{{ item.name }}</text>
  17. </view>
  18. <view class="choose-item" @click="choose(i, item)">
  19. <view class="active" v-if="flag == i"> </view>
  20. </view>
  21. </view>
  22. </view> -->
  23. <view class="content">
  24. <view class="title"> 车主信息 </view>
  25. <view class="item-tips">
  26. <view class="title"> 上传后请核对识别信息 </view>
  27. <view class="tip"> 如有错误请及时手动修改 </view>
  28. </view>
  29. <view class="picture-wrapper" @click="takePhotoMode('1')">
  30. <view class="bg">
  31. <view class="">
  32. <view class="name"> 人像面 </view>
  33. <view class="value"> 上传身份证的人像面 </view>
  34. <view class="tip">
  35. <view class="tip-value"> 拍摄规范 </view>
  36. </view>
  37. </view>
  38. <image v-if="!state.form.userPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`">
  39. </image>
  40. <image v-else class="icon" :src="strReplace(state.form.userPosImgUrl)"></image>
  41. </view>
  42. </view>
  43. <view class="picture-wrapper" @click="takePhotoMode('2')">
  44. <view class="bg">
  45. <view class="">
  46. <view class="name"> 国徽面 </view>
  47. <view class="value"> 上传身份证的国徽面 </view>
  48. <view class="tip">
  49. <view class="tip-value"> 拍摄规范 </view>
  50. </view>
  51. </view>
  52. <image v-if="!state.form.userNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`">
  53. </image>
  54. <image v-else class="icon" :src="strReplace(state.form.userNegImgUrl)"></image>
  55. </view>
  56. </view>
  57. <view class="shibie-wrapper">
  58. <!-- <view class="title"> 识别内容如下 </view>
  59. <u-form label-width="200" :model="state.form" ref="uForm">
  60. <u-form-item label="姓名">
  61. <u-input v-model="state.form.userName" />
  62. </u-form-item>
  63. <u-form-item label="性别">
  64. <u-input v-model="state.form.gender" type="select" />
  65. </u-form-item>
  66. <u-form-item label="身份证号">
  67. <u-input v-model="state.form.userIdNum" />
  68. </u-form-item>
  69. <u-form-item label="证件有效期">
  70. <u-input v-model="state.form.tmerValidity" type="select" />
  71. </u-form-item>
  72. <u-form-item label="地址">
  73. <u-input v-model="state.form.address" />
  74. </u-form-item>
  75. </u-form> -->
  76. </view>
  77. <view style="margin-top: 30rpx" class="title"> 行驶证信息 </view>
  78. <view class="item-tips">
  79. <view class="title"> 上传后请核对识别信息 </view>
  80. <view class="tip"> 如有错误请及时手动修改 </view>
  81. </view>
  82. <view class="picture-wrapper" @click="takePhotoMode('3')">
  83. <view class="bg">
  84. <view class="">
  85. <view class="name"> 行驶证正页 </view>
  86. <view class="value"> 上传 行驶证正页 </view>
  87. <view class="tip">
  88. <view class="tip-value"> 拍摄规范 </view>
  89. </view>
  90. </view>
  91. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  92. </image>
  93. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  94. </view>
  95. </view>
  96. <view class="picture-wrapper" @click="takePhotoMode('4')">
  97. <view class="bg">
  98. <view class="">
  99. <view class="name"> 行驶证副页 </view>
  100. <view class="value"> 上传行驶证副页 </view>
  101. <view class="tip">
  102. <view class="tip-value"> 拍摄规范 </view>
  103. </view>
  104. </view>
  105. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  106. </image>
  107. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  108. </view>
  109. </view>
  110. <view class="picture-wrapper" @click="cardFileImageUpdate(1)">
  111. <view class="bg">
  112. <view class="">
  113. <view class="name"> 人车合影 </view>
  114. <view class="value"> 上传人车合影照片 </view>
  115. <view class="tip">
  116. <view class="tip-value"> 拍摄规范 </view>
  117. </view>
  118. </view>
  119. <image v-if="!state.FormData.peopleVehicleImgUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  120. </image>
  121. <image v-else class="icon" :src="strReplace(state.FormData.peopleVehicleImgUrl)"></image>
  122. </view>
  123. </view>
  124. <view class="picture-wrapper" @click="cardFileImageUpdate(2)">
  125. <view class="bg">
  126. <view class="">
  127. <view class="name"> 承诺书 </view>
  128. <view class="value"> 上传承诺书照片 </view>
  129. <view class="tip">
  130. <view class="tip-value"> 拍摄规范 </view>
  131. </view>
  132. </view>
  133. <image v-if="!state.FormData.commitmentUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  134. </image>
  135. <image v-else class="icon" :src="strReplace(state.FormData.commitmentUrl)"></image>
  136. </view>
  137. </view>
  138. <view class="picture-wrapper" @click="cardFileImageUpdate(3)">
  139. <view class="bg">
  140. <view class="">
  141. <view class="name"> 委托书 </view>
  142. <view class="value"> 上传文字清晰的委托书 </view>
  143. <view class="tip">
  144. <view class="tip-value"> 拍摄规范 </view>
  145. </view>
  146. </view>
  147. <image v-if="!state.FormData.proxyUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`">
  148. </image>
  149. <image v-else class="icon" :src="strReplace(state.FormData.proxyUrl)"></image>
  150. </view>
  151. </view>
  152. <view class="shibie-wrapper">
  153. <view class="title"> 识别内容如下 </view>
  154. <u-form label-width="200" :model="state.form" ref="uForm">
  155. <u-form-item label="车牌号">
  156. <u-input v-model="state.form.vehicleId" @input="getVehiclePlate" />
  157. </u-form-item>
  158. <u-form-item label="车牌颜色">
  159. <u-input v-model="state.form.caridCorlor" type="select" @click="show1 = true" />
  160. </u-form-item>
  161. <!-- <u-form-item label="所有人">
  162. <u-input v-model="state.form.man" />
  163. </u-form-item>
  164. <u-form-item label="车辆类型">
  165. <u-input v-model="state.form.vehicleType" />
  166. </u-form-item>
  167. <u-form-item label="使用性质">
  168. <u-input v-model="state.form.character" />
  169. </u-form-item>
  170. <u-form-item label="车辆识别代码">
  171. <u-input v-model="state.form.vin" />
  172. </u-form-item>
  173. <u-form-item label="发动机号码">
  174. <u-input v-model="state.form.engineNum" />
  175. </u-form-item>
  176. <u-form-item label="注册日期">
  177. <u-input v-model="state.form.register" />
  178. </u-form-item>
  179. <u-form-item label="发证日期">
  180. <u-input v-model="state.form.issueDate" />
  181. </u-form-item>
  182. <u-form-item label="核定载人数">
  183. <u-input v-model="state.form.approvedCount" />
  184. </u-form-item>
  185. <u-form-item label="整备质量">
  186. <u-input v-model="state.form.maintenaceMass" />
  187. </u-form-item>
  188. <u-form-item label="外廓尺寸">
  189. <u-input v-model="state.form.vehicleDimensions" />
  190. </u-form-item>
  191. <u-form-item label="总质量">
  192. <u-input v-model="state.form.totalMass" />
  193. </u-form-item> -->
  194. </u-form>
  195. </view>
  196. <view class="green-tip">
  197. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  198. </view>
  199. <view class="action">
  200. <button type="default" class="button" @click="savaHandle()">
  201. 下一步
  202. </button>
  203. </view>
  204. <!-- 选择车牌颜色 -->
  205. <u-select v-model="show1" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
  206. </view>
  207. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  208. <view class="choice-takePhoto">
  209. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  210. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  211. <view @click.stop="cancle">取消</view>
  212. </view>
  213. </view>
  214. <viewfinder v-if="state.phoneType" :phoneType="state.phoneType" :images="state.images"
  215. :showStartPhoto="state.showImg" @confirmReturn="confirmReturn" @camera="camera"></viewfinder>
  216. </template>
  217. <script setup lang="ts">
  218. import selectCar from "./select-car.vue";
  219. import {
  220. reactive,
  221. ref
  222. } from "vue";
  223. import {
  224. onLoad,
  225. onShow
  226. } from "@dcloudio/uni-app";
  227. import {
  228. etcOcrCard,
  229. etcUserCardInfoSubmit,
  230. fileUpload,
  231. etcCarOcrCard,
  232. envs,
  233. } from "@/utils/network/api.js";
  234. import {
  235. request
  236. } from "@/utils/network/request.js";
  237. import {
  238. getItem
  239. } from "@/utils/storage.ts"
  240. import {
  241. stringToJson
  242. } from "@/utils/network/encryption";
  243. import navBar from "@/components/nav-bar/nav-bar2.vue";
  244. import viewfinder from "@/components/viewfinder.vue"
  245. import {
  246. navTo, strReplace, uploadFile
  247. } from "@/utils/utils";
  248. // ########
  249. const show1 = ref(false)
  250. const state = reactive({
  251. showImg: true,
  252. isMy: "",//自己办理 他人办理
  253. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  254. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  255. isTakePhotoModeShow: false, //选择拍照方式是否出来
  256. images: '',
  257. ocrData: {
  258. name: "",
  259. gender: "",
  260. idno: "",
  261. address: "",
  262. begindate: "",
  263. enddate: "",
  264. tel: "",
  265. tmerValidity: "",
  266. },
  267. form: {
  268. caridCorlor: "", //车牌颜色
  269. userName: "", //开户人姓名
  270. userIdNum: "", //用户证件号码
  271. userPosImgUrl: "", //身份证正面
  272. userNegImgUrl: "", //身份证反面
  273. address: "", //开户人地址
  274. gender: "",
  275. tmerValidity: "",
  276. man: "", //所有人
  277. character: "", //使用性质
  278. register: "", //注册日期
  279. vehBodyUrl: '', //人车合照
  280. customerId: "", //用户编号
  281. vehicleId: "", //车牌编号
  282. issueDate: "", //发证日期
  283. vehPosImgUrl: "", //行驶证正面
  284. vehNegImgUrl: "", //行驶证证反面
  285. type: "0", //0,客车 1.货车
  286. useUserType: 0, //车辆用户类型
  287. useUserTypeName: "普通车",
  288. vehicleSign: 2, //前/后装标识
  289. vin: "", //车辆识别代号
  290. engineNum: "", //发动机号码
  291. vehicleType: "", //车辆类型
  292. vehicleModel: "", //行驶证品牌型号
  293. approvedCount: undefined, //核定人数
  294. totalMass: undefined, //总质量
  295. maintenaceMass: undefined, //整备质量
  296. permittedWeight: "", //核定载质量
  297. vehicleDimensions: "", //车辆尺寸
  298. permittedTowWeight: "", //准牵引总质量
  299. axleCount: "", //车轴数
  300. ownerName: "", //车主姓名
  301. ownerIdType: "", //车主证件类型
  302. ownerIdNum: "", //车主证件号码
  303. ownPosImgUrl: "", //车主证件正面图片
  304. ownNegImgUrl: "", //车主证件反面图片
  305. agreementId: "", //签约编号
  306. channelId: "5201018892300000001",
  307. proxyUrl: "", //委托书
  308. },
  309. orderId: "",
  310. isMyPeopple: true,
  311. actionSheetList: [{
  312. label: "蓝色",
  313. value: '0',
  314. }, {
  315. label: "黄色",
  316. value: 1,
  317. },
  318. {
  319. label: "黑色",
  320. value: 2,
  321. },
  322. {
  323. label: "白色",
  324. value: 3,
  325. },
  326. {
  327. label: "渐变绿色",
  328. value: 4,
  329. },
  330. {
  331. label: "黄绿双拼色",
  332. value: 5,
  333. },
  334. {
  335. label: "蓝白渐变色",
  336. value: 6,
  337. },
  338. {
  339. label: "未确定",
  340. value: 9,
  341. },
  342. {
  343. label: "绿色",
  344. value: 11,
  345. },
  346. {
  347. label: "红色",
  348. value: 12,
  349. },
  350. ],
  351. FormData: {
  352. vehiclePlate: '',
  353. vehiclePlatecolor: '',
  354. openid: getItem('openId'),
  355. idcardFrontImgUrl: '',
  356. idcardBacktImgUrl: '',
  357. vehPosImgUrl: '',
  358. vehNegImgUrl: '',
  359. peopleVehicleImgUrl: '',
  360. commitmentUrl: '',
  361. mobile: '',
  362. code: '',
  363. proxyUrl: "", //委托书
  364. }
  365. });
  366. const getVehiclePlate = (e) => {
  367. console.log("车牌号", e)
  368. state.FormData.vehiclePlate = e
  369. };
  370. const savaHandle = () => {
  371. if (state.FormData.idcardFrontImgUrl && state.FormData.idcardBacktImgUrl) {
  372. if (state.FormData.vehPosImgUrl && state.FormData.vehNegImgUrl) {
  373. if (state.FormData.peopleVehicleImgUrl) {
  374. if (state.FormData.vehiclePlate && state.FormData.vehiclePlatecolor.toString()) {
  375. state.FormData.vehiclePlatecolor = Number(state.FormData.vehiclePlatecolor)
  376. let data = JSON.stringify(state.FormData)
  377. navTo(`/subpackage/after-sale/rescind-carId/verification?fromData=${data}`);
  378. } else {
  379. uni.showToast({
  380. title: "请填写车牌号和车牌颜色",
  381. icon: "none"
  382. })
  383. }
  384. } else {
  385. uni.showToast({
  386. title: "请上传人车合影",
  387. icon: "none"
  388. })
  389. }
  390. } else {
  391. uni.showToast({
  392. title: "请上传行驶证正反图片",
  393. icon: "none"
  394. })
  395. }
  396. } else {
  397. uni.showToast({
  398. title: "请上传身份证正反图片",
  399. icon: "none"
  400. })
  401. }
  402. console.log(JSON.stringify(state.FormData));
  403. };
  404. const selectConfirm = (item : any) => {
  405. console.log(item);
  406. state.FormData.vehiclePlatecolor = item[0].value
  407. state.form.caridCorlor = item[0].label
  408. };
  409. const cardFileImageUpdate = (val) => {
  410. uni.chooseImage({
  411. count: 1, //只能选取一张照片
  412. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  413. sourceType: ["camera", "album"], //从相册选择
  414. success: function (res) {
  415. uploadFile(res.tempFilePaths[0], "", "").then((data) => {
  416. if (val == 1) {
  417. state.FormData.peopleVehicleImgUrl = data;
  418. } else if (val == 2) {
  419. state.FormData.commitmentUrl = data;
  420. } else if (val == 3) {
  421. state.FormData.proxyUrl = data;
  422. }
  423. })
  424. },
  425. });
  426. };
  427. // //tab切换
  428. // const tabChange = (val: any) => {
  429. // if (val) {
  430. // state.isMyPeopple = true;
  431. // } else {
  432. // state.isMyPeopple = false;
  433. // }
  434. // state.form = {
  435. // orderId: state.orderId, //订单ID
  436. // userName: "", //开户人姓名
  437. // userIdType: "101", //用户证件类型 101//身份证
  438. // userIdNum: "", //用户证件号码
  439. // userPosImgUrl: "", //身份证正面
  440. // userNegImgUrl: "", //身份证反面
  441. // tel: "", //开户人手机号
  442. // address: "", //开户人地址
  443. // sceneType: "", //用户协议支撑服务场景(发行服务机构和用户签订的协议)
  444. // channelId: "", //渠道id
  445. // gender: "",
  446. // customerIdVld: "",
  447. // agentName: "",
  448. // agentgender: "",
  449. // agentIdType: "101",
  450. // agentIdNum: "",
  451. // agentPosImgUrl: "",
  452. // agentNegImgUrl: "",
  453. // proxyUrl: "",
  454. // agentAddress: "",
  455. // tmerValidity: "",
  456. // };
  457. // };
  458. onLoad((option : any) => {
  459. state.form.orderId = option.orderId;
  460. state.orderId = option.orderId;
  461. });
  462. const xiangce = (val) => {
  463. console.log("val", val)
  464. var imageType = val;
  465. uni.chooseImage({
  466. count: 1, //只能选取一张照片
  467. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  468. sourceType: ["album"], //从相册选择
  469. success: function (res) {
  470. state.showImg = false
  471. state.images = res.tempFilePaths[0]
  472. state.phoneType = state.choiceIndex
  473. state.isTakePhotoModeShow = false
  474. console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
  475. },
  476. })
  477. }
  478. const takePhoto = (val) => {
  479. state.showImg = true
  480. console.log("拍照", val)
  481. state.phoneType = val;
  482. }
  483. const confirmReturn = (val) => {
  484. state.phoneType = 0
  485. state.isTakePhotoModeShow = false
  486. var imageType = 1;
  487. if (state.choiceIndex == 1) {
  488. imageType = 1
  489. var isEtcOcrCard = etcOcrCard
  490. } else if (state.choiceIndex == 2) {
  491. imageType = 2
  492. var isEtcOcrCard = etcOcrCard
  493. } else if (state.choiceIndex == 3) {
  494. imageType = 1
  495. var isEtcOcrCard = etcCarOcrCard
  496. } else if (state.choiceIndex == 4) {
  497. imageType = 2
  498. var isEtcOcrCard = etcCarOcrCard
  499. } else
  500. console.log("图片地址val", val.tempImagePath)
  501. uploadFile(val.tempImagePath, imageType, isEtcOcrCard).then((data) => {
  502. console.log("身份证上传", data)
  503. if (state.choiceIndex === "1") {
  504. state.form.userName = data.name;
  505. state.form.gender = data.gender;
  506. state.form.userIdNum = data.idno;
  507. state.form.userPosImgUrl = data.imageUrl;
  508. state.form.address = data.address;
  509. state.FormData.idcardFrontImgUrl = data.imageUrl
  510. } else if (state.choiceIndex === "2") {
  511. state.form.tmerValidity = data.begindate + "-" + data.enddate;
  512. state.form.userNegImgUrl = data.imageUrl;
  513. state.FormData.idcardBacktImgUrl = data.imageUrl
  514. } else if (state.choiceIndex === "3") {
  515. state.form.vehicleId = data.plate_a;
  516. state.form.man = data.man;
  517. state.form.vehicleType = data.vehicle;
  518. state.form.character = data.character;
  519. state.form.vin = data.vin;
  520. state.form.engineNum = data.engine;
  521. state.form.register = data.register;
  522. state.form.issueDate = data.issue;
  523. state.form.vehPosImgUrl = data.imageUrl;
  524. state.form.vehicleModel = data.model;
  525. state.FormData.vehiclePlate = data.plate_a
  526. state.FormData.vehPosImgUrl = data.imageUrl
  527. } else if (state.choiceIndex === "4") {
  528. state.form.approvedCount = parseFloat(data.apc);
  529. state.form.maintenaceMass = parseFloat(data.unladen);
  530. state.form.vehicleDimensions = data.overall;
  531. state.form.totalMass = parseFloat(data.gross);
  532. state.form.vehNegImgUrl = data.imageUrl;
  533. state.FormData.vehNegImgUrl = data.imageUrl
  534. }
  535. state.isTakePhotoModeShow = false
  536. })
  537. }
  538. const takePhotoMode = (index) => {
  539. console.log("index", index)
  540. state.isTakePhotoModeShow = true
  541. state.choiceIndex = index
  542. }
  543. const cancle = () => {
  544. state.isTakePhotoModeShow = false
  545. }
  546. const camera = () => {
  547. state.phoneType = 0
  548. }
  549. </script>
  550. <style lang="scss" scoped>
  551. .title {
  552. font-size: 35rpx;
  553. font-family: Microsoft YaHei;
  554. font-weight: 400;
  555. color: #000000;
  556. line-height: 80rpx;
  557. margin-bottom: 10rpx;
  558. }
  559. .content-wrap {
  560. position: relative;
  561. margin-top: 50rpx;
  562. padding: 0rpx 30rpx;
  563. display: flex;
  564. .big {
  565. font-size: 30rpx;
  566. font-family: Microsoft YaHei;
  567. font-weight: 400;
  568. color: #333333;
  569. line-height: 24rpx;
  570. }
  571. .nomal {
  572. font-size: 26rpx;
  573. font-family: Microsoft YaHei;
  574. font-weight: 400;
  575. color: #666666;
  576. line-height: 24rpx;
  577. }
  578. .tip {
  579. margin-top: -5px;
  580. width: 117rpx;
  581. height: 16rpx;
  582. background: #00b38b;
  583. opacity: 0.3;
  584. }
  585. }
  586. .content {
  587. padding: 0rpx 30rpx 50rpx 30rpx;
  588. .item {
  589. padding: 20rpx;
  590. display: flex;
  591. justify-content: space-between;
  592. align-items: center;
  593. height: 130rpx;
  594. background: #ffffff;
  595. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  596. border-radius: 20rpx;
  597. margin-bottom: 30rpx;
  598. .iten-left {
  599. display: flex;
  600. align-items: center;
  601. image {
  602. width: 150rpx;
  603. height: 90rpx;
  604. }
  605. text {
  606. margin-left: 20rpx;
  607. font-size: 32rpx;
  608. font-family: Noto Sans S Chinese;
  609. font-weight: 400;
  610. color: #333333;
  611. }
  612. }
  613. .choose-item {
  614. width: 44rpx;
  615. height: 44rpx;
  616. background: #ffffff;
  617. border: 2rpx solid #00b38b;
  618. border-radius: 50%;
  619. margin-right: 20rpx;
  620. display: flex;
  621. justify-content: center;
  622. align-items: center;
  623. box-sizing: content-box;
  624. }
  625. .active {
  626. width: 34rpx;
  627. height: 34rpx;
  628. background: #00b38b;
  629. border-radius: 50%;
  630. }
  631. }
  632. .action {
  633. padding-left: 20rpx;
  634. padding-right: 20rpx;
  635. padding-bottom: 30rpx;
  636. .button {
  637. height: 80rpx;
  638. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  639. border-radius: 40rpx;
  640. font-size: 32rpx;
  641. font-weight: 400;
  642. color: #ffffff;
  643. line-height: 80rpx;
  644. }
  645. }
  646. .item-tips {
  647. .title {
  648. font-size: 30rpx;
  649. font-family: Microsoft YaHei;
  650. font-weight: 400;
  651. color: #000000;
  652. line-height: 24rpx;
  653. }
  654. .tip {
  655. margin-top: 16rpx;
  656. font-size: 24rpx;
  657. font-family: Microsoft YaHei;
  658. font-weight: 400;
  659. color: #999999;
  660. line-height: 24rpx;
  661. }
  662. }
  663. .picture-wrapper {
  664. margin-top: 40rpx;
  665. .bg {
  666. background: #ffffff;
  667. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  668. border-radius: 20rpx;
  669. padding: 40rpx;
  670. display: flex;
  671. // align-items: center;
  672. justify-content: space-between;
  673. .name {
  674. font-size: 34rpx;
  675. font-family: Microsoft YaHei;
  676. font-weight: 400;
  677. color: #000000;
  678. line-height: 34rpx;
  679. }
  680. .value {
  681. margin-top: 20rpx;
  682. font-size: 24rpx;
  683. font-family: Microsoft YaHei;
  684. font-weight: 400;
  685. color: #999999;
  686. line-height: 24rpx;
  687. }
  688. .tip {
  689. margin-top: 20rpx;
  690. text-align: center;
  691. width: 110rpx;
  692. height: 40rpx;
  693. background: rgba(33, 190, 177, 0.2);
  694. border-radius: 6rpx;
  695. .tip-value {
  696. font-size: 20rpx;
  697. font-family: Microsoft YaHei;
  698. font-weight: 400;
  699. color: #0a8f8a;
  700. line-height: 40rpx;
  701. opacity: 1;
  702. }
  703. }
  704. }
  705. .icon {
  706. width: 294rpx;
  707. height: 188rpx;
  708. }
  709. }
  710. .shibie-wrapper {
  711. margin-top: 60rpx;
  712. .title {
  713. font-size: 30rpx;
  714. font-family: Microsoft YaHei;
  715. font-weight: 400;
  716. color: #000000;
  717. line-height: 30rpx;
  718. }
  719. ::v-deep .u-form-item {
  720. border-bottom: 1rpx solid #DCDCDC;
  721. padding: 10rpx 0;
  722. }
  723. }
  724. .buchong-wrapper {
  725. margin-top: 60rpx;
  726. .title {
  727. font-size: 30rpx;
  728. font-family: Microsoft YaHei;
  729. font-weight: 400;
  730. color: #000000;
  731. line-height: 30rpx;
  732. }
  733. }
  734. .green-tip {
  735. margin-top: 50rpx;
  736. font-size: 24rpx;
  737. font-family: Microsoft YaHei;
  738. font-weight: 400;
  739. color: #00b38b;
  740. line-height: 24rpx;
  741. margin-bottom: 60rpx;
  742. }
  743. }
  744. .choice-takePhoto {
  745. position: absolute;
  746. bottom: 0;
  747. background-color: white;
  748. width: 100%;
  749. border-radius: 20rpx 20rpx 0 0;
  750. }
  751. .choice-takePhoto>view:first-child {
  752. text-align: center;
  753. height: 80rpx;
  754. line-height: 80rpx;
  755. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  756. background-color: white;
  757. }
  758. .choice-takePhoto>view:last-child {
  759. text-align: center;
  760. height: 80rpx;
  761. line-height: 80rpx;
  762. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  763. background-color: white;
  764. }
  765. .choice-takePhoto>view {
  766. text-align: center;
  767. height: 80rpx;
  768. line-height: 80rpx;
  769. background-color: white;
  770. }
  771. .choice-takePhoto-wrap {
  772. width: 100%;
  773. height: 100vh;
  774. background-color: rgba(127, 127, 127, 0.2);
  775. position: fixed;
  776. left: 0;
  777. top: 0;
  778. z-index: 11111;
  779. }
  780. </style>