order-details.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <template>
  2. <view class="container details clearfix" :style="{ paddingBottom: isIphoneX ? 130 + 68 + 'rpx' : '130rpx' }">
  3. <!-- 自定义返回 -->
  4. <header-back
  5. :systeminfo="systeminfo"
  6. :navbar-data="nvabarData"
  7. :headerBtnPosi="headerBtnPosi"
  8. :isShare="isOrderShare"
  9. ></header-back>
  10. <view class="container-details" :style="{ paddingTop: navbarHeight + 'px' }">
  11. <view class="status-text">
  12. <view class="view-type">{{ information.status | TextFormat }}</view>
  13. <text class="bage-buss" v-if="information.orderSubmitType == 3 || information.orderSubmitType == 4"
  14. >协销</text
  15. >
  16. <text
  17. class="bage-auto"
  18. v-if="
  19. information.orderSubmitType == 0 ||
  20. information.orderSubmitType == 1 ||
  21. information.orderSubmitType == 2
  22. "
  23. >自主</text
  24. >
  25. </view>
  26. <!-- 地址选择 -->
  27. <order-address
  28. ref="orderAddress"
  29. v-if="isRequest && !rechargeGoods"
  30. :addressData="addressData"
  31. ></order-address>
  32. <!-- 特殊商品退货须知 -->
  33. <view class="return-instructions">
  34. 为保障会员权益,特殊类商品(包括耗材/配件/私密商品等),除外观跟质量问题之外,其他原因均不支持退货!
  35. </view>
  36. <!-- 商品 -->
  37. <goods-list
  38. ref="goods"
  39. v-if="isRequest"
  40. :shopOrderData="shopOrderData"
  41. :information="information"
  42. @popupClick="hanldePopupFn"
  43. ></goods-list>
  44. <!-- 订单信息 -->
  45. <order-information ref="information" v-if="isRequest" :information="information"></order-information>
  46. <!-- 发票信息 -->
  47. <invoice-tent ref="invoice" v-if="isRequest" :orderInvoice="orderInvoice"></invoice-tent>
  48. <!-- 支付记录 -->
  49. <payment-record
  50. ref="payment"
  51. v-if="isRequest"
  52. :discernReceiptList="discernReceiptList"
  53. :receiptAmount="receiptAmount"
  54. ></payment-record>
  55. <!-- 退款记录 -->
  56. <refund-record
  57. ref="refund"
  58. v-if="isRequest"
  59. :returnedPurchaseList="returnedPurchaseList"
  60. :returnedPurchaseFee="returnedPurchaseFee"
  61. ></refund-record>
  62. <view
  63. class="clause"
  64. v-if="information.secondHandOrderFlag != 1 && !orderSubmitType"
  65. @tap.stop="openclauseConten(clauseData.id)"
  66. :class="clauseData.name == '无条款' ? 'noclick' : ''"
  67. >
  68. 售后条款:<label class="text" :class="clauseData.name == '无条款' ? 'color-bg' : ''">{{
  69. clauseData.name
  70. }}</label>
  71. </view>
  72. <!-- 底部button -->
  73. <order-button
  74. ref="orderButton"
  75. v-if="isRequest"
  76. :status="btnStatus"
  77. :shareCode="shareCode"
  78. :order="orderInfo"
  79. @buttonConfirm="handButtonConfirm"
  80. >
  81. </order-button>
  82. </view>
  83. <!-- 付款弹窗 -->
  84. <order-model
  85. v-if="isPayModel"
  86. :payModelData="payModelData"
  87. :modelType="modelType"
  88. @cancelConfirm="hanldCancelConfirm"
  89. @paymentConfirm="hanldPaymentConfirm"
  90. />
  91. <!-- 分享弹窗 -->
  92. <share-alert :orderId="orderId" v-if="isShareModal" @btnConfirm="onShareAppMessage"> </share-alert>
  93. <!-- 促销活动弹窗 -->
  94. <activi-popup :Promotion="handlerPros" :popupShow="popupShow"></activi-popup>
  95. <!-- 采美豆提示弹窗 -->
  96. <activityBean
  97. v-if="isActivityBean"
  98. :show="isActivityBean"
  99. :beansType="beansType"
  100. :beanNumber="beanNumber"
  101. @cancel="handleBeanlClick"
  102. ></activityBean>
  103. <!-- 提示弹窗 -->
  104. <tui-modal
  105. :show="modal"
  106. @click="handleClick"
  107. :content="contentModalText"
  108. :button="modalButton"
  109. color="#333"
  110. :size="32"
  111. shape="circle"
  112. :maskClosable="false"
  113. >
  114. </tui-modal>
  115. </view>
  116. </template>
  117. <script>
  118. import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
  119. import orderAddress from '@/components/cm-module/orderDetails/orderAddress' //地址信息
  120. import goodsList from '@/components/cm-module/orderDetails/goodsList' //商品列表
  121. import invoiceTent from '@/components/cm-module/orderDetails/invoiceTent' //发票信息
  122. import orderInformation from '@/components/cm-module/orderDetails/orderInformation' //订单信息
  123. import paymentRecord from '@/components/cm-module/orderDetails/paymentRecord' //支付记录
  124. import refundRecord from '@/components/cm-module/orderDetails/refundRecord' //退款记录
  125. import orderButton from '@/components/cm-module/orderDetails/orderButton' //底部按钮
  126. import shareAlert from '@/components/cm-module/modelAlert/shareAlert.vue' //分享弹窗
  127. import orderModel from '@/components/cm-module/modelAlert/order-alert' //付款弹窗
  128. import activiPopup from '@/components/cm-module/orderDetails/activipopu' //促销活动弹窗
  129. import activityBean from '@/components/cm-module/activity/activityBean.vue'
  130. export default {
  131. components: {
  132. headerBack,
  133. orderInformation,
  134. orderAddress,
  135. invoiceTent,
  136. goodsList,
  137. paymentRecord,
  138. refundRecord,
  139. orderButton,
  140. shareAlert,
  141. orderModel,
  142. activiPopup,
  143. activityBean
  144. },
  145. data() {
  146. return {
  147. state: 0,
  148. userId: '',
  149. orderId: '',
  150. shareCode: '', //分享码
  151. shareType: '', //分享登录页过来记录的状态
  152. cellPhone: '', //客服电话
  153. payStatus: 0,
  154. btnStatus: 0, //按钮组件状态
  155. onlinePayFlag: '',
  156. isRequest: false, //是否加载完成渲染子组件
  157. isOrderShare: false,
  158. isShareModal: false,
  159. isPayModel: false,
  160. modelType: 0,
  161. orderInfo: {},
  162. alertOrderInfo: {},
  163. payModelData: {},
  164. addressData: {}, //地址信息初始化
  165. information: {}, //订单信息初始化
  166. shopOrderData: {}, //商品信息初始化
  167. orderInvoice: {}, //发票信息初始化
  168. returnedPurchaseList: {}, //退款信息初始化
  169. discernReceiptList: {}, //支付信息初始化
  170. receiptAmount: 0, //支付金额
  171. returnedPurchaseFee: 0, //退款金额
  172. rechargeGoods: false,
  173. navbarHeight: '',
  174. headerBtnPosi: this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
  175. systeminfo: this.setSysteminfo(), //获取设备信息
  176. isIphoneX: this.$store.state.isIphoneX,
  177. CustomBar: this.CustomBar, // 顶部导航栏高度
  178. popupShow: false,
  179. handlerPros: {},
  180. nvabarData: {
  181. //顶部自定义导航
  182. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
  183. title: '订单详情' // 导航栏 中间的标题
  184. },
  185. clauseData: {},
  186. orderSubmitType: false, //自主订单
  187. beansType: 1,
  188. beanNumber: 0,
  189. isActivityBean: false,
  190. modal:false,
  191. contentModalText: '订单查询失败,请稍候重试~', //操作文字提示语句
  192. modalButton: [
  193. {
  194. text: '确定',
  195. customStyle: {
  196. color: '#fff',
  197. bgColor: 'linear-gradient(90deg, #F28F31 0%, #E15616 100%)'
  198. },
  199. plain: false
  200. }
  201. ],
  202. }
  203. },
  204. onLoad(option) {
  205. console.log(option)
  206. this.shareType = option.type
  207. this.orderId = option.orderId
  208. if (this.shareType === 'share') {
  209. this.state = 0
  210. this.isOrderShare = true
  211. } else if (option.type === 'confim' || option.type === 'search') {
  212. this.state = 0
  213. } else {
  214. this.state = option.state
  215. }
  216. this.getHeaderTopHeight()
  217. this.initOrderDetaileData()
  218. },
  219. filters: {
  220. TextFormat(status) {
  221. //处理金额
  222. let HtmlText,
  223. typeTextObject = {
  224. 0: '待确认',
  225. 4: '交易完成',
  226. 5: '订单完成',
  227. 6: '已关闭',
  228. 7: '交易全退',
  229. 77: '交易全退',
  230. 11: '待付款待发货',
  231. 12: '待付款部分发货',
  232. 13: '待付款已发货',
  233. 21: '部分付款待发货',
  234. 22: '部分付款部分发货',
  235. 23: '部分付款已发货',
  236. 31: '已付款待发货',
  237. 32: '已付款部分发货',
  238. 33: '已付款已发货',
  239. 111: '待付款待发货'
  240. }
  241. Object.keys(typeTextObject).forEach(key => {
  242. if (key == status) {
  243. HtmlText = typeTextObject[key]
  244. }
  245. })
  246. return HtmlText
  247. }
  248. },
  249. methods: {
  250. openclauseConten(id) {
  251. this.$api.navigateTo(`/pages/service/sellconten?clauseId=${id}`)
  252. },
  253. async initOrderDetaileData() {
  254. const userInfo = await this.$api.getStorage()
  255. this.userId = userInfo.userId ? userInfo.userId : 0
  256. //初始化页面数据@参数:订单ID
  257. this.OrderService.QueryOrderDetails({ orderId: this.orderId, userId: this.userId })
  258. .then(response => {
  259. let data = response.data
  260. this.isRequest = true
  261. this.orderInfo = data.order
  262. this.shareCode = data.shareCode
  263. this.addressData = data.userInfo
  264. this.information = data.order
  265. this.rechargeGoods = data.order.rechargeGoods
  266. this.btnStatus = data.order.status
  267. this.payStatus = data.order.payStatus
  268. this.payableAmount = data.order.payableAmount
  269. this.shopOrderData = data.shopOrderList
  270. this.orderInvoice = data.orderInvoice
  271. this.onlinePayFlag = data.order.onlinePayFlag
  272. this.returnedPurchaseList = data.returnedPurchaseList
  273. this.discernReceiptList = data.discernReceiptList
  274. this.receiptAmount = data.order.receiptAmount
  275. this.returnedPurchaseFee = data.order.returnedPurchaseFee
  276. this.clauseData = data.clause
  277. if (
  278. this.information.orderSubmitType == 0 ||
  279. this.information.orderSubmitType == 1 ||
  280. this.information.orderSubmitType == 2
  281. ) {
  282. this.orderSubmitType = true
  283. } else {
  284. this.orderSubmitType = false
  285. }
  286. })
  287. .catch(error => {
  288. this.modal = true
  289. })
  290. },
  291. handleClick(){
  292. this.modal = false
  293. this.$api.switchTabTo('/pages/tabBar/home/index')
  294. },
  295. handButtonConfirm(data) {
  296. //监听点击时间的按钮类型并执行...
  297. this.handShowAlert(data)
  298. },
  299. handShowAlert(data) {
  300. //判断点击的按钮类型并执行...
  301. switch (data.type) {
  302. case 'delete':
  303. this.handOrderDetele()
  304. break
  305. case 'cancel':
  306. this.handCenceConfirm()
  307. break
  308. case 'query':
  309. this.$api.navigateTo('/pages/user/order/order-logistics?orderId=' + this.orderId)
  310. break
  311. case 'confirm':
  312. this.handOrderConfirm()
  313. break
  314. case 'pay':
  315. this.getOrderPaymentValidation(data)
  316. break
  317. case 'confirmation':
  318. this.handOrderConfirmation()
  319. break
  320. case 'payment':
  321. this.hanldConfirmFn(data.orderId)
  322. break
  323. }
  324. },
  325. getOrderPaymentValidation(data) {
  326. //监听根据付款状态做操作
  327. this.OrderService.OrderPaymentValidation({ orderId: data.orderId }).then(response => {
  328. let data = response.data
  329. this.payModelData = data
  330. if(data.balanceFlag == 1){// 0可以走余额抵扣,1不能走余额抵扣
  331. this.$api.navigateTo(`/pages/user/order/order-pay-list?orderId=${data.orderId}`)
  332. }else{
  333. switch (data.code) {
  334. case 1:
  335. this.isPayModel = true
  336. this.modelType = 1
  337. break
  338. case 2:
  339. this.isPayModel = true
  340. this.modelType = 2
  341. break
  342. case -1:
  343. this.$util.modal('', '订单已申请全部退款,无需再付款!', '确定', '', false, () => {})
  344. break
  345. default:
  346. if (data.onlinePayFlag == 1) {// 只能线下
  347. this.$api.navigateTo(`/pages/user/order/order-payunder?orderId=${data.orderId}`)
  348. } else {
  349. this.$api.navigateTo(`/pages/user/order/order-pay-list?orderId=${data.orderId}`)
  350. }
  351. }
  352. }
  353. })
  354. .catch(error => {
  355. this.$util.msg(error.msg, 2000)
  356. })
  357. },
  358. hanldPaymentConfirm(data) {
  359. //余额抵扣跳转
  360. this.OrderService.OrderBalanceDeduction({ orderId: data.order.orderId })
  361. .then(response => {
  362. if (data.type === 2) {
  363. let _data = { orderId: data.order.orderId }
  364. this.$api.navigateTo(
  365. `/pages/user/order/success?type=deduction&data=${JSON.stringify({ data: _data })}`
  366. )
  367. } else {
  368. this.$api.navigateTo(`/pages/user/order/order-payunder?orderId=${data.order.orderId}`)
  369. }
  370. })
  371. .catch(error => {
  372. this.$util.msg(error.msg, 2000)
  373. })
  374. },
  375. hanldCancelConfirm(data) {
  376. //不使用余额抵扣直接跳转收银台
  377. if (data.onlinePayFlag == 1) {// 只能线下
  378. this.$api.navigateTo(`/pages/user/order/order-payunder?orderId=${data.orderId}`)
  379. } else {
  380. this.$api.navigateTo(`/pages/user/order/order-pay-list?orderId=${data.orderId}`)
  381. }
  382. },
  383. hanldConfirmFn(orderId) {
  384. //确认打款供应商
  385. this.$util.modal(
  386. '提示',
  387. '确定委托采美平台打款给供应商吗?确定之前请务必确保货品完好?',
  388. '确定',
  389. '取消',
  390. true,
  391. () => {
  392. this.OrderService.confirmpayment({ orderId: orderId, userId: this.userId })
  393. .then(response => {
  394. this.$util.msg('确认成功', 2000, true, 'success')
  395. setTimeout(() => {
  396. this.getOrderDatainit(this.currentTab)
  397. }, 2000)
  398. })
  399. .catch(error => {
  400. this.$util.msg(error.msg, 2000)
  401. })
  402. }
  403. )
  404. },
  405. handOrderConfirm() {
  406. //确认收货
  407. this.$util.modal('提示', '是否确认收货', '确定', '取消', true, () => {
  408. this.OrderService.ConfirmReceipt({ orderId: this.orderId })
  409. .then(response => {
  410. this.beansType = 7
  411. this.beanNumber = 100
  412. this.isActivityBean = true
  413. })
  414. .catch(error => {
  415. this.$util.msg(error.msg, 2000)
  416. })
  417. })
  418. },
  419. handOrderConfirmation() {
  420. //确认订单
  421. this.$util.modal('提示', '确认此订单?', '确定', '取消', true, () => {
  422. this.OrderService.AffirmOrder({ orderId: this.orderId })
  423. .then(response => {
  424. this.$util.msg(response.msg, 2000, true, 'success')
  425. setTimeout(() => {
  426. this.initOrderDetaileData()
  427. }, 2000)
  428. })
  429. .catch(error => {
  430. this.$util.msg(error.msg, 2000)
  431. })
  432. })
  433. },
  434. handOrderDetele() {
  435. //删除订单
  436. this.$util.modal('提示', '确认删除该订单吗?', '确定', '取消', true, () => {
  437. this.OrderService.DeleteOrder({ orderId: this.orderId })
  438. .then(response => {
  439. this.$util.msg(response.msg, 2000, true, 'success')
  440. setTimeout(() => {
  441. if (this.shareType === 'share') {
  442. this.$api.switchTabTo('/pages/tabBar/home/index')
  443. } else {
  444. this.$api.redirectTo(`/pages/user/order/order-list?type=detele&state=${this.state}`)
  445. }
  446. }, 500)
  447. })
  448. .catch(error => {
  449. this.$util.msg(error.msg, 2000)
  450. })
  451. })
  452. },
  453. handCenceConfirm() {
  454. //取消订单
  455. this.$util.modal('提示', '确认取消该订单吗?', '确定', '取消', true, () => {
  456. this.OrderService.CancelOrder({ orderId: this.orderId })
  457. .then(response => {
  458. this.$util.msg(response.msg, 2000, true, 'success')
  459. setTimeout(() => {
  460. this.initOrderDetaileData()
  461. }, 2000)
  462. })
  463. .catch(error => {
  464. this.$util.msg(error.msg, 2000)
  465. })
  466. })
  467. },
  468. onShareAppMessage(res) {
  469. //分享转发
  470. this.isShareModal = false
  471. if (res.from === 'button') {
  472. // 来自页面内转发按钮
  473. }
  474. return {
  475. title: '您有新的分享订单,快来查看吧~',
  476. path: `/pages/user/order/order-sharelogin?orderId=${this.orderId}&userId=${this.userId}`,
  477. imageUrl: 'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
  478. }
  479. },
  480. hanldePopupFn(data) {
  481. //监听活动内容
  482. this.popupShow = true
  483. this.handlerPros = data
  484. },
  485. getHeaderTopHeight() {
  486. let statusBarHeight = this.systeminfo.statusBarHeight // 状态栏高度
  487. let headerPosi = this.headerBtnPosi
  488. let btnPosi = {
  489. // 胶囊实际位置,坐标信息不是左上角原点
  490. height: headerPosi.height,
  491. width: headerPosi.width,
  492. // 胶囊top - 状态栏高度
  493. top: headerPosi.top - statusBarHeight,
  494. // 胶囊bottom - 胶囊height - 状态栏height (现胶囊bottom 为距离导航栏底部的长度)
  495. bottom: headerPosi.bottom - headerPosi.height - statusBarHeight,
  496. // 屏幕宽度 - 胶囊right
  497. right: this.systeminfo.screenWidth - headerPosi.right
  498. }
  499. this.navbarHeight = headerPosi.bottom + btnPosi.bottom // 原胶囊bottom + 现胶囊bottom
  500. },
  501. setHeaderBtnPosi() {
  502. // 获得胶囊按钮位置信息
  503. let headerBtnPosi = uni.getMenuButtonBoundingClientRect()
  504. return headerBtnPosi
  505. },
  506. setSysteminfo() {
  507. let systeminfo
  508. uni.getSystemInfo({
  509. // 获取设备信息
  510. success: res => {
  511. systeminfo = res
  512. }
  513. })
  514. return systeminfo
  515. },
  516. handleBeanlClick() {
  517. //关闭采美豆弹窗
  518. this.isActivityBean = false
  519. this.initOrderDetaileData()
  520. }
  521. },
  522. onShow() {}
  523. }
  524. </script>
  525. <style lang="scss">
  526. page {
  527. height: auto;
  528. background: #f7f7f7;
  529. }
  530. .details {
  531. padding-bottom: 130rpx;
  532. }
  533. .return-instructions{
  534. font-size: 26rpx;
  535. color: #E15616;
  536. line-height: 42rpx;
  537. padding: 32rpx 50rpx;
  538. background-color: #FFFAF8;
  539. text-align: justify;
  540. }
  541. .btn-hover {
  542. background: #ffffff;
  543. }
  544. .animation {
  545. /* transition: transform 0.3s ease;*/
  546. transition-property: transform;
  547. transition-duration: 0.3s;
  548. transition-timing-function: ease;
  549. }
  550. .invoice-balance {
  551. width: 702rpx;
  552. height: auto;
  553. padding: 0 24rpx;
  554. background: #ffffff;
  555. float: left;
  556. margin-top: 24rpx;
  557. margin-bottom: 24rpx;
  558. .balabce-t {
  559. width: 100%;
  560. height: 86rpx;
  561. line-height: 86rpx;
  562. font-size: $font-size-28;
  563. color: $text-color;
  564. float: left;
  565. .balabce-t-le {
  566. float: left;
  567. font-weight: bold;
  568. }
  569. .balabce-t-ri {
  570. float: right;
  571. display: flex;
  572. align-items: center;
  573. .money {
  574. display: flex;
  575. float: left;
  576. }
  577. .checkbox-box {
  578. display: flex;
  579. width: 60rpx;
  580. float: left;
  581. height: 100%;
  582. font-size: $font-size-24;
  583. .checkbox {
  584. width: 40rpx;
  585. text-align: right;
  586. box-sizing: border-box;
  587. text-align: center;
  588. text-decoration: none;
  589. border-radius: 0;
  590. -webkit-tap-highlight-color: transparent;
  591. overflow: hidden;
  592. }
  593. }
  594. }
  595. }
  596. .balabce-b {
  597. width: 100%;
  598. float: left;
  599. overflow: hidden;
  600. .balabce-b-text {
  601. width: 100%;
  602. line-height: 58rpx;
  603. font-size: $font-size-24;
  604. color: #ff2a2a;
  605. text-align: right;
  606. float: right;
  607. }
  608. &.balabce-b--hide {
  609. padding: 0 0;
  610. height: 0px;
  611. line-height: 0px;
  612. }
  613. }
  614. }
  615. .clause {
  616. float: right;
  617. font-size: 24rpx;
  618. color: #999999;
  619. margin-top: 60rpx;
  620. margin-right: 24rpx;
  621. &.noclick {
  622. pointer-events: none;
  623. }
  624. .text {
  625. color: #1890f9;
  626. &.color-bg {
  627. color: #333333;
  628. }
  629. }
  630. }
  631. .status-text {
  632. overflow: hidden;
  633. padding: 24rpx;
  634. background: #fff;
  635. font-size: $font-size-26;
  636. .view-type {
  637. float: left;
  638. color: #ff2a2a;
  639. }
  640. .bage-buss {
  641. display: inline-block;
  642. width: 72rpx;
  643. height: 32rpx;
  644. background: radial-gradient(circle, rgba(255, 39, 180, 1) 0%, rgba(193, 77, 245, 1) 100%);
  645. border-radius: 6rpx;
  646. line-height: 32rpx;
  647. text-align: center;
  648. color: #ffffff;
  649. margin-top: 10rpx;
  650. float: right;
  651. }
  652. .bage-auto {
  653. display: inline-block;
  654. width: 72rpx;
  655. height: 32rpx;
  656. background: radial-gradient(circle, rgba(255, 180, 39, 1) 0%, rgba(245, 142, 77, 1) 100%);
  657. border-radius: 6rpx;
  658. line-height: 32rpx;
  659. text-align: center;
  660. color: #ffffff;
  661. margin-top: 10rpx;
  662. float: right;
  663. }
  664. }
  665. </style>