order-details.vue 18 KB

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