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.

arrears.vue 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972
  1. <template>
  2. <view class="content-box" style="margin-top: 30rpx;">
  3. <view class="list" v-if="state.list.length>0">
  4. <u-checkbox-group @change="checkboxGroupChange" ref="checkbox">
  5. <view class="item" v-for="(item, index) in state.list" :key="index"
  6. :class="item.suppleStatus=='PAY'?'finished':''">
  7. <view class="head">
  8. <view class="name">
  9. <image :src="`${$imgUrl}user/icon-ETC.png`" class="icon"></image>
  10. <text class="title m-10">{{item.cardId}}</text>
  11. <text class="tag-green" v-if="item.suppleStatus=='NOTPAY'">待支付</text>
  12. <text class="tag-green" v-else-if="item.suppleStatus=='PAY'">已支付</text>
  13. <text class="tag-green" v-else>已下支付单</text>
  14. </view>
  15. <view class="status text-black">{{item.vehiclePlate}}</view>
  16. </view>
  17. <view class="detail">
  18. <view class="orders">
  19. <view class="order-text">
  20. <text class="type">补缴类型:</text>
  21. <text class="value">{{item.suppleType=='TRAFFIC'?'流水欠费补缴':'卡账欠费补缴'}}</text>
  22. </view>
  23. <view class="order-text">
  24. <text class="type">补缴单号:</text>
  25. <text class="value">{{item.suppleNo}}</text>
  26. </view>
  27. <view class="order-text">
  28. <text class="type">补缴单生成时间:</text>
  29. <text class="value">{{item.insertTime}}</text>
  30. </view>
  31. </view>
  32. <u-checkbox @change="checkboxChange" v-model="item.checked" :name="item.suppleNo"
  33. v-if="item.suppleStatus=='NOTPAY'">
  34. </u-checkbox>
  35. </view>
  36. <view class="detail1">
  37. <view class="order-text1">
  38. <text class="type">{{item.extolllaneName}}</text>
  39. <text class="value">{{item.exTime}}</text>
  40. </view>
  41. <view class="order-text1">
  42. <text class="type">{{item.entolllaneName}}</text>
  43. <text class="value">{{item.enTime}}</text>
  44. </view>
  45. </view>
  46. <view class="bottom">
  47. <view class="bottom-left"><text class="tit1">通行金额:¥</text><text
  48. class="amount1">{{item.fee}}</text>
  49. </view>
  50. <view class="bottom-left"><text class="tit1">服务费用:¥</text><text
  51. class="amount1">{{item.serviceFee}}</text>
  52. </view>
  53. <view class="bottom-left"><text class="tit">欠费总金额:¥</text><text
  54. class="amount">{{item.totalFee}}</text>
  55. </view>
  56. </view>
  57. </view>
  58. </u-checkbox-group>
  59. </view>
  60. <view class="tips" v-else>
  61. ~暂无数据~
  62. </view>
  63. <view class="footer">
  64. <u-checkbox-group>
  65. <u-checkbox @change="checkboxChangeAll" v-model="item.checked" v-for="(item, index) in list2"
  66. :key="index" :name="item.name">{{item.name}}</u-checkbox>
  67. </u-checkbox-group>
  68. <view class="footer-right">
  69. <view class="row1">
  70. 合计:¥{{allPrice}}
  71. </view>
  72. <view class="btn" @click="wxPayment">
  73. 支付
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </template>
  79. <script lang="ts" setup>
  80. import {
  81. getItem
  82. } from "@/utils/storage.ts"
  83. import {
  84. wechatPayConfigId,
  85. aliPayConfigId,
  86. trafficsupplObtainuserid,
  87. trafficsuppleQueryList,
  88. trafficsuppleApply,
  89. trafficsupplePayQuery,getOpenId
  90. } from "@/utils/network/api.js";
  91. import {
  92. request,requestNew
  93. } from "@/utils/network/request.js";
  94. import {
  95. stringToJson
  96. } from "@/utils/network/encryption";
  97. import {
  98. onLoad,
  99. onPullDownRefresh
  100. } from "@dcloudio/uni-app";
  101. import {
  102. ref,
  103. reactive
  104. } from "vue"
  105. import {
  106. confirm,
  107. msg
  108. } from "@/utils/utils";
  109. const state = reactive({
  110. list: [],
  111. suppleNoList: [],
  112. openid: '',
  113. orderId: ''
  114. })
  115. const checkbox = ref()
  116. const list2 = reactive([{
  117. name: '全选',
  118. checked: false,
  119. disabled: false
  120. }])
  121. const allPrice = ref(0)
  122. const all = ref(true)
  123. // 获取列表数据
  124. const getlist = () => {
  125. allPrice.value = 0
  126. const options = {
  127. type: 2,
  128. data: {
  129. opId: getItem('openId')
  130. },
  131. method: "POST",
  132. showLoading: true,
  133. };
  134. requestNew(trafficsuppleQueryList, options).then((res) => {
  135. const data = res;
  136. console.log(data);
  137. data.data = data.data.map(val => {
  138. val.checked = false
  139. val.fee = val.fee / 100
  140. val.totalFee = val.totalFee / 100
  141. val.serviceFee = val.serviceFee / 100
  142. return val
  143. })
  144. state.list = data.data
  145. console.log(state.list, "我是处理后得列表");
  146. });
  147. }
  148. const checkboxChangeAll = (e) => {
  149. console.log(e);
  150. allPrice.value = 0
  151. state.suppleNoList = []
  152. if (e.value) {
  153. state.list.map(val => {
  154. val.checked = true;
  155. if (val.suppleStatus == 'NOTPAY') {
  156. allPrice.value += val.totalFee
  157. state.suppleNoList.push(val.suppleNo)
  158. }
  159. })
  160. } else {
  161. state.list.map(val => {
  162. val.checked = false;
  163. })
  164. }
  165. console.log(state.suppleNoList, "支付集合");
  166. }
  167. const checkboxChange = (e) => {
  168. console.log(e);
  169. }
  170. const checkboxGroupChange = (e) => {
  171. console.log(e);
  172. state.suppleNoList = e
  173. let arr = []
  174. allPrice.value = 0
  175. state.suppleNoList.forEach((item, i) => {
  176. state.list.forEach((val, index) => {
  177. if (item == val.suppleNo) {
  178. arr.push(val.totalFee)
  179. }
  180. })
  181. })
  182. arr.forEach(item => {
  183. allPrice.value += item
  184. })
  185. console.log(state.suppleNoList, "支付集合");
  186. }
  187. //获取微信小程序openid
  188. const getOpenID = () => {
  189. uni.login({
  190. provider: "weixin",
  191. success: function (e) {
  192. getOpenid(e.code)
  193. },
  194. });
  195. };
  196. const getOpenid = (code) => {
  197. const options = {
  198. type: 2,
  199. data: {
  200. "jsCode": code
  201. },
  202. method: "POST",
  203. showLoading: true,
  204. };
  205. // #ifdef MP-WEIXIN
  206. requestNew(getOpenId, options).then((res) => {
  207. const result = res;
  208. console.log("获取微信小程序openid", result);
  209. const openidData = result.data;
  210. state.openid = openidData.openid
  211. });
  212. // #endif
  213. }
  214. //掉起微信支付
  215. const wxPayment = () => {
  216. if (state.suppleNoList.length > 0) {
  217. // #ifdef MP-WEIXIN
  218. const options = {
  219. type: 2,
  220. data: {
  221. openid: state.openid,
  222. suppleNoList: state.suppleNoList,
  223. totalFee: allPrice.value * 100,
  224. payConfigId: wechatPayConfigId,
  225. },
  226. method: "POST",
  227. showLoading: true,
  228. };
  229. requestNew(trafficsuppleApply, options).then((res) => {
  230. const data =res;
  231. state.orderId = data.orderId
  232. uni.requestPayment({
  233. provider: "wxpay",
  234. orderInfo: "",
  235. timeStamp: data.timestamp,
  236. nonceStr: data.noncestr,
  237. package: data.wxPackage ? data.wxPackage : "",
  238. signType: data.signType,
  239. paySign: data.sign,
  240. success: function (e) {
  241. console.log("支付成功", e);
  242. const dataaa = stringToJson(res.bizContent);
  243. checkOrder(dataaa.orderId);
  244. },
  245. fail: function (err) {
  246. confirm(err, () => { }, "支付失败", false);
  247. },
  248. });
  249. });
  250. // #endif
  251. // #ifdef MP-ALIPAY
  252. my.getAuthCode({
  253. scopes: 'auth_base',
  254. success: res => {
  255. const optionsUser = {
  256. type: 2,
  257. data: {
  258. payConfigId: aliPayConfigId,
  259. code: res.authCode
  260. },
  261. method: "POST",
  262. showLoading: true,
  263. };
  264. console.log('支付宝用户编号请求:', optionsUser)
  265. requestNew(trafficsupplObtainuserid, optionsUser).then((res) => {
  266. console.log('支付宝用户编号返回:', res)
  267. const data = stringToJson(res.bizContent);
  268. const optionsali = {
  269. type: 2,
  270. data: {
  271. openid: data.openId,
  272. suppleNoList: state.suppleNoList,
  273. totalFee: allPrice.value * 100,
  274. payConfigId: "6a9a54123456578934edfre132b1234",
  275. },
  276. method: "POST",
  277. showLoading: true,
  278. };
  279. console.log('支付下单请求:', optionsali)
  280. requestNew(trafficsuppleApply, optionsali).then((res) => {
  281. console.log('支付下单返回:', res)
  282. const data = res;
  283. my.tradePay({
  284. // 调用统一收单交易创建接口(alipay.trade.create),获得返回字段支付宝交易号 trade_no
  285. tradeNO: data.tranPackage,
  286. success: res => {
  287. console.log("支付成功", res);
  288. allPrice.value = 0
  289. const options = {
  290. type: 2,
  291. data: {
  292. opId: getItem('openId')
  293. },
  294. method: "POST",
  295. showLoading: true,
  296. };
  297. requestNew(trafficsuppleQueryList, options).then((res) => {
  298. const data = res;
  299. console.log(data);
  300. data.data = data.data.map(val => {
  301. val.checked = false
  302. val.fee = val.fee / 100
  303. val.totalFee = val.totalFee / 100
  304. val.serviceFee = val.serviceFee / 100
  305. return val
  306. })
  307. state.list = data.data
  308. console.log(state.list, "我是处理后得列表");
  309. })
  310. },
  311. fail: res => {
  312. console.log("支付失败", res);
  313. },
  314. });
  315. });
  316. });
  317. },
  318. fail: err => {
  319. console.log('my.getAuthCode 调用失败', err)
  320. }
  321. });
  322. // #endif
  323. } else {
  324. msg("未勾选补缴订单!")
  325. }
  326. };
  327. //支付成功改变订单状态
  328. const checkOrder = (orderId) => {
  329. const options = {
  330. type: 2,
  331. data: {
  332. orderId: orderId,
  333. },
  334. method: "POST",
  335. showLoading: true,
  336. };
  337. requestNew(trafficsupplePayQuery, options).then((res) => {
  338. msg("支付成功!");
  339. getlist()
  340. });
  341. };
  342. onLoad(() => {
  343. getlist()
  344. getOpenID()
  345. console.log("state");
  346. })
  347. onPullDownRefresh(() => {
  348. getlist()
  349. })
  350. </script>
  351. <style lang="scss">
  352. page {
  353. background: #eef7f7;
  354. }
  355. .content-box {
  356. padding-bottom: 115rpx;
  357. .tips {
  358. font-size: 25rpx;
  359. color: #d2d2d2;
  360. text-align: center;
  361. }
  362. .footer {
  363. display: flex;
  364. align-items: center;
  365. padding: 0 30rpx;
  366. background: #fff;
  367. height: 100rpx;
  368. border-top: 1rpx solid #cdcdcd;
  369. position: fixed;
  370. bottom: 0;
  371. width: 100%;
  372. box-sizing: border-box;
  373. .footer-right {
  374. align-items: center;
  375. display: flex;
  376. justify-content: flex-end;
  377. flex: 1;
  378. .row1 {
  379. font-size: 29rpx;
  380. }
  381. .btn {
  382. text-align: center;
  383. width: 150rpx;
  384. height: 60rpx;
  385. background: #13E7C1;
  386. line-height: 60rpx;
  387. border-radius: 10rpx;
  388. font-size: 29rpx;
  389. color: #fff;
  390. margin-left: 30rpx;
  391. }
  392. }
  393. }
  394. }
  395. .search-btn {
  396. color: white;
  397. background-color: #00B38B;
  398. width: 140rpx;
  399. height: 75rpx;
  400. line-height: 75rpx;
  401. font-size: 32rpx;
  402. border-radius: 40rpx;
  403. text-align: center;
  404. margin-right: 30rpx;
  405. margin-top: 10rpx;
  406. }
  407. .search-box {
  408. margin: 30rpx 30rpx 20rpx 30rpx;
  409. height: 72rpx;
  410. height: 81rpx;
  411. background: #FFFFFF;
  412. border: 1px solid #DCDCDC;
  413. border-radius: 40rpx;
  414. display: flex;
  415. justify-content: center;
  416. align-items: center;
  417. box-sizing: border-box;
  418. flex: 1;
  419. }
  420. .search-box .icon {
  421. width: 48rpx;
  422. height: 48rpx;
  423. margin: 0 20rpx;
  424. }
  425. .search-box .search {
  426. flex: 1;
  427. margin-right: 20rpx;
  428. height: 100%;
  429. padding: 0 10rpx;
  430. font-size: 28rpx;
  431. color: #00b38b;
  432. }
  433. .scroll-view {
  434. white-space: nowrap;
  435. position: sticky;
  436. top: 0;
  437. background: #ffffff;
  438. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  439. }
  440. .top-menu {
  441. display: flex;
  442. }
  443. .top-menu .tab {
  444. font-size: 26rpx;
  445. padding: 38rpx 30rpx;
  446. color: #333;
  447. position: relative;
  448. }
  449. .top-menu .active .border {
  450. position: absolute;
  451. width: 70%;
  452. height: 16rpx;
  453. background: #00b38b;
  454. opacity: 0.3;
  455. bottom: 40rpx;
  456. z-index: -99;
  457. left: 15%;
  458. border-radius: 6rpx;
  459. }
  460. .top-menu .active {
  461. font-weight: bold;
  462. font-size: 28rpx;
  463. }
  464. .top-menu .active::before {
  465. width: 100%;
  466. height: 16rpx;
  467. background: #00b38b;
  468. opacity: 0.3;
  469. }
  470. .search-time {
  471. display: flex;
  472. margin: 20rpx 30rpx 48rpx 30rpx;
  473. justify-content: space-between;
  474. .time-btn {
  475. width: 130rpx;
  476. height: 80rpx;
  477. background: #00B38B;
  478. border-radius: 40rpx;
  479. color: #FFFFFF;
  480. font-size: 32rpx;
  481. line-height: 80rpx;
  482. text-align: center;
  483. }
  484. .show-info {
  485. width: 260rpx;
  486. height: 80rpx;
  487. padding: 0 31rpx;
  488. background: #FFFFFF;
  489. border: 1px solid #DCDCDC;
  490. border-radius: 40rpx;
  491. display: flex;
  492. justify-content: space-between;
  493. align-items: center;
  494. .show-text {
  495. display: flex;
  496. align-items: center;
  497. }
  498. .date-text {
  499. color: #999999;
  500. font-size: 28rpx;
  501. }
  502. .text-val {
  503. color: #333
  504. }
  505. .line {
  506. width: 25rpx;
  507. height: 1rpx;
  508. background: #999999;
  509. margin: 0 24rpx;
  510. }
  511. }
  512. .show-info2 {
  513. width: 541rpx;
  514. height: 80rpx;
  515. padding: 0 31rpx;
  516. background: #FFFFFF;
  517. border: 1px solid #DCDCDC;
  518. border-radius: 40rpx;
  519. display: flex;
  520. justify-content: space-between;
  521. align-items: center;
  522. .show-text {
  523. display: flex;
  524. align-items: center;
  525. flex: 1;
  526. justify-content: space-evenly;
  527. }
  528. .date-text {
  529. color: #999999;
  530. font-size: 28rpx;
  531. }
  532. .text-val {
  533. color: #333
  534. }
  535. .line {
  536. width: 25rpx;
  537. height: 1rpx;
  538. background: #999999;
  539. margin: 0 24rpx;
  540. }
  541. }
  542. }
  543. .count {
  544. margin: 0 30rpx 25rpx 30rpx;
  545. font-size: 28rpx;
  546. font-family: Noto Sans S Chinese;
  547. font-weight: 400;
  548. color: #999999;
  549. line-height: 36rpx;
  550. }
  551. .search-payment-box {
  552. width: 260rpx;
  553. height: 80rpx;
  554. padding: 0 31rpx;
  555. background: #FFFFFF;
  556. border: 1px solid #DCDCDC;
  557. border-radius: 40rpx;
  558. display: flex;
  559. justify-content: space-between;
  560. align-items: center;
  561. color: #999999;
  562. }
  563. .list {
  564. padding: 0 30rpx;
  565. display: flex;
  566. flex-direction: column;
  567. }
  568. .bg-white {
  569. background: #FFFFFF;
  570. border-radius: 30rpx 30rpx 0 0;
  571. }
  572. .bg-white .sub-tabs {
  573. display: flex;
  574. justify-content: space-evenly;
  575. align-items: center;
  576. }
  577. .bg-white .sub-item {
  578. padding: 10rpx 0;
  579. margin: 20rpx 0 30rpx;
  580. border-bottom: 6rpx solid #fff;
  581. font-size: 26rpx;
  582. }
  583. .bg-white .active {
  584. border-bottom: 6rpx solid #00B38B;
  585. color: #00B38B;
  586. font-size: 30rpx;
  587. font-weight: bold;
  588. }
  589. .bg-none {
  590. background: none;
  591. border-radius: 30rpx 30rpx 0 0;
  592. }
  593. .list .item {
  594. background: #ffffff;
  595. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  596. border-radius: 20rpx;
  597. box-sizing: border-box;
  598. display: flex;
  599. flex-direction: column;
  600. margin-bottom: 30rpx;
  601. }
  602. .list.bg-white .item {
  603. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  604. }
  605. .list .item .head {
  606. display: flex;
  607. justify-content: space-between;
  608. align-items: center;
  609. padding: 20rpx 28rpx;
  610. border-bottom: 1px solid #dcdcdc;
  611. }
  612. .list .item .head {
  613. .head-row {
  614. display: flex;
  615. width: 100%;
  616. justify-content: space-between;
  617. align-items: center;
  618. }
  619. .name {}
  620. .name>text {
  621. font-size: 25rpx;
  622. font-family: Noto Sans S Chinese;
  623. font-weight: 400;
  624. color: #999999;
  625. line-height: 36rpx;
  626. }
  627. }
  628. .list .item .head .icon {
  629. width: 48rpx;
  630. height: 48rpx;
  631. }
  632. .list .item .head .name {
  633. display: flex;
  634. align-items: center;
  635. }
  636. .list .text-green {
  637. font-size: 26rpx;
  638. color: #00b38b;
  639. }
  640. .list .text-orange {
  641. font-size: 26rpx;
  642. color: #ff8000;
  643. }
  644. .list .text-black {
  645. font-size: 28rpx;
  646. color: #333;
  647. font-weight: 500;
  648. }
  649. .list .title {
  650. font-size: 30rpx;
  651. color: #333;
  652. }
  653. .list .tag-green {
  654. font-size: 22rpx;
  655. height: 40rpx;
  656. line-height: 40rpx;
  657. padding: 0 12rpx;
  658. border-radius: 6rpx;
  659. background: #d9f4ee;
  660. color: #00b38b;
  661. }
  662. .list .tag-grey {
  663. font-size: 22rpx;
  664. height: 40rpx;
  665. line-height: 40rpx;
  666. padding: 0 12rpx;
  667. border-radius: 6rpx;
  668. background: #e8e8e8;
  669. color: #666;
  670. }
  671. .list .detail {
  672. display: flex;
  673. justify-content: space-between;
  674. align-items: center;
  675. padding: 30rpx 32rpx;
  676. }
  677. .list .detail1 {
  678. display: flex;
  679. justify-content: space-between;
  680. align-items: center;
  681. padding: 0rpx 32rpx 30rpx 32rpx;
  682. .order-text1 {
  683. display: flex;
  684. flex-direction: column;
  685. width: 50%;
  686. .type {
  687. font-size: 26rpx;
  688. color: #999;
  689. }
  690. .value {
  691. font-size: 26rpx;
  692. color: #333;
  693. }
  694. }
  695. }
  696. .list .detail .type {
  697. font-size: 26rpx;
  698. color: #999;
  699. }
  700. .list .detail .value {
  701. font-size: 26rpx;
  702. color: #333;
  703. }
  704. .list .finished .detail .value {
  705. color: #999;
  706. }
  707. .list .detail .odd {
  708. margin: 20rpx 0;
  709. }
  710. .list .cny {
  711. font-size: 26rpx;
  712. color: #333;
  713. }
  714. .list .finished .cny {
  715. color: #999;
  716. }
  717. .list .amount {
  718. font-size: 40rpx;
  719. font-weight: bold;
  720. }
  721. .list .bottom .amount {
  722. color: #ff8000;
  723. }
  724. .list .finished .amount {
  725. color: #999;
  726. }
  727. .list .btns {
  728. position: relative;
  729. display: flex;
  730. align-items: center;
  731. justify-content: flex-end;
  732. border-top: 1px solid #dcdcdc;
  733. margin: 0 30rpx;
  734. padding: 20rpx 0;
  735. }
  736. .list .bottom {
  737. display: flex;
  738. border-top: 1px solid #dcdcdc;
  739. margin: 0 30rpx;
  740. padding: 20rpx 0;
  741. flex-direction: column;
  742. align-items: flex-start;
  743. .tit {
  744. font-size: 30rpx;
  745. }
  746. .tit1 {
  747. font-size: 26rpx;
  748. color: #999;
  749. }
  750. .amount1 {
  751. font-size: 26rpx;
  752. color: #333;
  753. }
  754. }
  755. .list .btn {
  756. height: 60rpx;
  757. line-height: 58rpx;
  758. border-radius: 30rpx;
  759. padding: 0 24rpx;
  760. font-size: 26rpx;
  761. box-sizing: border-box;
  762. margin-right: 20rpx;
  763. }
  764. .list .btns .btn:last-child {
  765. margin: 0;
  766. }
  767. .list .btns .state {
  768. position: absolute;
  769. left: 0;
  770. font-size: 26rpx;
  771. font-family: Noto Sans S Chinese;
  772. font-weight: 400;
  773. color: #999999;
  774. line-height: 58rpx;
  775. text {
  776. font-size: 26rpx;
  777. font-family: Noto Sans S Chinese;
  778. font-weight: 400;
  779. color: #00B38B;
  780. line-height: 58rpx;
  781. }
  782. }
  783. .list .btn-primary {
  784. border: 1px solid #00b38b;
  785. color: #00b38b;
  786. }
  787. .list .btn-disable {
  788. border: 1px solid #999;
  789. color: #999;
  790. }
  791. .list .btn-normal {
  792. border: 1px solid #dcdcdc;
  793. color: #333;
  794. }
  795. .m-10 {
  796. margin: 0 10rpx;
  797. }
  798. //
  799. .detail2 {
  800. display: flex;
  801. justify-content: space-between;
  802. align-items: center;
  803. padding: 30rpx 32rpx;
  804. position: relative;
  805. view {
  806. text-align: center;
  807. text {
  808. display: block;
  809. margin: 20rpx 0;
  810. }
  811. view {
  812. font-size: 24rpx;
  813. font-family: Noto Sans S Chinese;
  814. font-weight: 400;
  815. color: #999999;
  816. line-height: 36rpx;
  817. text {
  818. margin: 0;
  819. }
  820. }
  821. }
  822. .indicator {
  823. position: absolute;
  824. left: 50%;
  825. top: 50%;
  826. transform: translate(-50%, -50%);
  827. display: flex;
  828. flex-direction: column;
  829. text {
  830. margin: 0;
  831. font-size: 26rpx;
  832. font-family: Noto Sans S Chinese;
  833. font-weight: 400;
  834. color: #666666;
  835. line-height: 36rpx;
  836. }
  837. image {
  838. width: 186rpx;
  839. height: 12rpx;
  840. }
  841. }
  842. .state {
  843. position: absolute;
  844. left: 0;
  845. font-size: 26rpx;
  846. font-family: Noto Sans S Chinese;
  847. font-weight: 400;
  848. color: #999999;
  849. line-height: 58rpx;
  850. }
  851. }
  852. .emptyView {
  853. margin-top: 120rpx;
  854. }
  855. </style>