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

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