Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

arrears.vue 18KB

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