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

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