refundAdmin.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  1. <template>
  2. <!-- <view class="refund-admin">
  3. <view class="nav-list">
  4. <view class="nav-item" :class="{action:currentIndex === 0}" @click="navClick(0)">待退款</view>
  5. <view class="nav-item" :class="{action:currentIndex === 1}" @click="navClick(1)">已退款</view>
  6. </view>
  7. <view class="ref-wrapper">
  8. <view class="ref-item">
  9. <view class="top">
  10. </view>
  11. </view>
  12. </view>
  13. </view> -->
  14. <view class="content">
  15. <view class="navbar">
  16. <view v-for="(item, index) in navList" :key="index" class="nav-item" :class="{ current: tabCurrentIndex === index }" @click="tabClick(index)">{{ item.text }}</view>
  17. </view>
  18. <swiper :current="tabCurrentIndex" class="swiper-box" duration="300" @change="changeTab">
  19. <swiper-item class="tab-content" v-for="(tabItem, tabIndex) in navList" :key="tabIndex">
  20. <scroll-view class="list-scroll-content" scroll-y @scrolltolower="loadData">
  21. <!-- 空白页 -->
  22. <empty v-if="tabItem.loaded === true && tabItem.orderList.length === 0"></empty>
  23. <!-- 订单列表 -->
  24. <view @click="goToOrderDetail(item)" v-for="(item, index) in tabItem.orderList" :key="index" class="order-item">
  25. <view class="i-top b-b">
  26. <!-- <view class=""></view> -->
  27. <text class="time">订单编号:{{ item.id }}</text>
  28. <text class="state" style=" color: #901b21; font-size: 26rpx;font-weight: 500; " v-if="tabCurrentIndex === 0">待退款</text>
  29. <text class="state" style=" color: #901b21; " v-else>已退款</text>
  30. <text v-if="item.status === 4" class="del-btn iconfont icondelete" @click="deleteOrder(index)"></text>
  31. </view>
  32. <scroll-view v-if="item.cartInfo.length > 1" class="goods-box" scroll-x>
  33. <view v-for="(goodsItem, goodsIndex) in item.cartInfo" :key="goodsIndex" class="goods-item">
  34. <image class="goods-img" :src="goodsItem.productInfo.image" mode="aspectFill"></image>
  35. </view>
  36. </scroll-view>
  37. <!-- <view v-if="item.cartInfo.length === 1" class="goods-box-single" v-for="(goodsItem, goodsIndex) in item.cartInfo" :key="goodsIndex">
  38. <image class="goods-img" :src="goodsItem.productInfo.image" mode="aspectFill"></image>
  39. <view class="right">
  40. <text class="title clamp">{{ goodsItem.productInfo.store_name }}</text>
  41. <text class="attr-box">{{ goodsItem.attrInfo ? goodsItem.attrInfo.suk : '' }} x {{ goodsItem.cart_num }}</text>
  42. <text class="price">{{ moneyNum(goodsItem.productInfo.price)}}</text>
  43. </view>
  44. </view> -->
  45. <view class="goods-box-single" v-for="(goodsItem, goodsIndex) in item.cartInfo" :key="goodsIndex">
  46. <image class="goods-img" :src="goodsItem.productInfo.image" mode="scaleToFill"></image>
  47. <view class="right">
  48. <view class="flex-start">
  49. <text class="title clamp">{{ goodsItem.productInfo.store_name }}</text>
  50. <text class="price" style="flex-grow: 1;text-align: right;color: #901B21;font-size: 30rpx;font-weight: bold;">
  51. {{ goodsItem.productInfo.price | moneyNum }}
  52. </text>
  53. </view>
  54. <view class="row flex">
  55. <text class="row_title">{{ goodsItem.productInfo.attrInfo ? '商品退款' : '押金退款' }}</text>
  56. <text class="attr-box">x {{ goodsItem.cart_num }}</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="price-box">
  61. <!-- 共 -->
  62. <!-- <text class="num">{{ item.cartInfo.length }}</text> -->
  63. 退款金额:
  64. <text class="price">{{ moneyNum(item.pay_price) }}</text>
  65. <!-- (含运费
  66. <text class="price">{{ moneyNum(item.pay_postage) }}</text>
  67. ) -->
  68. </view>
  69. <view class="action-box b-t" v-if="currentIndex === 0">
  70. <!-- <button v-if="item._status._title == '未支付'" class="action-btn" @click.stop="cancelOrder(item)">取消订单</button>
  71. <button v-if="item._status._title == '未支付'" @click.stop="orderPay(item)" class="action-btn recom">立即支付</button>
  72. <button v-if="item._status._title == '待评价'" class="action-btn">评价</button>
  73. <button v-if="item._status._title == '待收货'" @click.stop="orderTake(item, index)" class="action-btn">确认收货</button> -->
  74. <button @click.stop="agreeRefund(item)" class="action-btn">同意退款</button>
  75. </view>
  76. </view>
  77. <uni-load-more :status="tabItem.loadingType"></uni-load-more>
  78. </scroll-view>
  79. </swiper-item>
  80. </swiper>
  81. <uni-popup ref="popupagree" class="agree-wrapper">
  82. <view class="agree">
  83. <image src="../../static/img/agreebg.png" mode=""></image>
  84. <view class="tap1">确认同意该笔退款吗?</view>
  85. <view class="tap2">一旦操作将无法撤销</view>
  86. <view class="btn-wrapper flex">
  87. <view @click="cansel">
  88. 取消
  89. </view>
  90. <view class="tybtn" @click="agree">
  91. 同意
  92. </view>
  93. </view>
  94. </view>
  95. </uni-popup>
  96. </view>
  97. </template>
  98. <script>
  99. import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
  100. import empty from '@/components/empty';
  101. import { orderList, orderCancel, orderDel, orderTake } from '@/api/order.js';
  102. import uniPopup from '@/components/uni-popup/uni-popup.vue'
  103. // import empty from '@/components/empty.vue'
  104. export default {
  105. components: {
  106. uniLoadMore,
  107. empty,
  108. uniPopup
  109. },
  110. data() {
  111. return {
  112. currentIndex: 0,
  113. refList: [], //退款列表
  114. navList: [
  115. {
  116. state: 1,
  117. text: '退款款',
  118. loadingType: 'more',
  119. orderList: [],
  120. page: 1 //当前页数
  121. },
  122. {
  123. state: 2,
  124. text: '已退款',
  125. loadingType: 'more',
  126. orderList: [],
  127. page: 1, //当前页数
  128. limit: 10 //每次信息条数
  129. }
  130. ],
  131. tabCurrentIndex: 0
  132. };
  133. },
  134. filters: {
  135. moneyNum(value) {
  136. return +value
  137. }
  138. },
  139. onLoad(options) {
  140. /**
  141. * 修复app端点击除全部订单外的按钮进入时不加载数据的问题
  142. * 替换onLoad下代码即可
  143. */
  144. console.log(options);
  145. this.isUser = options.isUser;
  146. console.log(this.isUser);
  147. this.tabCurrentIndex = +options.state;
  148. // #ifndef MP
  149. this.loadData();
  150. // #endif
  151. // #ifdef MP
  152. if (options.state == 0) {
  153. this.loadData();
  154. }
  155. // #endif
  156. },
  157. // #ifdef APP-PLUS || H5
  158. onBackPress(e) {
  159. uni.switchTab({
  160. url: '/pages/user/user'
  161. });
  162. return true;
  163. },
  164. // #endif
  165. methods: {
  166. moneyNum(value) {
  167. return +value;
  168. },
  169. // 确认收货
  170. orderTake(item, index) {
  171. let obj = this;
  172. uni.showModal({
  173. title: '是否确认收货?',
  174. success: () => {
  175. orderTake({
  176. uni: item.order_id
  177. })
  178. .then(e => {
  179. obj.navList[obj.tabCurrentIndex].orderList.splice(index, 1);
  180. uni.showToast({
  181. title: '收货成功'
  182. });
  183. })
  184. .catch(e => {
  185. console.log(e);
  186. });
  187. }
  188. });
  189. },
  190. //跳转到订单详情
  191. goToOrderDetail(e) {
  192. uni.navigateTo({
  193. url: '/pages/order/orderDetail?id=' + e.order_id
  194. });
  195. },
  196. // 申请退款
  197. orderRefund(e) {
  198. uni.navigateTo({
  199. url: '/pages/order/orderRefund?id=' + e.order_id
  200. });
  201. },
  202. // 订单支付
  203. orderPay(e) {
  204. uni.navigateTo({
  205. url: '/pages/money/pay?type=1&ordid=' + e.order_id + '&money=' + e.pay_price
  206. });
  207. },
  208. //获取订单列表
  209. loadData(source) {
  210. //这里是将订单挂载到tab列表下
  211. let index = this.tabCurrentIndex;
  212. let navItem = this.navList[index];
  213. let state = navItem.state;
  214. if (source === 'tabChange' && navItem.loaded === true) {
  215. //tab切换只有第一次需要加载数据
  216. return;
  217. }
  218. if (navItem.loadingType === 'loading') {
  219. //防止重复加载
  220. return;
  221. }
  222. if (navItem.loadingType === 'noMore') {
  223. //防止重复加载
  224. return;
  225. }
  226. // 修改当前对象状态为加载中
  227. navItem.loadingType = 'loading';
  228. orderList({
  229. type: state,
  230. page: navItem.page,
  231. limit: navItem.limit
  232. })
  233. .then(({ data }) => {
  234. let arr = data.map(e => {
  235. let b = this.orderStateExp(e.status);
  236. e.stateTip = b.stateTip;
  237. e.stateTipColor = b.stateTipColor;
  238. return e;
  239. });
  240. navItem.orderList = navItem.orderList.concat(arr);
  241. // console.log(navItem.orderList);
  242. navItem.page++;
  243. if (navItem.limit == data.length) {
  244. //判断是否还有数据, 有改为 more, 没有改为noMore
  245. navItem.loadingType = 'more';
  246. return;
  247. } else {
  248. //判断是否还有数据, 有改为 more, 没有改为noMore
  249. navItem.loadingType = 'noMore';
  250. }
  251. uni.hideLoading();
  252. this.$set(navItem, 'loaded', true);
  253. })
  254. .catch(e => {
  255. console.log(e);
  256. });
  257. },
  258. //swiper 切换
  259. changeTab(e) {
  260. this.tabCurrentIndex = e.target.current;
  261. this.loadData('tabChange');
  262. },
  263. //顶部tab点击
  264. tabClick(index) {
  265. this.tabCurrentIndex = index;
  266. },
  267. //删除订单
  268. deleteOrder(index) {
  269. uni.showLoading({
  270. title: '请稍后'
  271. });
  272. setTimeout(() => {
  273. this.navList[this.tabCurrentIndex].orderList.splice(index, 1);
  274. uni.hideLoading();
  275. }, 600);
  276. },
  277. //取消订单
  278. cancelOrder(item) {
  279. uni.showModal({
  280. title: '订单取消',
  281. content: '是否取消订单?',
  282. success: e => {
  283. if (e.confirm) {
  284. uni.showLoading({
  285. title: '请稍后'
  286. });
  287. orderCancel({ id: item.order_id })
  288. .then(e => {
  289. uni.showToast({
  290. title: '取消成功',
  291. duration: 2000,
  292. position: 'top'
  293. });
  294. })
  295. .catch(e => {
  296. console.log(e);
  297. });
  298. //取消订单后删除待付款中该项
  299. let list = this.navList[this.tabCurrentIndex].orderList;
  300. let index = list.findIndex(val => val.id === item.id);
  301. index !== -1 && list.splice(index, 1);
  302. uni.hideLoading();
  303. }
  304. }
  305. });
  306. },
  307. //订单状态文字和颜色
  308. orderStateExp(state) {
  309. let stateTip = '',
  310. stateTipColor = '#fa436a';
  311. switch (+state) {
  312. case 0:
  313. stateTip = '待付款';
  314. break;
  315. case 1:
  316. stateTip = '待发货';
  317. break;
  318. case 2:
  319. stateTip = '待收货';
  320. break;
  321. case 3:
  322. stateTip = '待评价';
  323. break;
  324. case 4:
  325. stateTip = '已完成';
  326. stateTipColor = '#901b21';
  327. break;
  328. case 9:
  329. stateTip = '订单已关闭';
  330. stateTipColor = '#909399';
  331. break;
  332. //更多自定义
  333. }
  334. return { stateTip, stateTipColor };
  335. },
  336. agreeRefund() {
  337. console.log('同意')
  338. this.$refs.popupagree.open()
  339. },
  340. //取消
  341. cansel() {
  342. this.$refs.popupagree.close()
  343. },
  344. //同意退款
  345. agree() {
  346. this.$refs.popupagree.close()
  347. }
  348. }
  349. };
  350. </script>
  351. <style lang="scss" scoped>
  352. // page {
  353. // height: 100%;
  354. // background-color: #f7f5f5;
  355. // }
  356. // .nav-list {
  357. // display: flex;
  358. // justify-content: space-around;
  359. // height: 80rpx;
  360. // width: 750rpx;
  361. // line-height: 80rpx;
  362. // background-color: #fff;
  363. // .nav-item {
  364. // font-size: 30rpx;
  365. // font-weight: 500;
  366. // color: #333333;
  367. // font-size: 30rpx;
  368. // font-weight: 500;
  369. // &.action {
  370. // border-bottom: 5rpx #942328 solid;
  371. // color: #942328;
  372. // }
  373. // }
  374. // }
  375. // .ref-item {
  376. // width: 702rpx;
  377. // height: 304rpx;
  378. // background: #FFFFFF;
  379. // box-shadow: 0px 0px 20rpx 0rpx rgba(50, 50, 52, 0.06);
  380. // border-radius: 10rpx;
  381. // margin: 20rpx auto;
  382. // }
  383. page,
  384. .content {
  385. background: $page-color-base;
  386. height: 100%;
  387. }
  388. .swiper-box {
  389. height: calc(100% - 40px);
  390. }
  391. .list-scroll-content {
  392. height: 100%;
  393. }
  394. .navbar {
  395. display: flex;
  396. height: 40px;
  397. padding: 0 5px;
  398. background: #fff;
  399. box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
  400. position: relative;
  401. z-index: 10;
  402. .nav-item {
  403. flex: 1;
  404. display: flex;
  405. justify-content: center;
  406. align-items: center;
  407. height: 100%;
  408. font-size: 15px;
  409. color: $font-color-dark;
  410. position: relative;
  411. &.current {
  412. color: $base-color;
  413. &:after {
  414. content: '';
  415. position: absolute;
  416. left: 50%;
  417. bottom: 0;
  418. transform: translateX(-50%);
  419. width: 44px;
  420. height: 0;
  421. border-bottom: 2px solid $base-color;
  422. }
  423. }
  424. }
  425. }
  426. .uni-swiper-item {
  427. height: auto;
  428. }
  429. .order-item {
  430. display: flex;
  431. flex-direction: column;
  432. padding-left: 30rpx;
  433. background: #fff;
  434. margin-top: 16rpx;
  435. .i-top {
  436. display: flex;
  437. align-items: center;
  438. height: 80rpx;
  439. padding-right: 30rpx;
  440. font-size: $font-base;
  441. color: $font-color-dark;
  442. position: relative;
  443. .time {
  444. flex: 1;
  445. }
  446. .state {
  447. color: $base-color;
  448. }
  449. .del-btn {
  450. padding: 10rpx 0 10rpx 36rpx;
  451. font-size: $font-lg;
  452. color: $font-color-light;
  453. position: relative;
  454. &:after {
  455. content: '';
  456. width: 0;
  457. height: 30rpx;
  458. border-left: 1px solid $border-color-dark;
  459. position: absolute;
  460. left: 20rpx;
  461. top: 50%;
  462. transform: translateY(-50%);
  463. }
  464. }
  465. }
  466. /* 多条商品 */
  467. .goods-box {
  468. height: 160rpx;
  469. padding: 20rpx 0;
  470. white-space: nowrap;
  471. .goods-item {
  472. width: 120rpx;
  473. height: 120rpx;
  474. display: inline-block;
  475. margin-right: 24rpx;
  476. }
  477. .goods-img {
  478. display: block;
  479. width: 100%;
  480. height: 100%;
  481. }
  482. }
  483. /* 单条商品 */
  484. .goods-box-single {
  485. display: flex;
  486. padding: 20rpx 0;
  487. .goods-img {
  488. display: block;
  489. width: 120rpx;
  490. height: 120rpx;
  491. }
  492. .right {
  493. flex: 1;
  494. display: flex;
  495. flex-direction: column;
  496. padding: 0 30rpx 0 24rpx;
  497. overflow: hidden;
  498. .row {
  499. margin-top: 10rpx;
  500. }
  501. .row_title {
  502. padding: 5rpx 10rpx;
  503. background-color: #dddddd;
  504. border-radius: 10rpx;
  505. font-size: 22rpx;
  506. color: #ffffff;
  507. background: #ffeee9;
  508. border-radius: 5rpx;
  509. color: #f55e5c;
  510. }
  511. .title {
  512. font-size: $font-base + 2rpx;
  513. color: $font-color-dark;
  514. line-height: 1;
  515. width: 80%;
  516. }
  517. .attr-box {
  518. display: flex;
  519. justify-content: flex-end;
  520. font-size: $font-sm + 2rpx;
  521. color: $font-color-light;
  522. }
  523. .price {
  524. display: inline;
  525. font-size: $font-base + 2rpx;
  526. color: $font-color-dark;
  527. &:before {
  528. content: '¥';
  529. font-size: $font-sm;
  530. }
  531. }
  532. }
  533. }
  534. .price-box {
  535. display: flex;
  536. justify-content: flex-end;
  537. align-items: baseline;
  538. padding: 20rpx 30rpx;
  539. font-size: $font-sm + 2rpx;
  540. color: $font-color-light;
  541. .num {
  542. margin: 0 8rpx;
  543. color: $font-color-dark;
  544. }
  545. .price {
  546. font-size: 26rpx;
  547. color: #333;
  548. &:before {
  549. content: '¥';
  550. font-size: $font-sm;
  551. margin: 0 2rpx 0 8rpx;
  552. }
  553. }
  554. }
  555. .action-box {
  556. display: flex;
  557. justify-content: flex-end;
  558. align-items: center;
  559. height: 100rpx;
  560. position: relative;
  561. padding-right: 30rpx;
  562. }
  563. .action-btn {
  564. display: inline-block;
  565. // width: 150rpx;
  566. height: 48rpx;
  567. background: linear-gradient(90deg, #962C32, #942026);
  568. border-radius: 24rpx;
  569. // width: 160rpx;
  570. // height: 60rpx;
  571. margin: 0;
  572. margin-left: 24rpx;
  573. // padding: 0;
  574. text-align: center;
  575. line-height: 48rpx;
  576. font-size: 26rpx;
  577. color: #fff;
  578. // background: #fff;
  579. // border-radius: 100px;
  580. &:after {
  581. border-radius: 100px;
  582. }
  583. &.recom {
  584. color: $base-color;
  585. &:after {
  586. border-color: $base-color;
  587. }
  588. }
  589. &.evaluate {
  590. color: $color-yellow;
  591. &:after {
  592. border-color: $color-yellow;
  593. }
  594. }
  595. }
  596. }
  597. /* load-more */
  598. .uni-load-more {
  599. display: flex;
  600. flex-direction: row;
  601. height: 80rpx;
  602. align-items: center;
  603. justify-content: center;
  604. }
  605. .uni-load-more__text {
  606. font-size: 28rpx;
  607. color: #999;
  608. }
  609. .uni-load-more__img {
  610. height: 24px;
  611. width: 24px;
  612. margin-right: 10px;
  613. }
  614. .uni-load-more__img > view {
  615. position: absolute;
  616. }
  617. .uni-load-more__img > view view {
  618. width: 6px;
  619. height: 2px;
  620. border-top-left-radius: 1px;
  621. border-bottom-left-radius: 1px;
  622. background: #999;
  623. position: absolute;
  624. opacity: 0.2;
  625. transform-origin: 50%;
  626. animation: load 1.56s ease infinite;
  627. }
  628. .uni-load-more__img > view view:nth-child(1) {
  629. transform: rotate(90deg);
  630. top: 2px;
  631. left: 9px;
  632. }
  633. .uni-load-more__img > view view:nth-child(2) {
  634. transform: rotate(180deg);
  635. top: 11px;
  636. right: 0;
  637. }
  638. .uni-load-more__img > view view:nth-child(3) {
  639. transform: rotate(270deg);
  640. bottom: 2px;
  641. left: 9px;
  642. }
  643. .uni-load-more__img > view view:nth-child(4) {
  644. top: 11px;
  645. left: 0;
  646. }
  647. .load1,
  648. .load2,
  649. .load3 {
  650. height: 24px;
  651. width: 24px;
  652. }
  653. .load2 {
  654. transform: rotate(30deg);
  655. }
  656. .load3 {
  657. transform: rotate(60deg);
  658. }
  659. .load1 view:nth-child(1) {
  660. animation-delay: 0s;
  661. }
  662. .load2 view:nth-child(1) {
  663. animation-delay: 0.13s;
  664. }
  665. .load3 view:nth-child(1) {
  666. animation-delay: 0.26s;
  667. }
  668. .load1 view:nth-child(2) {
  669. animation-delay: 0.39s;
  670. }
  671. .load2 view:nth-child(2) {
  672. animation-delay: 0.52s;
  673. }
  674. .load3 view:nth-child(2) {
  675. animation-delay: 0.65s;
  676. }
  677. .load1 view:nth-child(3) {
  678. animation-delay: 0.78s;
  679. }
  680. .load2 view:nth-child(3) {
  681. animation-delay: 0.91s;
  682. }
  683. .load3 view:nth-child(3) {
  684. animation-delay: 1.04s;
  685. }
  686. .load1 view:nth-child(4) {
  687. animation-delay: 1.17s;
  688. }
  689. .load2 view:nth-child(4) {
  690. animation-delay: 1.3s;
  691. }
  692. .load3 view:nth-child(4) {
  693. animation-delay: 1.43s;
  694. }
  695. @-webkit-keyframes load {
  696. 0% {
  697. opacity: 1;
  698. }
  699. 100% {
  700. opacity: 0.2;
  701. }
  702. }
  703. .agree-wrapper {
  704. .agree {
  705. width: 522rpx;
  706. height: 605rpx;
  707. background: #FFFFFF;
  708. border-radius: 20rpx;
  709. text-align: center;
  710. image {
  711. width: 522rpx;
  712. height: 307rpx;
  713. // background: linear-gradient(90deg, #962C32, #942026);
  714. border-radius: 20rpx;
  715. }
  716. .tap1 {
  717. padding-top: 47.5rpx;
  718. font-size: 36rpx;
  719. font-weight: 500;
  720. color: #333333;
  721. line-height: 1;
  722. }
  723. .tap2 {
  724. padding-top: 22rpx;
  725. font-size: 30rpx;
  726. font-weight: 500;
  727. color: #999999;
  728. line-height: 1;
  729. }
  730. .btn-wrapper {
  731. padding-top: 55.5rpx;
  732. justify-content: center;
  733. view {
  734. width: 197rpx;
  735. height: 61rpx;
  736. border: 1px solid #901B21;
  737. border-radius: 31px;
  738. background: #FFFFFF;
  739. font-size: 24rpx;
  740. font-weight: 500;
  741. color: #901B21;
  742. line-height: 61rpx;
  743. }
  744. .tybtn {
  745. margin-left: 22.8rpx;
  746. color: #fff;
  747. background-color: #901B21;
  748. }
  749. }
  750. }
  751. }
  752. </style>