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

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