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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  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, noticeUser } 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. noticeUser(() => {
  258. nextActionRequest()
  259. });
  260. };
  261. const nextActionRequest = () => {
  262. if (!state.data.vehiclePlate) {
  263. msg("请输入申办车牌");
  264. return;
  265. }
  266. state.data.vehiclePlate = state.data.vehiclePlate.trim();
  267. console.log(state.data.vehiclePlate);
  268. console.log(state.data.vehiclePlate.length);
  269. if (state.data.vehiclePlate.length < 7) {
  270. msg("请输入正确的申办车牌");
  271. return;
  272. }
  273. // if (!state.checked) {
  274. // msg("请勾选协议!")
  275. // return;
  276. // }
  277. //1.优先车牌校验 2.在进行订单创建
  278. isSubmitOrderRequest(state.data.vehiclePlate, state.data.vehiclePlateColor).then((item) => {
  279. console.log("item.data.data.canSubmit", item.data.data.canSubmit)
  280. if (item.data.data.canSubmit == 1) {
  281. var vehicleData = {
  282. vehiclePlate: state.data.vehiclePlate,
  283. vehiclePlateColor: state.data.vehiclePlateColor,
  284. };
  285. const options = {
  286. type: 2,
  287. data: vehicleData,
  288. method: "POST",
  289. showLoading: true,
  290. };
  291. console.log("车牌信息", options)
  292. request(etcVehiclePlateVer, options).then((res) => {
  293. var data = state.data;
  294. // #ifdef MP-ALIPAY
  295. data.orderSource = 'ALI'
  296. // #endif
  297. const options = {
  298. type: 2,
  299. data: data,
  300. method: "POST",
  301. showLoading: true,
  302. };
  303. request(etcCreatOrder, options).then((res) => {
  304. console.log(res);
  305. if (res.statusCode === 600) {
  306. orderGoAction();
  307. } else {
  308. const data = stringToJson(res.bizContent);
  309. state.orderId = data.orderId
  310. console.log(data);
  311. //提交产品信息
  312. productReCodeAction(data.orderId).then((result) => {
  313. console.log("产品信息", result);
  314. // 加购权益产品
  315. addProductRequest().then((res) => {
  316. if (state.data.userType == 1) {
  317. uni.navigateTo({
  318. url: `/subpackage/orders/opening-account-people?orderId=${data.orderId}&&vehiclePlateColor=${state.data.vehiclePlateColor}&isSign=${state.isValueCard}&type=${state.data.type}`,
  319. });
  320. } else {
  321. uni.navigateTo({
  322. url: `/subpackage/orders/opening-account-unit?orderId=${data.orderId}&&vehiclePlateColor=${state.data.vehiclePlateColor}&isSign=${state.isValueCard}&type=${state.data.type}`,
  323. });
  324. }
  325. })
  326. })
  327. }
  328. });
  329. });
  330. } else {
  331. msg(item.data.data.canSubmitMsg);
  332. }
  333. })
  334. }
  335. //按照订单阶段去跳转
  336. const orderGoAction = () => {
  337. var orderParmas = {
  338. vehicleId: state.data.vehiclePlate + "_" + state.data.vehiclePlateColor,
  339. opId: getItem(StorageKeys.OpenId),
  340. source: "WECHAT",
  341. };
  342. const options = {
  343. type: 2,
  344. data: orderParmas,
  345. method: "POST",
  346. showLoading: true,
  347. };
  348. request(searchOrder, options).then((res) => {
  349. const data = stringToJson(res.bizContent);
  350. console.log(data);
  351. orderStepGoActon(data);
  352. });
  353. };
  354. //订单状态舔砖
  355. const orderStepGoActon = (val : any) => {
  356. console.log("订单状态舔砖", val);
  357. //完成填写基本信息
  358. if (val.orderStep === 1) {
  359. if (state.data.userType === 1 || val.orderStep === 27) {
  360. uni.redirectTo({
  361. url: `/subpackage/orders/opening-account-people?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  362. });
  363. } else {
  364. uni.redirectTo({
  365. url: `/subpackage/orders/opening-account-unit?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  366. });
  367. }
  368. } else if (val.orderStep === 2) {
  369. uni.redirectTo({
  370. url: `/subpackage/orders/car-release?orderId=${val.orderId}&&vehiclePlateColor=${val.vehiclePlateColor}`,
  371. });
  372. } else if (val.orderStep === 3) {
  373. uni.redirectTo({
  374. url: `/subpackage/orders/choice-product?orderId=${val.orderId}`,
  375. });
  376. } else if (val.orderStep === 4) {
  377. uni.redirectTo({
  378. url: `/subpackage/orders/product-detail?orderId=${val.orderId}&&clientFee=${val.product.clientFee}&&id=${val.productId}`,
  379. });
  380. } else if (val.orderStep === 26) {
  381. uni.redirectTo({
  382. url: `/subpackage/orders/product-detail?orderId=${val.orderId}&&clientFee=${val.product.clientFee}&&id=${val.productId}`,
  383. });
  384. }
  385. };
  386. onLoad((option : any) => {
  387. state.data.type = option.type; //1客车 2货车
  388. state.data.opId = getItem(StorageKeys.OpenId);
  389. state.data.userType = option.userType;
  390. state.data.promoteId = option.promoteId;
  391. state.isValueCard = option.isValueCard
  392. state.data.cardType = option.isValueCard
  393. state.totalAmount = option.totalAmount;
  394. state.equityId = option.equityId;
  395. console.log("订单选择推广发行产品接口", option)
  396. getInfo();
  397. globalParam();
  398. uni.getLocation({
  399. type: 'wgs84',
  400. success: function (res) {
  401. state.data.longitude = res.longitude;
  402. state.data.latitude = res.latitude;
  403. console.log("成功回调", res)
  404. uni.request({
  405. url: 'https://apis.map.qq.com/ws/geocoder/v1/',
  406. data: {
  407. location: (res.latitude + "," + res.longitude),
  408. key: 'U3EBZ-EITC3-SRW3P-3PKVC-LWFD6-SJBAE',
  409. },
  410. success: function (res) {
  411. console.log("成功回调", res)
  412. state.data.detailedAddress = res.data.result.address; // 详细地址信息
  413. // 处理获取到的地址信息
  414. },
  415. fail: function (error) {
  416. // 请求失败的处理
  417. }
  418. });
  419. }
  420. });
  421. });
  422. //监听页面滚动
  423. onPageScroll((e) => {
  424. scrollTop.value = e.scrollTop;
  425. });
  426. onShow((option) => {
  427. var data = {
  428. openId: getItem(StorageKeys.OpenId),
  429. };
  430. if (getItem(StorageKeys.OpenId)) {
  431. const options = {
  432. type: 2,
  433. data: data,
  434. method: "POST",
  435. showLoading: true,
  436. };
  437. request(addressQuery, options).then((res) => {
  438. const data = stringToJson(res.bizContent);
  439. console.log("111", data);
  440. state.addressArray = data.data ? data.data : [];
  441. for (var i = 0; i < state.addressArray.length; i++) {
  442. if (state.addressArray[i]['defaultAddress'] == 1) {
  443. state.data = {
  444. ...state.data,
  445. ...state.addressArray[i],
  446. };
  447. }
  448. }
  449. });
  450. }
  451. uni.$on('updateData', function (data) {
  452. var arr = [];
  453. arr.push(data)
  454. state.addressArray = arr
  455. console.log("dizhi", arr)
  456. })
  457. // 删除地址
  458. if (option) {
  459. if (option.del == 1) {
  460. state.addressArray = [];
  461. }
  462. }
  463. });
  464. onUnload(() => {
  465. uni.$off('updateData');
  466. })
  467. const productReCodeAction = (orderId) => {
  468. var data = {
  469. promoteId: state.data.promoteId,
  470. orderId: orderId,
  471. isValueCard: state.isValueCard,
  472. loginSource: getItem("loginSource")
  473. };
  474. const options = {
  475. type: 2,
  476. data: data,
  477. method: "POST",
  478. showLoading: true,
  479. };
  480. return new Promise(async (resolve, reject) => {
  481. const res = await request(productReCode, options);
  482. const data = stringToJson(res.bizContent);
  483. console.log("111")
  484. resolve(data);
  485. }).catch((error) => {
  486. console.log("222")
  487. reject(error);
  488. });
  489. };
  490. const addProductRequest = () => {
  491. const options = {
  492. type: 2,
  493. data: {
  494. orderId: state.orderId, //订单编号
  495. openId: getItem(StorageKeys.OpenId), //操作人 id
  496. equityId: state.equityId, //权益Id
  497. totalAmount: state.totalAmount, //总金额
  498. isRepeatPurchase: 0
  499. },
  500. method: "POST",
  501. showLoading: true,
  502. };
  503. console.log("optionss", options);
  504. return new Promise(async (resolve, reject) => {
  505. const res = await request(addProduct, options);
  506. const data = stringToJson(res.bizContent);
  507. console.log("111")
  508. resolve(data);
  509. }).catch((error) => {
  510. console.log("222")
  511. reject(error);
  512. });
  513. }
  514. // 老中台-检测能否提交订单
  515. const isSubmitOrderRequest = (vehiclePlate, vehiclePlateColor) => {
  516. const options = {
  517. type: 2,
  518. data: {
  519. vehicleId: vehiclePlate + "_" + vehiclePlateColor
  520. },
  521. method: "POST",
  522. showLoading: true,
  523. };
  524. return new Promise(async (resolve, reject) => {
  525. const res = await request(isSubmitOrderApi, options);
  526. const data = stringToJson(res.bizContent);
  527. console.log("111")
  528. resolve(data);
  529. }).catch((error) => {
  530. console.log("222")
  531. reject(error);
  532. });
  533. }
  534. </script>
  535. <style lang="scss" scoped>
  536. .flex {
  537. display: flex;
  538. align-items: center;
  539. }
  540. .content-wrap {
  541. position: relative;
  542. margin-top: -50rpx;
  543. padding: 0rpx 30rpx;
  544. .title {
  545. font-size: 30rpx;
  546. font-family: Noto Sans S Chinese;
  547. font-weight: 400;
  548. color: #000000;
  549. line-height: 30rpx;
  550. margin-bottom: 30rpx;
  551. }
  552. .car-input {}
  553. .chepai-lane {
  554. margin-top: 60rpx;
  555. margin-bottom: 20rpx;
  556. }
  557. .address-lane {
  558. margin-bottom: 30rpx;
  559. .title {
  560. font-size: 30rpx;
  561. font-weight: 400;
  562. color: #000000;
  563. line-height: 30rpx;
  564. }
  565. }
  566. }
  567. .address-content {
  568. display: flex;
  569. align-items: center;
  570. justify-content: space-between;
  571. padding-bottom: 30rpx;
  572. border-bottom: 1rpx solid #dcdcdc;
  573. .name {
  574. font-size: 26rpx;
  575. font-family: Microsoft YaHei;
  576. font-weight: 400;
  577. color: #999999;
  578. font-size: 26rpx;
  579. }
  580. .phone {
  581. font-size: 26rpx;
  582. font-family: Microsoft YaHei;
  583. font-weight: 400;
  584. color: #999999;
  585. line-height: 26rpx;
  586. margin-left: 20rpx;
  587. }
  588. .arror .icon {
  589. width: 36rpx;
  590. height: 36rpx;
  591. }
  592. .address {
  593. font-size: 32rpx;
  594. font-family: Microsoft YaHei;
  595. font-weight: 400;
  596. color: #333333;
  597. line-height: 32rpx;
  598. }
  599. }
  600. .address-line {
  601. padding: 20px;
  602. .flex-bettwen {
  603. display: flex;
  604. align-items: center;
  605. justify-content: space-between;
  606. }
  607. .xing {
  608. width: 68rpx;
  609. height: 68rpx;
  610. background: rgba(0, 179, 139, 0.2);
  611. border-radius: 50%;
  612. font-size: 26rpx;
  613. font-weight: 400;
  614. color: #00b38b;
  615. line-height: 68rpx;
  616. text-align: center;
  617. }
  618. .content {
  619. margin-left: 20px;
  620. .name {
  621. font-size: 30rpx;
  622. font-family: Microsoft YaHei;
  623. font-weight: 500;
  624. color: #333333;
  625. }
  626. .phone {
  627. margin-left: 10rpx;
  628. font-size: 24rpx;
  629. font-family: Microsoft YaHei;
  630. font-weight: 400;
  631. color: #999999;
  632. line-height: 36rpx;
  633. }
  634. .address {
  635. margin-top: 10rpx;
  636. font-size: 26rpx;
  637. font-family: Microsoft YaHei;
  638. font-weight: 400;
  639. color: #333333;
  640. line-height: 36rpx;
  641. }
  642. .picture {
  643. width: 48rpx;
  644. height: 48rpx;
  645. }
  646. .editIcon {
  647. width: 48rpx;
  648. height: 48rpx;
  649. }
  650. }
  651. }
  652. .action {
  653. padding-bottom: 100rpx;
  654. .button {
  655. height: 80rpx;
  656. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  657. border-radius: 40rpx;
  658. font-size: 32rpx;
  659. font-weight: 400;
  660. color: #ffffff;
  661. line-height: 80rpx;
  662. }
  663. }
  664. .action-bottom {
  665. padding-bottom: 30rpx;
  666. .button {
  667. height: 80rpx;
  668. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  669. border-radius: 40rpx;
  670. font-size: 32rpx;
  671. font-weight: 400;
  672. color: #ffffff;
  673. line-height: 80rpx;
  674. }
  675. }
  676. :deep(.numberplates .numberplate-bg) {
  677. width: 190rpx;
  678. }
  679. :deep(.numberplates .numberplate) {
  680. margin-right: 0rpx !important;
  681. width: 190rpx;
  682. }
  683. :deep(.numberplates) {
  684. justify-content: space-between;
  685. }
  686. .agreement {
  687. font-size: 30rpx;
  688. display: flex;
  689. flex-wrap: wrap;
  690. margin-top: 20rpx;
  691. align-items: center;
  692. justify-content: center;
  693. }
  694. .default {
  695. border: 1rpx solid #00b38b;
  696. border-radius: 5rpx;
  697. padding: 2rpx 4rpx;
  698. color: #00b38b;
  699. margin-left: 4rpx;
  700. }
  701. </style>