order-details.vue 19 KB

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