選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

form.vue 18KB

1年前
1年前
1年前
1年前
1年前
1年前
10ヶ月前
1年前
10ヶ月前
10ヶ月前
10ヶ月前
10ヶ月前
1年前
1年前
1年前
1年前
10ヶ月前
1年前
1年前
1年前
10ヶ月前
9ヶ月前
1年前
10ヶ月前
1年前
1年前
1年前
10ヶ月前
1年前
10ヶ月前
10ヶ月前
10ヶ月前
10ヶ月前
1年前
1年前
10ヶ月前
1年前
1年前
1年前
10ヶ月前
10ヶ月前
1年前
1年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. <template>
  2. <view class="oderPage">
  3. <view class="addr-box">
  4. <view class="addr-box-left" v-if="form.consignee">
  5. <view class="text-image">{{form.consignee.charAt(0)}} </view>
  6. <view class="content">
  7. <view class="">
  8. <text class="item1">{{form.consignee}}</text>
  9. <text class="item2">{{form.consigneeTel}}</text>
  10. <text class="item3" v-if="form.defaultAddress ==1">默认</text>
  11. </view>
  12. <view class=""> {{form.region +form.address}}</view>
  13. </view>
  14. </view>
  15. <view v-else class="editAddress">请先编辑地址</view>
  16. <view class="edit" @click="address.show = true">
  17. <image :src="`${$imgUrl}applyCard/edit.png`" mode=""></image>
  18. </view>
  19. </view>
  20. <u-form ref="myForm">
  21. <view class="from">
  22. <u-form-item prop="cardState">
  23. <view class="from_item">
  24. <text><text style="color: red">*</text>是否寄回设备:</text>
  25. <radio-group @change="sendChange" class="radios">
  26. <block v-for="(item, index) in radiolist1" :key="item.val">
  27. <view class="radio-box">
  28. <radio :value="item.val" :checked="form.sendStatus == item.val" color="#13e7c1"
  29. style="transform:scale(0.75)" />
  30. <view>{{item.name}}</view>
  31. </view>
  32. </block>
  33. </radio-group>
  34. </view>
  35. </u-form-item>
  36. <u-form-item prop="logistics" v-if="form.sendStatusName == '寄回'">
  37. <view class="from_item">
  38. <text><text style="color: red">*</text>退货物流公司:</text>
  39. <view style="display: flex">
  40. <u-input v-model="form.courierCompany" class="input" @click="showPicker" placeholder="请选择"
  41. disabled />
  42. <u-icon name="arrow-right" style="margin-left: 10px;display: flex;"></u-icon>
  43. </view>
  44. </view>
  45. </u-form-item>
  46. <u-form-item prop="returnNum" v-if="form.sendStatusName == '寄回'">
  47. <view class="from_item">
  48. <text><text style="color: red"></text>退货单号:</text>
  49. <u-input v-model="form.courierOrderId" class="input" maxlength="32" />
  50. </view>
  51. </u-form-item>
  52. <u-form-item prop="cardState">
  53. <view class="from_item">
  54. <text><text style="color: red">*</text>收货方式:</text>
  55. <radio-group @change="receiveChange" class="radios">
  56. <block v-for="(item, index) in radiolist2" :key="item.val">
  57. <view class="radio-box">
  58. <radio :value="item.val" :checked="form.receiveMethod == item.val" color="#13e7c1"
  59. style="transform:scale(0.75)" />
  60. <view>{{item.name}}</view>
  61. </view>
  62. </block>
  63. </radio-group>
  64. </view>
  65. </u-form-item>
  66. <u-form-item prop="remark">
  67. <view class="from_item">
  68. <text><text style="color: red"></text>更换原因:</text>
  69. <view style="display: flex">
  70. <u-input v-model="form.applyRes" @click="showApplyResPicker()" class="input" disabled
  71. placeholder="请选择" />
  72. <u-icon name="arrow-right" style="margin-left: 10px;display: flex;"></u-icon>
  73. </view>
  74. </view>
  75. </u-form-item>
  76. <u-form-item >
  77. <view class="from_item">
  78. <text><text style="color: red"></text>邮寄地址:</text>
  79. <u-input v-model="form.goodsAddress" class="input" disabled/>
  80. </view>
  81. </u-form-item>
  82. </view>
  83. </u-form>
  84. <view class="attention">{{params.msg}}</view>
  85. <view class="no_pay"><text>*</text>不支持货到付款</view>
  86. <!-- 物流弹窗 -->
  87. <view>
  88. <!-- 物流 -->
  89. <u-select v-model="show" mode="single-column" :list="list" @confirm="confirm"></u-select>
  90. <!-- 原因 -->
  91. <u-select v-model="showApplyRes" mode="single-column" :list="applyResList" @confirm="applyResConfirm">
  92. </u-select>
  93. </view>
  94. <view class="buttonWrap">
  95. <button class="default button" @click="changeCardQueryCancleAction()" type="default">撤回申请</button>
  96. <button class="submit" @click="submit">下一步</button>
  97. </view>
  98. </view>
  99. <!-- 地址弹窗 -->
  100. <u-popup mode="bottom" v-model="address.show">
  101. <view class="address-line">
  102. <view v-if="address.list" v-for="(item, index) in address.list" :key="index" @click="addressSelected(item)"
  103. style="margin-bottom: 40rpx" class="flex-bettwen">
  104. <view class="flex">
  105. <view class="xing">
  106. {{ item.consignee.charAt(0) }}
  107. </view>
  108. <view class="content">
  109. <view class="flex">
  110. <view class="name">
  111. {{ item.consignee }}
  112. </view>
  113. <view class="phone">
  114. {{ item.consigneeTel }}
  115. </view>
  116. </view>
  117. <view class="address">
  118. {{ item.region + item.address }}
  119. </view>
  120. </view>
  121. </view>
  122. <view @click.stop="editAddress(item)" style="margin-left: 80rpx" class="picture">
  123. <image :showLoading="true" :src="`${$imgUrl}applyCard/edit.png`"
  124. style="width: 48rpx; height: 48rpx"></image>
  125. </view>
  126. </view>
  127. <view :style="address.list ? 'margin-top: 60rpx;' : ''" class="action-bottom">
  128. <button type="default" class="button" @click="goToAddAddress()">
  129. 添加收货地址
  130. </button>
  131. </view>
  132. </view>
  133. </u-popup>
  134. </template>
  135. <script setup lang="ts">
  136. import {
  137. reactive,
  138. ref
  139. } from "vue";
  140. import {
  141. onLoad,
  142. onShow
  143. } from "@dcloudio/uni-app";
  144. import {
  145. navTo
  146. } from "@/utils/utils";
  147. import { requestNew} from "@/utils/network/request.js";
  148. import {
  149. commQueryCourier,
  150. addressQueryNew,
  151. changeCardObuFill,
  152. changeCardObuCancel,
  153. changeCardObuFillQuery
  154. } from "@/utils/network/api.js";
  155. import {
  156. getItem,
  157. StorageKeys
  158. } from "@/utils/storage";
  159. import {
  160. getMailingAddress
  161. } from "@/subpackage/after-sale/js/publicRequest";
  162. import {
  163. wechatPayConfigId,
  164. } from "@/utils/network/api";
  165. import {
  166. msg, noticeUser
  167. } from "@/utils/utils";
  168. const list = reactive([]); //物流数据
  169. const apply = reactive({
  170. data: {
  171. status: undefined,
  172. id: ''
  173. }
  174. });
  175. const address = reactive({
  176. list: [],
  177. show: false
  178. }); //地址list
  179. const form = reactive({
  180. consignee: '',
  181. consigneeTel: '',
  182. address: '',
  183. region: '',
  184. sendStatusName: '寄回',
  185. sendStatus: '1', //0 --- 不邮寄 1 --- 邮寄
  186. courierCompany: '',
  187. courierOrderId: '',
  188. receiveMethod: '1',
  189. postalCode: '',
  190. receiveMethodName: '邮寄', //0 --- 不邮寄 1 --- 邮寄
  191. applyRes: '',
  192. defaultAddress: 2,
  193. goodsAddress:""
  194. });
  195. //入参
  196. const params = reactive({
  197. orderId: '',
  198. id: '',
  199. msg: "",
  200. cardExpire: "", //1:质保期过了 0:在质保期内
  201. obuExpire: "", //1:质保期过了 0:在质保期内
  202. vehicleId:"",
  203. oldCardId:"",
  204. oldObuId:""
  205. });
  206. const applyResList = reactive([{
  207. //原因
  208. value: "损坏",
  209. label: "损坏",
  210. },
  211. {
  212. value: "其它",
  213. label: "其它",
  214. },
  215. ]);
  216. const radiolist2 = reactive([{
  217. name: "邮寄",
  218. val: "1",
  219. },
  220. ]);
  221. // 单选数据列表
  222. const radiolist1 = reactive([]);
  223. onLoad((option) => {
  224. console.log("option", option)
  225. params.orderId = option.orderId
  226. params.id = option.id
  227. params.vehicleId = option.vehicleId
  228. params.oldCardId = option.oldCardId
  229. params.oldObuId = option.oldObuId
  230. params.msg = option.msg == "undefined" ? "" : option.msg
  231. params.cardExpire = option.cardExpire == "undefined" ? "" : option.cardExpire
  232. params.obuExpire = option.obuExpire == "undefined" ? "" : option.obuExpire
  233. if (option.damageMode == "ARTIFICIAL") {
  234. var data = {
  235. name: "寄回",
  236. val: "1",
  237. }
  238. var data1 = {
  239. name: "不寄回",
  240. val: "0",
  241. }
  242. radiolist1.push(data)
  243. radiolist1.push(data1)
  244. } else {
  245. var data = {
  246. name: "寄回",
  247. val: "1",
  248. }
  249. radiolist1.push(data)
  250. }
  251. console.log("radiolist1.value", radiolist1.value)
  252. getexpresslist();
  253. getAddressList();
  254. getMailingAddress(option.id).then((address) => {
  255. console.log("address",address)
  256. form.goodsAddress=address
  257. })
  258. });
  259. const goToAddAddress = () => {
  260. uni.navigateTo({
  261. url: "/subpackage/orders/addAddress",
  262. });
  263. };
  264. const editAddress = (val) => {
  265. uni.navigateTo({
  266. url: `/subpackage/orders/editAddress?content=` + JSON.stringify(val),
  267. });
  268. };
  269. const addressSelected = (val : any) => {
  270. console.log(val);
  271. form.consignee = val.consignee
  272. form.consigneeTel = val.consigneeTel
  273. form.address = val.address
  274. form.region = val.region
  275. form.postalCode = val.postalCode
  276. form.defaultAddress = val.defaultAddress
  277. address.show = false
  278. console.log("form.address", form.region, form.address)
  279. };
  280. // 寄回单选
  281. const sendChange = (e : any) => {
  282. console.log(e);
  283. form.sendStatus = e.detail.value
  284. };
  285. // 邮寄单选
  286. const receiveChange = (e : any) => {
  287. console.log(e);
  288. form.receiveMethod = e.detail.value
  289. };
  290. //撤销订单
  291. const changeCardQueryCancleAction = () => {
  292. var data = {
  293. id: params.id,
  294. cancelRes: '取消申请单'
  295. };
  296. const options = {
  297. type: 2,
  298. data: data,
  299. method: "POST",
  300. showLoading: true,
  301. };
  302. return new Promise(async (resolve, reject) => {
  303. const res = await requestNew(changeCardObuCancel, options);
  304. console.log("取消申请成功", data)
  305. msg('取消申请成功');
  306. setTimeout(() => {
  307. uni.navigateBack({
  308. delta: 2
  309. })
  310. }, 1000)
  311. }).catch((error) => {
  312. reject(error);
  313. });
  314. }
  315. let showApplyRes = ref(false);
  316. // 打开物流先择器
  317. const showApplyResPicker = function () {
  318. showApplyRes.value = true;
  319. };
  320. const applyResConfirm = (e) => {
  321. form.applyRes = e[0].value;
  322. console.log(e[0].value);
  323. };
  324. let show = ref(false);
  325. // 打开物流先择器
  326. const showPicker = function () {
  327. show.value = true;
  328. };
  329. const confirm = (e) => {
  330. form.courierCompany = e[0].value;
  331. console.log(e[0].value);
  332. };
  333. onShow(() => {
  334. getexpresslist();
  335. getAddressList();
  336. });
  337. const getexpresslist = () => {
  338. //参数说明
  339. let options = {
  340. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  341. data: {}, //请求参数
  342. method: "POST", //提交方式(默认POST)
  343. showLoading: true, //是否显示加载中(默认显示)
  344. };
  345. //调用方式
  346. requestNew(commQueryCourier, options)
  347. .then((res) => {
  348. console.log("物流", res)
  349. res.forEach((item) => {
  350. list.push({
  351. value: item,
  352. label: item,
  353. });
  354. });
  355. })
  356. .catch((err) => {
  357. console.log(err);
  358. });
  359. };
  360. const getAddressList = () => {
  361. var data = {
  362. openId: getItem(StorageKeys.OpenId),
  363. };
  364. const options = {
  365. type: 2,
  366. data: data,
  367. method: "POST",
  368. showLoading: true,
  369. };
  370. requestNew(addressQueryNew, options).then((res) => {
  371. const data = res.result;
  372. address.list = data;
  373. if (address.list.length > 0) {
  374. var defaultAddress = address.list[0]
  375. form.consignee = defaultAddress.consignee
  376. form.consigneeTel = defaultAddress.consigneeTel
  377. form.address = defaultAddress.address
  378. form.region = defaultAddress.region
  379. form.postalCode = defaultAddress.postalCode
  380. form.defaultAddress = defaultAddress.defaultAddress
  381. }
  382. console.log("form.address", form.address)
  383. });
  384. };
  385. let isClickable = true;
  386. const submit = () => {
  387. if (!isClickable) return;
  388. isClickable = false;
  389. noticeUser(() => {
  390. queryCckChangejzCardInfo().then(val => {
  391. changeCardQueryAction().then(val => {
  392. console.log("查询申请单",val)
  393. if(val.orderStep == "WAIT_PAY"){
  394. navTo(
  395. `/subpackage/after-sale/replace-equipment/order-payment?orderId=${val.orderNo}`
  396. )
  397. }else{
  398. navTo(
  399. `/subpackage/after-sale/replace-equipment/result`
  400. )
  401. }
  402. })
  403. })
  404. });
  405. setTimeout(() => {
  406. isClickable = true;
  407. }, 2000); // 1秒钟后可再次点击
  408. };
  409. const queryCckChangejzCardInfo = () => {
  410. if (!form.address) {
  411. msg("请编辑收货详细地址");
  412. return;
  413. }
  414. var data = {
  415. id: params.id,
  416. sendStatus: form.sendStatus,
  417. configId: wechatPayConfigId,
  418. courierCompany: form.courierCompany,
  419. courierOrderId: form.courierOrderId,
  420. receiveMethod: form.receiveMethod,
  421. consignee: form.consignee,
  422. consigneeTel: form.consigneeTel,
  423. address: form.address,
  424. region: form.region,
  425. postalCode: form.postalCode,
  426. applyRes: form.applyRes,
  427. cardExpire: params.cardExpire,
  428. obuExpire: params.obuExpire,
  429. goodsAddress:form.goodsAddress
  430. };
  431. const options = {
  432. type: 2,
  433. data: data,
  434. method: "POST",
  435. showLoading: true,
  436. };
  437. console.log("data", data)
  438. return new Promise(async (resolve, reject) => {
  439. const res = await requestNew(changeCardObuFill, options);
  440. resolve(data);
  441. }).catch((error) => {
  442. reject(error);
  443. });
  444. }
  445. //查询申请单
  446. const changeCardQueryAction = () => {
  447. var data = {
  448. vehicleId: params.vehicleId,
  449. oldCardId:params.oldCardId,
  450. oldObuId:params.oldObuId
  451. };
  452. const options = {
  453. type: 2,
  454. data: data,
  455. method: "POST",
  456. showLoading: true,
  457. };
  458. return new Promise(async (resolve, reject) => {
  459. const res = await requestNew(changeCardObuFillQuery, options);
  460. const data = res;
  461. console.log("data查询申请单", data)
  462. resolve(data);
  463. }).catch((error) => {
  464. reject(error);
  465. });
  466. }
  467. </script>
  468. <style>
  469. page {
  470. width: 100%;
  471. height: 100%;
  472. display: flex;
  473. flex-direction: column;
  474. background-color: #f3f3f3;
  475. }
  476. </style>
  477. <style lang="scss" scoped>
  478. .radios {
  479. display: flex;
  480. }
  481. .radio-box {
  482. display: flex;
  483. align-items: center;
  484. padding-left: 20rpx;
  485. }
  486. .oderPage {
  487. flex: 1;
  488. width: 100%;
  489. .addr-box {
  490. margin-top: 20rpx;
  491. display: flex;
  492. background: #fff;
  493. padding: 30rpx;
  494. justify-content: space-between;
  495. align-items: center;
  496. .addr-box-left {
  497. display: flex;
  498. .text-image {
  499. width: 68rpx;
  500. height: 68rpx;
  501. background: #00b38b;
  502. border-radius: 50%;
  503. text-align: center;
  504. font-size: 26rpx;
  505. font-family: Microsoft YaHei;
  506. font-weight: 400;
  507. color: #ffffff;
  508. line-height: 68rpx;
  509. margin-right: 30rpx;
  510. }
  511. .content {
  512. view {
  513. font-size: 26rpx;
  514. font-family: Microsoft YaHei;
  515. font-weight: 400;
  516. color: #333333;
  517. .item1 {
  518. font-size: 30rpx;
  519. font-family: Microsoft YaHei;
  520. font-weight: 400;
  521. color: #333333;
  522. }
  523. .item2 {
  524. font-size: 24rpx;
  525. font-family: Microsoft YaHei;
  526. font-weight: 400;
  527. color: #999999;
  528. margin-left: 10rpx;
  529. }
  530. .item3 {
  531. width: 71rpx;
  532. height: 37rpx;
  533. background: #ffffff;
  534. border: 1px solid #ff8000;
  535. border-radius: 6rpx;
  536. font-size: 22rpx;
  537. font-family: Microsoft YaHei;
  538. font-weight: 400;
  539. color: #ff8000;
  540. padding: 3rpx 6rpx;
  541. margin-left: 10rpx;
  542. }
  543. }
  544. }
  545. }
  546. .edit {
  547. image {
  548. width: 50rpx;
  549. height: 50rpx;
  550. }
  551. }
  552. }
  553. .from {
  554. background-color: #fff;
  555. margin-top: 30rpx;
  556. padding: 0 30rpx;
  557. ::v-deep .u-form-item {
  558. padding: 0;
  559. line-height: normal;
  560. .u-form-item__message {
  561. margin-bottom: 12rpx;
  562. }
  563. }
  564. .from_item {
  565. display: flex;
  566. flex-wrap: nowrap;
  567. justify-content: space-between;
  568. align-items: center;
  569. height: 80rpx;
  570. border-bottom: 1rpx solid #dcdcdc;
  571. .btn {
  572. font-size: 24rpx;
  573. font-family: Microsoft YaHei;
  574. font-weight: 400;
  575. color: #ffffff;
  576. background: #00b38b;
  577. border-radius: 10rpx;
  578. padding: 10rpx 15rpx;
  579. }
  580. ::v-deep .input {
  581. text-align: right;
  582. flex: 1;
  583. background: transparent;
  584. input {
  585. text-align: right;
  586. }
  587. }
  588. }
  589. .from_item1 {
  590. display: flex;
  591. flex-wrap: nowrap;
  592. flex-direction: column;
  593. justify-content: space-between;
  594. padding: 30rpx 0;
  595. border-bottom: #dcdcdc 1px solid;
  596. input {
  597. text-align: right;
  598. }
  599. .textarea {
  600. background-color: #f1f1f1;
  601. width: 100%;
  602. border-radius: 20rpx;
  603. margin-top: 10rpx;
  604. text-indent: 1rem;
  605. height: 180rpx;
  606. padding: 20rpx;
  607. box-sizing: border-box;
  608. }
  609. }
  610. }
  611. }
  612. .address-line {
  613. padding: 20px;
  614. .flex-bettwen {
  615. display: flex;
  616. align-items: center;
  617. justify-content: space-between;
  618. }
  619. .xing {
  620. width: 68rpx;
  621. height: 68rpx;
  622. background: rgba(0, 179, 139, 0.2);
  623. border-radius: 50%;
  624. font-size: 26rpx;
  625. font-weight: 400;
  626. color: #00b38b;
  627. line-height: 68rpx;
  628. text-align: center;
  629. }
  630. .content {
  631. margin-left: 20px;
  632. .name {
  633. font-size: 30rpx;
  634. font-family: Microsoft YaHei;
  635. font-weight: 500;
  636. color: #333333;
  637. }
  638. .phone {
  639. margin-left: 10rpx;
  640. font-size: 24rpx;
  641. font-family: Microsoft YaHei;
  642. font-weight: 400;
  643. color: #999999;
  644. line-height: 36rpx;
  645. }
  646. .address {
  647. margin-top: 10rpx;
  648. font-size: 26rpx;
  649. font-family: Microsoft YaHei;
  650. font-weight: 400;
  651. color: #333333;
  652. line-height: 36rpx;
  653. }
  654. .picture {
  655. width: 48rpx;
  656. height: 48rpx;
  657. }
  658. .editIcon {
  659. width: 48rpx;
  660. height: 48rpx;
  661. }
  662. }
  663. }
  664. .action {
  665. padding-bottom: 100rpx;
  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. .action-bottom {
  677. padding-bottom: 30rpx;
  678. .button {
  679. height: 80rpx;
  680. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  681. border-radius: 40rpx;
  682. font-size: 32rpx;
  683. font-weight: 400;
  684. color: #ffffff;
  685. line-height: 80rpx;
  686. }
  687. }
  688. .flex {
  689. display: flex;
  690. align-items: center;
  691. }
  692. .submit {
  693. width: 45%;
  694. height: 80rpx;
  695. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  696. box-shadow: 0rpx 4rpx 11rpx 1rpx rgba(223, 223, 223, 0.5);
  697. border-radius: 40rpx;
  698. font-size: 32rpx;
  699. font-family: Microsoft YaHei;
  700. font-weight: 400;
  701. color: #ffffff;
  702. line-height: 80rpx;
  703. // margin-top: 60rpx;
  704. }
  705. .default {
  706. height: 80rpx;
  707. background: rgba(0, 179, 139, .1);
  708. border-radius: 40rpx;
  709. font-size: 32rpx;
  710. font-weight: 400;
  711. color: #00B38B;
  712. line-height: 80rpx;
  713. width: 45%;
  714. border: 1px solid #00B38B;
  715. }
  716. .button::after {
  717. border: none;
  718. }
  719. .buttonWrap {
  720. display: flex;
  721. justify-content: space-evenly;
  722. align-items: center;
  723. margin-top: 60rpx;
  724. }
  725. .editAddress {
  726. font-size: 30rpx;
  727. }
  728. .attention {
  729. padding: 20rpx;
  730. font-size: 30rpx;
  731. }
  732. .no_pay{
  733. font-size: 28rpx;
  734. padding: 0 20rpx;
  735. }
  736. .no_pay>text{
  737. color: red;
  738. margin-right: 10rpx;
  739. }
  740. </style>