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.

essential-information.vue 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. <template>
  2. <navBar title="九州ETC" :scrollTop="scrollTop" :type="state.data.type" :userType="state.data.userType"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content-wrap">
  5. <!-- 车牌输入 -->
  6. <view class="car-input">
  7. <view class="title">请输入申办车牌</view>
  8. <car-number-input @numberInputResult="carNumber"></car-number-input>
  9. </view>
  10. <!-- 车牌颜色 -->
  11. <view class="chepai-lane">
  12. <view class="title">选择车牌颜色</view>
  13. <numberplate-color :numberplate="state.data.vehiclePlateNumber" :type="state.data.type"
  14. @numberplateResult="checkNumberplateColor">
  15. </numberplate-color>
  16. </view>
  17. <view>
  18. <!-- 收货地址 -->
  19. <view v-if="!state.data.region" class="address-lane">
  20. <view class="title">请选择或新增收货地址</view>
  21. <view style="margin-top: 30rpx" class="action">
  22. <button type="default" class="button" @click="state.show = true">
  23. 添加收货地址
  24. </button>
  25. </view>
  26. </view>
  27. <view v-if="state.data.region" class="address-lane">
  28. <view class="title">收货地址</view>
  29. <view @click="state.show = true" class="address-content" style="margin-top: 30rpx">
  30. <view class="flex">
  31. <image :showLoading="true" :src="`${$imgUrl}applyCard/location.png`"
  32. style="width: 48rpx; height: 48rpx">
  33. </image>
  34. <view style="margin-left: 18rpx" class="">
  35. <view class="address">
  36. {{ state.data.region + state.data.address }}
  37. </view>
  38. <view style="margin-top: 15rpx" class="flex">
  39. <view class="name">
  40. {{ state.data.consignee }}
  41. </view>
  42. <view class="phone">
  43. {{ state.data.consigneeTel }}
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="arror">
  49. <image :src="`${$imgUrl}common/arror-right.png`" class="icon"></image>
  50. </view>
  51. </view>
  52. <!-- <view class="as-layout-horizontal agreement">
  53. <checkbox-group @change="checkboxChange">
  54. <checkbox :checked="state.checked" style="transform: scale(0.8)" />我已阅读并同意
  55. </checkbox-group>
  56. <text style="color:#007AFF;text-decoration: underline;" @click="downAuthD()">《用户协议》</text>
  57. </view> -->
  58. <view style="margin-top: 30rpx" class="action">
  59. <button type="default" class="button" @click="nextAction()">
  60. 下一步
  61. </button>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <!-- 地址弹窗 -->
  67. <u-popup mode="bottom" v-model="state.show">
  68. <view class="address-line">
  69. <view v-if="state.addressArray" v-for="(item, index) in state.addressArray" :key="index"
  70. @click="addressSelected(item)" style="margin-bottom: 60rpx" class="flex-bettwen">
  71. <view class="flex">
  72. <view class="xing">
  73. {{ item.consignee.charAt(0) }}
  74. </view>
  75. <view class="content">
  76. <view class="flex">
  77. <view class="name">
  78. {{ item.consignee }}
  79. </view>
  80. <view class="phone">
  81. {{ item.consigneeTel }}
  82. <text class="default" v-if="item.defaultAddress==1">默认</text>
  83. </view>
  84. </view>
  85. <view class="address">
  86. {{ item.region + item.address }}
  87. </view>
  88. </view>
  89. </view>
  90. <view @click.stop="editAddress(item)" style="margin-left: 80rpx" class="picture">
  91. <image :showLoading="true" :src="`${$imgUrl}applyCard/edit.png`"
  92. style="width: 48rpx; height: 48rpx"></image>
  93. </view>
  94. </view>
  95. <view :style="state.addressArray ? 'margin-top: 60rpx;' : ''" class="action-bottom">
  96. <button type="default" class="button" @click="goToAddAddress()">
  97. 添加收货地址
  98. </button>
  99. </view>
  100. </view>
  101. </u-popup>
  102. </template>
  103. <script setup lang="ts">
  104. /*导航*/
  105. import navBgCar from "./components/nav-bg-car2";
  106. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  107. import numberplateColor from "./components/layout-numberplate-color";
  108. import { getItem, StorageKeys } from "@/utils/storage";
  109. import { stringToJson } from "@/utils/network/encryption";
  110. import navBar from "@/components/nav-bar/nav-bar2.vue";
  111. import { onLoad, onShow, onPageScroll, onUnload } from "@dcloudio/uni-app";
  112. import {
  113. addressQuery,
  114. etcCreatOrder,
  115. etcVehiclePlateVer,
  116. searchOrder,
  117. productReCode,
  118. getGlobalParam,
  119. infoQuery,
  120. envs,
  121. addProduct,
  122. isSubmitOrderApi
  123. } from "@/utils/network/api.js";
  124. import { request } from "@/utils/network/request.js";
  125. import { reactive, ref } from "vue";
  126. import { msg } from "@/utils/utils";
  127. // import amap from "../../lib/amap-uni.130.js";//引入高德地图小程序插件
  128. const scrollTop = ref(0);
  129. const state = reactive({
  130. data: {
  131. vehiclePlate: undefined, //车牌号
  132. vehiclePlateNumber: "", //车牌号
  133. vehiclePlateColor: 0, //车牌颜色
  134. type: "1", //车牌类型
  135. userType: 1,
  136. whetherToMail: getItem(StorageKeys.OpenId) ? 0 : "", //是否需要邮寄 小程序默认邮寄 0邮寄||1不邮寄 不登录为1
  137. orderSource: "WECHAT",
  138. opId: "",
  139. consignee: "", //收货人
  140. consigneeTel: "", //收货电话
  141. region: "",
  142. address: "",
  143. postalCode: "",
  144. promoteId: "",
  145. longitude: "",
  146. latitude: "",
  147. detailedAddress: '', //通过经纬度转的地址
  148. cardType: '' //卡类型
  149. },
  150. show: false,
  151. addressArray: [],
  152. isSign: '',
  153. isValueCard: '',
  154. checked: false,
  155. agreeURL: "",
  156. orderId: "",
  157. totalAmount: "",
  158. equityId: ""
  159. });
  160. const globalParam = () => {
  161. const options = {
  162. type: 2,
  163. data: {
  164. "loginSource": getItem("loginSource")
  165. },
  166. method: "POST",
  167. showLoading: true,
  168. };
  169. request(getGlobalParam, options).then((res) => {
  170. const result = stringToJson(res.bizContent);
  171. console.log("配置", result);
  172. });
  173. }
  174. const downAuthD = () => {
  175. // tools.showLoadingAlert("加载中");
  176. uni.downloadFile({
  177. url: state.agreeURL,
  178. filePath: wx.env.USER_DATA_PATH + '/' + '用户协议.docx',
  179. success(res) {
  180. const filePath = res.filePath
  181. uni.openDocument({
  182. filePath: filePath,
  183. fileType: 'docx',
  184. showMenu: true, //关键点
  185. success: function (res) {
  186. msg("打开文档成功");
  187. },
  188. fail: function (err) {
  189. msg("打开文档失败");
  190. }
  191. });
  192. },
  193. fail: function (err) {
  194. msg("下载文档失败");
  195. console.log("err", err)
  196. },
  197. complete(res) {
  198. }
  199. })
  200. }
  201. const getInfo = () => {
  202. //参数说明
  203. let options = {
  204. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  205. data: {
  206. businessType: 'USER_AGREEMENT' //用户协议
  207. }, //请求参数
  208. method: "POST", //提交方式(默认POST)
  209. showLoading: true, //是否显示加载中(默认显示)
  210. };
  211. //调用方式
  212. request(infoQuery, options)
  213. .then((res) => {
  214. let data = stringToJson(res.bizContent)
  215. if (data.textType = "URL") {
  216. state.agreeURL = envs[process.env.NODE_ENV].baseUrl + data.text
  217. }
  218. console.log("用户协议", state.agreeURL);
  219. })
  220. .catch((err) => {
  221. console.log(err);
  222. });
  223. }
  224. /* 选择车牌颜色 */
  225. const checkNumberplateColor = (item : any) => {
  226. state.data.vehiclePlateColor = item;
  227. };
  228. const goToAddAddress = () => {
  229. uni.navigateTo({
  230. url: "/subpackage/orders/addAddress",
  231. });
  232. };
  233. const editAddress = (val) => {
  234. console.log("val", val)
  235. uni.navigateTo({
  236. url: `/subpackage/orders/editAddress?content=` + JSON.stringify(val),
  237. });
  238. };
  239. const checkboxChange = (e) => {
  240. state.checked = !state.checked;
  241. console.log(state.checked);
  242. };
  243. const carNumber = (val : any) => {
  244. state.data.vehiclePlate = val;
  245. state.data.vehiclePlateNumber = val;
  246. };
  247. const addressSelected = (val : any) => {
  248. console.log("val", val)
  249. state.data = {
  250. ...state.data,
  251. ...val,
  252. };
  253. console.log("state.data.address", state.data.address)
  254. state.show = false;
  255. };
  256. const nextAction = () => {
  257. if (!state.data.vehiclePlate) {
  258. msg("请输入申办车牌");
  259. return;
  260. }
  261. state.data.vehiclePlate = state.data.vehiclePlate.trim();
  262. console.log(state.data.vehiclePlate);
  263. console.log(state.data.vehiclePlate.length);
  264. if (state.data.vehiclePlate.length < 7) {
  265. msg("请输入正确的申办车牌");
  266. return;
  267. }
  268. // if (!state.checked) {
  269. // msg("请勾选协议!")
  270. // return;
  271. // }
  272. //1.优先车牌校验 2.在进行订单创建
  273. isSubmitOrderRequest(state.data.vehiclePlate, state.data.vehiclePlateColor).then((item) => {
  274. console.log("item.data.data.canSubmit", item.data.data.canSubmit)
  275. if (item.data.data.canSubmit == 1) {
  276. var vehicleData = {
  277. vehiclePlate: state.data.vehiclePlate,
  278. vehiclePlateColor: state.data.vehiclePlateColor,
  279. };
  280. const options = {
  281. type: 2,
  282. data: vehicleData,
  283. method: "POST",
  284. showLoading: true,
  285. };
  286. console.log("车牌信息", options)
  287. request(etcVehiclePlateVer, options).then((res) => {
  288. var data = state.data;
  289. // #ifdef MP-ALIPAY
  290. data.orderSource = 'ALI'
  291. // #endif
  292. const options = {
  293. type: 2,
  294. data: data,
  295. method: "POST",
  296. showLoading: true,
  297. };
  298. request(etcCreatOrder, options).then((res) => {
  299. console.log(res);
  300. if (res.statusCode === 600) {
  301. orderGoAction();
  302. } else {
  303. const data = stringToJson(res.bizContent);
  304. state.orderId = data.orderId
  305. console.log(data);
  306. //提交产品信息
  307. productReCodeAction(data.orderId).then((result) => {
  308. console.log("产品信息", result);
  309. // 加购权益产品
  310. addProductRequest().then((res) => {
  311. if (state.data.userType == 1) {
  312. uni.navigateTo({
  313. url: `/subpackage/orders/opening-account-people?orderId=${data.orderId}&&vehiclePlateColor=${state.data.vehiclePlateColor}&isSign=${state.isValueCard}&type=${state.data.type}`,
  314. });
  315. } else {
  316. uni.navigateTo({
  317. url: `/subpackage/orders/opening-account-unit?orderId=${data.orderId}&&vehiclePlateColor=${state.data.vehiclePlateColor}&isSign=${state.isValueCard}&type=${state.data.type}`,
  318. });
  319. }
  320. })
  321. })
  322. }
  323. });
  324. });
  325. } else {
  326. msg(item.data.data.canSubmitMsg);
  327. }
  328. })
  329. };
  330. //按照订单阶段去跳转
  331. const orderGoAction = () => {
  332. var orderParmas = {
  333. vehicleId: state.data.vehiclePlate + "_" + state.data.vehiclePlateColor,
  334. opId: getItem(StorageKeys.OpenId),
  335. source: "WECHAT",
  336. };
  337. const options = {
  338. type: 2,
  339. data: orderParmas,
  340. method: "POST",
  341. showLoading: true,
  342. };
  343. request(searchOrder, options).then((res) => {
  344. const data = stringToJson(res.bizContent);
  345. console.log(data);
  346. orderStepGoActon(data);
  347. });
  348. };
  349. //订单状态舔砖
  350. const orderStepGoActon = (val : any) => {
  351. console.log("订单状态舔砖", val);
  352. //完成填写基本信息
  353. if (val.orderStep === 1) {
  354. if (state.data.userType === 1 || val.orderStep === 27) {
  355. uni.redirectTo({
  356. url: `/subpackage/orders/opening-account-people?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  357. });
  358. } else {
  359. uni.redirectTo({
  360. url: `/subpackage/orders/opening-account-unit?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  361. });
  362. }
  363. } else if (val.orderStep === 2) {
  364. uni.redirectTo({
  365. url: `/subpackage/orders/car-release?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  366. });
  367. } else if (val.orderStep === 3) {
  368. uni.redirectTo({
  369. url: `/subpackage/orders/choice-product?orderId=${val.orderId}`,
  370. });
  371. } else if (val.orderStep === 4) {
  372. uni.redirectTo({
  373. url: `/subpackage/orders/product-detail?orderId=${val.orderId}&&clientFee=${val.product.clientFee}&&id=${val.productId}`,
  374. });
  375. } else if (val.orderStep === 26) {
  376. uni.redirectTo({
  377. url: `/subpackage/orders/product-detail?orderId=${val.orderId}&&clientFee=${val.product.clientFee}&&id=${val.productId}`,
  378. });
  379. }
  380. };
  381. onLoad((option : any) => {
  382. state.data.type = option.type; //1客车 2货车
  383. state.data.opId = getItem(StorageKeys.OpenId);
  384. state.data.userType = option.userType;
  385. state.data.promoteId = option.promoteId;
  386. state.isValueCard = option.isValueCard
  387. state.data.cardType = option.isValueCard
  388. state.totalAmount = option.totalAmount;
  389. state.equityId = option.equityId;
  390. console.log("订单选择推广发行产品接口", option)
  391. getInfo();
  392. globalParam();
  393. uni.getLocation({
  394. type: 'wgs84',
  395. success: function (res) {
  396. state.data.longitude = res.longitude;
  397. state.data.latitude = res.latitude;
  398. console.log("成功回调", res)
  399. uni.request({
  400. url: 'https://apis.map.qq.com/ws/geocoder/v1/',
  401. data: {
  402. location: (res.latitude + "," + res.longitude),
  403. key: 'U3EBZ-EITC3-SRW3P-3PKVC-LWFD6-SJBAE',
  404. },
  405. success: function (res) {
  406. console.log("成功回调", res)
  407. state.data.detailedAddress = res.data.result.address; // 详细地址信息
  408. // 处理获取到的地址信息
  409. },
  410. fail: function (error) {
  411. // 请求失败的处理
  412. }
  413. });
  414. }
  415. });
  416. });
  417. //监听页面滚动
  418. onPageScroll((e) => {
  419. scrollTop.value = e.scrollTop;
  420. });
  421. onShow((option) => {
  422. var data = {
  423. openId: getItem(StorageKeys.OpenId),
  424. };
  425. if (getItem(StorageKeys.OpenId)) {
  426. const options = {
  427. type: 2,
  428. data: data,
  429. method: "POST",
  430. showLoading: true,
  431. };
  432. request(addressQuery, options).then((res) => {
  433. const data = stringToJson(res.bizContent);
  434. console.log("111", data);
  435. state.addressArray = data.data ? data.data : [];
  436. for (var i = 0; i < state.addressArray.length; i++) {
  437. if (state.addressArray[i]['defaultAddress'] == 1) {
  438. state.data = {
  439. ...state.data,
  440. ...state.addressArray[i],
  441. };
  442. }
  443. }
  444. });
  445. }
  446. uni.$on('updateData', function (data) {
  447. var arr = [];
  448. arr.push(data)
  449. state.addressArray = arr
  450. console.log("dizhi", arr)
  451. })
  452. // 删除地址
  453. if (option) {
  454. if (option.del == 1) {
  455. state.addressArray = [];
  456. }
  457. }
  458. });
  459. onUnload(() => {
  460. uni.$off('updateData');
  461. })
  462. const productReCodeAction = (orderId) => {
  463. var data = {
  464. promoteId: state.data.promoteId,
  465. orderId: orderId,
  466. isValueCard: state.isValueCard,
  467. loginSource: getItem("loginSource")
  468. };
  469. const options = {
  470. type: 2,
  471. data: data,
  472. method: "POST",
  473. showLoading: true,
  474. };
  475. return new Promise(async (resolve, reject) => {
  476. const res = await request(productReCode, options);
  477. const data = stringToJson(res.bizContent);
  478. console.log("111")
  479. resolve(data);
  480. }).catch((error) => {
  481. console.log("222")
  482. reject(error);
  483. });
  484. };
  485. const addProductRequest = () => {
  486. const options = {
  487. type: 2,
  488. data: {
  489. orderId: state.orderId, //订单编号
  490. openId: getItem(StorageKeys.OpenId), //操作人 id
  491. equityId: state.equityId, //权益Id
  492. totalAmount: state.totalAmount, //总金额
  493. isRepeatPurchase: 0
  494. },
  495. method: "POST",
  496. showLoading: true,
  497. };
  498. console.log("optionss", options);
  499. return new Promise(async (resolve, reject) => {
  500. const res = await request(addProduct, options);
  501. const data = stringToJson(res.bizContent);
  502. console.log("111")
  503. resolve(data);
  504. }).catch((error) => {
  505. console.log("222")
  506. reject(error);
  507. });
  508. }
  509. // 老中台-检测能否提交订单
  510. const isSubmitOrderRequest = (vehiclePlate, vehiclePlateColor) => {
  511. const options = {
  512. type: 2,
  513. data: {
  514. vehicleId: vehiclePlate + "_" + vehiclePlateColor
  515. },
  516. method: "POST",
  517. showLoading: true,
  518. };
  519. return new Promise(async (resolve, reject) => {
  520. const res = await request(isSubmitOrderApi, options);
  521. const data = stringToJson(res.bizContent);
  522. console.log("111")
  523. resolve(data);
  524. }).catch((error) => {
  525. console.log("222")
  526. reject(error);
  527. });
  528. }
  529. </script>
  530. <style lang="scss" scoped>
  531. .flex {
  532. display: flex;
  533. align-items: center;
  534. }
  535. .content-wrap {
  536. position: relative;
  537. margin-top: -50rpx;
  538. padding: 0rpx 30rpx;
  539. .title {
  540. font-size: 30rpx;
  541. font-family: Noto Sans S Chinese;
  542. font-weight: 400;
  543. color: #000000;
  544. line-height: 30rpx;
  545. margin-bottom: 30rpx;
  546. }
  547. .car-input {}
  548. .chepai-lane {
  549. margin-top: 60rpx;
  550. margin-bottom: 20rpx;
  551. }
  552. .address-lane {
  553. margin-bottom: 30rpx;
  554. .title {
  555. font-size: 30rpx;
  556. font-weight: 400;
  557. color: #000000;
  558. line-height: 30rpx;
  559. }
  560. }
  561. }
  562. .address-content {
  563. display: flex;
  564. align-items: center;
  565. justify-content: space-between;
  566. padding-bottom: 30rpx;
  567. border-bottom: 1rpx solid #dcdcdc;
  568. .name {
  569. font-size: 26rpx;
  570. font-family: Microsoft YaHei;
  571. font-weight: 400;
  572. color: #999999;
  573. font-size: 26rpx;
  574. }
  575. .phone {
  576. font-size: 26rpx;
  577. font-family: Microsoft YaHei;
  578. font-weight: 400;
  579. color: #999999;
  580. line-height: 26rpx;
  581. margin-left: 20rpx;
  582. }
  583. .arror .icon {
  584. width: 36rpx;
  585. height: 36rpx;
  586. }
  587. .address {
  588. font-size: 32rpx;
  589. font-family: Microsoft YaHei;
  590. font-weight: 400;
  591. color: #333333;
  592. line-height: 32rpx;
  593. }
  594. }
  595. .address-line {
  596. padding: 20px;
  597. .flex-bettwen {
  598. display: flex;
  599. align-items: center;
  600. justify-content: space-between;
  601. }
  602. .xing {
  603. width: 68rpx;
  604. height: 68rpx;
  605. background: rgba(0, 179, 139, 0.2);
  606. border-radius: 50%;
  607. font-size: 26rpx;
  608. font-weight: 400;
  609. color: #00b38b;
  610. line-height: 68rpx;
  611. text-align: center;
  612. }
  613. .content {
  614. margin-left: 20px;
  615. .name {
  616. font-size: 30rpx;
  617. font-family: Microsoft YaHei;
  618. font-weight: 500;
  619. color: #333333;
  620. }
  621. .phone {
  622. margin-left: 10rpx;
  623. font-size: 24rpx;
  624. font-family: Microsoft YaHei;
  625. font-weight: 400;
  626. color: #999999;
  627. line-height: 36rpx;
  628. }
  629. .address {
  630. margin-top: 10rpx;
  631. font-size: 26rpx;
  632. font-family: Microsoft YaHei;
  633. font-weight: 400;
  634. color: #333333;
  635. line-height: 36rpx;
  636. }
  637. .picture {
  638. width: 48rpx;
  639. height: 48rpx;
  640. }
  641. .editIcon {
  642. width: 48rpx;
  643. height: 48rpx;
  644. }
  645. }
  646. }
  647. .action {
  648. padding-bottom: 100rpx;
  649. .button {
  650. height: 80rpx;
  651. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  652. border-radius: 40rpx;
  653. font-size: 32rpx;
  654. font-weight: 400;
  655. color: #ffffff;
  656. line-height: 80rpx;
  657. }
  658. }
  659. .action-bottom {
  660. padding-bottom: 30rpx;
  661. .button {
  662. height: 80rpx;
  663. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  664. border-radius: 40rpx;
  665. font-size: 32rpx;
  666. font-weight: 400;
  667. color: #ffffff;
  668. line-height: 80rpx;
  669. }
  670. }
  671. :deep(.numberplates .numberplate-bg) {
  672. width: 190rpx;
  673. }
  674. :deep(.numberplates .numberplate) {
  675. margin-right: 0rpx !important;
  676. width: 190rpx;
  677. }
  678. :deep(.numberplates) {
  679. justify-content: space-between;
  680. }
  681. .agreement {
  682. font-size: 30rpx;
  683. display: flex;
  684. flex-wrap: wrap;
  685. margin-top: 20rpx;
  686. align-items: center;
  687. justify-content: center;
  688. }
  689. .default {
  690. border: 1rpx solid #00b38b;
  691. border-radius: 5rpx;
  692. padding: 2rpx 4rpx;
  693. color: #00b38b;
  694. margin-left: 4rpx;
  695. }
  696. </style>