orderDetail.vue 72 KB

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