Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

renewal-confirm.vue 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <template>
  2. <view class="selectCar-box">
  3. <view class="details">
  4. <view class="title"> 基础信息 </view>
  5. <view class="details-item">
  6. <view> 订单编号: </view>
  7. <text>{{ orderInfos.orderId }}</text>
  8. </view>
  9. <view class="details-item">
  10. <view> 用户名称: </view>
  11. <text>{{ orderInfos.ownerName }}</text>
  12. </view>
  13. <view class="details-item">
  14. <view> 用户证件类型: </view>
  15. <text>{{ getCodeName('CERTIFICATE_TYPE',orderInfos.ownerIdtype) }}</text>
  16. </view>
  17. <view class="details-item">
  18. <view> 用户证件号: </view>
  19. <text>{{ orderInfos.ownerIdnum }}</text>
  20. </view>
  21. <view class="details-item">
  22. <view> 订单车牌号: </view>
  23. <text style="color: #00b38b">{{ orderInfos.vehiclePlate }}</text>
  24. </view>
  25. <view class="details-item">
  26. <view> 车牌颜色: </view>
  27. <text style="color: #00b38b">{{
  28. orderInfos.vehiclePlateColorStr
  29. }}</text>
  30. </view>
  31. <view class="details-item">
  32. <view> 收费车型: </view>
  33. <text>{{ orderInfos.vehicleType }}</text>
  34. </view>
  35. </view>
  36. <view class="title"> 卡信息 </view>
  37. <view class="card">
  38. <view class="card-left">
  39. <image :src="`${$imgUrl}card2.png`" mode=""></image>
  40. <view class="card-center">
  41. <view class="card-center-head"> {{orderInfos.cardId}} </view>
  42. <view class="tips">
  43. <text>储蓄卡</text>
  44. <text class="tips-card">{{getCodeName('CARD_STATE_TYPE',orderInfos.cardStatus)}}</text>
  45. </view>
  46. <view class="choose-item"> 有效期:{{orderInfos.cardExpireTime }}</view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="title"> OBU设备信息 </view>
  51. <view class="card">
  52. <view class="card-left">
  53. <image :src="`${$imgUrl}card1.png`" mode=""></image>
  54. <view class="card-center">
  55. <view class="card-center-head"> {{orderInfos.obuId}} </view>
  56. <view class="tips">
  57. <!-- <text>储蓄卡</text> -->
  58. <text class="tips-card">{{getCodeName('OBU_STATE_TYPE',orderInfos.obuStatus)}}</text>
  59. </view>
  60. <view class="choose-item"> 有效期:{{orderInfos.obuExpireTime }} </view>
  61. </view>
  62. </view>
  63. </view>
  64. <!-- <view class="title"> 注意事项 </view>
  65. <view class="remark">
  66. <view> 1.xxxxxxxx </view>
  67. <view> 2.xxxxxxxx </view>
  68. <view> 3.xxxxxxxx </view>
  69. <view> 4.xxxxxxxx </view>
  70. </view> -->
  71. <button class="submit" @click="toPage" v-if="!state.flag">卡签续期</button>
  72. <button class="submit" @click="toBack" v-else="state.flag">返回服务中心</button>
  73. <view class="mask" v-show="state.showPopup">
  74. <view class="main">
  75. <view class="top">
  76. <image class="icon-close" :src="`${$imgUrl}common/icon-close.png`" @click="cancel"></image>
  77. </view>
  78. <image class="icon-success" :src="`${$imgUrl}bluetooth/card-success.png`"></image>
  79. <view class="title">卡签续期成功!</view>
  80. </view>
  81. </view>
  82. </view>
  83. </template>
  84. <script setup>
  85. import {
  86. getCodeName
  87. } from "@/datas/queryKey.js";
  88. import {
  89. reactive
  90. } from "vue";
  91. import {
  92. navTo
  93. } from "@/utils/utils";
  94. import {
  95. onLoad,
  96. onUnload,
  97. onShow
  98. } from "@dcloudio/uni-app";
  99. import {
  100. request
  101. } from "@/utils/network/request.js";
  102. import {
  103. orderDetail,
  104. cardRenewal,
  105. writeCardBack,
  106. cardModifyConfirm,
  107. obuRenewal,
  108. modifyObuVehicleInfo,
  109. obuActivation
  110. } from "@/utils/network/api.js";
  111. const cmd = require("../../../static/etcUtil/cmdConfig.js");
  112. import {
  113. IntegerToHexString,
  114. AsciToHexString,
  115. } from "@/utils/util/fileData.js";
  116. import {
  117. stringToJson
  118. } from "@/utils/network/encryption";
  119. const tools = require("../../../static/etcUtil/tools.js");
  120. const bluetoothUtil = require("../../../static/etcUtil/index.js");
  121. const state = reactive({
  122. showPopup: false,
  123. flag: false,
  124. })
  125. const fileDataStrings = reactive({
  126. approvedCount: 0, //核载人数
  127. cardId: "", //卡号
  128. obuId: "", //obu号
  129. obuId: "", //obu号
  130. packageNum: "", //套餐编号
  131. axleCount: 0, //轴数
  132. axleDistance: "", //轴距
  133. engineNum: "", //发动机
  134. vehicleVin: "",
  135. vehicleEngineNum: "",
  136. cardStatus: "",
  137. obuStatus: "",
  138. type: 0, //类型
  139. userType: 0, //用户类型
  140. vehiclePlate: "", //车牌
  141. vehiclePlateColor: 0, //车牌颜色
  142. vehicleDimensions: "",
  143. outlineL: 0, //外廓 长
  144. outlineW: 0, //外廓 宽
  145. outlineH: 0, //外廓 高
  146. wheelCount: "", //车轮数
  147. vehicleIdNo: "", //车牌号
  148. vehiclePlateColorStr: "",
  149. customerTel: "",
  150. customerId: "",
  151. orderId: ""
  152. });
  153. let cmdRandNum = '';
  154. const orderInfos = reactive({
  155. orderId: "",
  156. ownerName: "",
  157. ownerIdtype: "",
  158. ownerIdnum: "",
  159. vehiclePlate: "",
  160. vehiclePlateColorStr: "",
  161. vehiclePlateColor: "",
  162. vehicleType: "",
  163. cardId: "",
  164. cardStatus: "",
  165. obuId: "",
  166. obuStatus: "",
  167. cardEnableTime: "",
  168. obuEnableTime: "",
  169. cardExpireTime: "",
  170. obuExpireTime: ""
  171. });
  172. onLoad((option) => {
  173. //请求订单详情
  174. queryOrderDetail(option.id);
  175. getOrderDetails(option.id)
  176. });
  177. onShow((option) => {
  178. uni.$on('bluetoothLink', res => {
  179. console.log(res);
  180. if (res.status) {
  181. getCardRenewal()
  182. }
  183. })
  184. })
  185. onUnload(() => {
  186. //移除监听
  187. uni.$off('bluetoothLink')
  188. })
  189. //获取订单详情
  190. const queryOrderDetail = (id) => {
  191. const options = {
  192. type: 2,
  193. data: {
  194. id: id,
  195. },
  196. method: "POST",
  197. showLoading: true,
  198. };
  199. request(orderDetail, options).then((res) => {
  200. let orderInfo = JSON.parse(res.bizContent);
  201. console.log("orderInfo", orderInfo);
  202. orderInfos.orderId = orderInfo.orderId;
  203. orderInfos.ownerName = orderInfo.ownerName;
  204. orderInfos.ownerIdtype = orderInfo.ownerIdtype;
  205. orderInfos.ownerIdnum = orderInfo.ownerIdnum;
  206. orderInfos.vehiclePlate = orderInfo.vehiclePlate;
  207. orderInfos.vehiclePlateColorStr = orderInfo.vehiclePlateColorStr;
  208. orderInfos.vehiclePlateColor = orderInfo.vehiclePlateColor;
  209. orderInfos.vehicleType = orderInfo.vehicleType;
  210. orderInfos.cardId = orderInfo.cardId;
  211. orderInfos.cardStatus = orderInfo.cardStatus;
  212. orderInfos.obuId = orderInfo.obuId;
  213. orderInfos.obuStatus = orderInfo.obuStatus;
  214. orderInfos.cardEnableTime = orderInfo.cardEnableTime.substring(0, 10);
  215. orderInfos.obuEnableTime = orderInfo.obuEnableTime.substring(0, 10);
  216. orderInfos.cardExpireTime = orderInfo.cardExpireTime;
  217. orderInfos.obuExpireTime = orderInfo.obuExpireTime;
  218. console.log("orderInfos.cardExpiretime", orderInfos.cardExpiretime, orderInfo.cardExpiretime)
  219. });
  220. };
  221. //卡续期 请求
  222. const getCardRenewal = () => {
  223. const options = {
  224. type: 2,
  225. data: {
  226. cardId: orderInfos.cardId,
  227. },
  228. method: "POST",
  229. showLoading: true,
  230. };
  231. request(cardRenewal, options).then((res) => {
  232. let result = stringToJson(res.bizContent);
  233. let cmdArray = result.command.split(",");
  234. console.log(cmdArray);
  235. console.log(result.cosRecordId);
  236. if (cmdArray.length > 0) {
  237. tools.showLoadingAlert("正在执行指令");
  238. bluetoothUtil.transCmd(cmdArray, "10", function(res) {
  239. tools.hideLoadingAlert();
  240. let status = res[cmdArray.length - 1].substring(res[cmdArray.length - 1].length -
  241. 4, res[cmdArray.length - 1].length);
  242. if (status == "9000") {
  243. getCommandBack(result.command, result.cosRecordId, res.toString());
  244. }
  245. })
  246. }
  247. })
  248. };
  249. /**
  250. * 写卡指令返回 请求
  251. */
  252. const getCommandBack = (command, cosRecordId, response) => {
  253. console.log('======循环写卡指令中======')
  254. tools.showLoadingAlert("加载中");
  255. let options = {
  256. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  257. data: {
  258. cardId: orderInfos.cardId,
  259. orderId: orderInfos.orderId,
  260. command: command,
  261. response: response,
  262. cosRecordId: cosRecordId,
  263. cosType: 2
  264. }, //请求参数
  265. method: "POST", //提交方式(默认POST)
  266. showLoading: true, //是否显示加载中(默认显示)
  267. };
  268. //调用方式
  269. request(writeCardBack, options)
  270. .then((res) => {
  271. tools.hideLoadingAlert();
  272. let result = JSON.parse(res.bizContent);
  273. if (result.orderStatus == 1 || result.orderStatus == "1") {
  274. tools.showLoadingAlert("执行指令中");
  275. bluetoothUtil.transCmd(result.command.split(","), "10", function(res) {
  276. tools.hideLoadingAlert();
  277. let response = res.toString();
  278. getCommandBack(result.command, cosRecordId, response);
  279. });
  280. } else {
  281. getCardModifyConfirm(cosRecordId)
  282. }
  283. })
  284. };
  285. //卡信息变更确认
  286. const getCardModifyConfirm = (cosRecordId) => {
  287. const options = {
  288. type: 2,
  289. data: {
  290. cardId: orderInfos.cardId,
  291. operation: 1,
  292. cosRecordId: cosRecordId
  293. },
  294. method: "POST",
  295. showLoading: true,
  296. };
  297. request(cardModifyConfirm, options).then((res) => {
  298. getObuRenewal()
  299. })
  300. }
  301. //去连接蓝牙
  302. const toPage = () => {
  303. console.log("getCurrentPages()", getCurrentPages())
  304. navTo("/pages/bluetooth/bluetooth?routeType=5"); //去连接蓝牙
  305. };
  306. //返回列表
  307. const toBack = () => {
  308. uni.redirectTo({
  309. url: "/pages/service/service"
  310. })
  311. }
  312. //关闭弹窗
  313. const cancel = () => {
  314. state.flag = true;
  315. state.showPopup = false;
  316. uni.navigateTo({
  317. url: `/subpackage/after-sale/deviceInfo/deviceInfo`
  318. })
  319. }
  320. //签续期 请求
  321. const getObuRenewal = () => {
  322. let cmdArray1 = [cmd.HOME_DIRECTORY, cmd.OBU_SYSTEM_FILE, cmd.RANDOM_NUMBER];
  323. tools.showLoadingAlert("正在执行指令");
  324. bluetoothUtil.transCmd(cmdArray1, "20", function(res) {
  325. tools.hideLoadingAlert();
  326. var str = res[2].substring(res[2].length - 4, res[2].length);
  327. if (str == "9000") {
  328. cmdRandNum = res[2].substring(0, res[2].length - 4);
  329. const options = {
  330. type: 2,
  331. data: {
  332. obuId: orderInfos.obuId,
  333. random: cmdRandNum
  334. },
  335. method: "POST",
  336. showLoading: true,
  337. };
  338. request(obuRenewal, options).then((res) => {
  339. let datas = stringToJson(res.bizContent);
  340. console.log("899", datas, datas.data.APDU);
  341. if (datas.data.APDU) {
  342. tools.showLoadingAlert("正在执行指令");
  343. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  344. tools.hideLoadingAlert();
  345. console.log("res=====", res, res[0])
  346. let cmdArr = [cmd.HOME_DIRECTORY, cmd.OBU_DF01, cmd.OBU_EF01, cmd
  347. .RANDOM_NUMBER
  348. ];
  349. bluetoothUtil.transCmd(cmdArr, "20", function(res) {
  350. console.log("chelaing======", res)
  351. var str = res[3].substring(res[3].length - 4, res[3]
  352. .length);
  353. if (str == "9000") {
  354. cmdRandNum = res[3].substring(0, res[3].length -
  355. 4);
  356. console.log("0000000000000000000000000")
  357. getFileData((demos) => {
  358. modifyVehicle(demos);
  359. })
  360. } else {
  361. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  362. }
  363. })
  364. })
  365. }
  366. })
  367. } else {
  368. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  369. }
  370. })
  371. };
  372. //获取fileData
  373. const getFileData = (fun) => {
  374. //调用方式
  375. request('6ed853e432fb4811a3c0d7d27034bd39', {
  376. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  377. data: {
  378. fileData: fileDataStrings.vehiclePlate,
  379. nLen: 24
  380. }, //请求参数
  381. method: "POST", //提交方式(默认POST)
  382. showLoading: true, //是否显示加载中(默认显示)
  383. }).then((les) => {
  384. let result = stringToJson(les.bizContent);
  385. console.log(result, '=========123')
  386. let res1 = result.gbkFileData; //车牌号
  387. // let res1 = AsciToHexString(fileDataStrings.vehiclePlate, 24); //车牌号
  388. let res2 = IntegerToHexString(fileDataStrings.vehiclePlateColor, 4); //车牌颜色
  389. let res3 = IntegerToHexString(1, 2); //类型
  390. let res4 = IntegerToHexString(1, 2); //用户类型
  391. let res5 = IntegerToHexString(fileDataStrings.outlineL, 4); //车辆尺寸 长
  392. let res6 = IntegerToHexString(fileDataStrings.outlineW, 2); //车辆尺寸 宽
  393. let res7 = IntegerToHexString(fileDataStrings.outlineH, 2); //车辆尺寸 高
  394. let res8 = IntegerToHexString(4, 2); //获取轮数
  395. let res9 = IntegerToHexString(4, 2); //轴数
  396. let res10 = IntegerToHexString(null, 4); //轴距32
  397. let res11 = IntegerToHexString(fileDataStrings.approvedCount, 6); //核载人数
  398. let res12 = AsciToHexString(fileDataStrings.vehicleVin, 32); //车编号
  399. // let res12 = JSON.parse(res.bizContent).gbkFileData; //车编号
  400. let res13 = AsciToHexString(fileDataStrings.vehicleEngineNum, 32); //发动机
  401. fun(res1 + res2 + res3 + res4 + res5 + res6 + res7 + res8 + res9 + res10 + res11 + res12 + res13);
  402. })
  403. };
  404. /**
  405. * 修改车辆信息 请求
  406. */
  407. const modifyVehicle = (ites) => {
  408. tools.showLoadingAlert("加载中");
  409. console.log('======修改车辆信息======', ites)
  410. let options = {
  411. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  412. data: {
  413. Status: "0",
  414. random: cmdRandNum,
  415. obuSerailNo: orderInfos.obuId,
  416. fileData: ites,
  417. orderId: orderInfos.orderId,
  418. }, //请求参数
  419. method: "POST", //提交方式(默认POST)
  420. showLoading: true, //是否显示加载中(默认显示)
  421. };
  422. //调用方式
  423. request(modifyObuVehicleInfo, options)
  424. .then((res) => {
  425. tools.hideLoadingAlert();
  426. const datas = stringToJson(res.bizContent);
  427. console.log("modifyObuVehicleInfo", modifyObuVehicleInfo, datas)
  428. tools.showLoadingAlert("正在执行指令");
  429. if (datas.data.APDU) {
  430. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  431. console.log('执行指令结果', res)
  432. tools.hideLoadingAlert();
  433. if (res[0] == "9000") {
  434. //再次获取随机数
  435. let cmdArr = [cmd.HOME_DIRECTORY, cmd.RANDOM_NUMBER];
  436. bluetoothUtil.transCmd(cmdArr, '20', function(res) {
  437. var str = res[1].substring(res[1].length - 4, res[1].length);
  438. if (str == "9000") {
  439. cmdRandNum = res[1].substring(0, res[1].length - 4);
  440. getObuActivation();
  441. } else {
  442. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  443. }
  444. })
  445. }
  446. });
  447. }
  448. })
  449. };
  450. /**
  451. * VFJ-OBU在线激活 请求
  452. */
  453. const getObuActivation = () => {
  454. console.log('======VFJ-OBU在线激活======')
  455. tools.showLoadingAlert("加载中");
  456. let options = {
  457. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  458. data: {
  459. random: cmdRandNum,
  460. obuSerailNo: orderInfos.obuId,
  461. orderId: orderInfos.orderId,
  462. }, //请求参数
  463. method: "POST", //提交方式(默认POST)
  464. showLoading: true, //是否显示加载中(默认显示)
  465. };
  466. //调用方式
  467. request(obuActivation, options)
  468. .then((res) => {
  469. tools.hideLoadingAlert();
  470. console.log("在线激活 请求");
  471. console.log(stringToJson(res.bizContent));
  472. const datas = stringToJson(res.bizContent);
  473. tools.showLoadingAlert("执行指令");
  474. console.log("在线激活 请求==========================", datas, datas.data.APDU);
  475. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  476. tools.hideLoadingAlert();
  477. console.log("在线激活 请求", res);
  478. if (res[0] == "9000") {
  479. state.showPopup = true;
  480. }
  481. });
  482. })
  483. .catch((err) => {
  484. console.log(err);
  485. });
  486. };
  487. //获取订单详情
  488. const getOrderDetails = (id) => {
  489. console.log('======获取订单信息======')
  490. const options = {
  491. type: 2,
  492. data: {
  493. id: id,
  494. },
  495. method: "POST",
  496. showLoading: true,
  497. };
  498. request(orderDetail, options).then((res) => {
  499. orderInfo = JSON.parse(res.bizContent);
  500. console.log("orderInfo", orderInfo);
  501. console.log("orderInfores", res);
  502. if (orderInfo) {
  503. fileDataStrings.userType = orderInfo.userType; //用户类型
  504. fileDataStrings.approvedCount = parseInt(orderInfo.vehicleApprovedCount); //核载人数
  505. fileDataStrings.cardId = orderInfo.cardId;
  506. fileDataStrings.packageNum = orderInfo.packageNum;
  507. fileDataStrings.obuId = orderInfo.obuId;
  508. fileDataStrings.vehicleVin = orderInfo.vehicleVin;
  509. fileDataStrings.vehicleEngineNum = orderInfo.vehicleEngineNum;
  510. fileDataStrings.axleCount = parseInt(orderInfo.vehicleAxleCount); //轴数
  511. fileDataStrings.engineNum = orderInfo.vehicleVin; //发动机
  512. fileDataStrings.type = parseInt(orderInfo.vehicleType); //类型
  513. fileDataStrings.vehiclePlate = orderInfo.vehiclePlate; //车牌
  514. fileDataStrings.vehiclePlateColor = orderInfo.vehiclePlateColor; //车牌颜色
  515. fileDataStrings.vehicleDimensions = orderInfo.vehicleDimensions;
  516. let arr = orderInfo.vehicleDimensions.split("X");
  517. fileDataStrings.outlineL = parseInt(arr[0]); //外廓 长
  518. fileDataStrings.outlineW = parseInt(arr[1]); //外廓 宽
  519. fileDataStrings.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高
  520. fileDataStrings.vehicleIdNo = orderInfo.vehicleEngineNum; //车编号
  521. fileDataStrings.vehiclePlateColorStr = orderInfo.vehiclePlateColorStr;
  522. fileDataStrings.customerTel = orderInfo.customerTel;
  523. fileDataStrings.customerId = orderInfo.customerId;
  524. fileDataStrings.orderId = orderInfo.orderId;
  525. }
  526. });
  527. };
  528. </script>
  529. <style>
  530. page {
  531. width: 100%;
  532. height: 100%;
  533. background-color: #fff;
  534. }
  535. </style>
  536. <style lang="scss" scoped>
  537. .mask {
  538. background: rgba(0, 0, 0, .35);
  539. position: fixed;
  540. left: 0;
  541. top: 0;
  542. bottom: 0;
  543. right: 0;
  544. }
  545. .main {
  546. width: 560rpx;
  547. padding: 25rpx 20rpx 55rpx;
  548. text-align: center;
  549. background: #fff;
  550. position: absolute;
  551. left: 50%;
  552. top: 50%;
  553. transform: translate(-50%, -50%);
  554. border-radius: 20rpx;
  555. .top {
  556. text-align: right;
  557. .icon-close {
  558. width: 48rpx;
  559. height: 48rpx;
  560. }
  561. }
  562. .icon-success {
  563. width: 500rpx;
  564. height: 320rpx;
  565. margin-top: 22rpx;
  566. }
  567. .title {
  568. color: #333333;
  569. font-size: 40rpx;
  570. font-weight: 600;
  571. text-align: center;
  572. margin-top: 55rpx;
  573. }
  574. }
  575. .selectCar-box {
  576. // width: 100%;
  577. // height: 100%;
  578. padding: 30rpx;
  579. .title {
  580. font-size: 30rpx;
  581. font-family: Microsoft YaHei UI;
  582. font-weight: 400;
  583. color: #333333;
  584. margin-bottom: 30rpx;
  585. }
  586. .details {
  587. .title {
  588. font-size: 30rpx;
  589. font-family: Microsoft YaHei UI;
  590. font-weight: 400;
  591. color: #333333;
  592. margin-bottom: 30rpx;
  593. }
  594. .details-item {
  595. display: flex;
  596. font-size: 26rpx;
  597. font-family: Noto Sans S Chinese;
  598. font-weight: 400;
  599. color: #999999;
  600. margin-bottom: 30rpx;
  601. text {
  602. font-size: 26rpx;
  603. font-family: Noto Sans S Chinese;
  604. font-weight: 400;
  605. color: #333333;
  606. }
  607. }
  608. }
  609. .card {
  610. height: 150rpx;
  611. background: #ffffff;
  612. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  613. border-radius: 20rpx;
  614. padding: 30rpx;
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. margin-bottom: 60rpx;
  619. .card-left {
  620. display: flex;
  621. align-items: center;
  622. image {
  623. width: 100rpx;
  624. height: 90rpx;
  625. }
  626. .card-center {
  627. margin-left: 30rpx;
  628. .card-center-head {
  629. font-size: 32rpx;
  630. font-family: Noto Sans S Chinese;
  631. font-weight: 400;
  632. color: #333333;
  633. }
  634. .tips {
  635. font-size: 26rpx;
  636. font-family: Noto Sans S Chinese;
  637. font-weight: 400;
  638. color: #666666;
  639. .tips-card {
  640. width: 70rpx;
  641. height: 40rpx;
  642. background: #d3f2ef;
  643. border-radius: 6rpx;
  644. font-size: 20rpx;
  645. font-family: Noto Sans S Chinese;
  646. font-weight: 400;
  647. color: #0a8f8a;
  648. padding: 5rpx 10rpx;
  649. margin-left: 20rpx;
  650. }
  651. }
  652. }
  653. }
  654. .choose-item {
  655. margin-right: 20rpx;
  656. /* width: 50rpx; */
  657. // height: 50rpx;
  658. /* border: 1rpx solid #00B38B; */
  659. border-radius: 50%;
  660. // display: flex;
  661. // justify-content: center;
  662. // align-items: center;
  663. font-size: 25rpx;
  664. // align-self: end;
  665. .active {
  666. width: 38rpx;
  667. height: 38rpx;
  668. background: #00b38b;
  669. border-radius: 50%;
  670. }
  671. }
  672. }
  673. .remark {
  674. font-size: 26rpx;
  675. font-family: Microsoft YaHei UI;
  676. font-weight: 400;
  677. color: #666666;
  678. text-indent: 30rpx;
  679. margin-bottom: 30rpx;
  680. }
  681. .submit {
  682. margin-top: 100rpx;
  683. width: 670rpx;
  684. height: 80rpx;
  685. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  686. border-radius: 40rpx;
  687. font-size: 32rpx;
  688. font-family: Noto Sans S Chinese;
  689. font-weight: 400;
  690. color: #ffffff;
  691. line-height: 80rpx;
  692. }
  693. }
  694. </style>