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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  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. }
  317. //签续期 请求
  318. const getObuRenewal = () => {
  319. let cmdArray1 = [cmd.HOME_DIRECTORY, cmd.OBU_SYSTEM_FILE, cmd.RANDOM_NUMBER];
  320. tools.showLoadingAlert("正在执行指令");
  321. bluetoothUtil.transCmd(cmdArray1, "20", function(res) {
  322. tools.hideLoadingAlert();
  323. var str = res[2].substring(res[2].length - 4, res[2].length);
  324. if (str == "9000") {
  325. cmdRandNum = res[2].substring(0, res[2].length - 4);
  326. const options = {
  327. type: 2,
  328. data: {
  329. obuId: orderInfos.obuId,
  330. random: cmdRandNum
  331. },
  332. method: "POST",
  333. showLoading: true,
  334. };
  335. request(obuRenewal, options).then((res) => {
  336. let datas = stringToJson(res.bizContent);
  337. console.log("899", datas, datas.data.APDU);
  338. if (datas.data.APDU) {
  339. tools.showLoadingAlert("正在执行指令");
  340. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  341. tools.hideLoadingAlert();
  342. console.log("res=====", res, res[0])
  343. let cmdArr = [cmd.HOME_DIRECTORY, cmd.OBU_DF01, cmd.OBU_EF01, cmd
  344. .RANDOM_NUMBER
  345. ];
  346. bluetoothUtil.transCmd(cmdArr, "20", function(res) {
  347. console.log("chelaing======", res)
  348. var str = res[3].substring(res[3].length - 4, res[3]
  349. .length);
  350. if (str == "9000") {
  351. cmdRandNum = res[3].substring(0, res[3].length -
  352. 4);
  353. console.log("0000000000000000000000000")
  354. getFileData((demos) => {
  355. modifyVehicle(demos);
  356. })
  357. } else {
  358. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  359. }
  360. })
  361. })
  362. }
  363. })
  364. } else {
  365. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  366. }
  367. })
  368. };
  369. //获取fileData
  370. const getFileData = (fun) => {
  371. //调用方式
  372. request('6ed853e432fb4811a3c0d7d27034bd39', {
  373. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  374. data: {
  375. fileData: fileDataStrings.vehiclePlate,
  376. nLen: 24
  377. }, //请求参数
  378. method: "POST", //提交方式(默认POST)
  379. showLoading: true, //是否显示加载中(默认显示)
  380. }).then((les) => {
  381. let result = stringToJson(les.bizContent);
  382. console.log(les, '=========123')
  383. let res1 = result.gbkFileData; //车牌号
  384. let res2 = IntegerToHexString(fileDataStrings.vehiclePlateColor, 4); //车牌颜色
  385. let res3 = IntegerToHexString(1, 2); //类型
  386. let res4 = IntegerToHexString(1, 2); //用户类型
  387. let res5 = IntegerToHexString(fileDataStrings.outlineL, 4); //车辆尺寸 长
  388. let res6 = IntegerToHexString(fileDataStrings.outlineW, 2); //车辆尺寸 宽
  389. let res7 = IntegerToHexString(fileDataStrings.outlineH, 2); //车辆尺寸 高
  390. let res8 = IntegerToHexString(4, 2); //获取轮数
  391. let res9 = IntegerToHexString(4, 2); //轴数
  392. let res10 = IntegerToHexString(null, 4); //轴距32
  393. let res11 = IntegerToHexString(fileDataStrings.approvedCount, 6); //核载人数
  394. let res12 = AsciToHexString(fileDataStrings.vehicleVin, 32); //车编号
  395. // let res12 = JSON.parse(res.bizContent).gbkFileData; //车编号
  396. let res13 = AsciToHexString(fileDataStrings.vehicleEngineNum, 32); //发动机
  397. fun(res1 + res2 + res3 + res4 + res5 + res6 + res7 + res8 + res9 + res10 + res11 + res12 + res13);
  398. })
  399. };
  400. /**
  401. * 修改车辆信息 请求
  402. */
  403. const modifyVehicle = (ites) => {
  404. tools.showLoadingAlert("加载中");
  405. console.log('======修改车辆信息======', ites)
  406. let options = {
  407. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  408. data: {
  409. Status: "0",
  410. random: cmdRandNum,
  411. obuSerailNo: orderInfos.obuId,
  412. fileData: ites,
  413. orderId: orderInfos.orderId,
  414. }, //请求参数
  415. method: "POST", //提交方式(默认POST)
  416. showLoading: true, //是否显示加载中(默认显示)
  417. };
  418. //调用方式
  419. request(modifyObuVehicleInfo, options)
  420. .then((res) => {
  421. tools.hideLoadingAlert();
  422. const datas = stringToJson(res.bizContent);
  423. console.log("modifyObuVehicleInfo", modifyObuVehicleInfo, datas)
  424. tools.showLoadingAlert("正在执行指令");
  425. if (datas.data.APDU) {
  426. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  427. console.log('执行指令结果', res)
  428. tools.hideLoadingAlert();
  429. if (res[0] == "9000") {
  430. //再次获取随机数
  431. let cmdArr = [cmd.HOME_DIRECTORY, cmd.RANDOM_NUMBER];
  432. bluetoothUtil.transCmd(cmdArr, '20', function(res) {
  433. var str = res[1].substring(res[1].length - 4, res[1].length);
  434. if (str == "9000") {
  435. cmdRandNum = res[1].substring(0, res[1].length - 4);
  436. getObuActivation();
  437. } else {
  438. tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
  439. }
  440. })
  441. }
  442. });
  443. }
  444. })
  445. };
  446. /**
  447. * VFJ-OBU在线激活 请求
  448. */
  449. const getObuActivation = () => {
  450. console.log('======VFJ-OBU在线激活======')
  451. tools.showLoadingAlert("加载中");
  452. let options = {
  453. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  454. data: {
  455. random: cmdRandNum,
  456. obuSerailNo: orderInfos.obuId,
  457. orderId: orderInfos.orderId,
  458. }, //请求参数
  459. method: "POST", //提交方式(默认POST)
  460. showLoading: true, //是否显示加载中(默认显示)
  461. };
  462. //调用方式
  463. request(obuActivation, options)
  464. .then((res) => {
  465. tools.hideLoadingAlert();
  466. console.log("在线激活 请求");
  467. console.log(stringToJson(res.bizContent));
  468. const datas = stringToJson(res.bizContent);
  469. tools.showLoadingAlert("执行指令");
  470. console.log("在线激活 请求==========================", datas, datas.data.APDU);
  471. bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
  472. tools.hideLoadingAlert();
  473. console.log("在线激活 请求", res);
  474. if (res[0] == "9000") {
  475. state.showPopup = true;
  476. }
  477. });
  478. })
  479. .catch((err) => {
  480. console.log(err);
  481. });
  482. };
  483. //获取订单详情
  484. const getOrderDetails = (id) => {
  485. console.log('======获取订单信息======')
  486. const options = {
  487. type: 2,
  488. data: {
  489. id: id,
  490. },
  491. method: "POST",
  492. showLoading: true,
  493. };
  494. request(orderDetail, options).then((res) => {
  495. orderInfo = JSON.parse(res.bizContent);
  496. console.log("orderInfo", orderInfo);
  497. console.log("orderInfores", res);
  498. if (orderInfo) {
  499. fileDataStrings.userType = orderInfo.userType; //用户类型
  500. fileDataStrings.approvedCount = parseInt(orderInfo.vehicleApprovedCount); //核载人数
  501. fileDataStrings.cardId = orderInfo.cardId;
  502. fileDataStrings.packageNum = orderInfo.packageNum;
  503. fileDataStrings.obuId = orderInfo.obuId;
  504. fileDataStrings.vehicleVin = orderInfo.vehicleVin;
  505. fileDataStrings.vehicleEngineNum = orderInfo.vehicleEngineNum;
  506. fileDataStrings.axleCount = parseInt(orderInfo.vehicleAxleCount); //轴数
  507. fileDataStrings.engineNum = orderInfo.vehicleVin; //发动机
  508. fileDataStrings.type = parseInt(orderInfo.vehicleType); //类型
  509. fileDataStrings.vehiclePlate = orderInfo.vehiclePlate; //车牌
  510. fileDataStrings.vehiclePlateColor = orderInfo.vehiclePlateColor; //车牌颜色
  511. fileDataStrings.vehicleDimensions = orderInfo.vehicleDimensions;
  512. let arr = orderInfo.vehicleDimensions.split("X");
  513. fileDataStrings.outlineL = parseInt(arr[0]); //外廓 长
  514. fileDataStrings.outlineW = parseInt(arr[1]); //外廓 宽
  515. fileDataStrings.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高
  516. fileDataStrings.vehicleIdNo = orderInfo.vehicleEngineNum; //车编号
  517. fileDataStrings.vehiclePlateColorStr = orderInfo.vehiclePlateColorStr;
  518. fileDataStrings.customerTel = orderInfo.customerTel;
  519. fileDataStrings.customerId = orderInfo.customerId;
  520. fileDataStrings.orderId = orderInfo.orderId;
  521. }
  522. });
  523. };
  524. </script>
  525. <style>
  526. page {
  527. width: 100%;
  528. height: 100%;
  529. background-color: #fff;
  530. }
  531. </style>
  532. <style lang="scss" scoped>
  533. .mask {
  534. background: rgba(0, 0, 0, .35);
  535. position: fixed;
  536. left: 0;
  537. top: 0;
  538. bottom: 0;
  539. right: 0;
  540. }
  541. .main {
  542. width: 560rpx;
  543. padding: 25rpx 20rpx 55rpx;
  544. text-align: center;
  545. background: #fff;
  546. position: absolute;
  547. left: 50%;
  548. top: 50%;
  549. transform: translate(-50%, -50%);
  550. border-radius: 20rpx;
  551. .top {
  552. text-align: right;
  553. .icon-close {
  554. width: 48rpx;
  555. height: 48rpx;
  556. }
  557. }
  558. .icon-success {
  559. width: 500rpx;
  560. height: 320rpx;
  561. margin-top: 22rpx;
  562. }
  563. .title {
  564. color: #333333;
  565. font-size: 40rpx;
  566. font-weight: 600;
  567. text-align: center;
  568. margin-top: 55rpx;
  569. }
  570. }
  571. .selectCar-box {
  572. // width: 100%;
  573. // height: 100%;
  574. padding: 30rpx;
  575. .title {
  576. font-size: 30rpx;
  577. font-family: Microsoft YaHei UI;
  578. font-weight: 400;
  579. color: #333333;
  580. margin-bottom: 30rpx;
  581. }
  582. .details {
  583. .title {
  584. font-size: 30rpx;
  585. font-family: Microsoft YaHei UI;
  586. font-weight: 400;
  587. color: #333333;
  588. margin-bottom: 30rpx;
  589. }
  590. .details-item {
  591. display: flex;
  592. font-size: 26rpx;
  593. font-family: Noto Sans S Chinese;
  594. font-weight: 400;
  595. color: #999999;
  596. margin-bottom: 30rpx;
  597. text {
  598. font-size: 26rpx;
  599. font-family: Noto Sans S Chinese;
  600. font-weight: 400;
  601. color: #333333;
  602. }
  603. }
  604. }
  605. .card {
  606. height: 150rpx;
  607. background: #ffffff;
  608. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  609. border-radius: 20rpx;
  610. padding: 30rpx;
  611. display: flex;
  612. justify-content: space-between;
  613. align-items: center;
  614. margin-bottom: 60rpx;
  615. .card-left {
  616. display: flex;
  617. align-items: center;
  618. image {
  619. width: 100rpx;
  620. height: 90rpx;
  621. }
  622. .card-center {
  623. margin-left: 30rpx;
  624. .card-center-head {
  625. font-size: 32rpx;
  626. font-family: Noto Sans S Chinese;
  627. font-weight: 400;
  628. color: #333333;
  629. }
  630. .tips {
  631. font-size: 26rpx;
  632. font-family: Noto Sans S Chinese;
  633. font-weight: 400;
  634. color: #666666;
  635. .tips-card {
  636. width: 70rpx;
  637. height: 40rpx;
  638. background: #d3f2ef;
  639. border-radius: 6rpx;
  640. font-size: 20rpx;
  641. font-family: Noto Sans S Chinese;
  642. font-weight: 400;
  643. color: #0a8f8a;
  644. padding: 5rpx 10rpx;
  645. margin-left: 20rpx;
  646. }
  647. }
  648. }
  649. }
  650. .choose-item {
  651. margin-right: 20rpx;
  652. /* width: 50rpx; */
  653. // height: 50rpx;
  654. /* border: 1rpx solid #00B38B; */
  655. border-radius: 50%;
  656. // display: flex;
  657. // justify-content: center;
  658. // align-items: center;
  659. font-size: 25rpx;
  660. // align-self: end;
  661. .active {
  662. width: 38rpx;
  663. height: 38rpx;
  664. background: #00b38b;
  665. border-radius: 50%;
  666. }
  667. }
  668. }
  669. .remark {
  670. font-size: 26rpx;
  671. font-family: Microsoft YaHei UI;
  672. font-weight: 400;
  673. color: #666666;
  674. text-indent: 30rpx;
  675. margin-bottom: 30rpx;
  676. }
  677. .submit {
  678. margin-top: 100rpx;
  679. width: 670rpx;
  680. height: 80rpx;
  681. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  682. border-radius: 40rpx;
  683. font-size: 32rpx;
  684. font-family: Noto Sans S Chinese;
  685. font-weight: 400;
  686. color: #ffffff;
  687. line-height: 80rpx;
  688. }
  689. }
  690. </style>