order.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. <template>
  2. <view class="order">
  3. <!-- #ifdef H5 -->
  4. <view style="position: fixed;top:0rpx;width: 100%;z-index: 999;">
  5. <!-- #endif -->
  6. <!-- #ifndef H5 -->
  7. <view style="position: fixed;top: 0;width: 100%;z-index: 999;">
  8. <!-- #endif -->
  9. <u-tabs :list="list" :is-scroll="true" active-color="#fe6b01" inactive-color=" #666666" :bold="bold"
  10. :current="current" @change="change" :show-bar="true"></u-tabs>
  11. </view>
  12. <view class="ifbox">
  13. <view class="order_box" v-for="(item,index) in order" :key="index"
  14. @click="bindorderDetail(item.ordersId)">
  15. <view class="order_success">
  16. <view class="text-bold text_bolds1" v-if="item.status==1"><!-- 等待支付车费 -->待支付</view>
  17. <view class="text-bold text_bolds2" v-if="item.status==2"><!-- 等待车主接单 -->待接单</view>
  18. <view class="text-bold text_bolds3" v-if="item.status==3"><!-- 等待车主前来 -->已接单</view>
  19. <view class="text-bold text_bolds4" v-if="item.status==4"><!-- 车主正在前往 -->进行中</view>
  20. <view class="text-bold text_bolds5" v-if="item.status==5"><!-- 已经到达地址 -->已抵达</view>
  21. <view class="text-bold text_bolds6" v-if="item.status==6"><!-- 订单已取消 -->已取消</view>
  22. <!-- 状态 1待支付 2待接单 3已接单 4进行中 5已抵达 6已取消 -->
  23. <view class="order_name"><!-- 待支付 --><view class="order_money">¥{{item.payMoney}}</view></view>
  24. <!-- <view class="order_name" v-if="item.status==2">待接单</view>
  25. <view class="order_name" v-if="item.status==3">已接单</view>
  26. <view class="order_name" v-if="item.status==4">进行中</view>
  27. <view class="order_name" v-if="item.status==5">已抵达</view>
  28. <view class="order_name" v-if="item.status==6">已取消</view> -->
  29. </view>
  30. <u-line color="#E6E6E6" />
  31. <view class="order_city">
  32. <view class="flex align-center">
  33. <image v-if="globalImages" :src="globalImages + 'images/static/upload/time.png'" style="width: 28rpx;height: 28rpx;"></image>
  34. <view style="margin-left: 16rpx;" class="add_name">{{item.appointmentStartTime}}</view>
  35. </view>
  36. <view class="margin-tb flex align-center">
  37. <image v-if="globalImages" :src="globalImages + 'images/static/upload/person.png'" style="width: 30rpx;height: 31rpx;"></image>
  38. <view style="margin-left: 16rpx;" class="add_name">
  39. {{item.appointmentNum}}人乘坐·{{item.appointmentType == 1 ? '独享' : '拼车'}}
  40. </view>
  41. </view>
  42. <view class="flex align-center add_name" style="margin: 30rpx 0rpx 4rpx;">
  43. <view class="green"></view>出发地点:{{item.shipAddress}}
  44. </view>
  45. <image v-if="globalImages" :src="globalImages + 'images/static/upload/up.png'" class="order_up"></image>
  46. <view class="flex align-center add_name">
  47. <view class="orgin"></view>到达地点:{{item.deliveryAddress}}
  48. </view>
  49. </view>
  50. <u-line color="#E6E6E6" />
  51. <view class="flex align-center justify-between">
  52. <view class="order_money"</view>
  53. <view class="order_btn padding">
  54. <view class="btn3" v-if="item.status==2 || item.status==1 || item.status==3" @tap.stop="bindorderOff(item)">
  55. 取消订单</view>
  56. <view class="btn2 margin-left" v-if="item.status==3&&item.payUser==0"
  57. @click.stop="bindorderDetail(item.indentNumber)">立即支付</view>
  58. <view class="btn3 margin-left" v-if="item.status == 5 &&!item.evaluateMessage"
  59. @tap.stop="bindcomment(item)">
  60. 去评价
  61. </view>
  62. <view class="btn2 margin-left" v-if="item.status!=3 && item.status!=4 " @click.stop="backindex()">再来一单</view>
  63. <view class="btn2 margin-left" v-if="item.status==4" @click="goNav('/my/setting/jinji')">安全求助</view>
  64. <!-- <view class="btn2 margin-left" v-if="item.status==4" @click="bindorderDetail(item.ordersId)">详情</view> -->
  65. <!-- <view class="btn2 margin-left" v-if="item.status == 5 " @tap.stop="bindtousu(item)">
  66. 去投诉
  67. </view> -->
  68. </view>
  69. </view>
  70. </view>
  71. <view class="empty" v-if="order.length == 0">
  72. <view
  73. style="width: 90%; margin: 0 auto; position: fixed;top: 30%;left: 0rpx;right: 0rpx;text-align: center;">
  74. <image v-if="globalImages" :src="globalImages + 'images/static/image/emety.png'" style="width: 300rpx;height: 300rpx;"></image>
  75. <view style="color: #CCCCCC;">暂无内容</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </template>
  81. <script>
  82. import { waitForGlobalImages } from '@/utils/globalImageLoader'
  83. export default {
  84. data() {
  85. return {
  86. list: [{
  87. name: '全部',
  88. id: ''
  89. }, {
  90. name: '待支付',
  91. id: 1
  92. }, {
  93. name: '待接单',
  94. id: 2
  95. }, {
  96. name: '已接单',
  97. id: 3
  98. }, {
  99. name: '进行中',
  100. id: 4
  101. }, {
  102. name: '已抵达',
  103. id: 5
  104. }, {
  105. name: '已取消',
  106. id: 6
  107. }],
  108. current: 0,
  109. bold: false,
  110. page: 1,
  111. limit: 10,
  112. order: [],
  113. totalPage: 0,
  114. arr: [],
  115. showModal: true,
  116. userId: '',
  117. time: '',
  118. creditScore: 0,
  119. AllcreditScore: 0,
  120. globalImages: '',
  121. }
  122. },
  123. onLoad() {
  124. waitForGlobalImages().then((path) => {
  125. console.log('✅ 全局图片路径:', path)
  126. this.globalImages = path
  127. })
  128. let that = this;
  129. that.$Request.getT('/app/common/type/427').then(res => { //订单状态通知 427
  130. if (res.code == 0) {
  131. if (res.data && res.data.value) {
  132. that.arr.push(res.data.value)
  133. }
  134. }
  135. })
  136. // that.$Request.getT('/app/common/type/269').then(res => { //订单完成通知
  137. // if (res.code == 0) {
  138. // if (res.data && res.data.value) {
  139. // that.arr.push(res.data.value)
  140. // }
  141. // }
  142. // })
  143. that.$Request.getT('/app/common/type/364').then(res => { // 每次取消扣除的信用分数量 364
  144. if (res.code == 0) {
  145. if (res.data && res.data.value) {
  146. that.creditScore = res.data.value
  147. }
  148. }
  149. })
  150. that.$Request.getT('/app/common/type/365').then(res => { // 低于多少不能接单和下单 365
  151. if (res.code == 0) {
  152. if (res.data && res.data.value) {
  153. that.AllcreditScore = res.data.value
  154. }
  155. }
  156. })
  157. },
  158. onShow() {
  159. // this.order = []
  160. let token = this.$queue.getData('token')
  161. this.userId = this.$queue.getData('userId')
  162. if (token) {
  163. let index = uni.getStorageSync('current')
  164. if (index) {
  165. this.current = index
  166. this.page = 1;
  167. this.orderList()
  168. uni.removeStorageSync('current')
  169. } else {
  170. this.current = 0
  171. this.page = 1;
  172. this.orderList()
  173. }
  174. if (this.showModal) {
  175. // #ifdef MP-WEIXIN
  176. this.openMsg()
  177. // #endif
  178. }
  179. let that = this
  180. that.time = setInterval(function() {
  181. that.orderList()
  182. }, 30000)
  183. } else {
  184. uni.stopPullDownRefresh();
  185. uni.showModal({
  186. title: '提示',
  187. content: '请先去登录',
  188. success: function(res) {
  189. if (res.confirm) {
  190. uni.navigateTo({
  191. url: '/pages/my/register'
  192. })
  193. } else if (res.cancel) {
  194. console.log('用户点击取消');
  195. }
  196. }
  197. });
  198. }
  199. },
  200. onHide() {
  201. uni.removeStorageSync('current')
  202. clearInterval(this.time)
  203. },
  204. onUnload() {
  205. uni.$off('send')
  206. uni.$off('current')
  207. },
  208. methods: {
  209. // 紧急求助
  210. goNav(url) {
  211. // #ifdef MP-WEIXIN
  212. if (uni.getStorageSync('sendorderMsg')) {
  213. uni.requestSubscribeMessage({
  214. tmplIds: this.arr,
  215. success(re) {
  216. // console.log(re,'**********')
  217. var datas = JSON.stringify(re);
  218. if (datas.indexOf("accept") != -1) {
  219. console.log(re)
  220. }
  221. },
  222. fail: (res) => {
  223. console.log(res)
  224. }
  225. })
  226. }
  227. // #endif
  228. let token = this.$queue.getData("token");
  229. if (token) {
  230. uni.navigateTo({
  231. url: url
  232. })
  233. } else {
  234. this.bindlogin();
  235. }
  236. },
  237. backindex() {
  238. uni.switchTab({
  239. url: '/pages/index/index'
  240. })
  241. },
  242. change(index) {
  243. console.log(index)
  244. this.current = index;
  245. this.page = 1;
  246. this.orderList()
  247. },
  248. // 订单获取
  249. orderList() {
  250. uni.showLoading({
  251. title: '加载中...',
  252. mask: false
  253. });
  254. let indentState = this.list[this.current].id
  255. this.$Request.getT('/app/orders/selectMyOrdersList?page=' + this.page + '&limit=' + this.limit +
  256. '&status=' + indentState).then(res => {
  257. if (res.code === 0) {
  258. if (this.page == 1) {
  259. this.order = res.data.list
  260. }
  261. if (this.page > 1) {
  262. if (res.data.list.length > 0) {
  263. this.order = this.order.concat(res.data.list)
  264. }
  265. }
  266. this.totalPage = res.data.pages
  267. }
  268. uni.hideLoading()
  269. uni.stopPullDownRefresh();
  270. });
  271. },
  272. // 订单详情
  273. bindorderDetail(indentNumber) {
  274. // #ifdef MP-WEIXIN
  275. if (uni.getStorageSync('sendorderMsg')) {
  276. uni.requestSubscribeMessage({
  277. tmplIds: this.arr,
  278. success(re) {
  279. // console.log(re,'**********')
  280. var datas = JSON.stringify(re);
  281. if (datas.indexOf("accept") != -1) {
  282. console.log(re)
  283. }
  284. },
  285. fail: (res) => {
  286. console.log(res)
  287. }
  288. })
  289. }
  290. // #endif
  291. console.log(indentNumber)
  292. // uni.navigateTo({
  293. // url: '/pages/order/orderDetail/detail?indentNumber=' + indentNumber
  294. // })
  295. uni.navigateTo({
  296. url: '/my/order/pay?indentNumber=' + indentNumber
  297. })
  298. },
  299. // 再来一单
  300. bindorder(e) {
  301. // #ifdef MP-WEIXIN
  302. if (uni.getStorageSync('sendorderMsg')) {
  303. uni.requestSubscribeMessage({
  304. tmplIds: this.arr,
  305. success(re) {
  306. // console.log(re,'**********')
  307. var datas = JSON.stringify(re);
  308. if (datas.indexOf("accept") != -1) {
  309. console.log(re)
  310. }
  311. },
  312. fail: (res) => {
  313. console.log(res)
  314. }
  315. })
  316. }
  317. // #endif
  318. console.log(e)
  319. let index = e.indentType
  320. let current = e.buyType
  321. if (e.indentType == 1 || e.indentType == 2) {
  322. uni.navigateTo({
  323. url: '/pages/Helpsend/Helpsend?indentNumber=' + e.indentNumber + '&index=' + index
  324. })
  325. } else if (e.indentType == 3) {
  326. uni.navigateTo({
  327. url: '/pages/Helppay/Helppay?indentNumber=' + e.indentNumber + '&index=' + index +
  328. '&current=' + current
  329. })
  330. } else if (e.indentType == 4) {
  331. uni.navigateTo({
  332. url: '/pages/Cityservice/Cityservice?indentNumber=' + e.indentNumber + '&index=' + index
  333. })
  334. }
  335. },
  336. // 去评价
  337. bindcomment(e) {
  338. // #ifdef MP-WEIXIN
  339. if (uni.getStorageSync('sendorderMsg')) {
  340. uni.requestSubscribeMessage({
  341. tmplIds: this.arr,
  342. success(re) {
  343. // console.log(re,'**********')
  344. var datas = JSON.stringify(re);
  345. if (datas.indexOf("accept") != -1) {
  346. console.log(re)
  347. }
  348. },
  349. fail: (res) => {
  350. console.log(res)
  351. }
  352. })
  353. }
  354. // #endif
  355. // uni.navigateTo({
  356. // url: '/my/order/comments?indentNumber=' + e.indentNumber + '&riderUserId=' + e
  357. // .riderUserId + '&userId=' + e.userId + '&ordersNo=' + e.ordersNo + '&ordersId=' + e.ordersId
  358. // })
  359. uni.navigateTo({
  360. url: '/my/order/comments?data=' + encodeURIComponent(JSON.stringify(e))
  361. })
  362. },
  363. bindtousu(e) { //投诉
  364. // #ifdef MP-WEIXIN
  365. if (uni.getStorageSync('sendorderMsg')) {
  366. uni.requestSubscribeMessage({
  367. tmplIds: this.arr,
  368. success(re) {
  369. // console.log(re,'**********')
  370. var datas = JSON.stringify(re);
  371. if (datas.indexOf("accept") != -1) {
  372. console.log(re)
  373. }
  374. },
  375. fail: (res) => {
  376. console.log(res)
  377. }
  378. })
  379. }
  380. // #endif
  381. uni.navigateTo({
  382. url: '/my/order/complaint?indentNumber=' + e.indentNumber + '&riderUserId=' + e
  383. .riderUserId
  384. })
  385. },
  386. // 取消订单
  387. bindorderOff(e) {
  388. // #ifdef MP-WEIXIN
  389. if (uni.getStorageSync('sendorderMsg')) {
  390. uni.requestSubscribeMessage({
  391. tmplIds: this.arr,
  392. success(re) {
  393. // console.log(re,'**********')
  394. var datas = JSON.stringify(re);
  395. if (datas.indexOf("accept") != -1) {
  396. console.log(re)
  397. }
  398. },
  399. fail: (res) => {
  400. console.log(res)
  401. }
  402. })
  403. }
  404. // #endif
  405. let indentNumber = e.ordersId
  406. uni.showModal({
  407. title: '温馨提示',
  408. content: '确定取消订单?',
  409. showCancel: true,
  410. cancelText: '取消',
  411. confirmText: '确认',
  412. success: res => {
  413. if (res.confirm) {
  414. this.$Request.postT('/app/orders/cancelOrders?ordersId=' + indentNumber + '&isDriver=0')
  415. .then(res => {
  416. if (res.code == 0) {
  417. uni.showToast({
  418. title: '订单取消成功'
  419. });
  420. this.page = 1;
  421. this.orderList()
  422. } else {
  423. uni.hideLoading();
  424. uni.showModal({
  425. showCancel: false,
  426. title: '订单失败',
  427. content: res.msg
  428. });
  429. }
  430. });
  431. }
  432. }
  433. });
  434. },
  435. //确认订单
  436. bindconfirm(e) {
  437. // #ifdef MP-WEIXIN
  438. if (uni.getStorageSync('sendorderMsg')) {
  439. uni.requestSubscribeMessage({
  440. tmplIds: this.arr,
  441. success(re) {
  442. // console.log(re,'**********')
  443. var datas = JSON.stringify(re);
  444. if (datas.indexOf("accept") != -1) {
  445. console.log(re)
  446. }
  447. },
  448. fail: (res) => {
  449. console.log(res)
  450. }
  451. })
  452. }
  453. // #endif
  454. // console.log(e)
  455. let indentNumber = e.indentNumber
  456. console.log(indentNumber)
  457. this.$Request.postT('/app/indent/userDelivery?indentNumber=' + indentNumber).then(res => {
  458. console.log(res)
  459. if (res.code == 0) {
  460. uni.showToast({
  461. title: '订单确认成功'
  462. });
  463. this.page = 1;
  464. this.orderList()
  465. } else {
  466. uni.hideLoading();
  467. uni.showModal({
  468. showCancel: false,
  469. title: '订单确认失败',
  470. content: res.msg
  471. });
  472. }
  473. });
  474. },
  475. // 立即付款
  476. bindorderpay(e) {
  477. // #ifdef MP-WEIXIN
  478. if (uni.getStorageSync('sendorderMsg')) {
  479. uni.requestSubscribeMessage({
  480. tmplIds: this.arr,
  481. success(re) {
  482. // console.log(re,'**********')
  483. var datas = JSON.stringify(re);
  484. if (datas.indexOf("accept") != -1) {
  485. console.log(re)
  486. }
  487. },
  488. fail: (res) => {
  489. console.log(res)
  490. }
  491. })
  492. }
  493. // #endif
  494. uni.navigateTo({
  495. url: '/pages/order/pay/pay?indentNumber=' + e.indentNumber
  496. })
  497. },
  498. // 开启订阅消息
  499. openMsg() {
  500. var that = this
  501. wx.getSetting({
  502. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  503. success(ret) {
  504. if (ret.subscriptionsSetting.itemSettings) {
  505. uni.setStorageSync('sendorderMsg', true)
  506. uni.openSetting({ // 打开设置页
  507. success(rea) {
  508. console.log(rea.authSetting)
  509. }
  510. });
  511. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  512. uni.setStorageSync('sendorderMsg', false)
  513. uni.showModal({
  514. title: '提示',
  515. content: '为了更好的体验,请绑定消息推送',
  516. confirmText: '确定',
  517. cancelText: '取消',
  518. success: function(res) {
  519. if (res.confirm) {
  520. uni.requestSubscribeMessage({
  521. tmplIds: that.arr,
  522. success(re) {
  523. var datas = JSON.stringify(re);
  524. if (datas.indexOf("accept") != -1) {
  525. console.log(re)
  526. }
  527. },
  528. fail: (res) => {
  529. console.log(res)
  530. }
  531. })
  532. that.showModal = false
  533. } else if (res.cancel) {
  534. that.showModal = true
  535. }
  536. }
  537. })
  538. }
  539. }
  540. })
  541. }
  542. },
  543. onReachBottom: function() {
  544. if (this.userId) {
  545. if (this.page < this.totalPage) {
  546. this.page = this.page + 1;
  547. this.orderList();
  548. }
  549. }
  550. },
  551. onPullDownRefresh: function() {
  552. if (this.userId) {
  553. this.page = 1;
  554. this.orderList();
  555. }
  556. },
  557. }
  558. </script>
  559. <style lang="less">
  560. page {
  561. background: #F5F5F5;
  562. }
  563. .add_name {
  564. font-family: PingFang SC;
  565. font-weight: 500;
  566. font-size: 28rpx;
  567. color: #1F1F1F;
  568. }
  569. .green {
  570. width: 16rpx;
  571. height: 16rpx;
  572. background: #1FC657;
  573. border-radius: 50%;
  574. margin-right: 20rpx;
  575. }
  576. .orgin {
  577. width: 16rpx;
  578. height: 16rpx;
  579. background: #FBAC04;
  580. border-radius: 50%;
  581. margin-right: 20rpx;
  582. }
  583. .empty {
  584. width: 100%;
  585. background: #ffffff;
  586. height: 100vh;
  587. }
  588. .ifbox {
  589. /* #ifdef H5 */
  590. padding-top: 85rpx;
  591. /* #endif */
  592. /* #ifndef H5 */
  593. padding-top: 86rpx;
  594. /* #endif */
  595. }
  596. .order_box {
  597. background: #FFFFFF;
  598. border-radius: 24rpx;
  599. margin: 30rpx;
  600. .order_success {
  601. display: flex;
  602. align-items: center;
  603. justify-content: space-between;
  604. padding: 30rpx;
  605. .order_name {
  606. color: #346EF6;
  607. font-weight: bold;
  608. }
  609. }
  610. .text_bolds1 {
  611. font-weight: 500;
  612. border: 1rpx #fe6b01 solid;
  613. padding: 8rpx 20rpx;
  614. border-radius: 13rpx;
  615. background: #fcf6ec;
  616. color: #fe6b01;
  617. }
  618. .text_bolds2 {
  619. font-weight: 500;
  620. border: 1rpx #fe6b01 solid;
  621. padding: 8rpx 20rpx;
  622. border-radius: 13rpx;
  623. background: #fcf6ec;
  624. color: #fe6b01;
  625. }
  626. .text_bolds3 {
  627. font-weight: 500;
  628. border: 1rpx #00c18a solid;
  629. padding: 8rpx 20rpx;
  630. border-radius: 13rpx;
  631. background: #e8fbf6;
  632. color: #00c18a;
  633. }
  634. .text_bolds4 {
  635. font-weight: 500;
  636. border: 1rpx #409eff solid;
  637. padding: 8rpx 20rpx;
  638. border-radius: 13rpx;
  639. background: #ecf5ff;
  640. color: #409eff;
  641. }
  642. .text_bolds5 {
  643. font-weight: 500;
  644. border: 1rpx #00c18a solid;
  645. padding: 8rpx 20rpx;
  646. border-radius: 13rpx;
  647. background: #e8fbf6;
  648. color: #00c18a;
  649. }
  650. .text_bolds6 {
  651. font-weight: 500;
  652. border: 1rpx #f56c6c solid;
  653. padding: 8rpx 20rpx;
  654. border-radius: 13rpx;
  655. background: #ffe9e9;
  656. color: #f56c6c;
  657. }
  658. .order_city {
  659. padding: 30rpx;
  660. color: #666666;
  661. }
  662. .order_up {
  663. width: 6rpx;
  664. height: 24rpx;
  665. margin-left: 6rpx;
  666. }
  667. .order_money {
  668. font-family: PingFang SC;
  669. font-weight: 800;
  670. font-size: 34rpx;
  671. color: #FF4B36;
  672. }
  673. .order_btn {
  674. display: flex;
  675. align-items: center;
  676. justify-content: flex-end;
  677. .btn3 {
  678. width: 150rpx;
  679. height: 60rpx;
  680. border: 1px solid #fe6b01;
  681. border-radius: 16rpx;
  682. font-size: 24rpx;
  683. font-family: PingFang SC;
  684. font-weight: 500;
  685. color: #fe6b01;
  686. display: flex;
  687. align-items: center;
  688. justify-content: center;
  689. }
  690. .btn2 {
  691. width: 150rpx;
  692. height: 60rpx;
  693. background: #fe6b01;
  694. border-radius: 16rpx;
  695. font-size: 24rpx;
  696. font-family: PingFang SC;
  697. font-weight: 500;
  698. color: #FFFFFF;
  699. display: flex;
  700. align-items: center;
  701. justify-content: center;
  702. }
  703. .btn1 {
  704. width: 150rpx;
  705. height: 60rpx;
  706. border: 1px solid #999999;
  707. border-radius: 16rpx;
  708. font-size: 24rpx;
  709. font-family: PingFang SC;
  710. font-weight: 500;
  711. color: #999999;
  712. display: flex;
  713. align-items: center;
  714. justify-content: center;
  715. }
  716. }
  717. }
  718. </style>