orderDetailPay.vue 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630
  1. <template>
  2. <view>
  3. <!-- <sjs src="../../../utils/formatFuc.sjs" module="utils" /> -->
  4. <view class="container">
  5. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-sad.png" class="icon-sad">
  6. </image>
  7. <view class="top-slogan">
  8. 您离好评率 <text>99%</text> 的家政服务仅剩 1 步
  9. </view>
  10. <view class="pay-time">
  11. {{ formatOverTime(payOverTime) }}
  12. </view>
  13. <view class="over-time">未完成支付将自动取消</view>
  14. <!-- 未支付 -->
  15. <!-- <view class="not-pay-module" v-if="payOverTime > 0">
  16. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-order-wallet.png">
  17. </image>
  18. <view class="pay-time">
  19. {{ formatOverTime(payOverTime) }}
  20. </view>
  21. <view class="over-time">未完成支付将自动取消</view>
  22. <view class="pay-now" @tap.stop.prevent="payOrder" :data-id="orderInfo.id" :data-sn="orderInfo.orderSn"
  23. v-if="orderInfo.handleOption.pay">立即支付</view>
  24. </view> -->
  25. <!-- 商品和订单信息 -->
  26. <view class="product-block">
  27. <view class="product-detail">
  28. <view class="profuct-info">
  29. <image mode="aspectFit" class="product-img" :src="orderInfo.picUrl + '?w=200'"></image>
  30. <view class="info-right">
  31. <view class="info-main">
  32. <view class="product-name">{{ orderInfo.goodsName }}</view>
  33. <!-- <view class="price">
  34. ¥
  35. <text style="font-size: 24rpx">{{ orderInfo.actualPrice }}</text>
  36. </view> -->
  37. </view>
  38. <view class="sku-name" v-if="orderInfo.increaseSumPrice">
  39. <view>加购: {{ orderInfo.unitDescribe }}*{{ orderInfo.unitIncreaseNumber }}</view>
  40. <view>¥{{ orderInfo.increaseSumPrice }}</view>
  41. </view>
  42. <view class="sku-name">规格:{{ orderInfo.skuName }}</view>
  43. <view class="other-info">服务{{ orderInfo.serviceTimes }}次</view>
  44. <view class="price other-info" style="margin-top:8rpx;font-weight: bold;">
  45. ¥{{ orderInfo.actualPrice }}
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 过期退,随时退 -->
  51. <view class="refund-tips-bar">
  52. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-checkred.png">
  53. </image>
  54. <view>过期退</view>
  55. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-checkred.png">
  56. </image>
  57. <view>随时退</view>
  58. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-checkred.png">
  59. </image>
  60. <view>0费用</view>
  61. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-checkred.png">
  62. </image>
  63. <view>全国百城连锁</view>
  64. </view>
  65. <view class="coupon-block" v-if="orderInfo.discountPrice>0">
  66. <view>损失优惠</view>
  67. <view><text>{{orderInfo.discountPrice}}</text>元</view>
  68. </view>
  69. </view>
  70. <!-- v-if="orderInfo.handleOption.pay" -->
  71. <view @tap.stop.prevent="payOrder" :data-id="orderInfo.id" :data-sn="orderInfo.orderSn"
  72. v-if="orderInfo.handleOption.pay" class="pay-btn-new">继续支付</view>
  73. <view @tap="goIM" class="im-btn">咨询客服</view>
  74. <!-- 客户服务 -->
  75. <!-- <view class="customer-service">
  76. <view class="title">客户服务</view>
  77. <view class="contact-store" v-if="payOverTime > 0">
  78. <view class="topic">联系门店</view>
  79. <view class="remark">预约、服务信息咨询</view>
  80. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-order-phone.png"
  81. @tap="makeStorePhone" data-phone="4009218987"></image>
  82. </view>
  83. <view class="contact-company" @tap="goIM">
  84. <view class="topic">总部客服</view>
  85. <view class="remark">订单咨询、投诉建议</view>
  86. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-order-kf.png">
  87. </image>
  88. </view>
  89. </view> -->
  90. <!-- 底部按钮 -->
  91. <!-- <view class="fixed-bottom">
  92. <view class="order-operate-wrapper">
  93. <view @tap.stop.prevent="cancelOrder" v-if="orderInfo.handleOption.cancel" :data-id="orderInfo.id"
  94. class="del">取消订单</view>
  95. <view @tap.stop.prevent="aftersaleOrder" :data-id="orderInfo.id"
  96. v-if="orderInfo.handleOption.refund" class="del">售后/退款</view>
  97. <view v-if="orderInfo.handleOption.book" class="appoint" @tap.stop.prevent="goAppoint">预约服务</view>
  98. <view @tap.stop.prevent="payOrder" :data-id="orderInfo.id" :data-sn="orderInfo.orderSn"
  99. v-if="orderInfo.handleOption.pay">立即支付</view>
  100. <view class="btn-rebuy" @tap="buyAgain" :data-id="orderInfo.goodsId"
  101. v-if="orderInfo.orderStatusVal != '未支付'">再次购买</view>
  102. </view>
  103. </view> -->
  104. </view>
  105. <!-- 投诉建议弹框 -->
  106. <view class="goods-info-overlay" v-if="complainTips">
  107. <view class="goods-info-popup">
  108. <view class="popup-title">投诉建议</view>
  109. <view class="tips-title">电话:{{ shopPhone }}</view>
  110. <view style="padding: 0 20rpx 100rpx 32rpx; margin-top: -20rpx">对服务不满意或其他建议,请拨打投诉电话。</view>
  111. <view class="popup-bottom">
  112. <view class="btn-cancel" @tap="cancelComplain">取消</view>
  113. <view class="btn-conf" @tap="confComplain">拨打电话</view>
  114. </view>
  115. </view>
  116. </view>
  117. <!-- 客户追加备注弹框 -->
  118. <view class="appoint-overlay-wrapper" v-if="msgShow" @tap="onMsgClose"></view>
  119. <view class="remark-popup" v-if="msgShow">
  120. <view class="title" style="display: flex; justify-content: space-between">
  121. <view>订单备注</view>
  122. <view style="font-size: 18rpx; color: #09afff; margin-top: 18px">{{ message.length }}/50</view>
  123. </view>
  124. <textarea @input="bindMsgInput" placeholder="请输入订单备注信息,此信息会提醒到服务人员" :value="message"
  125. placeholder-style="font-size:26rpx;color:#666;" maxlength="50" class="remark-textarea"></textarea>
  126. <view class="btn" @tap="confirmMsg">确定</view>
  127. </view>
  128. <!-- 售后投诉满意回收 -->
  129. <view class="goods-info-overlay" v-if="ticketTips">
  130. <view class="goods-info-popup">
  131. <view class="popup-title">售后评价</view>
  132. <view class="ticket-tips-content">你的售后问题是否已被解决?您对售后服务是否满意?请打分。</view>
  133. <view style="display: flex; justify-content: center">
  134. <image class="ticket-img" data-id="1" @tap="selectTicketValue"
  135. :src="'/static/images/new/' + (satisfaction == 0 ? 'star' : satisfaction == 2 || satisfaction == 1 ? 'star_red' : 'star_yellow') + '.png'">
  136. </image>
  137. <image class="ticket-img" data-id="2" @tap="selectTicketValue"
  138. :src="'/static/images/new/' + (satisfaction <= 1 ? 'star' : satisfaction == 2 ? 'star_red' : 'star_yellow') + '.png'">
  139. </image>
  140. <image class="ticket-img" data-id="3" @tap="selectTicketValue"
  141. :src="'/static/images/new/' + (satisfaction >= 3 ? 'star_yellow' : 'star') + '.png'"></image>
  142. <image class="ticket-img" data-id="4" @tap="selectTicketValue"
  143. :src="'/static/images/new/' + (satisfaction >= 4 ? 'star_yellow' : 'star') + '.png'"></image>
  144. <image class="ticket-img" data-id="5" @tap="selectTicketValue"
  145. :src="'/static/images/new/' + (satisfaction == 5 ? 'star_yellow' : 'star') + '.png'"></image>
  146. </view>
  147. <view class="ticket-tips">{{ satisfactionTips.tips }}</view>
  148. <view class="popup-bottom">
  149. <view class="btn-cancel" @tap="cancelTicketTips">取消</view>
  150. <view class="btn-conf" @tap="confTicketTips">立即提交</view>
  151. </view>
  152. </view>
  153. </view>
  154. <!-- 选择取消原因 -->
  155. <view class="appoint-overlay-wrapper remark-overlay" v-if="cancelShow" @tap="onCancelPopupClose">
  156. <view class="remark-select" @tap.stop.prevent="onCancelClick">
  157. <view class="title">选择取消原因</view>
  158. <view class="remark-list">
  159. <view class="remark-item" :data-id="item.id" @tap.stop.prevent="cancelItemSelect"
  160. v-for="(item, index) in cancelList" :key="index">
  161. <view class="remark-value">{{ item.value }}</view>
  162. <image mode="aspectFit"
  163. src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-select-popup.png" class="radio-img"
  164. v-if="cancelReason == item.id"></image>
  165. <image mode="aspectFit"
  166. src="https://jzmall.lifejingzhi.com/file/jzmall-dy/icon-unselect-popup.png"
  167. class="radio-img" v-else></image>
  168. </view>
  169. </view>
  170. <view class="remark-conf-btn" @tap.stop.prevent="cancelItemConfirm">取消预约</view>
  171. </view>
  172. </view>
  173. </view>
  174. </template>
  175. <script>
  176. var util = require('../../../utils/util.js');
  177. var api = require('../../../config/api.js');
  178. export default {
  179. data() {
  180. return {
  181. excludeAxb: '',
  182. //订单不包含安心包,才可以退款
  183. orderId: 0,
  184. payOverTime: 0,
  185. timer: '',
  186. remainTimes: '',
  187. orderInfo: {
  188. discountPrice: 0,
  189. handleOption: {
  190. book: false,
  191. pay: '',
  192. cancel: '',
  193. refund: ''
  194. },
  195. detailId: '',
  196. id: '',
  197. orderSn: '',
  198. orderStatusVal: '',
  199. goodsName: '',
  200. skuName: '',
  201. servedTimes: '',
  202. picUrl: '',
  203. actualPrice: '',
  204. increaseSumPrice: '',
  205. unitDescribe: '',
  206. unitIncreaseNumber: '',
  207. serviceTimes: '',
  208. createTime: '',
  209. payChannel: '',
  210. orderPrice: '',
  211. discountPrice: '',
  212. goodsId: ''
  213. },
  214. dyDetails: [],
  215. afterSale: null,
  216. orderGoods: [],
  217. expressInfo: {},
  218. flag: false,
  219. handleOption: {},
  220. orderType: 0,
  221. //如果是1表示从引荐人的订单列表过来的,需要隐藏操作按钮
  222. shopPhone: '',
  223. complainTips: false,
  224. ticketTips: false,
  225. //投诉工单 处理结果回收
  226. ticketId: '',
  227. //投诉id
  228. satisfaction: 0,
  229. //投诉处理满意度
  230. satisfactionTips: {
  231. tips: ''
  232. },
  233. satisfactionLow: {
  234. tips: '非常抱歉,我们会立即安排专属客服跟进了解具体问题!',
  235. notice: '您的评价是对我们最大的鼓励和鞭策,感谢您的评价。'
  236. },
  237. satisfactionMid: {
  238. tips: '我们会持续了解问题,为您提供更好的服务',
  239. notice: '感谢您的评价,我们会持续收集顾客的建议,优化服务!'
  240. },
  241. satisfactionHigh: {
  242. tips: '感谢您的认可,我们将为您持续提供优质服务',
  243. notice: '感谢您的认可,我们将持续为您提供更加优质的服务!'
  244. },
  245. star: '/static/images/new/star.png',
  246. starYellow: '/static/images/new/star_yellow.png',
  247. starRed: '/static/images/new/star_red.png',
  248. msgShow: false,
  249. //客户追加备注
  250. message: '',
  251. //备注信息
  252. msgDetailId: '',
  253. //备注工单号
  254. cancelList: [{
  255. id: 19,
  256. value: '【个人原因】临时有事暂时不预约'
  257. },
  258. {
  259. id: 20,
  260. value: '【个人原因】先囤着以后再约'
  261. },
  262. {
  263. id: 22,
  264. value: '【个人原因】计划有变不需要了'
  265. },
  266. {
  267. id: 21,
  268. value: '【商家原因】保洁师无法上门服务'
  269. },
  270. {
  271. id: 23,
  272. value: ' 其他'
  273. }
  274. ],
  275. //取消页面
  276. cancelShow: false,
  277. cancelDetailId: '',
  278. cancelReason: '',
  279. //选中的取消原因项
  280. //是否台数的商品 直接显示上门时间和服务内容
  281. isShowPL: false,
  282. action: {
  283. status: '',
  284. createTime: '',
  285. content: ''
  286. }
  287. };
  288. },
  289. onLoad: function(options) {
  290. // 页面初始化 options为页面跳转所带来的参数
  291. this.setData({
  292. orderId: options.id,
  293. orderType: options.orderType
  294. });
  295. // this.getOrderDetail();
  296. },
  297. onShow: function() {
  298. // 页面显示
  299. this.getOrderDetail();
  300. util.addLog(1, 4, 1, {
  301. orderId: this.orderId
  302. });
  303. },
  304. onPullDownRefresh() {
  305. uni.showNavigationBarLoading(); //在标题栏中显示加载
  306. this.getOrderDetail();
  307. uni.hideNavigationBarLoading(); //完成停止加载
  308. uni.stopPullDownRefresh(); //停止下拉刷新
  309. },
  310. onReady: function() {
  311. // 页面渲染完成
  312. },
  313. onHide: function() {
  314. console.log('onHide');
  315. util.addLog(2, 4, 2, {
  316. orderId: this.orderId
  317. });
  318. // clearInterval(this.data.timer);
  319. },
  320. onUnload: function() {
  321. console.log('onunload');
  322. clearInterval(this.timer);
  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)
  331. .toFixed(0));
  332. }
  333. var result = "00:" + minute + ":" + second;
  334. return result;
  335. },
  336. servciceName(index) {
  337. var modelText = '';
  338. switch (index) {
  339. case 0:
  340. modelText = '一';
  341. break;
  342. case 1:
  343. modelText = '二';
  344. break;
  345. case 2:
  346. modelText = '三';
  347. break;
  348. case 3:
  349. modelText = '四';
  350. break;
  351. case 4:
  352. modelText = '五';
  353. break;
  354. case 5:
  355. modelText = '六';
  356. break;
  357. case 6:
  358. modelText = '七';
  359. break;
  360. case 7:
  361. modelText = '八';
  362. break;
  363. default:
  364. modelText = '';
  365. }
  366. return modelText;
  367. },
  368. cancelItemConfirm() {
  369. let that = this;
  370. if (that.cancelReason == '') {
  371. util.showErrorToast('请选择取消原因');
  372. return;
  373. }
  374. uni.showLoading({
  375. title: '提交中'
  376. });
  377. util.request(
  378. api.OrderBookCancel, {
  379. detailId: that.cancelDetailId,
  380. cancelReason: that.cancelReason
  381. },
  382. 'POST'
  383. ).then((res) => {
  384. uni.hideLoading();
  385. if (res.errno === 0) {
  386. uni.showToast({
  387. title: '提交成功'
  388. });
  389. let items = that.dyDetails;
  390. items.forEach((item) => {
  391. if (item.id == that.cancelDetailId) {
  392. item.isCancel = false;
  393. item.statusVal = '已取消';
  394. item.status = 6;
  395. }
  396. });
  397. this.setData({
  398. cancelShow: false,
  399. dyDetails: items,
  400. 'orderInfo.handleOption.book': true,
  401. 'orderInfo.detailId': res.data
  402. });
  403. }else{
  404. uni.showToast({
  405. title: res.errmsg,
  406. icon: 'none',
  407. duration: 2000
  408. });
  409. }
  410. });
  411. },
  412. goCancelBook(e) {
  413. //取消工单预约
  414. this.setData({
  415. cancelDetailId: e.currentTarget.dataset.id,
  416. cancelShow: true
  417. });
  418. },
  419. cancelItemSelect(e) {
  420. this.setData({
  421. cancelReason: e.currentTarget.dataset.id
  422. });
  423. },
  424. onCancelPopupClose() {
  425. this.setData({
  426. cancelShow: false
  427. });
  428. },
  429. onCancelClick() {
  430. //无实际意义 防止冒泡
  431. },
  432. cancelTicketTips() {
  433. this.setData({
  434. ticketTips: false
  435. });
  436. },
  437. showMsg(e) {
  438. let detailId = e.currentTarget.dataset.id;
  439. let bookMsg = null;
  440. this.dyDetails.forEach((item) => {
  441. if (item.id == detailId) {
  442. bookMsg = item.customerRemark;
  443. }
  444. });
  445. this.setData({
  446. msgShow: true,
  447. msgDetailId: e.currentTarget.dataset.id,
  448. message: bookMsg ? bookMsg : this.message
  449. });
  450. },
  451. onMsgClose() {
  452. this.setData({
  453. msgShow: false
  454. });
  455. },
  456. confirmMsg() {
  457. if (this.message == '') {
  458. util.showErrorToast('请输入备注');
  459. return;
  460. }
  461. let that = this;
  462. uni.showLoading({
  463. title: '提交中'
  464. });
  465. util.request(
  466. api.ServiceOrderBookMsg, {
  467. detailId: that.msgDetailId,
  468. message: that.message
  469. },
  470. 'POST'
  471. ).then(function(res) {
  472. uni.hideLoading();
  473. if (res.errno === 0) {
  474. uni.showToast({
  475. title: '提交成功'
  476. });
  477. //赋值给所有工单
  478. let dyDetails = that.dyDetails;
  479. dyDetails.forEach((item) => {
  480. if (item.id == that.msgDetailId) {
  481. item.customerRemark = that.message;
  482. }
  483. });
  484. that.setData({
  485. msgShow: false,
  486. dyDetails: dyDetails
  487. });
  488. }
  489. });
  490. },
  491. bindMsgInput(e) {
  492. this.setData({
  493. message: e.detail.value
  494. });
  495. },
  496. showTicketTips(e) {
  497. let ticketId = parseInt(e.currentTarget.dataset.id);
  498. this.setData({
  499. ticketTips: true,
  500. ticketId: ticketId
  501. });
  502. },
  503. selectTicketValue(e) {
  504. //点击星号
  505. let id = parseInt(e.currentTarget.dataset.id);
  506. this.setData({
  507. satisfaction: id
  508. });
  509. let tips = this.satisfactionLow;
  510. if (id >= 3 && id < 5) tips = this.satisfactionMid;
  511. else if (id == 5) {
  512. tips = this.satisfactionHigh;
  513. }
  514. this.setData({
  515. satisfactionTips: tips
  516. });
  517. },
  518. confTicketTips() {
  519. if (this.satisfaction == 0) {
  520. util.showErrorToast('请选择满意度');
  521. return;
  522. }
  523. let that = this;
  524. uni.showLoading({
  525. title: '提交中'
  526. });
  527. util.request(
  528. api.TicketSatisfaction, {
  529. id: that.ticketId,
  530. satisfaction: that.satisfaction
  531. },
  532. 'POST'
  533. ).then(function(res) {
  534. if (res.errno === 0) {
  535. uni.hideLoading();
  536. //隐藏弹框并设置工单为已评论过
  537. let dyDetails = that.dyDetails;
  538. dyDetails.forEach((detail) => {
  539. if (detail.ticketVo && detail.ticketVo.ticketId == that.ticketId) {
  540. detail.ticketVo.isSatisfaction = false;
  541. console.info('进入');
  542. console.info(detail);
  543. }
  544. });
  545. that.setData({
  546. ticketTips: false,
  547. dyDetails: dyDetails
  548. });
  549. uni.showToast({
  550. title: that.satisfactionTips.notice,
  551. icon: 'none',
  552. duration: 2000
  553. });
  554. }
  555. });
  556. },
  557. expandDetail: function() {
  558. let that = this;
  559. this.setData({
  560. flag: !that.flag
  561. });
  562. },
  563. getOrderDetail: function() {
  564. uni.showLoading({
  565. title: '加载中'
  566. });
  567. setTimeout(function() {
  568. uni.hideLoading();
  569. }, 2000);
  570. let that = this;
  571. util.request(api.OrderDetail, {
  572. orderId: that.orderId
  573. }).then(function(res) {
  574. if (res.errno === 0) {
  575. uni.hideLoading();
  576. //获取预约开始时间
  577. res.data.dyDetails.forEach((item) => {
  578. if (item.bookTime) {
  579. item.bookStartTime = item.bookTime.substring(0, 16);
  580. }
  581. });
  582. that.setData({
  583. orderInfo: res.data,
  584. dyDetails: res.data.dyDetails,
  585. afterSale: res.data.afterSale,
  586. payOverTime: res.data.payOverTime,
  587. remainTimes: res.data.serviceTimes - res.data.servedTimes,
  588. message: res.data.message
  589. // orderGoods: res.data.orderGoods,
  590. // handleOption: res.data.orderInfo.handleOption,
  591. // expressInfo: res.data.expressInfo
  592. });
  593. //是否为按台服务的商品--按台服务商品 展示服务内容 通过关键字:空调、油烟机、洗衣机、冰箱
  594. if (
  595. res.data.goodsName.indexOf('空调') >= 0 ||
  596. res.data.goodsName.indexOf('油烟机') >= 0 ||
  597. res.data.goodsName.indexOf('洗衣机') >= 0 ||
  598. res.data.goodsName.indexOf('冰箱') >= 0
  599. ) {
  600. that.setData({
  601. isShowPL: true
  602. });
  603. }
  604. if (that.payOverTime > 0) {
  605. let timer = setInterval(() => {
  606. let newTime = that.payOverTime - 1;
  607. if (newTime >= 0) {
  608. that.setData({
  609. payOverTime: newTime
  610. });
  611. } else {
  612. clearInterval(that.timer);
  613. }
  614. }, 1000);
  615. that.setData({
  616. timer: timer
  617. });
  618. }
  619. }
  620. // let excludeAxb = res.data.orderGoods.every(item => {
  621. // return item.goodsSn != '1036016';
  622. // });
  623. // that.setData({
  624. // excludeAxb: excludeAxb
  625. // });
  626. });
  627. },
  628. orderPrepay(){
  629. let that = this;
  630. util.request(
  631. api.OrderPayCheck, {
  632. orderId: that.orderInfo.id
  633. },
  634. 'POST'
  635. ).then(function(res) {
  636. if (res.errno === 0) {
  637. const outOrderNo = res.data;
  638. console.log(res);
  639. uni.continueToPay({
  640. // orderId: this.data.orderId, // 内部订单号
  641. outOrderNo: outOrderNo,
  642. // 外部订单号 2个订单号必填一个
  643. success: (res) => {
  644. console.log(res);
  645. const {
  646. orderId,
  647. outOrderNo
  648. } = res;
  649. console.log('success res', res);
  650. console.log('orderId', orderId, 'outOrderNo', outOrderNo);
  651. uni.redirectTo({
  652. url: '/pages/ucenter/order/order'
  653. });
  654. },
  655. fail: (res) => {
  656. console.log(res);
  657. const {
  658. orderId,
  659. outOrderNo,
  660. errNo,
  661. errMsg,
  662. errLogId
  663. } = res;
  664. if (errLogId) {
  665. console.log('查询订单信息失败', errNo, errMsg, errLogId);
  666. }
  667. if (orderId || outOrderNo) {
  668. console.log('支付失败', errNo, errMsg, orderId, outOrderNo);
  669. }
  670. util.showErrorToast('支付失败');
  671. }
  672. });
  673. }
  674. });
  675. },
  676. aliPrepay(){
  677. uni.showLoading({
  678. title: '加载中'
  679. });
  680. let that=this;
  681. util.request(api.aliPrepay, {
  682. orderId:this.orderInfo.id
  683. }).then(function (res) {
  684. if (res.errno === 0) {
  685. //是否跳转新支付结果页面
  686. let goNewPage=res.data.goNewPage;
  687. let tradeNo=res.data.payment.tradeNo;
  688. let outOrderNo=res.data.payment.outTradeNo;
  689. my.tradePay({
  690. tradeNO:tradeNo,
  691. success: (payres) => {
  692. uni.hideLoading();
  693. console.log('ali调起支付成功');
  694. console.log(payres);
  695. let resultCode=payres.resultCode;
  696. if(resultCode=='9000'){
  697. uni.redirectTo({
  698. url: '/pages/ucenter/order/order'
  699. });
  700. }else{
  701. uni.showModal({
  702. title: '提示',
  703. content: "未支付成功,"+payres.memo,
  704. showCancel: false,
  705. });
  706. }
  707. },
  708. fail: (failres) => {
  709. console.log(failres);
  710. uni.hideLoading();
  711. }
  712. });
  713. } else {
  714. uni.hideLoading();
  715. uni.showModal({
  716. title: '提醒',
  717. showCancel: false,
  718. content: res.errmsg
  719. });
  720. }
  721. })
  722. .catch((res) => {
  723. uni.hideLoading();
  724. util.showErrorToast(res.errmsg);
  725. });
  726. },
  727. // “去付款”按钮点击效果
  728. payOrder: function() {
  729. util.addLog(1, 4, 16, {
  730. orderId: this.orderId
  731. });
  732. // #ifdef MP-TOUTIAO
  733. this.orderPrepay();
  734. // #endif
  735. // #ifdef MP-ALIPAY
  736. this.aliPrepay();
  737. // #endif
  738. },
  739. // “取消订单”点击效果
  740. cancelOrder: function() {
  741. let that = this;
  742. let orderInfo = that.orderInfo;
  743. uni.showModal({
  744. title: '',
  745. content: '确定要取消此订单?',
  746. success: function(res) {
  747. if (res.confirm) {
  748. util.request(
  749. api.OrderCancel, {
  750. orderId: orderInfo.id
  751. },
  752. 'POST'
  753. ).then(function(res) {
  754. if (res.errno === 0) {
  755. uni.showToast({
  756. title: '取消订单成功'
  757. });
  758. util.redirect('/pages/ucenter/order/order');
  759. } else {
  760. util.showErrorToast(res.errmsg);
  761. }
  762. });
  763. }
  764. }
  765. });
  766. },
  767. // “取消订单并退款”点击效果
  768. refundOrder: function() {
  769. let that = this;
  770. let orderInfo = that.orderInfo;
  771. uni.showModal({
  772. title: '',
  773. content: '确定要取消此订单?',
  774. success: function(res) {
  775. if (res.confirm) {
  776. util.request(
  777. api.OrderRefund, {
  778. orderId: orderInfo.id
  779. },
  780. 'POST'
  781. ).then(function(res) {
  782. if (res.errno === 0) {
  783. uni.showToast({
  784. title: '取消订单成功'
  785. });
  786. util.redirect('/pages/ucenter/order/order');
  787. } else {
  788. util.showErrorToast(res.errmsg);
  789. }
  790. });
  791. }
  792. }
  793. });
  794. },
  795. // “删除”点击效果
  796. deleteOrder: function() {
  797. let that = this;
  798. let orderInfo = that.orderInfo;
  799. uni.showModal({
  800. title: '',
  801. content: '确定要删除此订单?',
  802. success: function(res) {
  803. if (res.confirm) {
  804. util.request(
  805. api.OrderDelete, {
  806. orderId: orderInfo.id
  807. },
  808. 'POST'
  809. ).then(function(res) {
  810. if (res.errno === 0) {
  811. uni.showToast({
  812. title: '删除订单成功'
  813. });
  814. util.redirect('/pages/ucenter/order/order');
  815. } else {
  816. util.showErrorToast(res.errmsg);
  817. }
  818. });
  819. }
  820. }
  821. });
  822. },
  823. // “待上门”点击效果
  824. confirmOrder: function() {
  825. let that = this;
  826. let orderInfo = that.orderInfo;
  827. uni.showModal({
  828. title: '',
  829. content: '确认上门服务?',
  830. success: function(res) {
  831. if (res.confirm) {
  832. util.request(
  833. api.OrderConfirm, {
  834. orderId: orderInfo.id
  835. },
  836. 'POST'
  837. ).then(function(res) {
  838. if (res.errno === 0) {
  839. uni.showToast({
  840. title: '确认上门成功!'
  841. });
  842. util.redirect('/pages/ucenter/order/order');
  843. } else {
  844. util.showErrorToast(res.errmsg);
  845. }
  846. });
  847. }
  848. }
  849. });
  850. },
  851. // “申请售后”点击效果
  852. aftersaleOrder: function() {
  853. uni.navigateTo({
  854. url: '/pages/ucenter/applyRefund/applyRefund?id=' + this.orderId
  855. });
  856. // 0没申请 1申请没审核 2 客服审核通过 3 退款成功 4审核拒绝 5 用户取消 6退款中
  857. // util.redirect('/pages/ucenter/aftersale/aftersale?id=' + this.data.orderId);
  858. // if (this.data.orderInfo.afterSaleStatus === 0||this.data.orderInfo.afterSaleStatus === 4) {
  859. // wx.navigateTo({
  860. // url:'/pages/ucenter/applyRefund/applyRefund?id=' + this.data.orderId ,
  861. // });
  862. // } else {
  863. // util.redirect('/pages/ucenter/aftersaleDetail/aftersaleDetail?id=' + this.data.orderId);
  864. // }
  865. },
  866. viewService() {
  867. uni.navigateTo({
  868. url: '../serviceDetail/serviceDetail?orderId=' + this.orderId
  869. });
  870. },
  871. buyAgain(e) {
  872. let id = e.currentTarget.dataset.id;
  873. uni.navigateTo({
  874. url: '/pages/goods/goods?id=' + id
  875. });
  876. },
  877. copyOrder() {
  878. uni.setClipboardData({
  879. data: this.orderInfo.orderSn,
  880. success: function(res) {
  881. uni.getClipboardData({
  882. success: function(res) {
  883. uni.showToast({
  884. title: '订单编号复制成功',
  885. icon: 'success',
  886. duration: 2000
  887. });
  888. }
  889. });
  890. }
  891. });
  892. },
  893. cancelRefund() {
  894. let that = this;
  895. let afterSale = that.afterSale;
  896. uni.showModal({
  897. title: '',
  898. content: '确认取消退款?',
  899. success: function(res) {
  900. if (res.confirm) {
  901. util.request(
  902. api.AftersaleCancel, {
  903. orderId: afterSale.orderId,
  904. id: afterSale.id
  905. },
  906. 'POST'
  907. ).then(function(res) {
  908. if (res.errno === 0) {
  909. uni.showToast({
  910. title: '操作成功!'
  911. });
  912. that.getOrderDetail();
  913. } else {
  914. util.showErrorToast(res.errmsg);
  915. }
  916. });
  917. }
  918. }
  919. });
  920. },
  921. goReVisit(e) {
  922. let id = e.currentTarget.dataset.id;
  923. uni.navigateTo({
  924. url: '/pages/extra/newRevisit/newRevisit?id=' + id,
  925. success: (res) => {},
  926. fail: (res) => {}
  927. });
  928. },
  929. goComplain(e) {
  930. let phone = e.currentTarget.dataset.phone;
  931. this.setData({
  932. shopPhone: phone,
  933. complainTips: true
  934. });
  935. },
  936. cancelComplain() {
  937. this.setData({
  938. complainTips: false
  939. });
  940. },
  941. confComplain() {
  942. uni.makePhoneCall({
  943. phoneNumber: this.shopPhone
  944. });
  945. },
  946. goEditAppoint(e) {
  947. let id = e.currentTarget.dataset.id;
  948. let status = e.currentTarget.dataset.status;
  949. // if (status == 1) {
  950. // let time = e.currentTarget.dataset.time;
  951. // let str = time.substr(0, 16).replace(/-/g, '/');
  952. // let isNear = new Date(str).getTime() - new Date().getTime() - 2 * 60 * 60 * 1000;
  953. // console.log(isNear);
  954. // if (isNear < 0) {
  955. // wx.showToast({
  956. // title: '服务时间小于2小时,不能修改预约',
  957. // icon: 'none',
  958. // duration: 2000
  959. // });
  960. // return false;
  961. // }
  962. // }
  963. uni.navigateTo({
  964. url: '/pages/ucenter/appointOrder/appointOrder?serviceId=' + id + '&orderId=' + this.orderInfo
  965. .id,
  966. success: (res) => {},
  967. fail: (res) => {}
  968. });
  969. },
  970. goAppoint() {
  971. uni.navigateTo({
  972. url: '/pages/ucenter/appointOrder/appointOrder?orderId=' + this.orderInfo.id + '&serviceId=' +
  973. this.orderInfo.detailId
  974. });
  975. },
  976. makeStorePhone(e) {
  977. uni.makePhoneCall({
  978. phoneNumber: e.currentTarget.dataset.phone
  979. });
  980. },
  981. goIM() {
  982. console.info('goIm');
  983. uni.navigateTo({
  984. url: '/pages/chat/im/im'
  985. });
  986. }
  987. }
  988. };
  989. </script>
  990. <style>
  991. .order-info {
  992. padding-top: 25rpx;
  993. background: #fff;
  994. height: auto;
  995. overflow: hidden;
  996. }
  997. .item {
  998. padding-left: 30rpx;
  999. /* height: 42.5rpx; */
  1000. line-height: 52rpx;
  1001. font-size: 30rpx;
  1002. color: #333;
  1003. }
  1004. .item-c {
  1005. margin-left: 31.25rpx;
  1006. border-top: 1px solid #f4f4f4;
  1007. height: 103rpx;
  1008. line-height: 103rpx;
  1009. }
  1010. .item-c .l {
  1011. float: left;
  1012. }
  1013. .item-c .r {
  1014. height: 103rpx;
  1015. float: right;
  1016. display: flex;
  1017. align-items: center;
  1018. padding-right: 16rpx;
  1019. }
  1020. .item-c .r .btn {
  1021. float: right;
  1022. }
  1023. .item-c .cost {
  1024. color: #b4282d;
  1025. }
  1026. .item-c .btn {
  1027. line-height: 66rpx;
  1028. border-radius: 5rpx;
  1029. text-align: center;
  1030. margin: 0 15rpx;
  1031. padding: 0 20rpx;
  1032. height: 66rpx;
  1033. }
  1034. .item-c .btn.active {
  1035. background: #b4282d;
  1036. color: #fff;
  1037. }
  1038. .order-goods {
  1039. margin-top: 20rpx;
  1040. background: #fff;
  1041. }
  1042. .order-goods .h {
  1043. height: 93.75rpx;
  1044. line-height: 93.75rpx;
  1045. margin-left: 31.25rpx;
  1046. border-bottom: 1px solid #f4f4f4;
  1047. padding-right: 31.25rpx;
  1048. }
  1049. .order-goods .h .label {
  1050. float: left;
  1051. font-size: 30rpx;
  1052. color: #333;
  1053. }
  1054. .order-goods .h .status {
  1055. float: right;
  1056. font-size: 30rpx;
  1057. color: #b4282d;
  1058. }
  1059. .order-goods .item {
  1060. display: flex;
  1061. align-items: center;
  1062. height: 190rpx;
  1063. padding-right: 30rpx;
  1064. border-bottom: 1px solid #f4f4f4;
  1065. margin: 20rpx 0;
  1066. }
  1067. .order-goods .item:last-child {
  1068. border-bottom: none;
  1069. }
  1070. .order-goods .item .img {
  1071. height: 190rpx;
  1072. width: 190rpx;
  1073. background: #f4f4f4;
  1074. }
  1075. .order-goods .item .img image {
  1076. height: 190rpx;
  1077. width: 190rpx;
  1078. border-radius: 10rpx;
  1079. }
  1080. .order-goods .item .info {
  1081. flex: 1;
  1082. height: 190rpx;
  1083. margin-left: 20rpx;
  1084. }
  1085. .order-goods .item .t {
  1086. margin-top: 8rpx;
  1087. line-height: 34rpx;
  1088. margin-bottom: 10rpx;
  1089. display: flex;
  1090. justify-content: space-between;
  1091. }
  1092. .order-goods .item .t .name {
  1093. color: #333;
  1094. font-size: 30rpx;
  1095. }
  1096. .order-goods .item .t .number {
  1097. height: 34rpx;
  1098. text-align: right;
  1099. line-height: 34rpx;
  1100. color: #666;
  1101. font-size: 28rpx;
  1102. }
  1103. .order-goods .item .attr {
  1104. height: 29rpx;
  1105. line-height: 29rpx;
  1106. margin-top: 10rpx;
  1107. color: #666;
  1108. margin-top: 10rpx;
  1109. font-size: 25rpx;
  1110. }
  1111. .order-goods .item .price {
  1112. display: block;
  1113. float: left;
  1114. height: 30rpx;
  1115. line-height: 30rpx;
  1116. color: #333;
  1117. font-size: 28rpx;
  1118. margin-top: 16rpx;
  1119. }
  1120. .order-goods .item .btn {
  1121. height: 50rpx;
  1122. line-height: 50rpx;
  1123. border-radius: 5rpx;
  1124. text-align: center;
  1125. display: block;
  1126. float: right;
  1127. margin: 0 15rpx;
  1128. padding: 0 20rpx;
  1129. }
  1130. .order-goods .item .btn.active {
  1131. background: #b4282d;
  1132. color: #fff;
  1133. }
  1134. .order-bottom1 {
  1135. margin-top: 20rpx;
  1136. padding-left: 31.25rpx;
  1137. height: auto;
  1138. overflow: hidden;
  1139. background: #fff;
  1140. }
  1141. .order-bottom .address {
  1142. /* height: 128rpx; */
  1143. padding-top: 25rpx;
  1144. border-top: 1px solid #f4f4f4;
  1145. border-bottom: 1px solid #f4f4f4;
  1146. }
  1147. .order-bottom .address .t {
  1148. height: 35rpx;
  1149. line-height: 35rpx;
  1150. margin-bottom: 20rpx;
  1151. }
  1152. .order-bottom .address .name {
  1153. display: inline-block;
  1154. height: 35rpx;
  1155. /* width: 140rpx; */
  1156. line-height: 35rpx;
  1157. font-size: 30rpx;
  1158. margin-right: 40rpx;
  1159. }
  1160. .order-bottom .address .mobile {
  1161. display: inline-block;
  1162. height: 35rpx;
  1163. line-height: 35rpx;
  1164. font-size: 30rpx;
  1165. }
  1166. .order-bottom .address .b {
  1167. /* height: 35rpx; */
  1168. line-height: 40rpx;
  1169. font-size: 28rpx;
  1170. padding-right: 30rpx;
  1171. text-align: justify;
  1172. }
  1173. .order-bottom .total {
  1174. height: 130rpx;
  1175. padding-top: 20rpx;
  1176. border-bottom: 1px solid #f4f4f4;
  1177. }
  1178. .order-bottom .total .t {
  1179. height: 44rpx;
  1180. line-height: 44rpx;
  1181. margin-bottom: 10rpx;
  1182. display: flex;
  1183. }
  1184. .order-bottom .total .label {
  1185. width: 150rpx;
  1186. display: inline-block;
  1187. height: 35rpx;
  1188. line-height: 35rpx;
  1189. font-size: 30rpx;
  1190. }
  1191. .order-bottom .total .txt {
  1192. flex: 1;
  1193. display: inline-block;
  1194. height: 35rpx;
  1195. line-height: 35rpx;
  1196. font-size: 30rpx;
  1197. }
  1198. .order-bottom .pay-fee {
  1199. height: 81rpx;
  1200. line-height: 81rpx;
  1201. }
  1202. .order-bottom .pay-fee .label {
  1203. display: inline-block;
  1204. width: 140rpx;
  1205. color: #b4282d;
  1206. }
  1207. .order-bottom .pay-fee .txt {
  1208. display: inline-block;
  1209. width: 140rpx;
  1210. color: #b4282d;
  1211. }
  1212. .order-express {
  1213. margin-top: 20rpx;
  1214. width: 100%;
  1215. height: 100rpx;
  1216. background: #fff;
  1217. }
  1218. .order-express .title {
  1219. float: left;
  1220. margin-bottom: 20rpx;
  1221. padding: 10rpx;
  1222. }
  1223. .order-express .ti {
  1224. float: right;
  1225. width: 52rpx;
  1226. height: 52rpx;
  1227. margin-right: 16rpx;
  1228. margin-top: 28rpx;
  1229. }
  1230. .order-express .t {
  1231. font-size: 29rpx;
  1232. margin-left: 10.25rpx;
  1233. color: #a78845;
  1234. }
  1235. .order-express .b {
  1236. font-size: 29rpx;
  1237. margin-left: 10.25rpx;
  1238. color: #a78845;
  1239. }
  1240. .order-express .traces {
  1241. padding: 17.5rpx;
  1242. background: #fff;
  1243. border-bottom: 1rpx solid #f1e6cdcc;
  1244. }
  1245. .order-express .trace {
  1246. padding-bottom: 17.5rpx;
  1247. padding-top: 17.5rpx;
  1248. background: #fff;
  1249. }
  1250. .order-express .acceptTime {
  1251. margin-top: 20rpx;
  1252. margin-right: 40rpx;
  1253. text-align: right;
  1254. font-size: 26rpx;
  1255. }
  1256. .order-express .acceptStation {
  1257. font-size: 26rpx;
  1258. }
  1259. /* 订单详情顶部 */
  1260. .order-main-top {
  1261. height: 200rpx;
  1262. background: url('https://mall.zhaijieshi.cc/file/jzmall/weixin/order-detail-bg.png') no-repeat center;
  1263. background-size: 100% 100%;
  1264. display: flex;
  1265. align-items: center;
  1266. justify-content: space-between;
  1267. margin: 0 0 20rpx;
  1268. padding: 0 24rpx;
  1269. }
  1270. .order-main-top view,
  1271. .order-main-top text {
  1272. color: #fff;
  1273. font-size: 28rpx;
  1274. }
  1275. .order-main-top .order-detail-status {
  1276. font-size: 40rpx;
  1277. font-weight: bold;
  1278. margin-bottom: 20rpx;
  1279. }
  1280. .order-main-right {
  1281. text-align: right;
  1282. }
  1283. .order-main-right .view-service {
  1284. width: 148rpx;
  1285. height: 44rpx;
  1286. line-height: 44rpx;
  1287. border-radius: 44rpx;
  1288. border: 1rpx solid #fff;
  1289. text-align: center;
  1290. margin: 10rpx 0 0;
  1291. }
  1292. .order-main-right .current-times {
  1293. font-size: 40rpx;
  1294. font-weight: bold;
  1295. }
  1296. page {
  1297. width: 100%;
  1298. background: #E4F3FB;
  1299. }
  1300. .container {
  1301. padding: 36rpx 20rpx 180rpx;
  1302. background: #E4F3FB;
  1303. }
  1304. /* 未支付订单 */
  1305. .not-pay-module {
  1306. padding: 28rpx 0 48rpx;
  1307. display: flex;
  1308. flex-direction: column;
  1309. align-items: center;
  1310. }
  1311. .not-pay-module .pay-amount {
  1312. height: 50rpx;
  1313. display: flex;
  1314. align-items: center;
  1315. }
  1316. .not-pay-module .pay-amount image {
  1317. width: 40rpx;
  1318. height: 40rpx;
  1319. margin-right: 12rpx;
  1320. }
  1321. .not-pay-module .pay-amount {
  1322. font-size: 30rpx;
  1323. font-weight: bold;
  1324. color: #333;
  1325. }
  1326. .not-pay-module .pay-amount text {
  1327. color: #ff0000;
  1328. }
  1329. .not-pay-module .over-time {
  1330. height: 36rpx;
  1331. font-size: 26rpx;
  1332. color: #333;
  1333. margin: 26rpx 0 44rpx;
  1334. }
  1335. .not-pay-module .pay-now {
  1336. width: 160rpx;
  1337. height: 56rpx;
  1338. line-height: 56rpx;
  1339. background: linear-gradient(90deg, #ff9c49 0%, #ff8219 100%);
  1340. border-radius: 28rpx;
  1341. color: #f9f4f5;
  1342. font-size: 24rpx;
  1343. text-align: center;
  1344. }
  1345. /* 卡片 */
  1346. .top-card {
  1347. width: 702rpx;
  1348. height: 224rpx;
  1349. background: url('https://mall.zhaijieshi.cc/file/jzmall-dy/order-card-bg.png') no-repeat center;
  1350. background-size: 100% 100%;
  1351. padding: 20rpx 30rpx 24rpx;
  1352. color: #fff;
  1353. position: relative;
  1354. }
  1355. .top-name-wrapper {
  1356. display: flex;
  1357. align-items: center;
  1358. justify-content: space-between;
  1359. height: 44rpx;
  1360. overflow: hidden;
  1361. }
  1362. .top-name {
  1363. height: 44rpx;
  1364. font-size: 32rpx;
  1365. font-weight: bold;
  1366. color: #ffffff;
  1367. line-height: 44rpx;
  1368. text-overflow: ellipsis;
  1369. white-space: nowrap;
  1370. overflow: hidden;
  1371. }
  1372. .top-sku-name {
  1373. font-size: 24rpx;
  1374. font-weight: bold;
  1375. color: #fff;
  1376. white-space: nowrap;
  1377. overflow: hidden;
  1378. text-overflow: ellipsis;
  1379. flex: 1;
  1380. }
  1381. .top-times {
  1382. margin: 12rpx 0 54rpx;
  1383. display: flex;
  1384. height: 42rpx;
  1385. align-items: center;
  1386. }
  1387. .top-times view {
  1388. font-size: 24rpx;
  1389. font-weight: bold;
  1390. }
  1391. .top-times view.serviced-times {
  1392. margin-left: 20rpx;
  1393. }
  1394. .top-times view text {
  1395. font-size: 30rpx;
  1396. }
  1397. .top-tips {
  1398. height: 28rpx;
  1399. line-height: 28rpx;
  1400. font-size: 20rpx;
  1401. }
  1402. .appoint-tag {
  1403. position: absolute;
  1404. top: 136rpx;
  1405. right: 0;
  1406. width: 196rpx;
  1407. height: 64rpx;
  1408. line-height: 64rpx;
  1409. background: linear-gradient(316deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  1410. border-radius: 32rpx 0rpx 0rpx 32rpx;
  1411. color: #ff8219;
  1412. font-size: 24rpx;
  1413. text-align: center;
  1414. font-weight: bold;
  1415. }
  1416. /* 退款工单 */
  1417. .refund-order-module {
  1418. margin-top: 24rpx;
  1419. width: 702rpx;
  1420. background: #fff;
  1421. border-radius: 24rpx;
  1422. padding: 0 24rpx;
  1423. }
  1424. .refund-title {
  1425. height: 80rpx;
  1426. display: flex;
  1427. align-items: center;
  1428. border-bottom: 2rpx solid #e0e0e0;
  1429. }
  1430. .refund-title .title-text {
  1431. color: #191919;
  1432. font-size: 30rpx;
  1433. font-weight: bold;
  1434. }
  1435. .refund-title .title-order {
  1436. flex: 1;
  1437. color: #666666;
  1438. font-size: 24rpx;
  1439. margin: 0 10rpx;
  1440. }
  1441. .refund-title .title-status {
  1442. color: #fcc17c;
  1443. font-size: 26rpx;
  1444. }
  1445. .refund-main {
  1446. padding: 12rpx 0;
  1447. }
  1448. .refund-main .row {
  1449. height: 56rpx;
  1450. line-height: 56rpx;
  1451. display: flex;
  1452. color: rgba(0, 0, 0, 0.9);
  1453. font-size: 26rpx;
  1454. font-weight: bold;
  1455. }
  1456. .refund-main .row text {
  1457. color: #666666;
  1458. font-weight: normal;
  1459. }
  1460. .refuse-remark-wrapper {
  1461. padding: 24rpx 0;
  1462. border-top: 2rpx solid #e0e0e0;
  1463. }
  1464. .refund-order-module .refuse-remark {
  1465. width: 652rpx;
  1466. height: 56rpx;
  1467. line-height: 56rpx;
  1468. background: #ebebeb;
  1469. border-radius: 16rpx;
  1470. color: #000000;
  1471. padding: 0 16rpx;
  1472. white-space: nowrap;
  1473. text-overflow: ellipsis;
  1474. overflow: hidden;
  1475. }
  1476. .refund-order-module .refuse-remark text {
  1477. color: #fe2b54;
  1478. font-weight: bold;
  1479. }
  1480. .refund-operate {
  1481. padding: 24rpx 0;
  1482. border-top: 2rpx solid #e0e0e0;
  1483. display: flex;
  1484. justify-content: flex-end;
  1485. }
  1486. .refund-operate view {
  1487. width: 160rpx;
  1488. height: 56rpx;
  1489. line-height: 56rpx;
  1490. border-radius: 28rpx;
  1491. border: 2rpx solid #d8d8d8;
  1492. text-align: center;
  1493. color: #666666;
  1494. font-size: 24rpx;
  1495. }
  1496. /* 工单列表 */
  1497. .service-item {
  1498. margin-top: 24rpx;
  1499. background: #ffffff;
  1500. border-radius: 24rpx;
  1501. width: 702rpx;
  1502. padding: 0 24rpx;
  1503. }
  1504. .service-item .service-title {
  1505. height: 80rpx;
  1506. display: flex;
  1507. align-items: center;
  1508. border-bottom: 2rpx solid #e0e0e0;
  1509. }
  1510. .service-title .sercive-name {
  1511. color: #191919;
  1512. font-size: 30rpx;
  1513. font-weight: bold;
  1514. }
  1515. .service-title .service-id {
  1516. color: #666666;
  1517. font-size: 24rpx;
  1518. margin: 0 12rpx;
  1519. flex: 1;
  1520. }
  1521. .service-title .service-status {
  1522. color: #008dff;
  1523. font-size: 26rpx;
  1524. }
  1525. .service-main {
  1526. padding: 12rpx 0 16rpx;
  1527. }
  1528. .customer-info {
  1529. display: flex;
  1530. align-items: center;
  1531. }
  1532. .customer-info image {
  1533. width: 48rpx;
  1534. height: 48rpx;
  1535. margin-right: 24rpx;
  1536. }
  1537. .customer-info .customer-main {
  1538. display: flex;
  1539. padding: 18rpx 0 4rpx;
  1540. flex-direction: column;
  1541. flex: 1;
  1542. }
  1543. .main-line {
  1544. display: flex;
  1545. height: 44rpx;
  1546. margin-bottom: 4rpx;
  1547. align-items: center;
  1548. }
  1549. .main-line view {
  1550. color: #333333;
  1551. font-size: 32rpx;
  1552. }
  1553. .main-line view.phone {
  1554. color: #999999;
  1555. font-size: 24rpx;
  1556. margin-left: 14rpx;
  1557. }
  1558. .customer-info .customer-address {
  1559. color: #666666;
  1560. line-height: 40rpx;
  1561. }
  1562. .service-main .row {
  1563. /* height: 56rpx;
  1564. line-height: 56rpx; */
  1565. display: flex;
  1566. color: rgba(0, 0, 0, 0.9);
  1567. font-size: 26rpx;
  1568. font-weight: bold;
  1569. align-items: center;
  1570. margin: 10rpx 0;
  1571. }
  1572. .service-main .row text {
  1573. color: #666666;
  1574. font-weight: normal;
  1575. /* white-space: nowrap; */
  1576. }
  1577. .service-remark-wrapper {
  1578. padding: 24rpx 0;
  1579. border-top: 2rpx solid #e0e0e0;
  1580. }
  1581. .service-store {
  1582. height: 36rpx;
  1583. display: flex;
  1584. align-items: center;
  1585. justify-content: space-between;
  1586. }
  1587. .service-store>view {
  1588. display: flex;
  1589. height: 36rpx;
  1590. align-items: center;
  1591. }
  1592. .store-left image {
  1593. width: 36rpx;
  1594. height: 36rpx;
  1595. margin-right: 16rpx;
  1596. }
  1597. .store-left view {
  1598. color: rgba(0, 0, 0, 0.9);
  1599. font-size: 26rpx;
  1600. font-weight: bold;
  1601. }
  1602. .store-right view {
  1603. color: #666666;
  1604. font-size: 24rpx;
  1605. }
  1606. .store-right image {
  1607. width: 24rpx;
  1608. height: 24rpx;
  1609. margin-left: 16rpx;
  1610. }
  1611. .service-remark-wrapper .service-remark {
  1612. width: 652rpx;
  1613. /* height: 56rpx; */
  1614. line-height: 44rpx;
  1615. background: #ebebeb;
  1616. border-radius: 16rpx;
  1617. color: #000000;
  1618. padding: 8rpx 16rpx;
  1619. /* white-space: nowrap;
  1620. text-overflow: ellipsis;*/
  1621. display: -webkit-box;
  1622. -webkit-box-orient: vertical;
  1623. -webkit-line-clamp: 2;
  1624. text-overflow: ellipsis;
  1625. overflow: hidden;
  1626. margin-top: 20rpx;
  1627. }
  1628. .service-remark text {
  1629. color: #fe2b54;
  1630. font-weight: bold;
  1631. }
  1632. .service-operate {
  1633. padding: 24rpx 0;
  1634. border-top: 2rpx solid #e0e0e0;
  1635. display: flex;
  1636. justify-content: flex-end;
  1637. }
  1638. .service-operate view {
  1639. width: 160rpx;
  1640. height: 56rpx;
  1641. line-height: 56rpx;
  1642. border-radius: 28rpx;
  1643. text-align: center;
  1644. color: #f9f4f5;
  1645. font-size: 24rpx;
  1646. background: linear-gradient(90deg, #00baff 0%, #008dff 100%);
  1647. margin-left: 28rpx;
  1648. }
  1649. /* 产品订单信息 */
  1650. .product-block {
  1651. background: #ffffff;
  1652. border-radius: 14rpx;
  1653. padding: 30rpx 30rpx 0;
  1654. margin: 24rpx 0 40rpx;
  1655. position: relative;
  1656. }
  1657. .product-block .title {
  1658. height: 88rpx;
  1659. line-height: 78rpx;
  1660. }
  1661. .profuct-info {
  1662. height: 190rpx;
  1663. display: flex;
  1664. align-items: flex-start;
  1665. }
  1666. .product-img {
  1667. width: 190rpx;
  1668. height: 190rpx;
  1669. border-radius: 10rpx;
  1670. margin-right: 20rpx;
  1671. }
  1672. .info-right {
  1673. /* padding-top: 10rpx; */
  1674. flex: 1;
  1675. }
  1676. .info-main {
  1677. display: flex;
  1678. height: 40rpx;
  1679. align-items: center;
  1680. justify-content: space-between;
  1681. /* margin-bottom: 58rpx; */
  1682. }
  1683. .info-right .sku-name {
  1684. color: #666666;
  1685. font-size: 24rpx;
  1686. margin: 10rpx 0;
  1687. height: 34rpx;
  1688. line-height: 34rpx;
  1689. display: flex;
  1690. justify-content: space-between;
  1691. }
  1692. .product-name {
  1693. line-height: 40rpx;
  1694. font-size: 28rpx;
  1695. /* padding-left: 20rpx;
  1696. text-indent: -16rpx; */
  1697. overflow: hidden;
  1698. text-overflow: ellipsis;
  1699. white-space: nowrap;
  1700. width: 328rpx;
  1701. font-weight: bold;
  1702. color: rgba(0, 0, 0, 0.9);
  1703. }
  1704. .info-main .price {
  1705. color: rgba(0, 0, 0, 0.9);
  1706. font-size: 18rpx;
  1707. font-weight: bold;
  1708. }
  1709. .info-right .other-info {
  1710. font-size: 24rpx;
  1711. color: rgba(0, 0, 0, 0.9);
  1712. line-height: 34rpx;
  1713. }
  1714. .order-info {
  1715. background: #ffffff;
  1716. border-radius: 24rpx;
  1717. padding: 20rpx 24rpx;
  1718. }
  1719. .order-info .order-top {
  1720. display: flex;
  1721. align-items: center;
  1722. height: 36rpx;
  1723. margin-bottom: 6rpx;
  1724. }
  1725. .order-top view {
  1726. font-size: 26rpx;
  1727. color: #333;
  1728. }
  1729. .order-top view.topic {
  1730. color: #666;
  1731. margin-right: 16rpx;
  1732. }
  1733. .order-top .copy-img {
  1734. width: 24rpx;
  1735. height: 24rpx;
  1736. margin-left: 20rpx;
  1737. }
  1738. .order-bottom {
  1739. border-top: 2rpx solid #e0e0e0;
  1740. margin-top: 14rpx;
  1741. padding-top: 16rpx;
  1742. }
  1743. .order-price,
  1744. .coupon-price {
  1745. display: flex;
  1746. align-items: center;
  1747. height: 36rpx;
  1748. margin-bottom: 6rpx;
  1749. justify-content: space-between;
  1750. }
  1751. .order-price view,
  1752. .coupon-price view {
  1753. font-size: 26rpx;
  1754. color: rgba(0, 0, 0, 0.9);
  1755. font-weight: bold;
  1756. }
  1757. .order-price view.topic,
  1758. .coupon-price view.topic {
  1759. color: #666;
  1760. margin-right: 16rpx;
  1761. font-weight: normal;
  1762. }
  1763. .order-bottom .real-price {
  1764. display: flex;
  1765. align-items: center;
  1766. height: 36rpx;
  1767. justify-content: flex-end;
  1768. font-size: 26rpx;
  1769. font-weight: bold;
  1770. }
  1771. .order-bottom .real-price text {
  1772. color: #ff004e;
  1773. font-size: 26rpx;
  1774. }
  1775. /* 客户服务 */
  1776. .customer-service {
  1777. background: #ffffff;
  1778. border-radius: 24rpx;
  1779. padding: 0 24rpx;
  1780. margin-top: 36rpx;
  1781. }
  1782. .customer-service .title {
  1783. height: 52rpx;
  1784. line-height: 52rpx;
  1785. color: #191919;
  1786. font-size: 30rpx;
  1787. font-weight: bold;
  1788. }
  1789. .contact-store {
  1790. border-bottom: 2rpx solid #e0e0e0;
  1791. }
  1792. .contact-store,
  1793. .contact-company {
  1794. height: 92rpx;
  1795. display: flex;
  1796. align-items: center;
  1797. }
  1798. .contact-company {
  1799. position: relative;
  1800. }
  1801. .customer-service image {
  1802. width: 24rpx;
  1803. height: 24rpx;
  1804. }
  1805. .customer-service .topic {
  1806. color: rgba(0, 0, 0, 0.9);
  1807. font-size: 26rpx;
  1808. }
  1809. .customer-service .remark {
  1810. flex: 1;
  1811. color: #666666;
  1812. font-size: 20rpx;
  1813. margin-left: 14rpx;
  1814. padding-top: 4rpx;
  1815. }
  1816. .contact-btn {
  1817. height: 40rpx;
  1818. width: 40rpx;
  1819. position: absolute;
  1820. top: 26;
  1821. bottom: 26;
  1822. right: 0;
  1823. z-index: 99;
  1824. opacity: 0;
  1825. }
  1826. /* 底部按钮 */
  1827. .fixed-bottom {
  1828. position: fixed;
  1829. bottom: 0;
  1830. left: 0;
  1831. right: 0;
  1832. padding: 14rpx 24rpx 24rpx;
  1833. background: #fff;
  1834. }
  1835. .order-operate-wrapper {
  1836. /* height: 80rpx; */
  1837. display: flex;
  1838. align-items: center;
  1839. justify-content: flex-end;
  1840. flex: 1;
  1841. flex-wrap: wrap;
  1842. /* border-top: 2rpx solid #E0E0E0; */
  1843. padding-bottom: constant(safe-area-inset-bottom);
  1844. padding-bottom: env(safe-area-inset-bottom);
  1845. }
  1846. .order-operate-wrapper>view {
  1847. text-align: center;
  1848. font-size: 24rpx;
  1849. color: #fff;
  1850. margin-left: 20rpx;
  1851. width: 160rpx;
  1852. height: 56rpx;
  1853. line-height: 56rpx;
  1854. background: linear-gradient(90deg, #ff9c49 0%, #ff8219 100%);
  1855. border-radius: 56rpx;
  1856. margin-top: 10rpx;
  1857. }
  1858. .order-operate-wrapper>view.del {
  1859. border: 2rpx solid #d8d8d8;
  1860. color: #666666;
  1861. background: #fff;
  1862. }
  1863. .order-operate-wrapper>view.appoint {
  1864. background: linear-gradient(90deg, #00baff 0%, #008dff 100%);
  1865. }
  1866. .order-operate-wrapper view.eval-btn {
  1867. border: 2rpx solid #ff8219;
  1868. color: #ff8219;
  1869. background: #fff;
  1870. }
  1871. .refund-tips-bar {
  1872. height: 34rpx;
  1873. margin-top: 8rpx;
  1874. display: flex;
  1875. align-items: center;
  1876. background: #F9F9F9;
  1877. height: 70rpx;
  1878. justify-content: space-between;
  1879. }
  1880. .refund-tips-bar image {
  1881. width: 40rpx;
  1882. height: 40rpx;
  1883. /* margin-right: 4rpx; */
  1884. }
  1885. .refund-tips-bar view {
  1886. font-size: 24rpx;
  1887. /* margin-right: 16rpx; */
  1888. color: #666;
  1889. margin-left: -24rpx;
  1890. }
  1891. .pay-btn-new {
  1892. width: 710rpx;
  1893. height: 94rpx;
  1894. line-height: 94rpx;
  1895. background: #FD2C55;
  1896. border-radius: 12rpx;
  1897. font-size: 32rpx;
  1898. text-align: center;
  1899. color: #fff;
  1900. margin: 0 0 28rpx;
  1901. font-weight: bold;
  1902. }
  1903. .im-btn {
  1904. width: 710rpx;
  1905. height: 94rpx;
  1906. line-height: 94rpx;
  1907. border-radius: 12rpx;
  1908. border: 1rpx solid #FD2C55;
  1909. color: #FD2C55;
  1910. font-size: 32rpx;
  1911. text-align: center;
  1912. font-weight: bold;
  1913. }
  1914. .coupon-block {
  1915. position: absolute;
  1916. top: -24rpx;
  1917. right: 36rpx;
  1918. width: 130rpx;
  1919. height: 180rpx;
  1920. background: url('https://jzmall.lifejingzhi.com/file/jzmall-dy/detail-coupon-bg.png') no-repeat;
  1921. background-size: 100% 100%;
  1922. display: flex;
  1923. align-items: center;
  1924. flex-direction: column;
  1925. padding-top: 50rpx;
  1926. }
  1927. .coupon-block view {
  1928. font-weight: 600;
  1929. font-size: 24rpx;
  1930. color: #FFFFFF;
  1931. height: 50rpx;
  1932. line-height: 50rpx;
  1933. display: flex;
  1934. align-items: flex-end;
  1935. }
  1936. .coupon-block view text {
  1937. font-size: 40rpx;
  1938. line-height: 50rpx;
  1939. padding-bottom: 4rpx;
  1940. }
  1941. /* 投诉建议弹框 */
  1942. .goods-info-overlay {
  1943. position: fixed;
  1944. top: 0;
  1945. left: 0;
  1946. width: 100%;
  1947. height: 100%;
  1948. background-color: rgba(0, 0, 0, 0.6);
  1949. z-index: 99;
  1950. display: flex;
  1951. align-items: center;
  1952. justify-content: center;
  1953. }
  1954. .goods-info-popup {
  1955. width: 622rpx;
  1956. border-radius: 24rpx;
  1957. background: #fff;
  1958. overflow: hidden;
  1959. }
  1960. .popup-title {
  1961. height: 94rpx;
  1962. line-height: 94rpx;
  1963. text-align: center;
  1964. color: #ffffff;
  1965. font-size: 34rpx;
  1966. background: url('https://mall.zhaijieshi.cc/file/jzmall-dy/verify-dy-title.png') no-repeat center center;
  1967. background-size: 100% 100%;
  1968. background-color: #008dff;
  1969. }
  1970. .tips-title {
  1971. /* height: 180rpx; */
  1972. line-height: 40rpx;
  1973. padding: 34rpx 32rpx;
  1974. font-weight: 600;
  1975. color: #191919;
  1976. font-size: 28rpx;
  1977. }
  1978. .btn-msg {
  1979. border: 2rpx solid #d8d8d8;
  1980. color: #666666 !important;
  1981. background: #fff !important;
  1982. }
  1983. .goods-info-popup .goods {
  1984. display: flex;
  1985. padding: 24rpx 20rpx 22rpx 22rpx;
  1986. }
  1987. .goods .img image {
  1988. height: 168rpx;
  1989. width: 168rpx;
  1990. overflow: hidden;
  1991. border-radius: 8rpx;
  1992. }
  1993. .goods .info {
  1994. height: 168rpx;
  1995. flex: 1;
  1996. padding-left: 18rpx;
  1997. }
  1998. .info-main {
  1999. display: flex;
  2000. height: 40rpx;
  2001. align-items: center;
  2002. justify-content: space-between;
  2003. }
  2004. .info .sku-name {
  2005. color: #666666;
  2006. font-size: 24rpx;
  2007. margin: 12rpx 0;
  2008. height: 34rpx;
  2009. line-height: 34rpx;
  2010. }
  2011. .product-name {
  2012. line-height: 40rpx;
  2013. font-size: 28rpx;
  2014. /* padding-left: 20rpx;
  2015. text-indent: -16rpx; */
  2016. overflow: hidden;
  2017. text-overflow: ellipsis;
  2018. white-space: nowrap;
  2019. width: 310rpx;
  2020. font-weight: bold;
  2021. color: rgba(0, 0, 0, 0.9);
  2022. }
  2023. .info-main .price {
  2024. color: rgba(0, 0, 0, 0.9);
  2025. font-size: 24rpx;
  2026. font-weight: bold;
  2027. }
  2028. .info .other-info {
  2029. font-size: 24rpx;
  2030. color: rgba(0, 0, 0, 0.9);
  2031. line-height: 34rpx;
  2032. }
  2033. .popup-bottom {
  2034. height: 106rpx;
  2035. padding: 14rpx 104rpx 34rpx;
  2036. display: flex;
  2037. justify-content: space-between;
  2038. }
  2039. .btn-cancel {
  2040. height: 58rpx;
  2041. line-height: 58rpx;
  2042. border-radius: 58rpx;
  2043. width: 162rpx;
  2044. text-align: center;
  2045. color: #0091ff;
  2046. font-size: 24rpx;
  2047. border: 2rpx solid #0091ff;
  2048. }
  2049. .btn-conf {
  2050. height: 58rpx;
  2051. line-height: 58rpx;
  2052. border-radius: 58rpx;
  2053. width: 162rpx;
  2054. text-align: center;
  2055. color: #fff;
  2056. font-size: 24rpx;
  2057. background: linear-gradient(270deg, #00baff 0%, #008dff 100%);
  2058. }
  2059. .ticket {
  2060. padding: 10rpx 20rpx;
  2061. margin-bottom: 10px;
  2062. background-color: rgb(247 240 240);
  2063. border-radius: 15rpx;
  2064. }
  2065. .ticket .title {
  2066. display: flex;
  2067. flex-direction: row;
  2068. justify-content: space-between;
  2069. }
  2070. .ticket .comment {
  2071. color: #09afff;
  2072. text-decoration: underline;
  2073. }
  2074. .timeline {
  2075. margin: 44rpx auto 0rpx auto;
  2076. position: relative;
  2077. width: 100%;
  2078. }
  2079. .timeline::before {
  2080. background-color: #6dd1c9;
  2081. content: '';
  2082. margin-left: -1rpx;
  2083. position: absolute;
  2084. top: 0rpx;
  2085. left: 8px;
  2086. width: 2rpx;
  2087. bottom: -250rpx;
  2088. height: calc(100% - 47rpx);
  2089. }
  2090. .timeline-event {
  2091. position: relative;
  2092. }
  2093. .timeline-event-copy {
  2094. padding: 32rpx 24rpx;
  2095. position: relative;
  2096. top: -47rpx;
  2097. left: 42rpx;
  2098. width: 536rpx;
  2099. background-color: #ffffff;
  2100. /* margin-bottom: 20rpx; */
  2101. border-radius: 20rpx;
  2102. }
  2103. .timeline-event-icon {
  2104. background-color: #ffffff00;
  2105. outline: 0rpx solid #ff0000;
  2106. display: block;
  2107. margin: 0rpx 0rpx 0rpx 0rpx;
  2108. position: absolute;
  2109. top: 0rpx;
  2110. left: 0rpx;
  2111. width: 28rpx;
  2112. height: 28rpx;
  2113. }
  2114. .timeline-event-thumbnail {
  2115. color: #333;
  2116. font-weight: bold;
  2117. font-size: 30rpx;
  2118. display: inline-flex;
  2119. width: 100%;
  2120. margin-bottom: 0rpx;
  2121. align-items: center;
  2122. justify-content: space-between;
  2123. }
  2124. .timeline-event-content {
  2125. display: flex;
  2126. flex-direction: column;
  2127. margin-top: 20rpx;
  2128. margin-bottom: 20rpx;
  2129. }
  2130. .timeline-text {
  2131. font-weight: 100;
  2132. color: #a09494;
  2133. font-size: 15px;
  2134. }
  2135. .timeline-marker {
  2136. border-radius: 50%;
  2137. height: 15px;
  2138. width: 15px;
  2139. }
  2140. .ticket-tips {
  2141. color: rgb(179 165 165);
  2142. font-size: 13px;
  2143. text-align: center;
  2144. padding: 10px 0;
  2145. margin-bottom: 10px;
  2146. height: 27px;
  2147. }
  2148. .ticket-tips-content {
  2149. padding: 0 20rpx 40rpx 32rpx;
  2150. margin-top: 21px;
  2151. font-size: 16px;
  2152. }
  2153. .ticket-img {
  2154. height: 45px;
  2155. width: 45px;
  2156. }
  2157. .appoint-overlay-wrapper {
  2158. position: fixed;
  2159. top: 0;
  2160. left: 0;
  2161. width: 100%;
  2162. height: 100%;
  2163. background-color: rgba(0, 0, 0, 0.7);
  2164. z-index: 999;
  2165. }
  2166. .remark-text {
  2167. font-size: 26rpx;
  2168. white-space: nowrap;
  2169. overflow: hidden;
  2170. text-overflow: ellipsis;
  2171. width: 486rpx;
  2172. padding-left: 40rpx;
  2173. margin: 0 10rpx 0 20rpx;
  2174. text-align: right;
  2175. }
  2176. .remark-popup {
  2177. position: fixed;
  2178. left: 0;
  2179. right: 0;
  2180. bottom: 0;
  2181. height: 560rpx;
  2182. background: #fff;
  2183. border-radius: 20rpx 20rpx 0px 0px;
  2184. padding: 40rpx 30rpx 50rpx;
  2185. z-index: 9999;
  2186. }
  2187. .remark-popup .title {
  2188. height: 30rpx;
  2189. line-height: 30rpx;
  2190. font-size: 30rpx;
  2191. color: #333333;
  2192. }
  2193. .remark-textarea {
  2194. width: 690rpx;
  2195. height: 240rpx;
  2196. background: #f8f8f8;
  2197. border-radius: 10rpx;
  2198. padding: 20rpx 36rpx 36rpx 20rpx;
  2199. font-size: 26rpx;
  2200. line-height: 40rpx;
  2201. margin: 30rpx 0 60rpx;
  2202. box-sizing: border-box;
  2203. }
  2204. .remark-popup .btn {
  2205. width: 690rpx;
  2206. height: 100rpx;
  2207. background: #00b9ff;
  2208. border-radius: 50rpx;
  2209. line-height: 100rpx;
  2210. font-size: 30rpx;
  2211. text-align: center;
  2212. color: #fff;
  2213. }
  2214. .blue-color {
  2215. background: linear-gradient(90deg, #00baff 0%, #008dff 100%) !important;
  2216. }
  2217. .warning-color {
  2218. background: linear-gradient(90deg, #af4318 0%, #c96405 100%) !important;
  2219. }
  2220. .appoint-overlay-wrapper {
  2221. position: fixed;
  2222. top: 0;
  2223. left: 0;
  2224. width: 100%;
  2225. height: 100%;
  2226. background-color: rgba(0, 0, 0, 0.7);
  2227. z-index: 999;
  2228. }
  2229. /* 选择时间 */
  2230. view.popup-wrapper {
  2231. /* padding: 0 0 20rpx; */
  2232. color: #333;
  2233. display: flex;
  2234. flex-direction: column;
  2235. justify-content: space-between;
  2236. /* height: 80%; */
  2237. position: fixed;
  2238. left: 0;
  2239. right: 0;
  2240. bottom: 0;
  2241. background: #fff;
  2242. padding-bottom: constant(safe-area-inset-bottom);
  2243. padding-bottom: env(safe-area-inset-bottom);
  2244. z-index: 9999;
  2245. border-radius: 36rpx 36rpx 0rpx 0rpx;
  2246. overflow: hidden;
  2247. }
  2248. view.popup-wrapper view.confirm-btn {
  2249. background: #09afff;
  2250. height: 88rpx;
  2251. line-height: 88rpx;
  2252. border-radius: 88rpx;
  2253. text-align: center;
  2254. color: #fff;
  2255. }
  2256. /* 选择备注 */
  2257. .appoint-overlay-wrapper.remark-overlay {
  2258. display: flex;
  2259. align-items: flex-end;
  2260. justify-content: center;
  2261. }
  2262. .remark-select {
  2263. width: 750rpx;
  2264. padding: 0 24rpx 56rpx;
  2265. background: #ffffff;
  2266. border-radius: 24rpx 24rpx 0 0;
  2267. }
  2268. .remark-select .title {
  2269. font-weight: 600;
  2270. color: #191919;
  2271. font-size: 30rpx;
  2272. height: 90rpx;
  2273. line-height: 90rpx;
  2274. text-align: center;
  2275. border-bottom: 2rpx solid #e0e0e0;
  2276. }
  2277. .remark-item .remark-value {
  2278. color: #191919;
  2279. font-size: 26rpx;
  2280. font-weight: bold;
  2281. flex: 1;
  2282. text-align: left;
  2283. }
  2284. .remark-list .remark-item {
  2285. height: 84rpx;
  2286. display: flex;
  2287. border-bottom: 2rpx solid #e0e0e0;
  2288. align-items: center;
  2289. }
  2290. .remark-item .radio-img {
  2291. width: 26rpx;
  2292. height: 26rpx;
  2293. }
  2294. .remark-conf-btn {
  2295. width: 652rpx;
  2296. height: 90rpx;
  2297. line-height: 90rpx;
  2298. border-radius: 90rpx;
  2299. border: 4rpx solid #ff8219;
  2300. text-align: center;
  2301. font-size: 36rpx;
  2302. color: #ff8219;
  2303. margin: 0 auto;
  2304. margin-top: 54rpx;
  2305. }
  2306. .icon-sad {
  2307. width: 136rpx;
  2308. height: 136rpx;
  2309. margin: 0 auto;
  2310. margin-left: 288rpx;
  2311. }
  2312. .top-slogan {
  2313. font-size: 32rpx;
  2314. color: #253369;
  2315. height: 60rpx;
  2316. margin: 24rpx 0 12rpx;
  2317. text-align: center;
  2318. font-weight: bold;
  2319. }
  2320. .top-slogan text {
  2321. font-size: 40rpx;
  2322. color: #FA6400;
  2323. margin: 0 4rpx 0 8rpx;
  2324. }
  2325. .pay-time {
  2326. text-align: center;
  2327. font-size: 28rpx;
  2328. color: #FA6400;
  2329. height: 40rpx;
  2330. margin-bottom: 16rpx;
  2331. }
  2332. .over-time {
  2333. text-align: center;
  2334. }
  2335. </style>