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

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