order.vue 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  1. <template>
  2. <view>
  3. <!-- <sjs src="../../../utils/formatFuc.sjs" module="utils" /> -->
  4. <view class="poster" v-if="myqr_show">
  5. <view>
  6. <image :src="myqr_url" :style="'width:' + myqr_width + 'rpx;'" mode="widthFix"></image>
  7. <view class="tool">
  8. <view>
  9. <button open-type="share" class="share-btn">
  10. <image class="img" style="width: 85rpx; margin-right: 25rpx" mode="widthFix" src="/static/images/share/p_dy.png"></image>
  11. </button>
  12. </view>
  13. <view>
  14. <image class="img" mode="widthFix" @tap="goSaveQrcode" src="/static/images/share/p_save.png"></image>
  15. </view>
  16. </view>
  17. <view style="text-align: center">
  18. <image class="closeImg" @tap="hidePoster" src="/static/images/share/close.png"></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="appoint-tabs-wrapper">
  23. <view :class="'appoint-tab-item ' + (showType == 0 ? 'active' : '')" data-tab="0" @tap="onTabChange">全 部</view>
  24. <view :class="'appoint-tab-item ' + (showType == 1 ? 'active' : '')" data-tab="1" @tap="onTabChange">待支付</view>
  25. <view :class="'appoint-tab-item ' + (showType == 2 ? 'active' : '')" data-tab="2" @tap="onTabChange">待服务</view>
  26. <!-- <view class="appoint-tab-item {{showType==4?'active':''}}" data-tab="4" bindtap="onTabChange">待评价</view> -->
  27. </view>
  28. <view class="container" :style="'filter:blur(' + myqr_blur + 'rpx)'">
  29. <!-- <view class="orders-switch">
  30. <view class="item {{ showType == 0 ? 'active' : ''}}" bindtap="switchTab" data-index='0'>
  31. <view class="txt">全部</view>
  32. </view>
  33. <view class="item {{ showType == 1 ? 'active' : ''}}" bindtap="switchTab" data-index='1'>
  34. <view class="txt">待付款</view>
  35. </view> -->
  36. <!-- <view class="item {{ showType == 2 ? 'active' : ''}}" bindtap="switchTab" data-index='2'>
  37. <view class="txt">待发货</view>
  38. </view> -->
  39. <!-- <view class="item {{ showType == 3 ? 'active' : ''}}" bindtap="switchTab" data-index='3'>
  40. <view class="txt">待上门</view>
  41. </view>
  42. <view class="item {{ showType == 4 ? 'active' : ''}}" bindtap="switchTab" data-index='4'>
  43. <view class="txt">待评价</view>
  44. </view>
  45. </view> -->
  46. <!-- <van-tabs active="{{showType }}" color="#09afff" bind:change="onTabChange">
  47. <van-tab title="全部" name="0"></van-tab>
  48. <van-tab title="待付款" name="1"></van-tab>
  49. <van-tab title="服务中" name="3"></van-tab>
  50. <van-tab title="待评价" name="4"></van-tab>
  51. </van-tabs> -->
  52. <!--
  53. <view class="appoint-tabs-wrapper">
  54. <view class="appoint-tab-item {{showType==0?'active':''}}" data-tab="0" bindtap="onTabChange">全 部</view>
  55. <view class="appoint-tab-item {{showType==1?'active':''}}" data-tab="1" bindtap="onTabChange">待付款</view>
  56. <view class="appoint-tab-item {{showType==3?'active':''}}" data-tab="3" bindtap="onTabChange">服务中</view>
  57. <view class="appoint-tab-item {{showType==4?'active':''}}" data-tab="4" bindtap="onTabChange">待评价</view>
  58. </view> -->
  59. <view class="no-order" v-if="orderList.length <= 0">
  60. <view class="c">
  61. <text>还没有任何订单呢</text>
  62. </view>
  63. </view>
  64. <view class="orders">
  65. <!-- 工单提醒 -->
  66. <block v-if="showType == 0">
  67. <view v-for="(item, index) in tipsList" :key="index" class="tips-item">
  68. <view class="tips-item-title">
  69. <view class="item-title-left">
  70. <image mode="aspectFit"
  71. src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-store.png"></image>
  72. <text>服务提醒</text>
  73. </view>
  74. <view class="item-title-right">{{item.statusName}}</view>
  75. </view>
  76. <view class="tips-item-line">
  77. <view class="line-left">
  78. 预约时间
  79. </view>
  80. <view class="line-right" v-if="item.bookDateTime.split(',').length>=3">
  81. {{item.bookDateTime.split(',')[0]}}
  82. <text>{{item.bookDateTime.split(',')[1]}}</text>
  83. {{item.bookDateTime.split(',')[2]}}
  84. </view>
  85. <view class="line-right" v-else>
  86. {{item.bookDateTime.split(',')[0]}}
  87. {{item.bookDateTime.split(',')[1]}}
  88. </view>
  89. </view>
  90. <view class="tips-item-line">
  91. <view class="line-left">
  92. 服务项目
  93. </view>
  94. <view class="line-right">
  95. {{item.skuName}}
  96. </view>
  97. </view>
  98. <view class="tips-item-line">
  99. <view class="line-left">
  100. 上门信息
  101. </view>
  102. <view class="line-right">
  103. {{item.bookInfo.split('|')[0]}}
  104. </view>
  105. </view>
  106. <view class="tips-item-line" style="margin-top:-18rpx;">
  107. <view class="line-left">
  108. </view>
  109. <view class="line-right">
  110. {{item.bookInfo.split('|')[1]}}
  111. </view>
  112. </view>
  113. <view class="tips-item-content" v-if="item.tip">
  114. 提醒:{{item.tip}}
  115. </view>
  116. </view>
  117. </block>
  118. <view v-if="orderList.length>0&&tipsList.length>0&&showType == 0" class="order-devide">
  119. <view class="line"></view>
  120. <view class="devide-text">订单列表</view>
  121. <view class="line"></view>
  122. </view>
  123. <view class="order" v-for="(item, index) in orderList" :key="index" :data-status="item.orderStatusVal" @tap="goOrderDetailNew" :data-id="item.id">
  124. <view class="h">
  125. <view class="l" v-if="item.orderStatusVal == '待预约' || item.orderStatusVal == '服务中' || item.orderStatusVal == '服务已完成'">已支付</view>
  126. <view class="l" v-else>{{ item.orderStatusVal }}</view>
  127. <view class="r" v-if="item.orderStatusVal == '待预约' || item.orderStatusVal == '服务中' || item.orderStatusVal == '服务已完成'">
  128. {{ item.orderStatusVal }}
  129. </view>
  130. <view class="r" v-else></view>
  131. </view>
  132. <!-- open-type="redirect" -->
  133. <!-- <navigator :url="'../orderDetail/orderDetail?id=' + item.id"> -->
  134. <view class="goods" >
  135. <view class="img">
  136. <image :src="item.picUrl + '?w=200'"></image>
  137. </view>
  138. <view class="info">
  139. <!-- <view class="info-orderSn" >订单编号: {{item.orderSn}}</view> -->
  140. <view class="info-main">
  141. <text class="product-name">{{ item.goodsName }}</text>
  142. <text class="price">¥{{ item.orderPrice }}</text>
  143. </view>
  144. <view class="sku-name" v-if="item.increaseSumPrice">
  145. <view>加购: {{ item.unitDescribe }}*{{ item.unitIncreaseNumber }}</view>
  146. <view>¥{{ item.increaseSumPrice }}</view>
  147. </view>
  148. <view class="sku-name">规格:{{ item.skuName }}</view>
  149. <!-- <text class="number">共{{item.number}}件商品</text> -->
  150. <text class="other-info">服务{{ item.serviceTimes }}次</text>
  151. <!-- <text class="other-info" wx:if="{{utils.getNotServiceTimes(item.serviceTimes,item.servedTimes)>0}}"> {{utils.getNotServiceTimes(item.serviceTimes,item.servedTimes)}}次未服务</text> -->
  152. <!-- 支付倒计时 payOverTime -->
  153. <view v-if="item.payOverTime > 0" class="over-time">{{ formatOverTime(item.payOverTime) }} 后订单关闭</view>
  154. </view>
  155. <!-- <view class="status">
  156. </view> -->
  157. </view>
  158. <!-- </navigator> -->
  159. <view class="b">
  160. <view class="l">
  161. <text>实付款:¥{{ item.actualPrice }}</text>
  162. </view>
  163. </view>
  164. <!-- 提醒 -->
  165. <view class="status-tips" v-if="item.orderStatusVal == '已退款'">
  166. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-refund-tips.png"></image>
  167. <view class="tips-title">已退款</view>
  168. <view>已按照原支付路径退回</view>
  169. </view>
  170. <view class="status-tips" v-if="item.orderStatusVal == '服务已完成'" :data-id="item.id" @tap="goCheck">
  171. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-customer-msg.png"></image>
  172. <view class="tips-title">服务验收:</view>
  173. <view>服务已完成,请评价</view>
  174. </view>
  175. <view class="customer-msg" v-if="item.customerServiceReminder">
  176. <view class="msg-title">提醒:</view>
  177. <view class="msg-text">{{ item.customerServiceReminder }}</view>
  178. </view>
  179. <view class="customer-msg" v-if="item.ticketStatus == 1">
  180. <view class="msg-title">提醒:</view>
  181. <view class="msg-text">您的售后工单正在处理中,请耐心等待</view>
  182. </view>
  183. <view class="customer-msg" v-if="item.ticketStatus == 2" :data-id="item.id" @tap="orderDetail">
  184. <view class="msg-title">提醒:</view>
  185. <view class="msg-text">您的售后工单已完成,可以去评价了哦</view>
  186. </view>
  187. <!-- 操作事件 -->
  188. <view class="order-operate-wrapper">
  189. <!-- <view catchtap="deleteOrder" wx:if="{{item.handleOption.delete}}" data-id="{{item.id}}" class="del">删除订单
  190. </view> -->
  191. <view @tap.stop.prevent="cancelOrder" v-if="item.handleOption.cancel" :data-id="item.id" class="del">取消订单</view>
  192. <view @tap.stop.prevent="showRefundDia" v-if="item.handleOption.refund" :data-id="item.id" class="del">申请退款</view>
  193. <!-- v-if="item.handleOption.refund" -->
  194. <!-- <view data-id="{{item.id}}" data-sn="{{item.orderSn}}" data-aid="{{item.addressId}}"
  195. data-type="{{item.type}}" wx:if="{{item.handleOption.book}}" class="eval-btn">评价</view> -->
  196. <!-- 抖音评价 20231007屏蔽 by leo 启用工单上的服务验收
  197. <rate-button class="eval-btn" order-id="{{item.orderSn}}" bind:init="handleInit" bind:success="handleSuccess" bind:error="handleError" />-->
  198. <!-- <view catchtap="confirmOrder" wx:if="{{item.handleOption.confirm}}" data-id="{{item.id}}">待上门</view> -->
  199. <!-- <view catchtap="refundOrder" wx:if="{{item.handleOption.refund&&item.goodsList[0].goodsSn!='1036016'}}" data-id="{{item.id}}">申请退款</view> -->
  200. <!-- <view data-id="{{item.goodsList[0].goodsId}}" catchtap="shareFriendOrCircle" >分享商品</view> -->
  201. <view
  202. @tap.stop.prevent="appointService"
  203. :data-id="item.id"
  204. :data-sn="item.orderSn"
  205. :data-aid="item.addressId"
  206. :data-type="item.type"
  207. v-if="item.handleOption.book"
  208. :data-detail="item.detailId"
  209. class="appoint"
  210. >
  211. 预约服务
  212. </view>
  213. <view @tap.stop.prevent="payOrder" :data-id="item.id" :data-sn="item.orderSn" v-if="item.handleOption.pay" class="appoint">继续支付</view>
  214. <view class="btn-rebuy" @tap.stop.prevent="buyAgain" :data-id="item.goodsId" v-if="item.orderStatusVal != '未支付'">再来一单</view>
  215. </view>
  216. </view>
  217. </view>
  218. </view>
  219. <contact-mov :pageX="30" :pageY="420"></contact-mov>
  220. <view class="refund-order-overlay" v-if="refundTipShow">
  221. <view class="refund-order-dialog">
  222. <view class="refund-dia-tips">您遇到任何问题都可联系在线客服,我们将竭诚为您解决问题!</view>
  223. <view class="dia-btn-wrapper">
  224. <view class="dia-cancel-btn" @tap="refundOrder">继续退款</view>
  225. <view class="dia-conf-btn" @tap="goIM">联系在线客服</view>
  226. </view>
  227. </view>
  228. </view>
  229. </view>
  230. </template>
  231. <script>
  232. var util = require('../../../utils/util.js');
  233. var api = require('../../../config/api.js');
  234. var app = getApp();
  235. import contactMov from '@/components/contact-mov';
  236. export default {
  237. components:{contactMov},
  238. data() {
  239. return {
  240. timer: '',
  241. orderList: [],
  242. showType: 0,
  243. page: 1,
  244. limit: 10,
  245. totalPages: 1,
  246. myqr_show: false,
  247. //我的分享二维码
  248. myqr_url: null,
  249. myqr_blur: 0,
  250. //背景模糊值
  251. myqr_width: 0,
  252. hasLogin: false,
  253. goodsId: '',
  254. tipsList:[],
  255. refundTipShow:false,
  256. refundId:''
  257. };
  258. },
  259. onLoad: function (options) {
  260. // 页面初始化 options为页面跳转所带来的参数
  261. if (options.tab) {
  262. this.setData({
  263. showType: options.tab
  264. });
  265. } else {
  266. try {
  267. let query = uni.getEnterOptionsSync().query;
  268. let keys = Object.keys(query);
  269. if (keys.length > 0) {
  270. let str = keys[0]; //{\"showType\": 1}
  271. let json = str.replace(/\"/g, '').replace(/\\/g, '"');
  272. let tab = JSON.parse(json).showType;
  273. if (tab != null && tab != '' && tab != undefined) {
  274. this.setData({
  275. showType: '0' //全部订单,写死因为历史后台传的是1
  276. });
  277. }
  278. }
  279. } catch (error) {
  280. console.log('CatchClause', error);
  281. console.log('CatchClause', error);
  282. console.info(error);
  283. }
  284. }
  285. },
  286. onHide: function () {
  287. console.log('onHide');
  288. clearInterval(this.timer);
  289. },
  290. onUnload: function () {
  291. console.log('onunload');
  292. clearInterval(this.timer);
  293. },
  294. onReachBottom() {
  295. if (this.totalPages > this.page) {
  296. this.setData({
  297. page: this.page + 1
  298. });
  299. this.getOrderList();
  300. } else if (this.orderList.length > 0) {
  301. uni.showToast({
  302. title: '没有更多订单了',
  303. icon: 'none',
  304. duration: 2000
  305. });
  306. return false;
  307. }
  308. },
  309. onReady: function () {
  310. // 页面渲染完成
  311. },
  312. onShow: function () {
  313. // 页面显示
  314. this.setData({
  315. orderList: [],
  316. page: 1
  317. });
  318. // wx.pageScrollTo({
  319. // scrollTop: 0,
  320. // duration: 1000,
  321. // });
  322. this.getOrderList();
  323. },
  324. methods: {
  325. formatOverTime(time){
  326. var minute='00';
  327. var second='00';
  328. if(time>0){
  329. minute=(Math.floor(time/60)<10?('0'+Math.floor(time/60)):Math.floor(time/60));
  330. second=(Number(time%60).toFixed(0)<10?('0'+Number(time%60).toFixed(0)):Number(time%60).toFixed(0));
  331. }
  332. var result="00:"+minute+":"+second;
  333. return result;
  334. },
  335. getOrderList() {
  336. uni.showLoading({
  337. title: '加载中'
  338. });
  339. let that = this;
  340. util.request(api.OrderList, {
  341. showType: that.showType,
  342. page: that.page,
  343. limit: that.limit
  344. }).then((res) => {
  345. uni.hideLoading();
  346. if (res.errno === 0) {
  347. console.log(res.data);
  348. that.setData({
  349. orderList: that.orderList.concat(res.data.data.orders),
  350. totalPages: res.data.pages,
  351. tipsList:res.data.data.tips
  352. });
  353. clearInterval(this.timer);
  354. // 如果有未支付订单,倒计时定时器
  355. let isHasOver = this.orderList.some((item) => {
  356. return item.payOverTime > 0;
  357. });
  358. console.log(isHasOver);
  359. if (isHasOver) {
  360. let timer = setInterval(() => {
  361. let list = this.orderList;
  362. let newList = [];
  363. list.forEach((item) => {
  364. let obj = item;
  365. if (item.payOverTime > 0) {
  366. obj.payOverTime = item.payOverTime - 1;
  367. }
  368. newList.push(obj);
  369. });
  370. this.setData({
  371. orderList: newList
  372. });
  373. }, 1000);
  374. this.setData({
  375. timer: timer
  376. });
  377. }
  378. }
  379. });
  380. },
  381. orderDetail(e) {
  382. let id = e.currentTarget.dataset.id;
  383. uni.navigateTo({
  384. url: '/pages/ucenter/orderDetail/orderDetail?id=' + id
  385. });
  386. },
  387. switchTab: function (event) {
  388. let showType = event.currentTarget.dataset.index;
  389. this.setData({
  390. orderList: [],
  391. showType: showType,
  392. page: 1,
  393. // limit: 10,
  394. totalPages: 1
  395. });
  396. this.getOrderList();
  397. },
  398. onTabChange(e) {
  399. // let showType = e.detail.name;
  400. let showType = e.currentTarget.dataset.tab;
  401. this.setData({
  402. orderList: [],
  403. showType: showType,
  404. page: 1,
  405. // limit: 10,
  406. totalPages: 1
  407. });
  408. this.getOrderList();
  409. },
  410. appointServiceOld(e) {
  411. let id = e.currentTarget.dataset.id;
  412. let addressId = e.currentTarget.dataset.aid;
  413. let type = e.currentTarget.dataset.type;
  414. if (type && type == 5) {
  415. uni.navigateTo({
  416. url: '/pages/ucenter/coupon/couponGoods?id=1'
  417. });
  418. return;
  419. }
  420. if (addressId == null || addressId == 0) {
  421. uni.navigateTo({
  422. url: '/pages/ucenter/appointOrder/appointOrder?orderId=' + id
  423. });
  424. } else {
  425. //买约分离 没有地址的预约
  426. uni.navigateTo({
  427. url: '/pages/ucenter/serviceDetail/serviceDetail?orderId=' + id
  428. });
  429. }
  430. },
  431. appointService(e) {
  432. let id = e.currentTarget.dataset.id;
  433. let addressId = e.currentTarget.dataset.aid;
  434. let type = e.currentTarget.dataset.type;
  435. let detailId = e.currentTarget.dataset.detail;
  436. uni.navigateTo({
  437. url: '/pages/ucenter/appointOrder/appointOrder?orderId=' + id + '&serviceId=' + detailId
  438. });
  439. },
  440. qrtouchstart: function () {
  441. this.setData({
  442. myqr_blur: 0,
  443. myqr_show: false
  444. });
  445. },
  446. shareFriendOrCircle: function (e) {
  447. // let that = this;
  448. // if (!app.globalData.hasLogin) {
  449. // wx.navigateTo({
  450. // url: "/pages/auth/login/login"
  451. // });
  452. // return;
  453. // }
  454. // //获取分享id 用来追踪链接
  455. // //引荐人和非引荐人的 链接不同
  456. // let imgUrl = that.data.goods.shareWxUrl ? that.data.goods.shareWxUrl : that.data.goods.gallery[0];
  457. // var path = '/pages/goods/goods?id=' + that.data.id + '&rId=' + that.data.userInfo.id;
  458. // if (that.data.userInfo.isDis) { //是引荐人
  459. // path = '/pages/goods/goods?id=' + that.data.id + '&shareId=' + that.data.wxShareId;
  460. // }
  461. // this.hidePoster();
  462. // return {
  463. // title: that.data.goods.name,
  464. // desc: that.data.myqr_ads,
  465. // path: path,
  466. // imageUrl: imgUrl
  467. // }
  468. },
  469. // 保存分享图
  470. saveShare: function () {
  471. let that = this;
  472. uni.showLoading({
  473. title: '图片保存中'
  474. });
  475. console.log(that);
  476. uni.downloadFile({
  477. url: that.myqr_url,
  478. success: function (res) {
  479. console.log(res);
  480. uni.saveImageToPhotosAlbum({
  481. filePath: res.tempFilePath,
  482. success: function (res) {
  483. uni.hideLoading();
  484. uni.showModal({
  485. title: '存图成功',
  486. content: '图片成功保存到相册了,可以分享到朋友圈了',
  487. showCancel: false,
  488. confirmText: '好的',
  489. confirmColor: '#a78845',
  490. success: function (res) {
  491. if (res.confirm) {
  492. console.log('用户点击确定');
  493. that.setData({
  494. myqr_show: false,
  495. myqr_blur: 0
  496. });
  497. }
  498. }
  499. });
  500. },
  501. fail: function (res) {
  502. uni.hideLoading();
  503. uni.showModal({
  504. title: '警告',
  505. content: '不授权无法保存',
  506. showCancel: false
  507. });
  508. that.setData({
  509. myqr_show: false,
  510. myqr_blur: 0
  511. });
  512. }
  513. });
  514. },
  515. fail: function (res) {
  516. uni.hideLoading();
  517. console.log(res);
  518. }
  519. });
  520. },
  521. // “去付款”按钮点击效果
  522. payOrder: function (e) {
  523. let that = this;
  524. let id = e.currentTarget.dataset.id;
  525. let ordern = e.currentTarget.dataset.sn;
  526. util.request(
  527. api.OrderPayCheck,
  528. {
  529. orderId: id
  530. },
  531. 'POST'
  532. ).then(function (res) {
  533. if (res.errno === 0) {
  534. const outOrderNo = res.data;
  535. console.log(res);
  536. uni.continueToPay({
  537. // orderId: this.data.orderId, // 内部订单号
  538. outOrderNo: outOrderNo,
  539. // 外部订单号 2个订单号必填一个
  540. success: (res) => {
  541. console.log(res);
  542. const { orderId, outOrderNo } = res;
  543. console.log('success res', res);
  544. console.log('orderId', orderId, 'outOrderNo', outOrderNo);
  545. uni.redirectTo({
  546. url: '/pages/ucenter/order/order'
  547. });
  548. },
  549. fail: (res) => {
  550. console.log(res);
  551. const { orderId, outOrderNo, errNo, errMsg, errLogId } = res;
  552. if (errLogId) {
  553. console.log('查询订单信息失败', errNo, errMsg, errLogId);
  554. }
  555. if (orderId || outOrderNo) {
  556. console.log('支付失败', errNo, errMsg, orderId, outOrderNo);
  557. console.log('订单号' + outOrderNo);
  558. // wx.navigateTo({
  559. // url: '/pages/ucenter/orderDetail/orderDetail?id='+outOrderNo
  560. // });
  561. }
  562. util.showErrorToast('支付失败');
  563. }
  564. });
  565. }
  566. });
  567. },
  568. // “删除”点击效果
  569. deleteOrder: function (e) {
  570. let that = this;
  571. let id = e.currentTarget.dataset.id;
  572. uni.showModal({
  573. title: '',
  574. content: '确定要删除此订单?',
  575. success: function (res) {
  576. if (res.confirm) {
  577. util.request(
  578. api.OrderDelete,
  579. {
  580. orderId: id
  581. },
  582. 'POST'
  583. ).then(function (res) {
  584. if (res.errno === 0) {
  585. uni.showToast({
  586. title: '删除订单成功'
  587. });
  588. util.redirect('/pages/ucenter/order/order');
  589. } else {
  590. util.showErrorToast(res.errmsg);
  591. }
  592. });
  593. }
  594. }
  595. });
  596. },
  597. // “取消订单”点击效果
  598. cancelOrder: function (e) {
  599. let that = this;
  600. let id = e.currentTarget.dataset.id;
  601. uni.showModal({
  602. title: '',
  603. content: '确定要取消此订单?',
  604. success: function (res) {
  605. if (res.confirm) {
  606. util.request(
  607. api.OrderCancel,
  608. {
  609. orderId: id
  610. },
  611. 'POST'
  612. ).then(function (res) {
  613. if (res.errno === 0) {
  614. uni.showToast({
  615. title: '取消订单成功'
  616. });
  617. util.redirect('/pages/ucenter/order/order');
  618. } else {
  619. util.showErrorToast(res.errmsg);
  620. }
  621. });
  622. }
  623. }
  624. });
  625. },
  626. // “待上门”点击效果
  627. confirmOrder: function (e) {
  628. let that = this;
  629. let id = e.currentTarget.dataset.id;
  630. uni.showModal({
  631. title: '',
  632. content: '确认上门服务?',
  633. success: function (res) {
  634. if (res.confirm) {
  635. util.request(
  636. api.OrderConfirm,
  637. {
  638. orderId: id
  639. },
  640. 'POST'
  641. ).then(function (res) {
  642. if (res.errno === 0) {
  643. uni.showToast({
  644. title: '确认上门成功!'
  645. });
  646. util.redirect('/pages/ucenter/order/order');
  647. } else {
  648. util.showErrorToast(res.errmsg);
  649. }
  650. });
  651. }
  652. }
  653. });
  654. },
  655. // “取消订单并退款”点击效果
  656. refundOrderOld: function (e) {
  657. let that = this;
  658. let id = e.currentTarget.dataset.id;
  659. uni.showModal({
  660. title: '',
  661. content: '确定要取消此订单?',
  662. success: function (res) {
  663. if (res.confirm) {
  664. util.request(
  665. api.OrderRefund,
  666. {
  667. orderId: id
  668. },
  669. 'POST'
  670. ).then(function (res) {
  671. if (res.errno === 0) {
  672. uni.showToast({
  673. title: '取消订单成功'
  674. });
  675. util.redirect('/pages/ucenter/order/order');
  676. } else {
  677. util.showErrorToast(res.errmsg);
  678. }
  679. });
  680. }
  681. }
  682. });
  683. },
  684. showRefundDia:function(e){
  685. let id = e.currentTarget.dataset.id;
  686. this.setData({
  687. refundTipShow:true,
  688. refundId:id
  689. });
  690. },
  691. refundOrder: function (e) {
  692. this.setData({
  693. refundTipShow:false
  694. });
  695. uni.navigateTo({
  696. url: '/pages/ucenter/applyRefund/applyRefund?id=' + this.refundId
  697. });
  698. },
  699. buyAgain(e) {
  700. let id = e.currentTarget.dataset.id;
  701. uni.navigateTo({
  702. url: '/pages/goods/goods?id=' + id
  703. });
  704. },
  705. goCheck(e) {
  706. let id = e.currentTarget.dataset.id;
  707. uni.navigateTo({
  708. url: '/pages/ucenter/orderDetail/orderDetail?id=' + id
  709. });
  710. },
  711. goOrderDetailNew(e) {
  712. let status= e.currentTarget.dataset.status;
  713. let id = e.currentTarget.dataset.id;
  714. console.log(status);
  715. if(status=='未支付'){
  716. uni.navigateTo({
  717. url: '/pages/ucenter/orderDetail/orderDetailPay?id=' + id
  718. });
  719. }else{
  720. uni.navigateTo({
  721. url: '/pages/ucenter/orderDetail/orderDetail?id=' + id
  722. });
  723. }
  724. },
  725. handleInit(event) {
  726. const { status } = event.detail;
  727. console.log(status);
  728. },
  729. handleSuccess(event) {
  730. const { result } = event.detail;
  731. // 团购订单不支持查看评价,此时可决定按钮是否展示
  732. console.log(result);
  733. },
  734. handleError(event) {
  735. const { errMsg, errNo } = event.detail;
  736. // errNo(错误码,对应某种具体报错原因)
  737. // errMsg(报错信息)
  738. console.log(errMsg, errNo);
  739. },
  740. goSaveQrcode() {
  741. console.log('占位:函数 goSaveQrcode 未声明');
  742. },
  743. hidePoster() {
  744. console.log('占位:函数 hidePoster 未声明');
  745. },
  746. goIM() {
  747. this.setData({
  748. refundTipShow:false
  749. });
  750. console.info('goIm');
  751. uni.navigateTo({
  752. url: '/pages/chat/im/im'
  753. });
  754. },
  755. }
  756. };
  757. </script>
  758. <style>
  759. page {
  760. /* height: 100%; */
  761. width: 100%;
  762. background: #f4f4f4;
  763. }
  764. .orders-switch {
  765. width: 100%;
  766. background: #fff;
  767. height: 84rpx;
  768. /* border-bottom: 1px solid rgba(0,0,0,.15); */
  769. }
  770. .orders-switch .item {
  771. display: inline-block;
  772. height: 82rpx;
  773. width: 18%;
  774. padding: 0 15rpx;
  775. text-align: center;
  776. }
  777. .orders-switch .item .txt {
  778. display: inline-block;
  779. height: 82rpx;
  780. padding: 0 20rpx;
  781. line-height: 82rpx;
  782. color: #9a9ba1;
  783. font-size: 30rpx;
  784. width: 170rpx;
  785. }
  786. .orders-switch .item.active .txt {
  787. color: #ab956d;
  788. border-bottom: 4rpx solid #ab956d;
  789. }
  790. .no-order {
  791. width: 100%;
  792. height: auto;
  793. margin: 0 auto;
  794. }
  795. .no-order .c {
  796. width: 100%;
  797. height: auto;
  798. padding-top: 400rpx;
  799. }
  800. .no-order .c text {
  801. margin: 0 auto;
  802. display: block;
  803. width: 258rpx;
  804. height: 29rpx;
  805. line-height: 29rpx;
  806. text-align: center;
  807. font-size: 29rpx;
  808. color: #999;
  809. }
  810. .orders {
  811. height: auto;
  812. width: 750rpx;
  813. /* overflow: hidden; */
  814. padding: 0 24rpx;
  815. margin-top: 110rpx;
  816. }
  817. .order {
  818. /* margin-top: 20rpx; */
  819. background: #fff;
  820. padding: 0 24rpx 24rpx 24rpx;
  821. border-radius: 24rpx;
  822. margin-bottom: 24rpx;
  823. }
  824. .order .h {
  825. height: 72rpx;
  826. border-bottom: 2rpx solid #e0e0e0;
  827. color: #191919;
  828. font-size: 28rpx;
  829. font-weight: bold;
  830. display: flex;
  831. align-items: center;
  832. justify-content: space-between;
  833. }
  834. .order .h .l {
  835. }
  836. .order .h .r {
  837. }
  838. .order .goods {
  839. display: flex;
  840. /* align-items: center; */
  841. padding: 24rpx 0 0;
  842. position: relative;
  843. }
  844. .order .goods .img {
  845. height: 190rpx;
  846. width: 190rpx;
  847. background: #f4f4f4;
  848. }
  849. .order .goods .img image {
  850. height: 190rpx;
  851. width: 190rpx;
  852. overflow: hidden;
  853. border-radius: 10rpx;
  854. }
  855. .order .goods .info {
  856. height: 145.83rpx;
  857. flex: 1;
  858. padding-left: 20rpx;
  859. }
  860. .info-orderSn {
  861. font-size: 28rpx;
  862. font-weight: bold;
  863. }
  864. .info-main {
  865. display: flex;
  866. height: 40rpx;
  867. align-items: center;
  868. justify-content: space-between;
  869. /* margin-bottom: 58rpx; */
  870. }
  871. .info .sku-name {
  872. color: #666666;
  873. font-size: 24rpx;
  874. margin: 10rpx 0;
  875. height: 34rpx;
  876. line-height: 34rpx;
  877. display: flex;
  878. justify-content: space-between;
  879. }
  880. .product-name {
  881. line-height: 40rpx;
  882. font-size: 28rpx;
  883. /* padding-left: 20rpx;
  884. text-indent: -16rpx; */
  885. overflow: hidden;
  886. text-overflow: ellipsis;
  887. white-space: nowrap;
  888. width: 328rpx;
  889. font-weight: bold;
  890. color: rgba(0, 0, 0, 0.9);
  891. }
  892. .info-main .price {
  893. color: rgba(0, 0, 0, 0.9);
  894. font-size: 24rpx;
  895. font-weight: bold;
  896. }
  897. .info .other-info {
  898. font-size: 24rpx;
  899. color: rgba(0, 0, 0, 0.9);
  900. line-height: 34rpx;
  901. }
  902. .order .goods .status {
  903. width: 105rpx;
  904. color: #b4282d;
  905. font-size: 25rpx;
  906. }
  907. .order .b {
  908. height: 44rpx;
  909. line-height: 44rpx;
  910. /* border-top: 1px solid #f4f4f4; */
  911. font-size: 26rpx;
  912. color: #666;
  913. text-align: right;
  914. }
  915. .order .b text {
  916. font-size: 24rpx;
  917. color: rgba(0, 0, 0, 0.9);
  918. font-weight: bold;
  919. }
  920. .order .b .l {
  921. /* float: left; */
  922. }
  923. .order .b .r {
  924. float: right;
  925. }
  926. .order .b .btn {
  927. margin-top: 19rpx;
  928. height: 64.5rpx;
  929. line-height: 64.5rpx;
  930. text-align: center;
  931. padding: 0 20rpx;
  932. border-radius: 5rpx;
  933. font-size: 28rpx;
  934. color: #fff;
  935. background: #b4282d;
  936. }
  937. .order-operate-wrapper {
  938. /* height: 80rpx; */
  939. display: flex;
  940. align-items: center;
  941. justify-content: flex-end;
  942. flex: 1;
  943. flex-wrap: wrap;
  944. border-top: 2rpx solid #e0e0e0;
  945. padding: 10rpx 0 12rpx;
  946. margin: 20rpx 0 0;
  947. }
  948. /* .order-operate-wrapper::after {
  949. content: '';
  950. flex: auto;
  951. } */
  952. .order-operate-wrapper > view {
  953. text-align: center;
  954. font-size: 28rpx;
  955. color: #fff;
  956. margin-left: 20rpx;
  957. width: 190rpx;
  958. height: 72rpx;
  959. line-height: 72rpx;
  960. background: linear-gradient(90deg, #ff9c49 0%, #ff8219 100%);
  961. border-radius: 72rpx;
  962. margin-top: 10rpx;
  963. font-weight: bold;
  964. }
  965. .order-operate-wrapper > view.del {
  966. border: 2rpx solid #d8d8d8;
  967. /* color: #666666; */
  968. color: rgba(0,0,0,0.85);
  969. background: #fff;
  970. }
  971. .order-operate-wrapper > view.appoint {
  972. background: linear-gradient(90deg, #00baff 0%, #008dff 100%);
  973. }
  974. .myqr {
  975. position: fixed;
  976. z-index: 999;
  977. width: 100%;
  978. text-align: center;
  979. height: auto;
  980. padding-top: 50rpx;
  981. top: 0;
  982. left: 0;
  983. right: 0;
  984. bottom: 0;
  985. }
  986. .myqr .cancel {
  987. width: 60rpx;
  988. height: 60rpx;
  989. margin-top: 30rpx;
  990. margin-left: 480rpx;
  991. }
  992. .myqr .img {
  993. width: 480rpx;
  994. }
  995. .myqr .btn {
  996. width: 120rpx;
  997. height: 120rpx;
  998. line-height: 120rpx;
  999. margin-top: 20rpx;
  1000. padding: 30rpx;
  1001. background: #ffffff;
  1002. border-radius: 60rpx;
  1003. }
  1004. /* 会员卡蒙层的样式 */
  1005. .poster {
  1006. position: fixed;
  1007. top: 0;
  1008. bottom: 0;
  1009. right: 0;
  1010. left: 0;
  1011. background-color: #333333d1;
  1012. /* padding: 0rpx 80rpx;
  1013. padding-top: 20%;*/
  1014. z-index: 99;
  1015. height: 100%;
  1016. text-align: center;
  1017. justify-content: center;
  1018. align-items: center;
  1019. display: flex;
  1020. }
  1021. .title {
  1022. color: #fff;
  1023. margin: 20rpx 0;
  1024. font-size: 30rpx;
  1025. }
  1026. .ads {
  1027. margin: 10rpx 0rpx;
  1028. color: #fff;
  1029. }
  1030. .tool {
  1031. display: flex;
  1032. text-align: center;
  1033. justify-content: baseline;
  1034. width: 100%;
  1035. margin-top: 20rpx;
  1036. }
  1037. .tool view {
  1038. flex: 1;
  1039. }
  1040. .img {
  1041. width: 99rpx;
  1042. }
  1043. .closeImg {
  1044. width: 57rpx;
  1045. height: 57rpx;
  1046. }
  1047. .share-btn {
  1048. background-color: transparent;
  1049. }
  1050. .share-btn::after {
  1051. border: none;
  1052. }
  1053. .m-card {
  1054. width: 100%;
  1055. height: 230rpx;
  1056. margin: 20rpx 0;
  1057. }
  1058. .m-card image {
  1059. width: 100%;
  1060. height: 230rpx;
  1061. }
  1062. .appoint-tabs-wrapper {
  1063. height: 88rpx;
  1064. display: flex;
  1065. align-items: center;
  1066. line-height: 88rpx;
  1067. justify-content: space-around;
  1068. position: fixed;
  1069. left: 0;
  1070. right: 0;
  1071. top: 0;
  1072. background: #fff;
  1073. z-index: 99;
  1074. }
  1075. .appoint-tab-item {
  1076. font-weight: bold;
  1077. font-size: 30rpx;
  1078. color: #191919;
  1079. /* width:80rpx; */
  1080. }
  1081. .appoint-tab-item.active {
  1082. color: #fe2b54;
  1083. /* border-bottom:4rpx solid #09afff; */
  1084. }
  1085. .detail-btn {
  1086. width: 148rpx;
  1087. text-align: center;
  1088. line-height: 60rpx;
  1089. text-align: center;
  1090. font-size: 26rpx;
  1091. color: #00b9ff;
  1092. margin-top: -20rpx;
  1093. /* margin-left:340rpx; */
  1094. width: 170rpx;
  1095. height: 60rpx;
  1096. background: #ffffff;
  1097. border: 2rpx solid #00b9ff;
  1098. border-radius: 60px;
  1099. float: right;
  1100. }
  1101. .status-tips {
  1102. height: 56rpx;
  1103. background: #ebebeb;
  1104. border-radius: 10rpx;
  1105. display: flex;
  1106. align-items: center;
  1107. padding: 0 0 0 16rpx;
  1108. margin-top: 24rpx;
  1109. }
  1110. .status-tips image {
  1111. width: 36rpx;
  1112. height: 32rpx;
  1113. }
  1114. .status-tips view {
  1115. font-size: 24rpx;
  1116. color: #2e3333;
  1117. }
  1118. .status-tips .tips-title {
  1119. color: #191919;
  1120. font-weight: bold;
  1121. margin: 0 16rpx;
  1122. }
  1123. .customer-msg {
  1124. background: #ebebeb;
  1125. border-radius: 10rpx;
  1126. display: flex;
  1127. padding: 12rpx 16rpx;
  1128. margin-top: 24rpx;
  1129. }
  1130. .customer-msg .msg-title {
  1131. color: #fe2b54;
  1132. font-weight: bold;
  1133. font-size: 24rpx;
  1134. white-space: nowrap;
  1135. }
  1136. .customer-msg .msg-text {
  1137. line-height: 34rpx;
  1138. display: -webkit-box;
  1139. -webkit-box-orient: vertical;
  1140. -webkit-line-clamp: 2;
  1141. text-overflow: ellipsis;
  1142. overflow: hidden;
  1143. font-size: 24rpx;
  1144. color: #000000;
  1145. }
  1146. .over-time {
  1147. position: absolute;
  1148. top: 170rpx;
  1149. right: 0;
  1150. line-height: 40rpx;
  1151. color: #ad0000;
  1152. font-size: 28rpx;
  1153. }
  1154. .eval-btn {
  1155. text-align: center;
  1156. font-size: 24rpx;
  1157. color: #fff;
  1158. margin-left: 20rpx;
  1159. width: 160rpx;
  1160. height: 56rpx;
  1161. line-height: 56rpx;
  1162. background: linear-gradient(90deg, #ff9c49 0%, #ff8219 100%);
  1163. border-radius: 56rpx;
  1164. margin-top: 10rpx;
  1165. border: 2rpx solid #ff8219;
  1166. color: #ff8219;
  1167. background: #fff;
  1168. }
  1169. .order-operate-wrapper view.eval-btn {
  1170. border: 2rpx solid #ff8219;
  1171. color: #ff8219;
  1172. background: #fff;
  1173. }
  1174. .tips-item{
  1175. background: #fff;
  1176. border-radius:12rpx;
  1177. padding:30rpx 0rpx 0;
  1178. margin-bottom: 20rpx;
  1179. }
  1180. .tips-item-title{
  1181. display: flex;
  1182. height:40rpx;
  1183. align-items: center;
  1184. justify-content: space-between;
  1185. margin-bottom:20rpx;
  1186. padding:0 32rpx;
  1187. }
  1188. .item-title-left{
  1189. display: flex;
  1190. align-items: center;
  1191. }
  1192. .item-title-left image{
  1193. width:28rpx;
  1194. height:28rpx;
  1195. margin-right:8rpx;
  1196. }
  1197. .item-title-left text{
  1198. font-size: 28rpx;
  1199. font-weight: bold;
  1200. color:#333;
  1201. }
  1202. .item-title-right{
  1203. height: 34rpx;
  1204. background: #FFFFFF;
  1205. border-radius: 4rpx;
  1206. border: 1rpx solid #5FB306;
  1207. padding:0 8rpx;
  1208. line-height: 34rpx;
  1209. font-size: 22rpx;
  1210. color: #5FB306;
  1211. }
  1212. .tips-item-line{
  1213. display: flex;
  1214. height:44rpx;
  1215. margin-bottom:20rpx;
  1216. align-items: center;
  1217. justify-content: space-between;
  1218. padding:0 32rpx;
  1219. }
  1220. .tips-item-line .line-left{
  1221. font-size: 28rpx;
  1222. color: #999999;
  1223. }
  1224. .tips-item-line .line-right{
  1225. font-size: 28rpx;
  1226. color: #333333;
  1227. font-weight: bold;
  1228. width:500rpx;
  1229. overflow: hidden;
  1230. white-space: nowrap;
  1231. text-overflow: ellipsis;
  1232. text-align: right;
  1233. }
  1234. .line-right text{
  1235. color: #5FB306;
  1236. }
  1237. .tips-item-content{
  1238. background: #FF4447;
  1239. border-radius: 0rpx 0rpx 14rpx 14rpx;
  1240. padding:24rpx 24rpx 24rpx 32rpx;
  1241. line-height: 40rpx;
  1242. font-size: 28rpx;
  1243. color: rgba(255,255,255,0.9);
  1244. }
  1245. .order-devide{
  1246. height:40rpx;
  1247. margin-bottom:20rpx;
  1248. display: flex;
  1249. align-items: center;
  1250. justify-content: space-between;
  1251. padding:0 4rpx;
  1252. }
  1253. .order-devide .line{
  1254. width: 290rpx;
  1255. height: 1rpx;
  1256. background: #979797;
  1257. }
  1258. .order-devide .devide-text{
  1259. font-size: 28rpx;
  1260. color: #999999;
  1261. }
  1262. /* 退款弹框 */
  1263. .refund-order-overlay {
  1264. width: 750rpx;
  1265. height: 100vh;
  1266. background: rgba(0, 0, 0, 0.5);
  1267. display: flex;
  1268. align-items: center;
  1269. justify-content: center;
  1270. position: fixed;
  1271. top: 0;
  1272. bottom: 0;
  1273. z-index:999;
  1274. }
  1275. .refund-order-dialog {
  1276. width: 606rpx;
  1277. height: 644rpx;
  1278. border-radius: 14rpx;
  1279. background: #ffffff;
  1280. border-radius: 20rpx;
  1281. position: relative;
  1282. padding: 300rpx 30rpx 40rpx;
  1283. background: url('https://jzmall.lifejingzhi.com/file/jzmall-dy/dia-bg-refund.png') no-repeat;
  1284. background-color: #FFFFFF;
  1285. background-size: 606rpx 210rpx;
  1286. }
  1287. .refund-dia-title {
  1288. height: 56rpx;
  1289. font-weight: bold;
  1290. font-size: 40rpx;
  1291. color: rgba(0,0,0,0.85);
  1292. line-height: 56rpx;
  1293. text-align: center;
  1294. margin:60rpx 0 34rpx;
  1295. }
  1296. .refund-dia-tips {
  1297. width: 540rpx;
  1298. color: #333333;
  1299. line-height: 46rpx;
  1300. font-size: 32rpx;
  1301. color: rgba(0,0,0,0.85);
  1302. text-align: center;
  1303. white-space: wrap;
  1304. margin-bottom: 120rpx;
  1305. font-weight: bold;
  1306. }
  1307. .dia-btn-wrapper {
  1308. height:94rpx;
  1309. display: flex;
  1310. justify-content: space-between;
  1311. }
  1312. .dia-cancel-btn{
  1313. width: 248rpx;
  1314. height: 94rpx;
  1315. line-height: 94rpx;
  1316. border-radius: 94rpx;
  1317. border: 2rpx solid #0093FF;
  1318. font-size: 32rpx;
  1319. color: #0093FF;
  1320. /* font-weight: bold; */
  1321. text-align: center;
  1322. }
  1323. .dia-conf-btn{
  1324. width: 258rpx;
  1325. height: 94rpx;
  1326. line-height: 94rpx;
  1327. border-radius: 94rpx;
  1328. font-size: 32rpx;
  1329. color: #fff;
  1330. font-weight: bold;
  1331. background: #0093FF;
  1332. text-align: center;
  1333. }
  1334. </style>