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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843
  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/orders/addAddress?orderId=${state.form.orderId
  229. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  230. });
  231. } else {
  232. uni.redirectTo({
  233. // url: `/subpackage/orders/choice-product?orderId=${state.form.orderId}`,
  234. url: `/subpackage/orders/release-products?orderId=${state.form.orderId
  235. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  236. });
  237. }
  238. }else{
  239. // 不签约
  240. uni.redirectTo({
  241. url: `/subpackage/orders/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. form: {
  298. orderId: "", //订单ID
  299. man: "", //所有人
  300. character: "", //使用性质
  301. register: "请输入注册日期", //注册日期
  302. customerId: "", //用户编号
  303. vehicleId: "",
  304. vehicleIdNum: "", //车牌编号
  305. issueDate: "请输入发证日期", //发证日期
  306. vehPosImgUrl: "", //行驶证正面
  307. vehNegImgUrl: "", //行驶证证反面
  308. type: "0", //0,客车 1.货车
  309. useUserType: 0, //车辆用户类型
  310. useUserTypeName: "普通车",
  311. vehicleSign: 2, //前/后装标识
  312. vin: "", //车辆识别代号
  313. engineNum: "", //发动机号码
  314. vehicleType: "", //车辆类型
  315. vehicleModel: "", //行驶证品牌型号
  316. approvedCount: undefined, //核定人数
  317. totalMass: undefined, //总质量
  318. maintenaceMass: undefined, //整备质量
  319. permittedWeight: "", //核定载质量
  320. vehicleDimensions: "", //车辆尺寸
  321. permittedTowWeight: "", //准牵引总质量
  322. axleCount: "", //车轴数
  323. ownerName: "", //车主姓名
  324. ownerIdType: "", //车主证件类型
  325. ownerIdNum: "", //车主证件号码
  326. ownPosImgUrl: "", //车主证件正面图片
  327. ownNegImgUrl: "", //车主证件反面图片
  328. agreementId: "", //签约编号
  329. channelId: "5201018892300000001", //编号渠道
  330. scenePayType: "", //
  331. transportIdNum: "", //道路运输证编号
  332. licenseIdNum: "", //经营许可证编号
  333. vehBodyUrl: "", //车身照片
  334. proxyUrl: "", //委托书地址
  335. },
  336. vehiclePlateColor: undefined,
  337. orderId: "",
  338. // type: undefined, //标记来源是否登录 1为未登录数据 - 需要新增地址
  339. show: false,
  340. isMyPeopple: true,
  341. outlineL: "",
  342. outlineW: "",
  343. outlineH: "",
  344. isSign:'',
  345. isEnableChangeOCRCarInfo:true, //申办时是否允许修改OCR识别出来的车辆信息数据
  346. });
  347. onLoad((option : any) => {
  348. state.form.orderId = option.orderId;
  349. // state.type = option.type;
  350. state.form.type = option.type;
  351. state.vehiclePlateColor = option.vehiclePlateColor;
  352. state.isSign=option.isSign
  353. console.log("option",option)
  354. getGlobalParam();
  355. if(option.type==1){
  356. state.actionSheetList=[{
  357. text: "普通车",
  358. value: 0,
  359. }]
  360. }else{
  361. state.actionSheetList=[{
  362. text: "普通车",
  363. value: 0,
  364. },
  365. {
  366. text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
  367. value: 24,
  368. },
  369. {
  370. text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
  371. value: 27,
  372. },
  373. {
  374. text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
  375. value: 28,
  376. }]
  377. }
  378. });
  379. //外廓尺寸输入框
  380. const outlineInput = (e) => {
  381. state.form.vehicleDimensions =
  382. state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
  383. };
  384. //orc接口调用
  385. const cardImageOcr = (val : any) => {
  386. state.changeColor=true;
  387. var imageType = val;
  388. uni.chooseImage({
  389. count: 1, //只能选取一张照片
  390. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  391. sourceType: ["camera", "album"], //从相册选择
  392. success: function (res) {
  393. pathToBase64(res.tempFilePaths[0])
  394. .then((path) => {
  395. var data = {
  396. source: "1",
  397. agencyId: "52010106004",
  398. imageType: imageType,
  399. fileName: res.tempFilePaths[0],
  400. imageBase64: path,
  401. };
  402. const options = {
  403. type: 2,
  404. data: data,
  405. method: "POST",
  406. showLoading: true,
  407. };
  408. request(etcCarOcrCard, options).then((res) => {
  409. const data = stringToJson(res.bizContent);
  410. console.log(data);
  411. if (val === "1") {
  412. state.form.vehicleIdNum = data.plate_a;
  413. state.form.man = data.man;
  414. state.form.vehicleType = data.vehicle;
  415. state.form.character = data.character;
  416. state.form.vin = data.vin;
  417. state.form.engineNum = data.engine;
  418. state.form.register = data.register;
  419. state.form.issueDate = data.issue;
  420. state.form.vehPosImgUrl = data.imageUrl;
  421. state.form.vehicleModel = data.model;
  422. } else {
  423. state.form.approvedCount = parseFloat(data.apc);
  424. state.form.maintenaceMass = parseFloat(data.unladen);
  425. state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
  426. let arr = data.overall.split("x");
  427. state.outlineL = arr[0]; //外廓 长
  428. state.outlineW = arr[1]; //外廓 宽
  429. state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
  430. state.form.totalMass = parseFloat(data.gross);
  431. state.form.vehNegImgUrl = data.imageUrl;
  432. }
  433. });
  434. })
  435. .catch((error) => { });
  436. },
  437. });
  438. };
  439. //过户检测
  440. const queryGuoHuJianCeAction = () => {
  441. var data = {
  442. orderId: state.form.orderId,
  443. };
  444. const options = {
  445. type: 2,
  446. data: data,
  447. method: "POST",
  448. showLoading: true,
  449. };
  450. return new Promise(async (resolve, reject) => {
  451. const res = await request(queryGuoHuJianCe, options);
  452. const data = stringToJson(res.bizContent);
  453. resolve(data);
  454. }).catch((error) => {
  455. reject(error);
  456. });
  457. };
  458. //过户操作
  459. const guohuAction = (val) => {
  460. var data = {
  461. orderId: state.form.orderId,
  462. serviceType: "USE",
  463. obuId: val.obuId,
  464. cardId: val.cardId,
  465. };
  466. const options = {
  467. type: 2,
  468. data: data,
  469. method: "POST",
  470. showLoading: true,
  471. };
  472. return new Promise(async (resolve, reject) => {
  473. const res = await request(queryGuoHuCaoZuo, options);
  474. const data = stringToJson(res.bizContent);
  475. state.show = false;
  476. uni.navigateTo({
  477. url: `/subpackage/orders/choice-product?orderId=${state.form.orderId}`,
  478. });
  479. }).catch((error) => {
  480. reject(error);
  481. });
  482. };
  483. //替换图片地址
  484. const strReplace = (str : string) => {
  485. return str.replace("192.168.101.145:9000", "222.85.144.89:19002");
  486. };
  487. const getGlobalParam=()=>{
  488. const data=getItem('globalParam')
  489. console.log("全局配置数据",getCodeName('IS_ENABLE',data.applyChangeOCRCarInfo))
  490. // 申办时是否允许修改OCR识别出来的车辆信息数据
  491. if(getCodeName('IS_ENABLE',data.applyChangeOCRCarInfo)=='启用'){
  492. state.isEnableChangeOCRCarInfo=true;
  493. }else{
  494. state.isEnableChangeOCRCarInfo=false;
  495. }
  496. }
  497. const bindDateChange1=(e)=> {
  498. state.form.register = e.detail.value
  499. state.changeColor=true;
  500. }
  501. const bindDateChange2=(e)=> {
  502. state.form.issueDate = e.detail.value
  503. state.changeColor=true;
  504. }
  505. </script>
  506. <style lang="scss" scoped>
  507. .hui{
  508. color: #ccc;
  509. }
  510. .hei{
  511. color: black;
  512. }
  513. .goto {
  514. margin-right: 20rpx;
  515. padding: 10rpx;
  516. color: #00b38b;
  517. border: 1rpx solid #00b38b;
  518. border-radius: 20rpx;
  519. }
  520. .flex {
  521. display: flex;
  522. align-items: center;
  523. }
  524. .bettwen-center {
  525. display: flex;
  526. align-items: center;
  527. justify-content: space-between;
  528. }
  529. .card {
  530. margin: 20rpx;
  531. height: 150rpx;
  532. background: #ffffff;
  533. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  534. border-radius: 20rpx;
  535. padding: 20rpx;
  536. display: flex;
  537. justify-content: space-between;
  538. align-items: center;
  539. margin-bottom: 30rpx;
  540. .card-left {
  541. display: flex;
  542. align-items: center;
  543. image {
  544. width: 100rpx;
  545. height: 90rpx;
  546. }
  547. .card-center {
  548. margin-left: 30rpx;
  549. .card-center-head {
  550. font-size: 32rpx;
  551. font-family: Noto Sans S Chinese;
  552. font-weight: 400;
  553. color: #333333;
  554. }
  555. .tips {
  556. font-size: 26rpx;
  557. font-family: Noto Sans S Chinese;
  558. font-weight: 400;
  559. color: #666666;
  560. .tips-card {
  561. width: 70rpx;
  562. height: 40rpx;
  563. background: #d3f2ef;
  564. border-radius: 6rpx;
  565. font-size: 20rpx;
  566. font-family: Noto Sans S Chinese;
  567. font-weight: 400;
  568. color: #0a8f8a;
  569. padding: 5rpx 10rpx;
  570. margin-left: 20rpx;
  571. }
  572. }
  573. }
  574. }
  575. .choose-item {
  576. margin-right: 20rpx;
  577. width: 50rpx;
  578. height: 50rpx;
  579. border: 1rpx solid #00b38b;
  580. border-radius: 50%;
  581. display: flex;
  582. justify-content: center;
  583. align-items: center;
  584. .active {
  585. width: 38rpx;
  586. height: 38rpx;
  587. background: #00b38b;
  588. border-radius: 50%;
  589. }
  590. }
  591. }
  592. .content {
  593. position: relative;
  594. margin-top: -50rpx;
  595. padding: 0rpx 30rpx;
  596. position: relative;
  597. .img-pos {
  598. position: absolute;
  599. left: 270rpx;
  600. top: -38rpx;
  601. right: 50rpx;
  602. .img-flex {
  603. display: flex;
  604. justify-content: space-between;
  605. align-items: center;
  606. .car-img {
  607. width: 86rpx;
  608. height: 42rpx;
  609. }
  610. .flag-img {
  611. width: 30rpx;
  612. height: 35rpx;
  613. }
  614. }
  615. }
  616. .action {
  617. padding-left: 20rpx;
  618. padding-right: 20rpx;
  619. padding-bottom: 30rpx;
  620. .button {
  621. height: 80rpx;
  622. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  623. border-radius: 40rpx;
  624. font-size: 32rpx;
  625. font-weight: 400;
  626. color: #ffffff;
  627. line-height: 80rpx;
  628. }
  629. }
  630. .item-tips {
  631. .title {
  632. font-size: 30rpx;
  633. font-family: Microsoft YaHei;
  634. font-weight: 400;
  635. color: #000000;
  636. line-height: 24rpx;
  637. }
  638. .tip {
  639. margin-top: 16rpx;
  640. font-size: 24rpx;
  641. font-family: Microsoft YaHei;
  642. font-weight: 400;
  643. color: #999999;
  644. line-height: 24rpx;
  645. }
  646. }
  647. .picture-wrapper {
  648. margin-top: 40rpx;
  649. .bg {
  650. background: #ffffff;
  651. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  652. border-radius: 20rpx;
  653. padding: 40rpx;
  654. display: flex;
  655. // align-items: center;
  656. justify-content: space-between;
  657. .name {
  658. font-size: 34rpx;
  659. font-family: Microsoft YaHei;
  660. font-weight: 400;
  661. color: #000000;
  662. line-height: 34rpx;
  663. }
  664. .value {
  665. margin-top: 20rpx;
  666. font-size: 24rpx;
  667. font-family: Microsoft YaHei;
  668. font-weight: 400;
  669. color: #999999;
  670. line-height: 24rpx;
  671. }
  672. .tip {
  673. margin-top: 20rpx;
  674. text-align: center;
  675. width: 110rpx;
  676. height: 40rpx;
  677. background: rgba(33, 190, 177, 0.2);
  678. border-radius: 6rpx;
  679. .tip-value {
  680. font-size: 20rpx;
  681. font-family: Microsoft YaHei;
  682. font-weight: 400;
  683. color: #0a8f8a;
  684. line-height: 40rpx;
  685. opacity: 1;
  686. }
  687. }
  688. }
  689. .icon {
  690. width: 294rpx;
  691. height: 188rpx;
  692. }
  693. }
  694. .shibie-wrapper {
  695. margin-top: 60rpx;
  696. .title {
  697. font-size: 30rpx;
  698. font-family: Microsoft YaHei;
  699. font-weight: 400;
  700. color: #000000;
  701. line-height: 30rpx;
  702. }
  703. }
  704. .buchong-wrapper {
  705. margin-top: 60rpx;
  706. .title {
  707. font-size: 30rpx;
  708. font-family: Microsoft YaHei;
  709. font-weight: 400;
  710. color: #000000;
  711. line-height: 30rpx;
  712. }
  713. }
  714. .green-tip {
  715. margin-top: 50rpx;
  716. font-size: 24rpx;
  717. font-family: Microsoft YaHei;
  718. font-weight: 400;
  719. color: #00b38b;
  720. line-height: 24rpx;
  721. margin-bottom: 60rpx;
  722. }
  723. }
  724. .form-item {
  725. display: flex;
  726. font-size: 28rpx;
  727. justify-content: space-between;
  728. align-items: center;
  729. }
  730. .form-item label {}
  731. .form-item .input-box {
  732. display: flex;
  733. align-items: center;
  734. }
  735. .form-item .select {
  736. flex: 1;
  737. background: #f1f1f1;
  738. padding: 6rpx 20rpx;
  739. margin: 0 10rpx;
  740. min-height: 48rpx;
  741. line-height: 48rpx;
  742. border-radius: 8rpx;
  743. }
  744. .form-item .icon {
  745. width: 28rpx;
  746. height: 32rpx;
  747. }
  748. .form-item .input-box input {
  749. width: 90rpx;
  750. background: #f1f1f1;
  751. border-radius: 8rpx;
  752. padding: 0 5rpx;
  753. }
  754. .form-item .sub-text {
  755. color: #808080;
  756. padding-left: 10rpx;
  757. }
  758. .form-item .sub-label {
  759. padding: 0 10rpx;
  760. }
  761. .window {
  762. padding: 60rpx 30rpx;
  763. }
  764. .window .window-item {
  765. border: 1px solid #00b38b;
  766. background: rgba(0, 179, 139, .1);
  767. border-radius: 10rpx;
  768. padding: 16rpx 30rpx;
  769. font-size: 30rpx;
  770. margin-bottom: 10rpx;
  771. }
  772. ::v-deep .u-input__input{
  773. background: transparent;
  774. }
  775. </style>