order.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  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
  358. })
  359. },
  360. bindtousu(e) { //投诉
  361. // #ifdef MP-WEIXIN
  362. if (uni.getStorageSync('sendorderMsg')) {
  363. uni.requestSubscribeMessage({
  364. tmplIds: this.arr,
  365. success(re) {
  366. // console.log(re,'**********')
  367. var datas = JSON.stringify(re);
  368. if (datas.indexOf("accept") != -1) {
  369. console.log(re)
  370. }
  371. },
  372. fail: (res) => {
  373. console.log(res)
  374. }
  375. })
  376. }
  377. // #endif
  378. uni.navigateTo({
  379. url: '/my/order/complaint?indentNumber=' + e.indentNumber + '&riderUserId=' + e
  380. .riderUserId
  381. })
  382. },
  383. // 取消订单
  384. bindorderOff(e) {
  385. // #ifdef MP-WEIXIN
  386. if (uni.getStorageSync('sendorderMsg')) {
  387. uni.requestSubscribeMessage({
  388. tmplIds: this.arr,
  389. success(re) {
  390. // console.log(re,'**********')
  391. var datas = JSON.stringify(re);
  392. if (datas.indexOf("accept") != -1) {
  393. console.log(re)
  394. }
  395. },
  396. fail: (res) => {
  397. console.log(res)
  398. }
  399. })
  400. }
  401. // #endif
  402. let indentNumber = e.ordersId
  403. uni.showModal({
  404. title: '温馨提示',
  405. content: '确定取消订单?',
  406. showCancel: true,
  407. cancelText: '取消',
  408. confirmText: '确认',
  409. success: res => {
  410. if (res.confirm) {
  411. this.$Request.postT('/app/orders/cancelOrders?ordersId=' + indentNumber + '&isDriver=0')
  412. .then(res => {
  413. if (res.code == 0) {
  414. uni.showToast({
  415. title: '订单取消成功'
  416. });
  417. this.page = 1;
  418. this.orderList()
  419. } else {
  420. uni.hideLoading();
  421. uni.showModal({
  422. showCancel: false,
  423. title: '订单失败',
  424. content: res.msg
  425. });
  426. }
  427. });
  428. }
  429. }
  430. });
  431. },
  432. //确认订单
  433. bindconfirm(e) {
  434. // #ifdef MP-WEIXIN
  435. if (uni.getStorageSync('sendorderMsg')) {
  436. uni.requestSubscribeMessage({
  437. tmplIds: this.arr,
  438. success(re) {
  439. // console.log(re,'**********')
  440. var datas = JSON.stringify(re);
  441. if (datas.indexOf("accept") != -1) {
  442. console.log(re)
  443. }
  444. },
  445. fail: (res) => {
  446. console.log(res)
  447. }
  448. })
  449. }
  450. // #endif
  451. // console.log(e)
  452. let indentNumber = e.indentNumber
  453. console.log(indentNumber)
  454. this.$Request.postT('/app/indent/userDelivery?indentNumber=' + indentNumber).then(res => {
  455. console.log(res)
  456. if (res.code == 0) {
  457. uni.showToast({
  458. title: '订单确认成功'
  459. });
  460. this.page = 1;
  461. this.orderList()
  462. } else {
  463. uni.hideLoading();
  464. uni.showModal({
  465. showCancel: false,
  466. title: '订单确认失败',
  467. content: res.msg
  468. });
  469. }
  470. });
  471. },
  472. // 立即付款
  473. bindorderpay(e) {
  474. // #ifdef MP-WEIXIN
  475. if (uni.getStorageSync('sendorderMsg')) {
  476. uni.requestSubscribeMessage({
  477. tmplIds: this.arr,
  478. success(re) {
  479. // console.log(re,'**********')
  480. var datas = JSON.stringify(re);
  481. if (datas.indexOf("accept") != -1) {
  482. console.log(re)
  483. }
  484. },
  485. fail: (res) => {
  486. console.log(res)
  487. }
  488. })
  489. }
  490. // #endif
  491. uni.navigateTo({
  492. url: '/pages/order/pay/pay?indentNumber=' + e.indentNumber
  493. })
  494. },
  495. // 开启订阅消息
  496. openMsg() {
  497. var that = this
  498. wx.getSetting({
  499. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  500. success(ret) {
  501. if (ret.subscriptionsSetting.itemSettings) {
  502. uni.setStorageSync('sendorderMsg', true)
  503. uni.openSetting({ // 打开设置页
  504. success(rea) {
  505. console.log(rea.authSetting)
  506. }
  507. });
  508. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  509. uni.setStorageSync('sendorderMsg', false)
  510. uni.showModal({
  511. title: '提示',
  512. content: '为了更好的体验,请绑定消息推送',
  513. confirmText: '确定',
  514. cancelText: '取消',
  515. success: function(res) {
  516. if (res.confirm) {
  517. uni.requestSubscribeMessage({
  518. tmplIds: that.arr,
  519. success(re) {
  520. var datas = JSON.stringify(re);
  521. if (datas.indexOf("accept") != -1) {
  522. console.log(re)
  523. }
  524. },
  525. fail: (res) => {
  526. console.log(res)
  527. }
  528. })
  529. that.showModal = false
  530. } else if (res.cancel) {
  531. that.showModal = true
  532. }
  533. }
  534. })
  535. }
  536. }
  537. })
  538. }
  539. },
  540. onReachBottom: function() {
  541. if (this.userId) {
  542. if (this.page < this.totalPage) {
  543. this.page = this.page + 1;
  544. this.orderList();
  545. }
  546. }
  547. },
  548. onPullDownRefresh: function() {
  549. if (this.userId) {
  550. this.page = 1;
  551. this.orderList();
  552. }
  553. },
  554. }
  555. </script>
  556. <style lang="less">
  557. page {
  558. background: #F5F5F5;
  559. }
  560. .add_name {
  561. font-family: PingFang SC;
  562. font-weight: 500;
  563. font-size: 28rpx;
  564. color: #1F1F1F;
  565. }
  566. .green {
  567. width: 16rpx;
  568. height: 16rpx;
  569. background: #1FC657;
  570. border-radius: 50%;
  571. margin-right: 20rpx;
  572. }
  573. .orgin {
  574. width: 16rpx;
  575. height: 16rpx;
  576. background: #FBAC04;
  577. border-radius: 50%;
  578. margin-right: 20rpx;
  579. }
  580. .empty {
  581. width: 100%;
  582. background: #ffffff;
  583. height: 100vh;
  584. }
  585. .ifbox {
  586. /* #ifdef H5 */
  587. padding-top: 85rpx;
  588. /* #endif */
  589. /* #ifndef H5 */
  590. padding-top: 86rpx;
  591. /* #endif */
  592. }
  593. .order_box {
  594. background: #FFFFFF;
  595. border-radius: 24rpx;
  596. margin: 30rpx;
  597. .order_success {
  598. display: flex;
  599. align-items: center;
  600. justify-content: space-between;
  601. padding: 30rpx;
  602. .order_name {
  603. color: #346EF6;
  604. font-weight: bold;
  605. }
  606. }
  607. .text_bolds1 {
  608. font-weight: 500;
  609. border: 1rpx #fe6b01 solid;
  610. padding: 8rpx 20rpx;
  611. border-radius: 13rpx;
  612. background: #fcf6ec;
  613. color: #fe6b01;
  614. }
  615. .text_bolds2 {
  616. font-weight: 500;
  617. border: 1rpx #fe6b01 solid;
  618. padding: 8rpx 20rpx;
  619. border-radius: 13rpx;
  620. background: #fcf6ec;
  621. color: #fe6b01;
  622. }
  623. .text_bolds3 {
  624. font-weight: 500;
  625. border: 1rpx #00c18a solid;
  626. padding: 8rpx 20rpx;
  627. border-radius: 13rpx;
  628. background: #e8fbf6;
  629. color: #00c18a;
  630. }
  631. .text_bolds4 {
  632. font-weight: 500;
  633. border: 1rpx #409eff solid;
  634. padding: 8rpx 20rpx;
  635. border-radius: 13rpx;
  636. background: #ecf5ff;
  637. color: #409eff;
  638. }
  639. .text_bolds5 {
  640. font-weight: 500;
  641. border: 1rpx #00c18a solid;
  642. padding: 8rpx 20rpx;
  643. border-radius: 13rpx;
  644. background: #e8fbf6;
  645. color: #00c18a;
  646. }
  647. .text_bolds6 {
  648. font-weight: 500;
  649. border: 1rpx #f56c6c solid;
  650. padding: 8rpx 20rpx;
  651. border-radius: 13rpx;
  652. background: #ffe9e9;
  653. color: #f56c6c;
  654. }
  655. .order_city {
  656. padding: 30rpx;
  657. color: #666666;
  658. }
  659. .order_up {
  660. width: 6rpx;
  661. height: 24rpx;
  662. margin-left: 6rpx;
  663. }
  664. .order_money {
  665. font-family: PingFang SC;
  666. font-weight: 800;
  667. font-size: 34rpx;
  668. color: #FF4B36;
  669. }
  670. .order_btn {
  671. display: flex;
  672. align-items: center;
  673. justify-content: flex-end;
  674. .btn3 {
  675. width: 150rpx;
  676. height: 60rpx;
  677. border: 1px solid #fe6b01;
  678. border-radius: 16rpx;
  679. font-size: 24rpx;
  680. font-family: PingFang SC;
  681. font-weight: 500;
  682. color: #fe6b01;
  683. display: flex;
  684. align-items: center;
  685. justify-content: center;
  686. }
  687. .btn2 {
  688. width: 150rpx;
  689. height: 60rpx;
  690. background: #fe6b01;
  691. border-radius: 16rpx;
  692. font-size: 24rpx;
  693. font-family: PingFang SC;
  694. font-weight: 500;
  695. color: #FFFFFF;
  696. display: flex;
  697. align-items: center;
  698. justify-content: center;
  699. }
  700. .btn1 {
  701. width: 150rpx;
  702. height: 60rpx;
  703. border: 1px solid #999999;
  704. border-radius: 16rpx;
  705. font-size: 24rpx;
  706. font-family: PingFang SC;
  707. font-weight: 500;
  708. color: #999999;
  709. display: flex;
  710. align-items: center;
  711. justify-content: center;
  712. }
  713. }
  714. }
  715. </style>