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.

car-release.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. <template>
  2. <navBar title="行驶证信息上传" :scrollTop="scrollTop"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content">
  5. <view class="item-tips">
  6. <view class="title"> 上传后请核对识别信息 </view>
  7. <view class="tip"> 如有错误请及时手动修改 </view>
  8. </view>
  9. <view class="picture-wrapper" @click="cardImageOcr('1')">
  10. <view class="bg">
  11. <view class="">
  12. <view class="name"> 行驶证主页 </view>
  13. <view class="value"> 上传行驶证的主页 </view>
  14. <view class="tip">
  15. <view class="tip-value"> 拍摄规范 </view>
  16. </view>
  17. </view>
  18. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  19. </image>
  20. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  21. </view>
  22. </view>
  23. <view class="picture-wrapper" @click="cardImageOcr('2')">
  24. <view class="bg">
  25. <view class="">
  26. <view class="name"> 行驶证副页 </view>
  27. <view class="value"> 上传行驶证的副页 </view>
  28. <view class="tip">
  29. <view class="tip-value"> 拍摄规范 </view>
  30. </view>
  31. </view>
  32. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  33. </image>
  34. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  35. </view>
  36. </view>
  37. <view class="picture-wrapper" @click="cardFileImageUpdate()">
  38. <view class="bg">
  39. <view class="">
  40. <view class="name"> 车头照 </view>
  41. <view class="value"> 上传汽车的车头照片 </view>
  42. <view class="tip">
  43. <view class="tip-value"> 拍摄规范 </view>
  44. </view>
  45. </view>
  46. <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  47. </image>
  48. <image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
  49. </view>
  50. </view>
  51. <view class="shibie-wrapper">
  52. <view class="title"> 识别内容如下 </view>
  53. <view class="">
  54. <u-form label-width="200" :model="state.form" ref="uForm">
  55. <u-form-item label="车牌号" >
  56. <!-- <u-input inputAlign="right" placeholder='请输入车牌号' v-model="state.form.vehicleIdNum" /> -->
  57. <car-number-input @numberInputResult="carNumber"
  58. :defaultStr="state.form.vehicleIdNum" ></car-number-input>
  59. </u-form-item>
  60. <u-form-item label="所有人">
  61. <u-input inputAlign="right" placeholder="请输入所有人" v-model="state.form.man" :disabled="state.isEnableChangeOCRCarInfo"/>
  62. </u-form-item>
  63. <u-form-item label="车辆类型">
  64. <u-input inputAlign="right" placeholder="请输入车辆类型" v-model="state.form.vehicleType" :disabled="state.isEnableChangeOCRCarInfo"/>
  65. </u-form-item>
  66. <u-form-item label="使用性质">
  67. <u-input inputAlign="right" placeholder="请输入使用性质" v-model="state.form.character" :disabled="state.isEnableChangeOCRCarInfo"/>
  68. </u-form-item>
  69. <u-form-item label="车辆识别代号">
  70. <u-input inputAlign="right" placeholder="请输入车辆识别代号" v-model="state.form.vin" :disabled="state.isEnableChangeOCRCarInfo"/>
  71. </u-form-item>
  72. <u-form-item label="发动机号码">
  73. <u-input inputAlign="right" placeholder="请输入发动机号码" v-model="state.form.engineNum" :disabled="state.isEnableChangeOCRCarInfo"/>
  74. </u-form-item>
  75. <u-form-item label="注册日期">
  76. <u-input inputAlign="right" placeholder="请输入注册日期" v-model="state.form.register" :disabled="state.isEnableChangeOCRCarInfo"/>
  77. </u-form-item>
  78. <u-form-item label="发证日期">
  79. <u-input inputAlign="right" placeholder="请输入发证日期" v-model="state.form.issueDate" :disabled="state.isEnableChangeOCRCarInfo"/>
  80. </u-form-item>
  81. <u-form-item label="核定载人数">
  82. <u-input inputAlign="right" placeholder="请输入核定载人数" v-model="state.form.approvedCount" :disabled="state.isEnableChangeOCRCarInfo"/>
  83. </u-form-item>
  84. <u-form-item label="整备质量">
  85. <u-input inputAlign="right" placeholder="请输入整备质量" v-model="state.form.maintenaceMass" :disabled="state.isEnableChangeOCRCarInfo"/>
  86. </u-form-item>
  87. <!-- <u-form-item label="外廊尺寸">
  88. <u-input inputAlign="right" placeholder='请输入外廊尺寸' v-model="state.form.vehicleDimensions" />
  89. </u-form-item> -->
  90. <view class="form-item">
  91. <label>外廊尺寸</label>
  92. <view class="input-box">
  93. <text class="sub-label">长</text>
  94. <input v-model="state.outlineL" @input="outlineInput" :disabled="state.isEnableChangeOCRCarInfo"/>
  95. <text class="sub-text">X</text>
  96. <text class="sub-label">宽</text>
  97. <input v-model="state.outlineW" @input="outlineInput" :disabled="state.isEnableChangeOCRCarInfo"/>
  98. <text class="sub-text">X</text>
  99. <text class="sub-label">长</text>
  100. <input v-model="state.outlineH" @input="outlineInput" :disabled="state.isEnableChangeOCRCarInfo"/>
  101. <text class="sub-text">mm</text>
  102. </view>
  103. </view>
  104. <u-form-item label="总质量">
  105. <u-input inputAlign="right" placeholder="请输入总质量" v-model="state.form.totalMass" :disabled="state.isEnableChangeOCRCarInfo"/>
  106. </u-form-item>
  107. <view class="form-item">
  108. <label>车辆用户类型</label>
  109. <view class="select" @click="state.actionSheetShow = true">{{state.form.useUserTypeName}}</view>
  110. <image :src="`${$imgUrl}common/arror-down.png`" class="icon"
  111. @click="state.actionSheetShow = true"></image>
  112. </view>
  113. <!-- <u-form-item label="车辆用户类型">
  114. <u-input @click="state.actionSheetShow = true" placeholder="请输入车辆用户类型" inputAlign="right"
  115. v-model="state.form.useUserTypeName" height="38" type="textarea" :autoHeight="true" />
  116. </u-form-item> -->
  117. </u-form>
  118. </view>
  119. </view>
  120. <view class="green-tip">
  121. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  122. </view>
  123. <view class="action">
  124. <button type="default" class="button" @click="savaHandle()">
  125. 下一步
  126. </button>
  127. </view>
  128. <!-- <u-select v-model="state.actionSheetShow" :list="state.actionSheetList" @confirm="selectConfirm"></u-select>
  129. <u-action-sheet @click="selectConfirm" :list="state.actionSheetList" v-model="state.actionSheetShow">
  130. </u-action-sheet> -->
  131. <!-- 车辆类型弹窗 -->
  132. <u-popup mode="bottom" v-model="state.actionSheetShow">
  133. <view class="window">
  134. <view class="window-item" v-for="item in state.actionSheetList" :key="item.value"
  135. @click="userType(item)">{{item.text}}</view>
  136. </view>
  137. </u-popup>
  138. <u-popup mode="bottom" v-model="state.show">
  139. <view v-if="state.data.transferLogs && state.data.transferLogs.length" class="">
  140. <view class="bettwen-center">
  141. <view style="padding: 20rpx" class="title"> 选择卡签 </view>
  142. <view class="goto"> 直接跳过,不使用此套卡签 </view>
  143. </view>
  144. <view @click="guohuAction(item)" class="card" v-for="(item, index) in state.data.transferLogs"
  145. :key="index" style="margin-top: 30rpx; margin-bottom: 30rpx">
  146. <view v-if="item.status === 'WAITING'" class="card-left">
  147. <image :src="`${$imgUrl}card2.png`" mode=""></image>
  148. <view class="card-center">
  149. <view class="flex">
  150. <view class=""> 卡号: </view>
  151. <view class="card-center-head">
  152. {{ item.cardId }}
  153. </view>
  154. </view>
  155. <view style="margin-top: 10rpx" class="flex">
  156. <view class=""> OBU编号: </view>
  157. <view class="card-center-head">
  158. {{ item.obuId }}
  159. </view>
  160. </view>
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. </u-popup>
  166. </view>
  167. </template>
  168. <script setup lang="ts">
  169. import { reactive, ref } from "vue";
  170. import navBgCar from "./components/nav-bg-car4";
  171. import navBar from "@/components/nav-bar/nav-bar2.vue";
  172. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  173. import { pathToBase64 } from "@/utils/util/imageTool.js";
  174. import {
  175. etcCarCardInfoSubmit,
  176. etcCarOcrCard,
  177. fileUpload,
  178. queryGuoHuJianCe,
  179. queryGuoHuCaoZuo,
  180. } from "@/utils/network/api.js";
  181. import { request } from "@/utils/network/request.js";
  182. import { stringToJson } from "@/utils/network/encryption";
  183. import { onLoad, onPageScroll } from "@dcloudio/uni-app";
  184. import { getObuStatus } from "@/datas/obuStatus.js";
  185. import { getEtcCardStatus } from "@/datas/etcCardStatus.js";
  186. import { getItem } from "@/utils/storage";
  187. import {hasLogin} from "@/utils/utils.ts"
  188. import {
  189. getCodeName
  190. } from "@/datas/queryKey.js";
  191. const scrollTop = ref(0);
  192. //监听页面滚动
  193. onPageScroll((e) => {
  194. scrollTop.value = e.scrollTop;
  195. });
  196. //车牌号输入
  197. const carNumber = (val : any) => {
  198. state.form.vehicleIdNum = val.trim();
  199. };
  200. //提交车辆信息
  201. const savaHandle = () => {
  202. state.form.vehicleId =
  203. state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
  204. const options = {
  205. type: 2,
  206. data: state.form,
  207. method: "POST",
  208. showLoading: true,
  209. };
  210. request(etcCarCardInfoSubmit, options)
  211. .then((res) => {
  212. const data = stringToJson(res.bizContent);
  213. queryGuoHuJianCeAction().then((value) => {
  214. if (value.transferLogs && value.transferLogs.length > 0) {
  215. state.data.transferLogs = value.transferLogs;
  216. state.show = true;
  217. } else {
  218. // 签约
  219. if(state.isSign == 1){
  220. if (!hasLogin()) {
  221. uni.redirectTo({
  222. url: `/subpackage/applyCard/addAddress?orderId=${state.form.orderId
  223. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  224. });
  225. } else {
  226. uni.redirectTo({
  227. // url: `/subpackage/applyCard/choice-product?orderId=${state.form.orderId}`,
  228. url: `/subpackage/applyCard/release-products?orderId=${state.form.orderId
  229. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  230. });
  231. }
  232. }else{
  233. // 不签约
  234. uni.redirectTo({
  235. url: `/subpackage/applyCard/sign-up?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  236. });
  237. }
  238. }
  239. });
  240. })
  241. .catch((res) => {
  242. console.log(res);
  243. });
  244. };
  245. const selectConfirm = (index : any) => {
  246. console.log(index);
  247. state.form.useUserType = state.actionSheetList[index].value;
  248. state.form.useUserTypeName = state.actionSheetList[index].text;
  249. };
  250. //选择车辆用户类型
  251. const userType = (item : any) => {
  252. state.form.useUserType = item.value;
  253. state.form.useUserTypeName = item.text;
  254. state.actionSheetShow = false;
  255. }
  256. //车头照图片上传
  257. const cardFileImageUpdate = () => {
  258. uni.chooseImage({
  259. count: 1, //只能选取一张照片
  260. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  261. sourceType: ["camera", "album"], //从相册选择
  262. success: function (res) {
  263. pathToBase64(res.tempFilePaths[0])
  264. .then((path) => {
  265. var data = {
  266. fileBase64: path,
  267. };
  268. const options = {
  269. type: 2,
  270. data: data,
  271. method: "POST",
  272. showLoading: true,
  273. };
  274. request(fileUpload, options).then((res) => {
  275. const data = stringToJson(res.bizContent);
  276. console.log(data);
  277. state.form.vehBodyUrl = data.data.url;
  278. });
  279. })
  280. .catch((error) => { });
  281. },
  282. });
  283. };
  284. const state = reactive({
  285. data: {
  286. transferLogs: [],
  287. },
  288. actionSheetShow: false,
  289. actionSheetList: [
  290. {
  291. text: "普通车",
  292. value: 0,
  293. },
  294. {
  295. text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
  296. value: 24,
  297. },
  298. {
  299. text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
  300. value: 27,
  301. },
  302. {
  303. text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
  304. value: 28,
  305. },
  306. ],
  307. form: {
  308. orderId: "", //订单ID
  309. man: "", //所有人
  310. character: "", //使用性质
  311. register: "", //注册日期
  312. customerId: "", //用户编号
  313. vehicleId: "",
  314. vehicleIdNum: "", //车牌编号
  315. issueDate: "", //发证日期
  316. vehPosImgUrl: "", //行驶证正面
  317. vehNegImgUrl: "", //行驶证证反面
  318. type: "0", //0,客车 1.货车
  319. useUserType: 0, //车辆用户类型
  320. useUserTypeName: "普通车",
  321. vehicleSign: 2, //前/后装标识
  322. vin: "", //车辆识别代号
  323. engineNum: "", //发动机号码
  324. vehicleType: "", //车辆类型
  325. vehicleModel: "", //行驶证品牌型号
  326. approvedCount: undefined, //核定人数
  327. totalMass: undefined, //总质量
  328. maintenaceMass: undefined, //整备质量
  329. permittedWeight: "", //核定载质量
  330. vehicleDimensions: "", //车辆尺寸
  331. permittedTowWeight: "", //准牵引总质量
  332. axleCount: "", //车轴数
  333. ownerName: "", //车主姓名
  334. ownerIdType: "", //车主证件类型
  335. ownerIdNum: "", //车主证件号码
  336. ownPosImgUrl: "", //车主证件正面图片
  337. ownNegImgUrl: "", //车主证件反面图片
  338. agreementId: "", //签约编号
  339. channelId: "5201018892300000001", //编号渠道
  340. scenePayType: "", //
  341. transportIdNum: "", //道路运输证编号
  342. licenseIdNum: "", //经营许可证编号
  343. vehBodyUrl: "", //车身照片
  344. proxyUrl: "", //委托书地址
  345. },
  346. vehiclePlateColor: undefined,
  347. orderId: "",
  348. type: undefined, //标记来源是否登录 1为未登录数据 - 需要新增地址
  349. show: false,
  350. isMyPeopple: true,
  351. outlineL: "",
  352. outlineW: "",
  353. outlineH: "",
  354. isSign:'',
  355. isEnableChangeOCRCarInfo:true, //申办时是否允许修改OCR识别出来的车辆信息数据
  356. });
  357. onLoad((option : any) => {
  358. state.form.orderId = option.orderId;
  359. state.type = option.type;
  360. state.vehiclePlateColor = option.vehiclePlateColor;
  361. state.isSign=option.isSign
  362. console.log("option",option)
  363. getGlobalParam();
  364. });
  365. //外廓尺寸输入框
  366. const outlineInput = (e) => {
  367. state.form.vehicleDimensions =
  368. state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
  369. };
  370. //orc接口调用
  371. const cardImageOcr = (val : any) => {
  372. var imageType = val;
  373. uni.chooseImage({
  374. count: 1, //只能选取一张照片
  375. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  376. sourceType: ["camera", "album"], //从相册选择
  377. success: function (res) {
  378. pathToBase64(res.tempFilePaths[0])
  379. .then((path) => {
  380. var data = {
  381. source: "1",
  382. agencyId: "52010106004",
  383. imageType: imageType,
  384. fileName: res.tempFilePaths[0],
  385. imageBase64: path,
  386. };
  387. const options = {
  388. type: 2,
  389. data: data,
  390. method: "POST",
  391. showLoading: true,
  392. };
  393. request(etcCarOcrCard, options).then((res) => {
  394. const data = stringToJson(res.bizContent);
  395. console.log(data);
  396. if (val === "1") {
  397. state.form.vehicleIdNum = data.plate_a;
  398. state.form.man = data.man;
  399. state.form.vehicleType = data.vehicle;
  400. state.form.character = data.character;
  401. state.form.vin = data.vin;
  402. state.form.engineNum = data.engine;
  403. state.form.register = data.register;
  404. state.form.issueDate = data.issue;
  405. state.form.vehPosImgUrl = data.imageUrl;
  406. state.form.vehicleModel = data.model;
  407. } else {
  408. state.form.approvedCount = parseFloat(data.apc);
  409. state.form.maintenaceMass = parseFloat(data.unladen);
  410. state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
  411. let arr = data.overall.split("x");
  412. state.outlineL = arr[0]; //外廓 长
  413. state.outlineW = arr[1]; //外廓 宽
  414. state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
  415. state.form.totalMass = parseFloat(data.gross);
  416. state.form.vehNegImgUrl = data.imageUrl;
  417. }
  418. });
  419. })
  420. .catch((error) => { });
  421. },
  422. });
  423. };
  424. //过户检测
  425. const queryGuoHuJianCeAction = () => {
  426. var data = {
  427. orderId: state.form.orderId,
  428. };
  429. const options = {
  430. type: 2,
  431. data: data,
  432. method: "POST",
  433. showLoading: true,
  434. };
  435. return new Promise(async (resolve, reject) => {
  436. const res = await request(queryGuoHuJianCe, options);
  437. const data = stringToJson(res.bizContent);
  438. resolve(data);
  439. }).catch((error) => {
  440. reject(error);
  441. });
  442. };
  443. //过户操作
  444. const guohuAction = (val) => {
  445. var data = {
  446. orderId: state.form.orderId,
  447. serviceType: "USE",
  448. obuId: val.obuId,
  449. cardId: val.cardId,
  450. };
  451. const options = {
  452. type: 2,
  453. data: data,
  454. method: "POST",
  455. showLoading: true,
  456. };
  457. return new Promise(async (resolve, reject) => {
  458. const res = await request(queryGuoHuCaoZuo, options);
  459. const data = stringToJson(res.bizContent);
  460. state.show = false;
  461. uni.navigateTo({
  462. url: `/subpackage/applyCard/choice-product?orderId=${state.form.orderId}`,
  463. });
  464. }).catch((error) => {
  465. reject(error);
  466. });
  467. };
  468. //替换图片地址
  469. const strReplace = (str : string) => {
  470. return str.replace("192.168.101.145:9000", "222.85.144.89:19002");
  471. };
  472. const getGlobalParam=()=>{
  473. const data=getItem('globalParam')
  474. console.log("全局配置数据",getCodeName('IS_ENABLE',data.applyChangeOCRCarInfo))
  475. // 申办时是否允许修改OCR识别出来的车辆信息数据
  476. if(getCodeName('IS_ENABLE',data.applyChangeOCRCarInfo)=='启用'){
  477. state.isEnableChangeOCRCarInfo=true;
  478. }else{
  479. state.isEnableChangeOCRCarInfo=false;
  480. }
  481. }
  482. </script>
  483. <style lang="scss" scoped>
  484. .goto {
  485. margin-right: 20rpx;
  486. padding: 10rpx;
  487. color: #00b38b;
  488. border: 1rpx solid #00b38b;
  489. border-radius: 20rpx;
  490. }
  491. .flex {
  492. display: flex;
  493. align-items: center;
  494. }
  495. .bettwen-center {
  496. display: flex;
  497. align-items: center;
  498. justify-content: space-between;
  499. }
  500. .card {
  501. margin: 20rpx;
  502. height: 150rpx;
  503. background: #ffffff;
  504. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  505. border-radius: 20rpx;
  506. padding: 20rpx;
  507. display: flex;
  508. justify-content: space-between;
  509. align-items: center;
  510. margin-bottom: 30rpx;
  511. .card-left {
  512. display: flex;
  513. align-items: center;
  514. image {
  515. width: 100rpx;
  516. height: 90rpx;
  517. }
  518. .card-center {
  519. margin-left: 30rpx;
  520. .card-center-head {
  521. font-size: 32rpx;
  522. font-family: Noto Sans S Chinese;
  523. font-weight: 400;
  524. color: #333333;
  525. }
  526. .tips {
  527. font-size: 26rpx;
  528. font-family: Noto Sans S Chinese;
  529. font-weight: 400;
  530. color: #666666;
  531. .tips-card {
  532. width: 70rpx;
  533. height: 40rpx;
  534. background: #d3f2ef;
  535. border-radius: 6rpx;
  536. font-size: 20rpx;
  537. font-family: Noto Sans S Chinese;
  538. font-weight: 400;
  539. color: #0a8f8a;
  540. padding: 5rpx 10rpx;
  541. margin-left: 20rpx;
  542. }
  543. }
  544. }
  545. }
  546. .choose-item {
  547. margin-right: 20rpx;
  548. width: 50rpx;
  549. height: 50rpx;
  550. border: 1rpx solid #00b38b;
  551. border-radius: 50%;
  552. display: flex;
  553. justify-content: center;
  554. align-items: center;
  555. .active {
  556. width: 38rpx;
  557. height: 38rpx;
  558. background: #00b38b;
  559. border-radius: 50%;
  560. }
  561. }
  562. }
  563. .content {
  564. position: relative;
  565. margin-top: -50rpx;
  566. padding: 0rpx 30rpx;
  567. position: relative;
  568. .img-pos {
  569. position: absolute;
  570. left: 270rpx;
  571. top: -38rpx;
  572. right: 50rpx;
  573. .img-flex {
  574. display: flex;
  575. justify-content: space-between;
  576. align-items: center;
  577. .car-img {
  578. width: 86rpx;
  579. height: 42rpx;
  580. }
  581. .flag-img {
  582. width: 30rpx;
  583. height: 35rpx;
  584. }
  585. }
  586. }
  587. .action {
  588. padding-left: 20rpx;
  589. padding-right: 20rpx;
  590. padding-bottom: 30rpx;
  591. .button {
  592. height: 80rpx;
  593. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  594. border-radius: 40rpx;
  595. font-size: 32rpx;
  596. font-weight: 400;
  597. color: #ffffff;
  598. line-height: 80rpx;
  599. }
  600. }
  601. .item-tips {
  602. .title {
  603. font-size: 30rpx;
  604. font-family: Microsoft YaHei;
  605. font-weight: 400;
  606. color: #000000;
  607. line-height: 24rpx;
  608. }
  609. .tip {
  610. margin-top: 16rpx;
  611. font-size: 24rpx;
  612. font-family: Microsoft YaHei;
  613. font-weight: 400;
  614. color: #999999;
  615. line-height: 24rpx;
  616. }
  617. }
  618. .picture-wrapper {
  619. margin-top: 40rpx;
  620. .bg {
  621. background: #ffffff;
  622. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  623. border-radius: 20rpx;
  624. padding: 40rpx;
  625. display: flex;
  626. // align-items: center;
  627. justify-content: space-between;
  628. .name {
  629. font-size: 34rpx;
  630. font-family: Microsoft YaHei;
  631. font-weight: 400;
  632. color: #000000;
  633. line-height: 34rpx;
  634. }
  635. .value {
  636. margin-top: 20rpx;
  637. font-size: 24rpx;
  638. font-family: Microsoft YaHei;
  639. font-weight: 400;
  640. color: #999999;
  641. line-height: 24rpx;
  642. }
  643. .tip {
  644. margin-top: 20rpx;
  645. text-align: center;
  646. width: 110rpx;
  647. height: 40rpx;
  648. background: rgba(33, 190, 177, 0.2);
  649. border-radius: 6rpx;
  650. .tip-value {
  651. font-size: 20rpx;
  652. font-family: Microsoft YaHei;
  653. font-weight: 400;
  654. color: #0a8f8a;
  655. line-height: 40rpx;
  656. opacity: 1;
  657. }
  658. }
  659. }
  660. .icon {
  661. width: 294rpx;
  662. height: 188rpx;
  663. }
  664. }
  665. .shibie-wrapper {
  666. margin-top: 60rpx;
  667. .title {
  668. font-size: 30rpx;
  669. font-family: Microsoft YaHei;
  670. font-weight: 400;
  671. color: #000000;
  672. line-height: 30rpx;
  673. }
  674. }
  675. .buchong-wrapper {
  676. margin-top: 60rpx;
  677. .title {
  678. font-size: 30rpx;
  679. font-family: Microsoft YaHei;
  680. font-weight: 400;
  681. color: #000000;
  682. line-height: 30rpx;
  683. }
  684. }
  685. .green-tip {
  686. margin-top: 50rpx;
  687. font-size: 24rpx;
  688. font-family: Microsoft YaHei;
  689. font-weight: 400;
  690. color: #00b38b;
  691. line-height: 24rpx;
  692. margin-bottom: 60rpx;
  693. }
  694. }
  695. .form-item {
  696. display: flex;
  697. font-size: 28rpx;
  698. justify-content: space-between;
  699. align-items: center;
  700. }
  701. .form-item label {}
  702. .form-item .input-box {
  703. display: flex;
  704. align-items: center;
  705. }
  706. .form-item .select {
  707. flex: 1;
  708. background: #f1f1f1;
  709. padding: 6rpx 20rpx;
  710. margin: 0 10rpx;
  711. min-height: 48rpx;
  712. line-height: 48rpx;
  713. border-radius: 8rpx;
  714. }
  715. .form-item .icon {
  716. width: 28rpx;
  717. height: 32rpx;
  718. }
  719. .form-item .input-box input {
  720. width: 90rpx;
  721. background: #f1f1f1;
  722. border-radius: 8rpx;
  723. padding: 0 5rpx;
  724. }
  725. .form-item .sub-text {
  726. color: #808080;
  727. padding-left: 10rpx;
  728. }
  729. .form-item .sub-label {
  730. padding: 0 10rpx;
  731. }
  732. .window {
  733. padding: 60rpx 30rpx;
  734. }
  735. .window .window-item {
  736. border: 1px solid #00b38b;
  737. background: rgba(0, 179, 139, .1);
  738. border-radius: 10rpx;
  739. padding: 16rpx 30rpx;
  740. font-size: 30rpx;
  741. margin-bottom: 10rpx;
  742. }
  743. </style>