order.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. <template>
  2. <view class="pages">
  3. <u-navbar
  4. title="我的订单"
  5. :placeholder="true"
  6. :autoBack="false"
  7. @leftClick="leftClick"
  8. :safeAreaInsetTop="true"
  9. >
  10. </u-navbar>
  11. <view class="tabs-wrap">
  12. <u-tabs
  13. :list="tabsList"
  14. lineColor="#EE0D0D"
  15. :current="tabsCurrent"
  16. :activeStyle="{color:'#EE0D0D','font-weight': '600','font-size':'30rpx'}"
  17. :inactiveStyle="{color:'#7F7F7F'}"
  18. itemStyle="width:20%;box-sizing:border-box;padding:24rpx"
  19. @click="tabsClick"></u-tabs>
  20. </view>
  21. <view class="page-wrap">
  22. <mescroll-body class="" ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption">
  23. <view class="order">
  24. <view v-for="(item,index) in orderListWithClass" class="order-item"
  25. :class="item.class"
  26. @click="goOrderDetails(item)" :key="item.id">
  27. <view class="top u-flex u-row-between">
  28. <text>{{item.theatreName}}</text>
  29. <text>{{item.status|filterOrderState}}</text>
  30. </view>
  31. <view class="info u-flex u-col-top">
  32. <image class="img" :src="item.performImg"></image>
  33. <view class="text">
  34. <view class="name">{{item.performName}} - {{item.goodsName}}</view>
  35. <view class="time">{{item.performDate}} {{item.performTimeStart}}</view>
  36. <!-- <view class="position">{{item.performDate}}</view> -->
  37. <view class="statistics">
  38. <text>共{{item.viewerNum}}张</text>
  39. <text class="label">合计:</text>
  40. <text class="price">¥{{item.realPrice}}</text>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="btn-wrap u-flex u-row-right">
  45. <view
  46. class="btn"
  47. :class="btn.class"
  48. @click.stop="clickEven(btn.fun,item)"
  49. v-for="(btn,index) in statusBtn[item.status]" :key="index">
  50. {{btn.name}}
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </mescroll-body>
  56. </view>
  57. <u-toast ref="uToast"></u-toast>
  58. <tabbar :tabbarIndexProps="1" />
  59. </view>
  60. </template>
  61. <script>
  62. import tabbar from "../components/tabbar.vue";
  63. // 引入mescroll-mixins.js
  64. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  65. // #ifdef H5
  66. import wxH5 from "weixin-jsapi";
  67. // #endif
  68. export default {
  69. mixins: [MescrollMixin], // 使用mixin
  70. components:{
  71. tabbar
  72. },
  73. data() {
  74. return {
  75. staticUrl:this.$commonConfig.staticUrl,
  76. goodsKey:1,
  77. hasfetch:false,
  78. tabsCurrent:1,
  79. tabsList:[
  80. {name:'全部',status:null,},
  81. {name:'待支付',status:'0',badge:{isDot:false,value:null}},
  82. {name:'待使用',status:'3',badge:{isDot:false,value:null}},
  83. {name:'已完成',status:'7',badge:{isDot:false,value:null}},
  84. {name:'售后',status:'4,5,6',badge:{isDot:false,value:null}}
  85. ],
  86. status:'',
  87. dataList:[],
  88. statusBtn:{// 状态(0待支付,2超时取消,3支付完成,待使用,4退款中,5己退款,6退款失败,7己使用,8己超期 9关闭)
  89. 0:[{name:'取消订单',fun:'cancelOrder',class:''},{name:'去支付',fun:'pay',class:'red'}],
  90. 1:[],
  91. 2:[],
  92. 3:[{name:'出示二维码',fun:'goOrderDetails',class:'red'}],
  93. //,{name:'评价',fun:'evaluate',class:'green'}
  94. 4:[],
  95. 5:[],
  96. 6:[],
  97. // ,{name:'查看评价',fun:'viewEvaluate',class:'green'}
  98. 7:[],
  99. 8:[],
  100. 9:[]
  101. },
  102. orderBadge:{
  103. noPayNum:0,
  104. deliverNum:0,
  105. collectNum:0,
  106. commentNum:0,
  107. refundNum:0,
  108. },
  109. templateIdList:[],//微信小程序订阅消息
  110. }
  111. },
  112. computed: {
  113. orderListWithClass() {
  114. return this.dataList.map(order => {
  115. // let spliceData = order.detailList.splice(0,2);
  116. // let moreData = order.detailList.splice(2,order.detailList.length);
  117. // let moreData = order.detailList.slice(2);
  118. // if(order.detailList.length>2){
  119. // moreData = order.detailList;
  120. // }
  121. return {
  122. ...order,
  123. // spliceData:spliceData,
  124. // moreData:moreData,
  125. // showMore:false,
  126. class: {
  127. 0: 'status-0',
  128. 1: 'status-1',
  129. 2: 'status-2',
  130. 3: 'status-3',
  131. 4: 'status-4',
  132. 5: 'status-5',
  133. 6: 'status-6',
  134. 7: 'status-7',
  135. 8: 'status-8'
  136. }[order.status] || ''
  137. }
  138. })
  139. }
  140. },
  141. onLoad(page) {
  142. // console.log('page',page);
  143. const status = page.status;
  144. const index = this.tabsList.findIndex(item => item.status === status);
  145. this.tabsCurrent = index>=0?index:0;
  146. this.getTemplateIdList();//获取模板列表
  147. },
  148. onShow() {
  149. setTimeout(()=>{
  150. this.hasfetch&&this.reloadList()
  151. },500);
  152. // this.statisticsOrder();
  153. },
  154. methods: {
  155. leftClick(){
  156. uni.reLaunch({url: '/center/center'});
  157. },
  158. /*下拉刷新的回调, 重置列表为第一页 (此处可删,mixins已默认)
  159. downCallback(){
  160. this.mescroll.resetUpScroll();
  161. },
  162. /*上拉加载的回调*/
  163. upCallback(page) {
  164. // this.statisticsOrder();
  165. // 此处可以继续请求其他接口
  166. // if(page.num == 1){
  167. // // 请求其他接口...
  168. // }
  169. // 如果希望先请求其他接口,再触发upCallback,可参考以下写法
  170. // if(!this.hasTypeId){
  171. // this.shopNewsType();
  172. // return // 此处return,先获取xx
  173. // }
  174. let pageNum = page.num; // 页码, 默认从1开始
  175. let pageSize = page.size; // 页长, 默认每页10条
  176. let params = {
  177. source:1,
  178. pageNum : page.num,
  179. pageSize : page.size,
  180. statusIn : this.tabsList[this.tabsCurrent]?.status||'',
  181. userid:this.vuex_member_info.id
  182. // status : this.tabsList[this.tabsCurrent].status,
  183. }
  184. // console.log('this.params',params);
  185. this.$u.api.orderList(params).then(data => {
  186. this.hasfetch = true;
  187. console.log('data',JSON.parse(JSON.stringify(data)));
  188. // 接口返回的当前页数据列表 (数组)
  189. let curPageData = data.data.rows;
  190. // console.log('curPageData',JSON.parse(JSON.stringify(curPageData)));
  191. // 接口返回的当前页数据长度 (如列表有26个数据,当前页返回8个,则curPageLen=8)
  192. let curPageLen = curPageData.length;
  193. // 接口返回的总页数 (如列表有26个数据,每页10条,共3页; 则totalPage=3)
  194. // let totalPage = data.data.data.totalPage;
  195. // 接口返回的总数据量(如列表有26个数据,每页10条,共3页; 则totalSize=26)
  196. let totalSize = data.data.total;
  197. // 接口返回的是否有下一页 (true/false)
  198. // let hasNext = data.xxx;
  199. // console.log('totalPage',totalPage,'curPageLen',curPageLen);
  200. //设置列表数据
  201. if(page.num == 1) this.dataList = []; //如果是第一页需手动置空列表
  202. this.dataList = this.dataList.concat(curPageData); //追加新数据
  203. // 请求成功,隐藏加载状态
  204. //方法一(推荐): 后台接口有返回列表的总页数 totalPage
  205. // this.mescroll.endByPage(curPageLen, totalPage);
  206. //方法二(推荐): 后台接口有返回列表的总数据量 totalSize
  207. this.mescroll.endBySize(curPageLen, totalSize);
  208. }).catch(err => {
  209. this.mescroll.endErr()
  210. console.log(err)
  211. });
  212. },
  213. /*若希望重新加载列表,只需调用此方法即可(内部会自动page.num=1,再主动触发up.callback)*/
  214. reloadList() {
  215. this.mescroll.resetUpScroll();
  216. },
  217. tabsClick(item){
  218. // this.status = item.status;
  219. this.tabsCurrent = item.index;
  220. this.reloadList()
  221. // console.log('item',item);
  222. },
  223. goOrderDetails(item){
  224. uni.$u.route('/center/orderdetails', {
  225. id: item.id
  226. });
  227. },
  228. toggleMore(item,index){
  229. // console.log('toggleMore',item);
  230. this.orderListWithClass[index].showMore = !this.orderListWithClass[index].showMore
  231. this.goodsKey++;
  232. },
  233. clickEven(fun,item){
  234. // console.log('fun',fun);
  235. let funObj = {
  236. pay: this.pay,
  237. goOrderDetails:this.goOrderDetails,
  238. evaluate:this.evaluate,
  239. refund:this.refund,
  240. cancelOrder:this.cancelOrder,
  241. viewRefund:this.viewRefund,
  242. confirmReceipt:this.confirmReceipt,
  243. viewEvaluate:this.viewEvaluate
  244. };
  245. // console.log('funObj[fun]',funObj[fun]);
  246. if (fun in funObj) {
  247. funObj[fun](item);
  248. }
  249. },
  250. getTemplateIdList(){
  251. this.$u.api.templateIdList({templateLabel:'order_pay'}).then(res=>{
  252. console.log('getTemplateIdList',res.data);
  253. this.templateIdList = res.data.list.map(item=>{
  254. return item.templateId
  255. });
  256. // if(this.templateIdList.length>0){
  257. // this.templateEven();
  258. // }
  259. }).catch(err=>{
  260. console.log('getTemplateIdList',err);
  261. })
  262. },
  263. pay(item){
  264. console.log('pay',item);
  265. // #ifdef H5
  266. this.gotoPay(item.id);
  267. // #endif
  268. // #ifdef MP
  269. this.setTemplate(item.id);
  270. // #endif
  271. // uni.$u.route('/shopping/pay', {
  272. // orderId: item.id,
  273. // // openid: that.vuex_wechatOpenid,
  274. // payAmount:item.orderPrice
  275. // });
  276. },
  277. evaluate(item){
  278. // console.log('logistics',item);
  279. uni.$u.route('/shopping/evaluate', {
  280. id: item.id
  281. });
  282. },
  283. comment(orderId,orderDetailId,goodsId){
  284. uni.$u.route('/shopping/addcomment', {
  285. orderId,
  286. orderDetailId,
  287. goodsId
  288. });
  289. },
  290. viewComment(orderDetailId,goodsId,goods){
  291. uni.$u.route('/shopping/viewcomment', {
  292. orderDetailId,
  293. goodsId,
  294. goods:JSON.stringify(goods)
  295. });
  296. },
  297. refund(item){
  298. // console.log('logistics',item);
  299. uni.$u.route('/shopping/refund', {
  300. id: item.id
  301. });
  302. },
  303. cancelOrder(item){
  304. let that = this;
  305. uni.showModal({
  306. title: '提示',
  307. content: '确认取消吗!',
  308. success: res => {
  309. if (res.confirm) {
  310. this.$u.api.cancelOrder({orderId:item.id}).then(res=>{
  311. this.$refs.uToast.show({
  312. message:res.msg,
  313. complete() {
  314. that.reloadList();
  315. }
  316. });
  317. // uni.$u.toast(res.msg);
  318. console.log('res',res.data);
  319. }).catch(err=>{
  320. console.log('cancelOrder',err);
  321. })
  322. }
  323. }
  324. });
  325. // console.log('logistics',item);
  326. },
  327. viewRefund(item){
  328. uni.$u.route('/center/viewRefund', {
  329. orderId: item.id
  330. });
  331. },
  332. confirmReceipt(item){
  333. let that = this;
  334. uni.showModal({
  335. title: '提示',
  336. content: '确认收货吗!',
  337. success: res => {
  338. if (res.confirm) {
  339. this.$u.api.confirmReceipt({orderId:item.id}).then(res=>{
  340. uni.showToast({
  341. title:res.msg,
  342. duration:2000,
  343. complete() {
  344. that.reloadList();
  345. }
  346. });
  347. console.log('res',res.data);
  348. }).catch(err=>{
  349. console.log('confirmReceipt',err);
  350. })
  351. }
  352. }
  353. })
  354. },
  355. viewEvaluate(item){
  356. uni.$u.route('/shopping/orderdetails', {
  357. id: item.id
  358. });
  359. },
  360. // 设置小程序订阅消息
  361. setTemplate(orderId) {
  362. let that = this;
  363. console.log('templateIdList',this.templateIdList);
  364. uni.requestSubscribeMessage({
  365. tmplIds: that.templateIdList,
  366. success (res) {
  367. // that.gotoPay();
  368. console.log("success:",res);
  369. },
  370. fail (res) {
  371. console.log("fail:",res);
  372. },
  373. complete (res) {
  374. that.gotoPay(orderId);
  375. console.log("complete:",res);
  376. }
  377. })
  378. },
  379. gotoPay(orderId){
  380. this.$u.api.gotoPay({orderId:orderId,openid:''}).then(res=>{
  381. this.payResult = res.data.payInfo;
  382. this.payResult.package = res.data.payInfo.packageValue;
  383. // #ifdef H5
  384. this.initConfig(this.payResult)
  385. // #endif
  386. // #ifdef MP
  387. this.wxPay()
  388. // #endif
  389. // if(this.params.paymentMode==1||this.params.paymentMode==4){
  390. // this.wxPay()
  391. // }else{
  392. // uni.$u.route('/shopping/paysuccess');
  393. // }
  394. console.log('gotoPayres',res.data);
  395. }).catch(err=>{
  396. this.paypass = '';
  397. this.checkPassShow = false;
  398. console.log('gotoPay',err);
  399. })
  400. },
  401. wxPay(){
  402. let that = this;
  403. uni.requestPayment({
  404. ... this.payResult,
  405. "provider": "wxpay",
  406. "orderInfo": {
  407. // "appid": "wx499********7c70e", // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
  408. // "noncestr": "c5sEwbaNPiXAF3iv", // 随机字符串
  409. // "package": "Sign=WXPay", // 固定值
  410. // "partnerid": "148*****52", // 微信支付商户号
  411. // "prepayid": "wx202254********************fbe90000", // 统一下单订单号
  412. // "timestamp": 1597935292, // 时间戳(单位:秒)
  413. // "sign": "A842B45937F6EFF60DEC7A2EAA52D5A0" // 签名,这里用的 MD5/RSA 签名
  414. },
  415. success(res) {
  416. setTimeout(()=>{
  417. this.tabsCurrent = 2;
  418. this.reloadList();
  419. },1500)
  420. // that.payQuery();
  421. },
  422. fail(e) {
  423. console.log('wxPayfail',e);
  424. }
  425. })
  426. },
  427. payQuery(){
  428. let that = this;
  429. let retryCount = 0;
  430. let maxRetryCount = 5; // 设置最大重试次数
  431. let interval = 2000; // 设置间隔时间为2秒
  432. let timeout = 10000; // 设置超时时间为10秒
  433. let timer;
  434. uni.showLoading({
  435. title:'支付结果查询中'
  436. })
  437. timer = setInterval(() => {
  438. retryCount++;
  439. if (retryCount > maxRetryCount || retryCount * interval > timeout) {
  440. clearInterval(timer);
  441. uni.hideLoading();
  442. console.log("支付查询超时或达到最大重试次数");
  443. // 在这里添加超时或达到最大重试次数的处理逻辑
  444. this.reloadList()
  445. } else {
  446. console.log("第" + retryCount + "次查询");
  447. // 调用查询支付状态的方法
  448. // 如果支付状态为成功,则清除定时器并处理成功的逻辑
  449. // 如果支付状态为失败,则清除定时器并处理失败的逻辑
  450. this.$u.api.payQuery({orderId:this.orderId}).then(res=>{
  451. // 0-未支付 1-已支付 2-支付中 3-支付失败 4-支付退款
  452. let payStatus = res.data.payStatus;
  453. if(payStatus===1){
  454. uni.$u.route('/center/paysuccess');
  455. }else if(payStatus===0||payStatus===2){
  456. this.payQuery()
  457. }else if(payStatus===3){
  458. uni.toast('支付失败')
  459. }
  460. clearInterval(timer);
  461. }).catch(err=>{
  462. console.log('payQuery',err);
  463. }).finally(()=>{
  464. uni.hideLoading()
  465. })
  466. }
  467. }, interval);
  468. },
  469. statisticsOrder(){
  470. this.$u.api.statisticsOrder().then(res=>{
  471. let data = res.data || {};
  472. this.orderBadge = Object.assign(this.orderBadge,data);
  473. let {noPayNum,deliverNum,collectNum,commentNum,refundNum} = res.data;
  474. let noPayNumindex = this.tabsList.findIndex(item => item.status == 0);
  475. this.tabsList[1].badge.isDot = false;
  476. this.tabsList[1].badge.value = noPayNum;
  477. this.tabsList[2].badge.isDot = false;
  478. this.tabsList[2].badge.value = deliverNum;
  479. this.tabsList[3].badge.isDot = false;
  480. this.tabsList[3].badge.value = collectNum;
  481. this.tabsList[4].badge.isDot = false;
  482. this.tabsList[4].badge.value = commentNum;
  483. this.tabsList[5].badge.isDot = false;
  484. this.tabsList[5].badge.value = refundNum;
  485. // console.log('statisticsOrder',res.data);
  486. // console.log('this.orderBadge',this.orderBadge);
  487. }).catch(err=>{
  488. console.log('memberInfo',err.data);
  489. })
  490. },
  491. /**
  492. * 公众号微信支付
  493. */
  494. initConfig() {
  495. // #ifdef H5
  496. let that = this
  497. wxH5.config({
  498. debug: false, // 这里一般在测试阶段先用ture,等打包给后台的时候就改回false,
  499. appId: that.payResult.appId, // 必填,公众号的唯一标识
  500. timestamp: that.payResult.timeStamp, // 必填,生成签名的时间戳
  501. nonceStr: that.payResult.nonceStr, // 必填,生成签名的随机串
  502. signature: that.payResult.paySign, // 必填,签名
  503. jsApiList: ['chooseWXPay', 'checkJsApi'] // 必填,需要使用的JS接口列表
  504. })
  505. wxH5.ready(() => {
  506. wxH5.chooseWXPay({
  507. timestamp: that.payResult.timeStamp, // 支付签名时间戳,注意微信jssdk中的所有使用timestamp字段均为小写。但最新版的支付后台生成签名使用的timeStamp字段名需大写其中的S字符
  508. nonceStr: that.payResult.nonceStr, // 支付签名随机串,不长于 32 位
  509. package: that.payResult.packageValue, // 统一支付接口返回的prepay_id参数值,提交格式如:prepay_id=\*\*\*)
  510. signType: 'SHA1', // 签名方式,默认为'SHA1',使用新版支付需传入'MD5'
  511. paySign: that.payResult.paySign, // 支付签名
  512. success: () => {
  513. setTimeout(()=>{
  514. that.tabsCurrent = 2;
  515. that.reloadList();
  516. },1500)
  517. // that.payQuery();
  518. },
  519. fail: (e) => {
  520. uni.$u.route('/center/order', {
  521. status: 0
  522. });
  523. console.log('wxPayfail', e);
  524. },
  525. cancel: () => {
  526. uni.$u.route('/center/order', {
  527. status: 0
  528. });
  529. that.cansubmit = true;
  530. }
  531. })
  532. })
  533. // #endif
  534. }
  535. }
  536. }
  537. </script>
  538. <style>
  539. page{
  540. background-color: #F5F5F5;
  541. }
  542. </style>
  543. <style lang="scss" scoped>
  544. .tabs-wrap{
  545. background-color: #fff;
  546. margin-bottom: 10rpx;
  547. }
  548. .list-item{
  549. overflow: hidden;
  550. width: 48%;
  551. margin-bottom: 30rpx;
  552. background-color: #fff;
  553. .image-wrap{
  554. margin-bottom: 20rpx;
  555. }
  556. }
  557. .order-item{
  558. margin-bottom: 20rpx;
  559. background: #FFFFFF;
  560. box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(221,221,221,0.5);
  561. border-radius: 20rpx;
  562. padding: 32rpx;
  563. content-visibility: auto;
  564. contain-intrinsic-size: 346rpx;
  565. .top{
  566. font-size: 24rpx;
  567. font-weight: 400;
  568. color: #7F7F7F;
  569. line-height: 36rpx;
  570. margin-bottom: 36rpx;
  571. }
  572. .info{
  573. margin-bottom: 30rpx;
  574. .img{
  575. width: 180rpx;
  576. height: 160rpx;
  577. border-radius: 12rpx;
  578. }
  579. .text{
  580. font-size: 24rpx;
  581. font-weight: 400;
  582. color: #7F7F7F;
  583. padding-left: 26rpx;
  584. flex: 1;
  585. .name{
  586. font-size: 28rpx;
  587. font-weight: bold;
  588. color: #363636;
  589. margin-bottom: 20rpx;
  590. }
  591. .time{
  592. margin-bottom: 20rpx;
  593. }
  594. .position{
  595. margin-bottom: 20rpx;
  596. }
  597. .statistics{
  598. text-align: right;
  599. }
  600. .label{
  601. font-size: 24rpx;
  602. font-weight: 400;
  603. color: #363636;
  604. margin-left: 10rpx;
  605. }
  606. .price{
  607. font-size: 32rpx;
  608. font-weight: bold;
  609. color: #ED0000;
  610. }
  611. }
  612. }
  613. .btn-wrap{
  614. }
  615. .btn{
  616. padding: 12rpx 40rpx;
  617. border: 1px solid #E5E5E5;
  618. color: #7F7F7F;
  619. text-align: center;
  620. border-radius: 8rpx;
  621. font-size: 24rpx;
  622. &.red{border-color: #ED0000;color: #ED0000;}
  623. &.red.solid{border-color: #ED0000;background-color:#ED0000;color: #fff;}
  624. &.green{color: #00A447;border-color: #00A447;}
  625. &:not(:first-child){
  626. margin-left: 20rpx;
  627. }
  628. }
  629. &.status-0{.status{color:#FF3C3F;}}
  630. &.status-1{.status{color:#FF3C3F;}}
  631. &.status-2{.status{color:#0099EB;}}
  632. &.status-3{.status{color:#00A447;}}
  633. &.status-4{.status{color:#FF3C3F;}}
  634. &.status-5{.status{color:#FF3C3F;}}
  635. &.status-6{.status{color:#FF3C3F;}}
  636. &.status-7{.status{color:#FFB100;}}
  637. }
  638. </style>