orderDetail.vue 73 KB

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