index.vue 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132
  1. <template>
  2. <view :style="colorStyle">
  3. <view class='order-details'>
  4. <view v-if="isGoodsReturn == false">
  5. <!-- <view class='nav'>
  6. <view class='navCon acea-row row-between-wrapper'>
  7. <view :class="status.type == 0 || status.type == -9 ? 'on':''">{{$t(`待付款`)}}</view>
  8. <view :class="status.type == 1 || status.type == 5 ? 'on':''">
  9. {{orderInfo.shipping_type==1 ? $t(`待发货`):$t(`待核销`)}}
  10. </view>
  11. <view :class="status.type == 2 ? 'on':''" v-if="orderInfo.shipping_type == 1">{{$t(`待收货`)}}</view>
  12. <view :class="status.type == 3 ? 'on':''">{{$t(`待评价`)}}</view>
  13. <view :class="status.type == 4 ? 'on':''">{{$t(`已完成`)}}</view>
  14. </view>
  15. <view class='progress acea-row row-between-wrapper'>
  16. <view class='iconfont'
  17. :class='(status.type == 0 || status.type == -9 ? "icon-webicon318":"icon-yuandianxiao") + " " + (status.type >= 0 ? "font-num":"")'>
  18. </view>
  19. <view class='line' :class='status.type > 0 ? "bg-color":""'>
  20. </view>
  21. <view class='iconfont'
  22. :class='(status.type == 1 || status.type == 5 ? "icon-webicon318":"icon-yuandianxiao") + " " + (status.type >= 1 ? "font-num":"")'
  23. v-if="orderInfo.shipping_type!=4">
  24. </view>
  25. <view class='line' :class='status.type > 1 && status.type != 5 ? "bg-color":""'
  26. v-if="orderInfo.shipping_type == 1">
  27. </view>
  28. <view class='iconfont'
  29. :class='(status.type == 2 ? "icon-webicon318":"icon-yuandianxiao") + " " +(status.type >= 2 ? "font-num":"")'
  30. v-if="orderInfo.shipping_type == 1"></view>
  31. <view class='line' :class='status.type > 2 && status.type != 5 ? "bg-color":""'></view>
  32. <view class='iconfont'
  33. :class='(status.type == 3 ? "icon-webicon318":"icon-yuandianxiao") + " " + (status.type >= 3 && status.type != 5 ? "font-num":"")'>
  34. </view>
  35. <view class='line' :class='status.type > 3 && status.type != 5 ? "bg-color":""'></view>
  36. <view class='iconfont'
  37. :class='(status.type == 4 ? "icon-webicon318":"icon-yuandianxiao") + " " + (status.type >= 4 && status.type != 5 ? "font-num":"")'>
  38. </view>
  39. </view>
  40. </view> -->
  41. <!-- <view class="writeOff" v-if="orderInfo.shipping_type == 2 && orderInfo.paid"> -->
  42. <view class="writeOff" v-if="orderInfo.verify_code && orderInfo.paid == 1">
  43. <view class="title">{{ $t(`核销信息`) }}</view>
  44. <view class="grayBg">
  45. <view class="written" v-if="orderInfo.status == 2">
  46. <image src="../static/written.png"></image>
  47. </view>
  48. <view class="pictrue">
  49. <image :src="codeSrc" mode=""></image>
  50. <zb-code ref="qrcode" :show="codeShow" :cid="cid" :val="val" :size="size" :unit="unit"
  51. :background="background" :foreground="foreground" :pdground="pdground" :icon="icon"
  52. :iconSize="iconsize" :onval="onval" :loadMake="loadMake" @result="qrR" />
  53. </view>
  54. </view>
  55. <view class="gear">
  56. <!-- <image src="../static/writeOff.jpg"></image> -->
  57. </view>
  58. <view class="num">{{ orderInfo._verify_code }}</view>
  59. <view class="rules">
  60. <view class="item" v-if="orderInfo.shipping_type == 2">
  61. <view class="rulesTitle acea-row row-middle">
  62. <text class="iconfont icon-shijian"></text>{{ $t(`营业时间`) }}
  63. </view>
  64. <view class="info">
  65. {{ $t(`每日`) }}:<text class="time">{{ orderInfo.system_store.day_time }}</text>
  66. </view>
  67. </view>
  68. <view class="item">
  69. <view class="rulesTitle acea-row row-middle">
  70. <text class="iconfont icon-shuoming1"></text>{{ $t(`使用说明`) }}
  71. </view>
  72. <view class="info">{{ orderInfo.shipping_type ==
  73. 2 ? $t(`可将二维码出示给店员扫描或提供数字核销码`) : $t(`可将二维码出示给配送员进行核销`)
  74. }}
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="map acea-row row-between-wrapper" v-if="orderInfo.shipping_type == 2">
  80. <view>{{ $t(`地址信息`) }}</view>
  81. <view class="place cart-color acea-row row-center-wrapper" @tap="showMaoLocation">
  82. <text class="iconfont icon-weizhi"></text>{{ $t(`查看位置`) }}
  83. </view>
  84. </view>
  85. <view v-if="orderInfo.userAddress != ''">
  86. <view class='address' v-if="orderInfo.userAddress">
  87. <u-row customStyle="margin-bottom: 10px">
  88. <u-col span="1">
  89. <view class="demo-layout bg-purple-light">
  90. <u-icon name="map-fill" color="#2979ff" size="25"></u-icon>
  91. </view>
  92. </u-col>
  93. <u-col span="11">
  94. <view class='name'>{{ orderInfo.userName }}<text
  95. class='phone'>{{ orderInfo.telPhone }}</text>
  96. </view>
  97. <view>{{ orderInfo.userAddress }}</view>
  98. </u-col>
  99. </u-row>
  100. </view>
  101. <view class='address' v-else>
  102. <view class='name' @tap="makePhone">{{ orderInfo.system_store.name }}<text
  103. class='phone'>{{ orderInfo.system_store.phone }}</text><text
  104. class="iconfont icon-tonghua font-num"></text></view>
  105. <view>{{ orderInfo.system_store.detailed_address }}</view>
  106. </view>
  107. <view class='line'>
  108. <image src='@/static/images/line.jpg'></image>
  109. </view>
  110. </view>
  111. <view v-if="orderInfo.virtual_type != 0" style="paddingTop: 6px;"></view>
  112. </view>
  113. <view v-else>
  114. <!-- 拒绝退款 -->
  115. <view class="refund" v-if="orderInfo.refund_type == 3">
  116. <view class="title">
  117. <image src="../static/shuoming.png" mode=""></image>
  118. {{ $t(`拒绝退款`) }}
  119. </view>
  120. <view class="con">{{ $t(`拒绝原因`) }}:{{ orderInfo.refuse_reason }}</view>
  121. </view>
  122. </view>
  123. <!-- <orderGoods v-for="(item,index) in split" :key="item.id" :evaluate='item._status._type == 3 ? 3 : 0'
  124. :orderId="item.order_id" :cartInfo="item.cartInfo" :jump="false" :jumpDetail='true' :pid="item.pid"
  125. :split="true" :status_type="item._status._type" :index="index" :refund_status="item.refund_status"
  126. :delivery_type="item.delivery_type" @confirmOrder="confirmOrder" @openSubcribe="openSubcribe">
  127. </orderGoods> -->
  128. <orderGoods :evaluate='evaluate' :deliveryType="orderInfo.shipping_type" :statusType="status.type"
  129. :sendType="orderInfo.delivery_type" :orderId="order_id" :oid="orderInfo.id" :cartInfo="cartInfo"
  130. :pid="pid" :jump="true" :refund_status="orderInfo.refund_status" :paid="orderInfo.paid"
  131. @openSubcribe="openSubcribe">
  132. </orderGoods>
  133. <view class='wrapper'>
  134. <view class='item acea-row row-between'>
  135. <view>{{ $t(`订单号`) }}:</view>
  136. <view class='conter acea-row row-middle row-right'>
  137. <text>{{ orderInfo.id }}</text>
  138. <!-- #ifndef H5 -->
  139. <text class='copy' @tap='copy'>{{ $t(`复制`) }}</text>
  140. <!-- #endif -->
  141. <!-- #ifdef H5 -->
  142. <text class='copy copy-data' :data-clipboard-text="orderInfo.order_id">{{ $t(`复制`) }}</text>
  143. <!-- #endif -->
  144. </view>
  145. </view>
  146. <view class='item acea-row row-between'>
  147. <view>{{ $t(`下单时间`) }}:</view>
  148. <view class='conter'>{{ (orderInfo.createTime || '') }}</view>
  149. </view>
  150. <view class='item acea-row row-between'>
  151. <view>{{ $t(`支付状态`) }}:</view>
  152. <view class='conter'>{{ orderInfo.payFlagDisplayName }}</view>
  153. </view>
  154. <view class='item acea-row row-between' v-if="orderInfo.payTime">
  155. <view>{{ $t(`支付时间`) }}:</view>
  156. <view class='conter'>{{ orderInfo.payTime }}</view>
  157. </view>
  158. <view class='item acea-row row-between' v-if="orderInfo.remark">
  159. <view>{{ $t(`发货时间`) }}:</view>
  160. <view class='conter'>{{ $t(orderInfo._status._payType) }}</view>
  161. </view>
  162. <view class='item acea-row row-between' v-if="orderInfo.remark">
  163. <view>{{ $t(`完成时间`) }}:</view>
  164. <view class='conter'>{{ $t(orderInfo._status._payType) }}</view>
  165. </view>
  166. <view class='item acea-row row-between' v-if="orderInfo.remark">
  167. <view v-if="orderInfo.pid">{{ $t(`买家备注`) }}:</view>
  168. <view v-else>买家备注:</view>
  169. <view class='conter'>{{ orderInfo.remark }}</view>
  170. </view>
  171. <!-- <view class='item acea-row row-between' v-if="orderInfo.remark">
  172. <view>{{$t(`商家备注`)}}:</view>
  173. <view class='conter'>{{orderInfo.remark}}</view>
  174. </view> -->
  175. </view>
  176. <view class='wrapper' v-if="customForm && customForm.length">
  177. <view class='item acea-row row-between' v-for="(item, index) in customForm" :key="index">
  178. <view class='upload' v-if="item.label == 'img'">
  179. <view>{{ item.title }}:</view>
  180. <view class='pictrue' v-for="(img, index) in item.value" :key="index">
  181. <image :src='img'></image>
  182. </view>
  183. </view>
  184. <view v-if="item.label !== 'img'">{{ item.title }}:</view>
  185. <view v-if="item.label !== 'img'" class='conter'>{{ item.value }}</view>
  186. </view>
  187. </view>
  188. <!-- 退款订单详情 -->
  189. <view class='wrapper' v-if="isGoodsReturn && orderInfo.cartInfo[0].productInfo.virtual_type != 3">
  190. <view class='item acea-row row-between'>
  191. <view>{{ $t(`收货人`) }}:</view>
  192. <view class='conter'>{{ orderInfo.real_name }}</view>
  193. </view>
  194. <view class='item acea-row row-between'>
  195. <view>{{ $t(`联系电话`) }}:</view>
  196. <view class='conter'>{{ orderInfo.user_phone }}</view>
  197. </view>
  198. <view class='item acea-row row-between'>
  199. <view>{{ $t(`收货地址`) }}:</view>
  200. <view class='conter'>{{ orderInfo.user_address }}</view>
  201. </view>
  202. </view>
  203. <view v-if="orderInfo.status != 0">
  204. <view class='wrapper' v-if='orderInfo.delivery_type == "express"'>
  205. <view class='item acea-row row-between'>
  206. <view>{{ $t(`配送方式`) }}:</view>
  207. <view class='conter'>{{ $t(`发货`) }}</view>
  208. </view>
  209. <view class='item acea-row row-between'>
  210. <view>{{ $t(`快递公司`) }}:</view>
  211. <view class='conter'>{{ orderInfo.delivery_name || '' }}</view>
  212. </view>
  213. <view class='item acea-row row-between'>
  214. <view>{{ $t(`快递单号`) }}:</view>
  215. <view class='conter'>{{ orderInfo.delivery_id || '' }}</view>
  216. </view>
  217. </view>
  218. <view class='wrapper' v-else-if='orderInfo.delivery_type == "send"'>
  219. <view class='item acea-row row-between'>
  220. <view>{{ $t(`配送方式`) }}:</view>
  221. <view class='conter'>{{ $t(`送货`) }}</view>
  222. </view>
  223. <view class='item acea-row row-between'>
  224. <view>{{ $t(`配送人姓名`) }}:</view>
  225. <view class='conter'>{{ orderInfo.delivery_name || '' }}</view>
  226. </view>
  227. <view class='item acea-row row-between'>
  228. <view>{{ $t(`送货人电话`) }}:</view>
  229. <view class='conter acea-row row-middle row-right'>{{ orderInfo.delivery_id || '' }}<text
  230. class='copy' @tap='goTel'>{{ $t(`拨打`) }}</text></view>
  231. </view>
  232. </view>
  233. <view class='wrapper' v-else-if='orderInfo.delivery_type == "fictitious"'>
  234. <view class='item acea-row row-between'>
  235. <view>{{ $t(`虚拟发货`) }}:</view>
  236. <view class='conter'>{{ $t(`已发货,请注意查收`) }}</view>
  237. </view>
  238. <view class='item acea-row row-between' v-if="orderInfo.fictitious_content">
  239. <view>{{ $t(`虚拟备注`) }}:</view>
  240. <view class='conter'>{{ orderInfo.fictitious_content }}</view>
  241. </view>
  242. </view>
  243. </view>
  244. <view class='wrapper'>
  245. <view class='item acea-row row-between'>
  246. <view>{{ $t(`商品总价`) }}:</view>
  247. <view class='conter'>
  248. {{ $t(`¥`) }}{{ orderInfo.totalFee }}</view>
  249. </view>
  250. <view class='item acea-row row-between'>
  251. <view>{{ $t(`运费`) }}:</view>
  252. <view class='conter'>{{ $t(`¥`) }}{{ orderInfo.wlPrice }}</view>
  253. </view>
  254. <view class='item acea-row row-between'>
  255. <view>{{ $t(`积分到账方式`) }}:</view>
  256. <view class='conter'>{{ orderInfo.settleTypeDisplayName }}</view>
  257. </view>
  258. <view v-if="orderInfo.vip_true_price > 0" class='item acea-row row-between'>
  259. <view>{{ $t(`会员商品优惠`) }}:</view>
  260. <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.vip_true_price).toFixed(2) }}</view>
  261. </view>
  262. <view class='item acea-row row-between' v-if='orderInfo.coupon_price > 0'>
  263. <view>{{ $t(`优惠券抵扣`) }}:</view>
  264. <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.coupon_price).toFixed(2) }}</view>
  265. </view>
  266. <view class='item acea-row row-between' v-if="orderInfo.use_integral > 0">
  267. <view>{{ $t(`积分抵扣`) }}:</view>
  268. <view class='conter'>-{{ $t(`¥`) }}{{ parseFloat(orderInfo.deduction_price).toFixed(2) }}</view>
  269. </view>
  270. <view class='actualPay acea-row row-right' v-if="orderInfo.payFee">{{ $t(`应付金额`) }}:<text
  271. class='money font-color'>{{ $t(`¥`) }}{{ orderInfo.payFee }}</text></view>
  272. </view>
  273. <view class='wrapper'>
  274. <u--text text="物流信息:"></u--text>
  275. <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png">
  276. </u-empty>
  277. </view>
  278. <!-- <view style='height:120rpx;'></view> -->
  279. <!-- <view class='footer acea-row row-right row-middle'
  280. v-if="isGoodsReturn==false || status.type == 9 || orderInfo.refund_type || orderInfo.is_apply_refund">
  281. <view class="more" v-if="(invoice_func || invoiceData) && orderInfo.paid && !orderInfo.refund_status"
  282. @click="more">{{$t(`更多`)}}<span class='iconfont icon-xiangshang'></span></view>
  283. <view class="more-box" v-if="moreBtn">
  284. <view class="more-btn" v-if="invoice_func && !invoiceData" @click="invoiceApply">{{$t(`申请开票`)}}</view>
  285. <view class="more-btn" v-if="invoiceData" @click="aleartStatusChange">{{$t(`查看发票`)}}</view>
  286. </view>
  287. <view class="qs-btn" v-if="status.type == 0 || status.type == -9" @click.stop="cancelOrder">{{$t(`取消订单`)}}</view>
  288. <view class='bnt bg-color' v-if="status.type==0" @tap='pay_open(orderInfo.order_id)'>{{$t(`立即付款`)}}</view>
  289. <view
  290. @click="openSubcribe(`/pages/users/${cartInfo.length > 1 ? 'goods_return_list' : 'goods_return'}/index?orderId=`+orderInfo.order_id+ '&id=' + orderInfo.id)"
  291. class='bnt cancel'
  292. v-else-if="orderInfo.is_apply_refund && orderInfo.refund_status == 0 && cartInfo.length>1 && !orderInfo.virtual_type">
  293. {{cartInfo.length>1?$t(`批量退款`):$t(`申请退款`)}}
  294. </view>
  295. <navigator class='bnt cancel'
  296. v-if="orderInfo.delivery_type == 'express' && status.class_status==3 && status.type==2 && !split.length"
  297. hover-class='none' :url="'/pages/goods/goods_logistics/index?orderId='+ orderInfo.order_id">{{$t(`查看物流`)}}
  298. </navigator>
  299. <view class='bnt bg-color' v-if="orderInfo.type==3" @tap='goJoinPink'>{{$t(`查看拼团`)}}</view>
  300. <view class='bnt bg-color' v-if="status.class_status==3 && !split.length" @click='confirmOrder()'>{{$t(`确认收货`)}}
  301. </view>
  302. <view class='bnt cancel' v-if="status.type==4 && !split.length ||status.type==-2" @tap='delOrder'>{{$t(`删除订单`)}}
  303. </view>
  304. <view class='bnt bg-color' v-if="status.class_status==5" @tap='goOrderConfirm'>{{$t(`再次购买`)}}
  305. </view>
  306. <view class='bnt bg-color refundBnt'
  307. v-if="[1,2,4].includes(orderInfo.refund_type) && !orderInfo.is_cancel" @tap='cancelRefundOrder'>{{$t(`取消申请`)}}
  308. </view>
  309. <view class='bnt bg-color refundBnt' v-if="orderInfo.refund_type== 4" @tap='refundInput'>{{$t(`填写退货信息`)}}</view>
  310. <navigator class='bnt cancel refundBnt' v-if="orderInfo.refund_type == 5" hover-class='none'
  311. :url="'/pages/goods/goods_logistics/index?orderId='+ orderInfo.order_id + '&type=refund'">{{$t(`查看退货物流`)}}
  312. </navigator>
  313. </view> -->
  314. </view>
  315. <!-- <home v-show="!aleartStatus && !invShow"></home> -->
  316. <!-- <view class="mask" v-if="refund_close" @click="refund_close = false"></view> -->
  317. <!-- <view class="refund-input" :class="refund_close ? 'on' : ''">
  318. <view class="input-msg">
  319. <text class='iconfont icon-guanbi5' @tap='refund_close = false'></text>
  320. <view class="refund-input-title">填写物流单号
  321. </view>
  322. <view class="refund-input-sty">
  323. <input type="text" v-model="express_num" placeholder="请输入物流单号" />
  324. </view>
  325. <view class="refund-bth">
  326. <view class="submit-refund" @click="refundSubmit()">提交</view>
  327. </view>
  328. </view>
  329. </view> -->
  330. <!-- #ifdef MP -->
  331. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  332. <!-- #endif -->
  333. <!-- <payment :payMode='payMode' :pay_close="pay_close" @onChangeFun='onChangeFun' :order_id="pay_order_id"
  334. :totalPrice='totalPrice' :friendPay="true"></payment> -->
  335. <!-- <invoiceModal :aleartStatus="aleartStatus" :invoiceData="invoiceData" @close="aleartStatus=false">
  336. </invoiceModal> -->
  337. <!-- <view class="mask invoice-mask" v-if="aleartStatus" @click="aleartStatus = false"></view> -->
  338. <!-- <view class="mask more-mask" v-if="moreBtn" @click="moreBtn = false"></view> -->
  339. <!-- <invoice-picker :inv-show="invShow" :is-special="special_invoice" :url-query="urlQuery" :inv-checked="invChecked" :order-id='order_id'
  340. :inv-list="invList" :is-order="1" @inv-close="invClose" @inv-change="invSub" @inv-cancel="invCancel">
  341. </invoice-picker> -->
  342. </view>
  343. </template>
  344. <script>
  345. import {
  346. getOrderDetail,
  347. refundOrderDetail,
  348. orderAgain,
  349. orderTake,
  350. orderDel,
  351. refundOrderDel,
  352. orderCancel,
  353. refundExpress,
  354. cancelRefundOrder
  355. } from '@/api/order.js';
  356. import {
  357. openOrderRefundSubscribe
  358. } from '@/utils/SubscribeMessage.js';
  359. import {
  360. getCustomerType
  361. } from '@/api/api.js';
  362. import {
  363. getCustomer
  364. } from '@/utils/index.js'
  365. import {
  366. getUserInfo,
  367. invoiceList,
  368. makeUpinvoice
  369. } from '@/api/user.js';
  370. import home from '@/components/home';
  371. import payment from '@/components/payment';
  372. import orderGoods from "@/pages/goods/orderGoods/index_details_mall";
  373. import ClipboardJS from "@/plugin/clipboard/clipboard.js";
  374. import {
  375. toLogin
  376. } from '@/libs/login.js';
  377. import {
  378. mapGetters
  379. } from "vuex";
  380. // #ifdef MP
  381. import authorize from '@/components/Authorize';
  382. // #endif
  383. import colors from "@/mixins/color";
  384. import invoicePicker from '../components/invoicePicker/index.vue';
  385. // import invoiceModal from '../components/invoiceModal/index.vue'
  386. import zbCode from '@/components/zb-code/zb-code.vue'
  387. export default {
  388. components: {
  389. payment,
  390. home,
  391. invoicePicker,
  392. // invoiceModal,
  393. orderGoods,
  394. zbCode,
  395. // #ifdef MP
  396. authorize
  397. // #endif
  398. },
  399. mixins: [colors],
  400. data() {
  401. return {
  402. customForm: '', //自定义留言
  403. //二维码参数
  404. codeShow: false,
  405. cid: '1',
  406. ifShow: true,
  407. val: "", // 要生成的二维码值
  408. size: 200, // 二维码大小
  409. unit: 'upx', // 单位
  410. background: '#FFF', // 背景色
  411. foreground: '#000', // 前景色
  412. pdground: '#000', // 角标色
  413. icon: '', // 二维码图标
  414. iconsize: 40, // 二维码图标大小
  415. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  416. onval: true, // val值变化时自动重新生成二维码
  417. loadMake: true, // 组件加载完成后自动生成二维码
  418. src: '', // 二维码生成后的图片地址或base64
  419. codeSrc: "",
  420. wd: 0,
  421. hg: 0,
  422. mpUrl: "",
  423. order: {},
  424. order_id: '',
  425. evaluate: 0,
  426. cartInfo: [], //购物车产品
  427. pid: 0, //上级订单ID
  428. split: [], //分单商品
  429. orderInfo: {
  430. help_info: {},
  431. system_store: {},
  432. _status: {},
  433. cartInfo: []
  434. }, //订单详情
  435. system_store: {},
  436. isGoodsReturn: false, //是否为退款订单
  437. status: {}, //订单底部按钮状态
  438. refund_close: false,
  439. isClose: false,
  440. payMode: [{
  441. name: this.$t(`微信支付`),
  442. icon: "icon-weixinzhifu",
  443. value: 'weixin',
  444. title: this.$t(`使用微信快捷支付`),
  445. payStatus: true,
  446. },
  447. // #ifdef H5 || APP-PLUS
  448. {
  449. name: this.$t(`支付宝支付`),
  450. icon: 'icon-zhifubao',
  451. value: 'alipay',
  452. title: this.$t(`使用支付宝支付`),
  453. payStatus: true
  454. },
  455. // #endif
  456. {
  457. name: this.$t(`余额支付`),
  458. icon: "icon-yuezhifu",
  459. value: 'yue',
  460. title: this.$t(`可用余额`),
  461. number: 0,
  462. payStatus: true
  463. }, {
  464. "name": this.$t(`好友代付`),
  465. "icon": "icon-haoyoudaizhifu",
  466. value: 'friend',
  467. title: this.$t(`找微信好友支付`),
  468. payStatus: 1,
  469. }
  470. ],
  471. pay_close: false,
  472. pay_order_id: '',
  473. totalPrice: '0',
  474. isAuto: false, //没有授权的不会自动授权
  475. isShowAuth: false, //是否隐藏授权
  476. routineContact: 0,
  477. express_num: '',
  478. invoice_func: false,
  479. invoiceData: {},
  480. invoice_id: 0,
  481. invChecked: '',
  482. moreBtn: false,
  483. invShow: false,
  484. aleartStatus: false, //发票弹窗
  485. special_invoice: false,
  486. invList: [],
  487. customerInfo: {},
  488. userInfo: {},
  489. isReturen: '',
  490. urlQuery: ''
  491. };
  492. },
  493. computed: mapGetters(['isLogin']),
  494. onLoad: function (options) {
  495. const item = JSON.parse(decodeURIComponent(options.order));
  496. if (item) {
  497. this.$set(this, 'order', item);
  498. this.orderInfo = item
  499. this.$set(this, 'cartInfo', item.orderGoods);
  500. }
  501. if (options.order_id) {
  502. this.$set(this, 'order_id', options.order_id);
  503. this.isReturen = options.isReturen;
  504. }
  505. if (options.invoice_id) {
  506. this.invoice_id = options.invoice_id
  507. }
  508. },
  509. onShow() {
  510. if (this.isLogin) {
  511. // this.getOrderInfo();
  512. // this.getUserInfo();
  513. // this.getCustomerType();
  514. } else {
  515. toLogin();
  516. }
  517. },
  518. onHide: function () {
  519. this.isClose = true;
  520. },
  521. onReady: function () {
  522. // #ifdef H5
  523. this.$nextTick(function () {
  524. const clipboard = new ClipboardJS(".copy-data");
  525. clipboard.on("success", () => {
  526. this.$util.Tips({
  527. title: this.$t(`复制成功`)
  528. });
  529. });
  530. const address = new ClipboardJS(".copy-refund-msg");
  531. address.on("success", () => {
  532. this.$util.Tips({
  533. title: this.$t(`复制成功`)
  534. });
  535. });
  536. });
  537. // #endif
  538. },
  539. methods: {
  540. qrR(res) {
  541. this.codeSrc = res
  542. },
  543. cancelRefundOrder(orderId) {
  544. let that = this;
  545. uni.showModal({
  546. title: that.$t(`取消申请`),
  547. content: that.$t(`您确认放弃此次申请吗`),
  548. success: (res) => {
  549. if (res.confirm) {
  550. cancelRefundOrder(that.order_id).then(res => {
  551. return that.$util.Tips({
  552. title: that.$t(`操作成功`),
  553. icon: 'success'
  554. }, {
  555. tab: 4,
  556. url: '/pages/users/user_return_list/index'
  557. });
  558. }).catch(err => {
  559. return that.$util.Tips({
  560. title: err
  561. });
  562. })
  563. }
  564. }
  565. })
  566. },
  567. refundInput() {
  568. uni.navigateTo({
  569. url: `/pages/goods/order_refund_goods/index?orderId=` + this.order_id
  570. })
  571. },
  572. // refundSubmit() {
  573. // if (!this.express_num.trim()) {
  574. // return this.$util.Tips({
  575. // title: '请输入物流单号'
  576. // })
  577. // }
  578. // refundExpress({
  579. // express_id: this.express_num,
  580. // id: this.orderInfo.id
  581. // }).then(res => {
  582. // this.$util.Tips({
  583. // title: '操作成功',
  584. // icon: 'success'
  585. // }, () => {
  586. // this.refund_close = false
  587. // this.getOrderInfo();
  588. // });
  589. // }).catch(err => {
  590. // this.$util.Tips({
  591. // title: err,
  592. // })
  593. // })
  594. // },
  595. getCustomerType() {
  596. getCustomerType().then(res => {
  597. this.customerInfo = res.data;
  598. }).catch(err => {
  599. this.$util.Tips({
  600. title: err
  601. });
  602. })
  603. },
  604. goGoodCall() {
  605. getCustomer(`/pages/extension/customer_list/chat?orderId=${this.order_id}&isReturen=${this.isReturen}`)
  606. },
  607. openSubcribe(e) {
  608. let page = e;
  609. console.log(page)
  610. // #ifndef MP
  611. uni.navigateTo({
  612. url: page,
  613. });
  614. // #endif
  615. // #ifdef MP
  616. uni.showLoading({
  617. title: this.$t(`正在加载中`),
  618. })
  619. openOrderRefundSubscribe().then(res => {
  620. uni.hideLoading();
  621. uni.navigateTo({
  622. url: page,
  623. });
  624. }).catch((err) => {
  625. uni.hideLoading();
  626. });
  627. // #endif
  628. },
  629. // openSubcribe(e, type) {
  630. // let page = e;
  631. // // #ifdef MP
  632. // uni.showLoading({
  633. // title: '正在加载',
  634. // })
  635. // openOrderRefundSubscribe().then(res => {
  636. // uni.hideLoading();
  637. // uni.navigateTo({
  638. // url: page,
  639. // success: (res) => {
  640. // if (!type) {
  641. // let cartList = [];
  642. // this.cartInfo.forEach((item) => {
  643. // let i = {
  644. // cart_info: item,
  645. // cart_id: item.id,
  646. // cart_num: item.cart_num,
  647. // surplus_num: item.cart_num - item.refund_num
  648. // }
  649. // cartList.push(i)
  650. // })
  651. // res.eventChannel.emit('goodsData', {
  652. // cartList: cartList,
  653. // count: 1,
  654. // })
  655. // }
  656. // }
  657. // });
  658. // }).catch(() => {
  659. // uni.hideLoading();
  660. // });
  661. // // #endif
  662. // // #ifndef MP
  663. // uni.navigateTo({
  664. // url: page,
  665. // success: (res) => {
  666. // if (!type) {
  667. // let cartList = [];
  668. // this.cartInfo.forEach((item) => {
  669. // let i = {
  670. // cart_info: item,
  671. // cart_id: item.id,
  672. // cart_num: item.cart_num,
  673. // surplus_num: item.cart_num - item.refund_num
  674. // }
  675. // cartList.push(i)
  676. // })
  677. // res.eventChannel.emit('goodsData', {
  678. // cartList: cartList,
  679. // count: 1,
  680. // })
  681. // }
  682. // }
  683. // });
  684. // // #endif
  685. // },
  686. goReturnGoods() {
  687. },
  688. /**
  689. * 事件回调
  690. *
  691. */
  692. onChangeFun: function (e) {
  693. let opt = e;
  694. let action = opt.action || null;
  695. let value = opt.value != undefined ? opt.value : null;
  696. (action && this[action]) && this[action](value);
  697. },
  698. /**
  699. * 拨打电话
  700. */
  701. makePhone: function () {
  702. uni.makePhoneCall({
  703. phoneNumber: this.system_store.phone
  704. })
  705. },
  706. /**
  707. * 打开地图
  708. *
  709. */
  710. showMaoLocation: function () {
  711. if (!this.system_store.latitude || !this.system_store.longitude) return this.$util.Tips({
  712. title: this.$t(`缺少经纬度信息无法查看地图`)
  713. });
  714. uni.openLocation({
  715. latitude: parseFloat(this.system_store.latitude),
  716. longitude: parseFloat(this.system_store.longitude),
  717. scale: 8,
  718. name: this.system_store.name,
  719. address: this.system_store.address + this.system_store.detailed_address,
  720. success: function () {
  721. },
  722. });
  723. },
  724. /**
  725. * 关闭支付组件
  726. *
  727. */
  728. payClose: function () {
  729. this.pay_close = false;
  730. },
  731. /**
  732. * 打开支付组件
  733. *
  734. */
  735. pay_open: function () {
  736. this.pay_close = true;
  737. this.pay_order_id = this.orderInfo.order_id;
  738. this.totalPrice = this.orderInfo.pay_price;
  739. },
  740. /**
  741. * 支付成功回调
  742. *
  743. */
  744. pay_complete: function () {
  745. this.pay_close = false;
  746. this.pay_order_id = '';
  747. uni.navigateTo({
  748. url: '/pages/goods/order_pay_status/index?order_id=' + this.orderInfo.order_id + '&msg=' +
  749. this.$t(`支付成功`) +
  750. '&type=3' + '&totalPrice=' + this.totalPrice
  751. })
  752. this.getOrderInfo();
  753. },
  754. /**
  755. * 支付失败回调
  756. *
  757. */
  758. pay_fail: function () {
  759. this.pay_close = false;
  760. this.pay_order_id = '';
  761. },
  762. /**
  763. * 登录授权回调
  764. *
  765. */
  766. onLoadFun: function () {
  767. this.getOrderInfo();
  768. this.getUserInfo();
  769. },
  770. /**
  771. * 获取用户信息
  772. *
  773. */
  774. getUserInfo: function () {
  775. let that = this;
  776. getUserInfo().then(res => {
  777. that.userInfo = res.data
  778. // #ifdef H5
  779. that.payMode[2].number = res.data.now_money;
  780. // #endif
  781. // #ifdef APP-PLUS
  782. that.payMode[2].number = res.data.now_money;
  783. // #endif
  784. // #ifdef MP
  785. that.payMode[1].number = res.data.now_money;
  786. // #endif
  787. that.$set(that, 'payMode', that.payMode);
  788. })
  789. },
  790. /**
  791. * 获取订单详细信息
  792. *
  793. */
  794. getOrderInfo: function () {
  795. let that = this;
  796. uni.showLoading({
  797. title: this.$t(`正在加载中`)
  798. });
  799. let obj = '';
  800. if (that.isReturen) {
  801. obj = refundOrderDetail(this.order_id);
  802. } else {
  803. obj = getOrderDetail(this.order_id);
  804. }
  805. obj.then(res => {
  806. if (res.data.pid && res.data.pid == -1) {
  807. that.$util.Tips({
  808. title: this.$t(`订单信息不存在`)
  809. }, '/pages/goods/order_list/index');
  810. }
  811. let _type = res.data._status._type;
  812. uni.hideLoading();
  813. that.$set(that, 'orderInfo', res.data);
  814. //处理自定义留言非必填项的数据展示
  815. let arr = []
  816. that.orderInfo.custom_form.map(i => {
  817. if (i.value != '') {
  818. arr.push(i)
  819. }
  820. })
  821. that.$set(that, 'customForm', arr);
  822. that.$set(that, 'cartInfo', res.data.cartInfo);
  823. that.$set(that, 'pid', res.data.pid);
  824. that.$set(that, 'split', res.data.split);
  825. that.$set(that, 'evaluate', _type == 3 ? 3 : 0);
  826. that.$set(that, 'system_store', res.data.system_store);
  827. that.$set(that, 'invoiceData', res.data.invoice);
  828. if (that.invoiceData) {
  829. that.invoiceData.pay_price = res.data.pay_price;
  830. }
  831. that.$set(that, 'invoice_func', res.data.invoice_func);
  832. that.$set(that, 'special_invoice', res.data.special_invoice);
  833. that.$set(that, 'routineContact', Number(res.data.routine_contact_type));
  834. this.$nextTick(() => {
  835. that.val = that.orderInfo.verify_code
  836. })
  837. if (this.orderInfo.refund_status != 0) {
  838. this.isGoodsReturn = true;
  839. } else {
  840. this.isReturen = 0
  841. }
  842. if (that.invoice_id && !that.invoiceData) {
  843. that.invChecked = that.invoice_id || '';
  844. this.invoiceApply()
  845. }
  846. that.payMode.map(item => {
  847. if (item.value == 'weixin') {
  848. item.payStatus = res.data.pay_weixin_open ? true : false;
  849. }
  850. if (item.value == 'alipay') {
  851. item.payStatus = res.data.ali_pay_status ? true : false;
  852. }
  853. if (item.value == 'yue') {
  854. item.payStatus = res.data.yue_pay_status == 1 ? true : false;
  855. }
  856. if (item.value == 'friend') {
  857. item.payStatus = res.data.friend_pay_status == 1 ? true : false;
  858. }
  859. });
  860. that.getOrderStatus();
  861. }).catch(err => {
  862. uni.hideLoading();
  863. that.$util.Tips({
  864. title: err
  865. }, '/pages/goods/order_list/index');
  866. });
  867. },
  868. // 不开发票
  869. invCancel() {
  870. this.invChecked = '';
  871. this.invTitle = this.$t(`不开发票`);
  872. this.invShow = false;
  873. },
  874. // 选择发票
  875. invSub(id) {
  876. this.invChecked = id;
  877. let data = {
  878. order_id: this.order_id,
  879. invoice_id: this.invChecked
  880. }
  881. makeUpinvoice(data).then(res => {
  882. uni.showToast({
  883. title: this.$t(`申请成功`),
  884. icon: 'success'
  885. });
  886. this.invShow = false;
  887. this.aleartStatus = true;
  888. this.getOrderInfo()
  889. }).catch(err => {
  890. uni.showToast({
  891. title: err,
  892. icon: 'none'
  893. });
  894. });
  895. },
  896. // 关闭发票
  897. invClose() {
  898. this.invShow = false;
  899. this.getInvoiceList()
  900. },
  901. //申请开票
  902. invoiceApply() {
  903. this.urlQuery = `&specialInvoice=${this.userInfo.special_invoice}`;
  904. this.getInvoiceList()
  905. this.moreBtn = false;
  906. this.invShow = true;
  907. },
  908. aleartStatusChange() {
  909. this.moreBtn = false;
  910. this.aleartStatus = true
  911. },
  912. getInvoiceList() {
  913. uni.showLoading({
  914. title: this.$t(`正在加载中`)
  915. })
  916. invoiceList().then(res => {
  917. uni.hideLoading();
  918. this.invList = res.data.map(item => {
  919. item.id = item.id.toString();
  920. return item;
  921. });
  922. const result = this.invList.find(item => item.id == this.invChecked);
  923. if (result) {
  924. let name = '';
  925. name += result.header_type === 1 ? this.$t(`个人`) : this.$t(`企业`);
  926. name += result.type === 1 ? this.$t(`普通`) : this.$t(`专用`);
  927. name += this.$t(`发票`);
  928. this.invTitle = name;
  929. }
  930. }).catch(err => {
  931. uni.showToast({
  932. title: err,
  933. icon: 'none'
  934. });
  935. });
  936. },
  937. more() {
  938. this.moreBtn = !this.moreBtn
  939. },
  940. /**
  941. *
  942. * 剪切订单号
  943. */
  944. // #ifndef H5
  945. copy: function () {
  946. let that = this;
  947. uni.setClipboardData({
  948. data: this.orderInfo.order_id
  949. });
  950. },
  951. // #endif
  952. // #ifndef H5
  953. copyAddress() {
  954. uni.setClipboardData({
  955. data: this.orderInfo._status.refund_name + this.orderInfo._status.refund_phone + this.orderInfo
  956. ._status
  957. .refund_address,
  958. success() {
  959. uni.Tips({
  960. title: this.$t(`复制成功`),
  961. icon: 'success'
  962. })
  963. }
  964. });
  965. },
  966. // #endif
  967. // #ifdef H5
  968. copyAddress() {
  969. // console.log('1111111111111')
  970. // let msg =
  971. // console.log(msg)
  972. // return msg
  973. },
  974. // #endif
  975. /**
  976. * 打电话
  977. */
  978. goTel: function () {
  979. uni.makePhoneCall({
  980. phoneNumber: this.orderInfo.delivery_id
  981. })
  982. },
  983. /**
  984. * 设置底部按钮
  985. *
  986. */
  987. getOrderStatus: function () {
  988. let orderInfo = this.orderInfo || {},
  989. _status = orderInfo._status || {
  990. _type: 0
  991. },
  992. status = {};
  993. let type = parseInt(_status._type),
  994. delivery_type = orderInfo.delivery_type,
  995. seckill_id = orderInfo.seckill_id ? parseInt(orderInfo.seckill_id) : 0,
  996. bargain_id = orderInfo.bargain_id ? parseInt(orderInfo.bargain_id) : 0,
  997. discount_id = orderInfo.discount_id ? parseInt(orderInfo.discount_id) : 0,
  998. combination_id = orderInfo.combination_id ? parseInt(orderInfo.combination_id) : 0;
  999. status = {
  1000. type: type == 9 ? -9 : type,
  1001. class_status: 0
  1002. };
  1003. if (type == 1 && combination_id > 0) status.class_status = 1; //查看拼团
  1004. if (type == 2 && delivery_type == 'express') status.class_status = 2; //查看物流
  1005. if (type == 2) status.class_status = 3; //确认收货
  1006. if (type == 4 || type == 0) status.class_status = 4; //删除订单
  1007. if (!seckill_id && !bargain_id && !combination_id && !discount_id && !orderInfo.type && (type == 3 ||
  1008. type == 4)) status
  1009. .class_status =
  1010. 5; //再次购买
  1011. this.$set(this, 'status', status);
  1012. },
  1013. /**
  1014. * 去拼团详情
  1015. *
  1016. */
  1017. goJoinPink: function () {
  1018. uni.navigateTo({
  1019. url: '/pages/activity/goods_combination_status/index?id=' + this.orderInfo.pink_id,
  1020. });
  1021. },
  1022. /**
  1023. * 再此购买
  1024. *
  1025. */
  1026. goOrderConfirm: function () {
  1027. let that = this;
  1028. orderAgain(that.orderInfo.order_id).then(res => {
  1029. return uni.navigateTo({
  1030. url: '/pages/goods/order_confirm/index?new=1&cartId=' + res.data.cateId
  1031. });
  1032. }).catch(err => {
  1033. return that.$util.Tips({
  1034. title: err
  1035. });
  1036. })
  1037. },
  1038. confirmOrder(orderId) {
  1039. let that = this;
  1040. uni.showModal({
  1041. title: that.$t(`确认收货`),
  1042. content: that.$t(`为保障权益,请收到货确认无误后,再确认收货`),
  1043. success: function (res) {
  1044. if (res.confirm) {
  1045. orderTake(orderId ? orderId : that.order_id).then(res => {
  1046. return that.$util.Tips({
  1047. title: that.$t(`操作成功`),
  1048. icon: 'success'
  1049. }, function () {
  1050. that.getOrderInfo();
  1051. });
  1052. }).catch(err => {
  1053. return that.$util.Tips({
  1054. title: err
  1055. });
  1056. })
  1057. }
  1058. }
  1059. })
  1060. },
  1061. /**
  1062. *
  1063. * 删除订单
  1064. */
  1065. delOrder() {
  1066. let that = this;
  1067. uni.showModal({
  1068. title: this.$t(`删除订单`),
  1069. content: this.$t(`确定删除该订单`),
  1070. success: (res) => {
  1071. if (res.confirm) {
  1072. (that.isReturen ? refundOrderDel : orderDel)(that.order_id).then(res => {
  1073. if (that.status.type == -2) {
  1074. return that.$util.Tips({
  1075. title: that.$t(`删除成功`),
  1076. icon: 'success'
  1077. }, {
  1078. tab: 5,
  1079. url: '/pages/users/user_return_list/index'
  1080. });
  1081. } else {
  1082. return that.$util.Tips({
  1083. title: that.$t(`删除成功`),
  1084. icon: 'success'
  1085. }, {
  1086. tab: 5,
  1087. url: '/pages/goods/order_list/index'
  1088. });
  1089. }
  1090. }).catch(err => {
  1091. return that.$util.Tips({
  1092. title: err
  1093. });
  1094. });
  1095. } else if (res.cancel) {
  1096. return that.$util.Tips({
  1097. title: that.$t(`已取消`)
  1098. });
  1099. }
  1100. }
  1101. });
  1102. },
  1103. cancelOrder() {
  1104. let self = this
  1105. uni.showModal({
  1106. title: this.$t(`提示`),
  1107. content: this.$t(`确认取消该订单`),
  1108. success: function (res) {
  1109. if (res.confirm) {
  1110. orderCancel(self.orderInfo.order_id)
  1111. .then((data) => {
  1112. // #ifndef MP
  1113. self.$util.Tips({
  1114. title: data.msg
  1115. }, {
  1116. tab: 3
  1117. })
  1118. // #endif
  1119. // #ifdef MP
  1120. self.$util.Tips({
  1121. title: data.msg
  1122. }, '/pages/goods/order_list/index');
  1123. // #endif
  1124. })
  1125. .catch(() => {
  1126. self.getOrderInfo();
  1127. });
  1128. } else if (res.cancel) {
  1129. }
  1130. }
  1131. });
  1132. },
  1133. }
  1134. }
  1135. </script>
  1136. <style scoped lang="scss">
  1137. .refund-tip {
  1138. font-size: 24rpx;
  1139. margin-top: 10rpx;
  1140. color: var(--view-theme);
  1141. .iconfont {
  1142. font-size: 24rpx;
  1143. margin-right: 6rpx;
  1144. }
  1145. }
  1146. .refund-tip1 {
  1147. font-size: 24rpx;
  1148. color: var(--view-theme);
  1149. .iconfont {
  1150. font-size: 24rpx;
  1151. margin-right: 6rpx;
  1152. }
  1153. }
  1154. .qs-btn {
  1155. width: auto;
  1156. height: 60rpx;
  1157. text-align: center;
  1158. line-height: 60rpx;
  1159. border-radius: 50rpx;
  1160. font-size: 27rpx;
  1161. padding: 0 3%;
  1162. color: #666;
  1163. border: 1px solid #ccc;
  1164. margin-right: 20rpx;
  1165. }
  1166. .refund-input {
  1167. position: fixed;
  1168. bottom: 0;
  1169. left: 0;
  1170. width: 100%;
  1171. border-radius: 16rpx 16rpx 0 0;
  1172. background-color: #fff;
  1173. z-index: 99;
  1174. padding: 40rpx 0 70rpx 0;
  1175. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  1176. transform: translate3d(0, 100%, 0);
  1177. .refund-input-title {
  1178. font-size: 32rpx;
  1179. margin-bottom: 60rpx;
  1180. color: #282828;
  1181. }
  1182. .refund-input-sty {
  1183. border: 1px solid #ddd;
  1184. padding: 20rpx 20rpx;
  1185. border-radius: 40rpx;
  1186. width: 100%;
  1187. margin: 20rpx 65rpx;
  1188. }
  1189. .input-msg {
  1190. display: flex;
  1191. flex-direction: column;
  1192. justify-content: center;
  1193. align-items: center;
  1194. position: relative;
  1195. margin: 0 65rpx;
  1196. .iconfont {
  1197. position: absolute;
  1198. font-size: 32rpx;
  1199. color: #282828;
  1200. top: 8rpx;
  1201. right: -30rpx;
  1202. }
  1203. }
  1204. .refund-bth {
  1205. display: flex;
  1206. margin: 0 65rpx;
  1207. margin-top: 20rpx;
  1208. justify-content: space-around;
  1209. width: 100%;
  1210. .close-refund {
  1211. padding: 24rpx 80rpx;
  1212. border-radius: 80rpx;
  1213. color: #fff;
  1214. background-color: #ccc;
  1215. }
  1216. .submit-refund {
  1217. width: 100%;
  1218. padding: 24rpx 0rpx;
  1219. text-align: center;
  1220. border-radius: 80rpx;
  1221. color: #fff;
  1222. background-color: var(--view-theme);
  1223. }
  1224. }
  1225. }
  1226. .refund-input.on {
  1227. transform: translate3d(0, 0, 0);
  1228. }
  1229. .goodCall {
  1230. color: var(--view-theme);
  1231. text-align: center;
  1232. width: 100%;
  1233. height: 86rpx;
  1234. padding: 0 30rpx;
  1235. border-top: 1rpx solid #eee;
  1236. font-size: 30rpx;
  1237. line-height: 86rpx;
  1238. background: #fff;
  1239. .icon-kefu {
  1240. font-size: 36rpx;
  1241. margin-right: 15rpx;
  1242. }
  1243. /* #ifdef MP */
  1244. button {
  1245. display: flex;
  1246. align-items: center;
  1247. justify-content: center;
  1248. height: 86rpx;
  1249. font-size: 30rpx;
  1250. color: var(--view-theme);
  1251. }
  1252. /* #endif */
  1253. }
  1254. .order-details .header {
  1255. padding: 0 30rpx;
  1256. height: 150rpx;
  1257. display: flex;
  1258. align-items: center;
  1259. flex-wrap: nowrap;
  1260. }
  1261. .order-details .header.on {
  1262. background-color: #666 !important;
  1263. }
  1264. .order-details .header .pictrue {
  1265. width: 110rpx;
  1266. height: 110rpx;
  1267. }
  1268. .order-details .header .pictrue image {
  1269. width: 100%;
  1270. height: 100%;
  1271. }
  1272. .order-details .header .data {
  1273. color: rgba(255, 255, 255, 0.8);
  1274. font-size: 24rpx;
  1275. margin-left: 27rpx;
  1276. }
  1277. .order-details .header .data.on {
  1278. margin-left: 0;
  1279. }
  1280. .order-details .header .data .state {
  1281. font-size: 30rpx;
  1282. font-weight: bold;
  1283. color: #fff;
  1284. margin-bottom: 7rpx;
  1285. }
  1286. .order-details .header .data .time {
  1287. margin-left: 20rpx;
  1288. }
  1289. .order-details .nav {
  1290. background-color: #fff;
  1291. font-size: 26rpx;
  1292. color: #282828;
  1293. padding: 25rpx 0;
  1294. }
  1295. .order-details .nav .navCon {
  1296. padding: 0 40rpx;
  1297. }
  1298. .order-details .nav .on {
  1299. color: var(--view-theme);
  1300. }
  1301. .order-details .nav .progress {
  1302. padding: 0 65rpx;
  1303. margin-top: 10rpx;
  1304. }
  1305. .order-details .nav .progress .line {
  1306. width: 100rpx;
  1307. height: 2rpx;
  1308. background-color: #939390;
  1309. }
  1310. .order-details .nav .progress .iconfont {
  1311. font-size: 25rpx;
  1312. color: #939390;
  1313. margin-top: -2rpx;
  1314. }
  1315. .order-details .address {
  1316. font-size: 26rpx;
  1317. color: #868686;
  1318. background-color: #fff;
  1319. margin-top: 13rpx;
  1320. padding: 35rpx 30rpx;
  1321. margin-bottom: 12rpx;
  1322. }
  1323. .order-details .address .name {
  1324. font-size: 30rpx;
  1325. color: #282828;
  1326. margin-bottom: 15rpx;
  1327. }
  1328. .order-details .address .name .phone {
  1329. margin-left: 40rpx;
  1330. }
  1331. .order-details .line {
  1332. width: 100%;
  1333. height: 3rpx;
  1334. }
  1335. .order-details .line image {
  1336. width: 100%;
  1337. height: 100%;
  1338. display: block;
  1339. }
  1340. .order-details .wrapper {
  1341. background-color: #fff;
  1342. margin-top: 12rpx;
  1343. padding: 30rpx;
  1344. }
  1345. .order-details .wrapper .acea-row {
  1346. display: flex;
  1347. flex-wrap: nowrap;
  1348. }
  1349. .order-details .wrapper .item {
  1350. font-size: 28rpx;
  1351. color: #282828;
  1352. }
  1353. .order-details .wrapper .item~.item {
  1354. margin-top: 20rpx;
  1355. white-space: normal;
  1356. word-break: break-all;
  1357. word-wrap: break-word;
  1358. }
  1359. .order-details .wrapper .item .conter {
  1360. color: #868686;
  1361. width: 380srpx;
  1362. display: flex;
  1363. flex-wrap: nowrap;
  1364. justify-content: flex-end;
  1365. }
  1366. .order-details .wrapper .item .conter .copy {
  1367. font-size: 20rpx;
  1368. color: #333;
  1369. border-radius: 3rpx;
  1370. border: 1rpx solid #666;
  1371. padding: 3rpx 15rpx;
  1372. margin-left: 24rpx;
  1373. white-space: nowrap;
  1374. }
  1375. .order-details .wrapper .actualPay {
  1376. border-top: 1rpx solid #eee;
  1377. margin-top: 30rpx;
  1378. padding-top: 30rpx;
  1379. display: flex;
  1380. align-items: center;
  1381. .pay-people {
  1382. display: flex;
  1383. align-items: center;
  1384. image {
  1385. width: 40rpx;
  1386. height: 40rpx;
  1387. border-radius: 50%;
  1388. }
  1389. .pay-nickname {
  1390. margin-right: 20rpx;
  1391. padding: 0 10rpx;
  1392. }
  1393. }
  1394. }
  1395. .order-details .wrapper .actualPay .money {
  1396. font-weight: bold;
  1397. font-size: 30rpx;
  1398. }
  1399. .order-details .footer {
  1400. width: 100%;
  1401. height: 100rpx;
  1402. position: fixed;
  1403. bottom: 0;
  1404. left: 0;
  1405. background-color: #fff;
  1406. padding: 0 30rpx;
  1407. box-sizing: border-box;
  1408. .more {
  1409. position: absolute;
  1410. left: 30rpx;
  1411. font-size: 26rpx;
  1412. color: #333;
  1413. .icon-xiangshang {
  1414. margin-left: 6rpx;
  1415. font-size: 22rpx;
  1416. }
  1417. }
  1418. .more-box {
  1419. color: #333;
  1420. position: absolute;
  1421. left: 30rpx;
  1422. bottom: 110rpx;
  1423. background-color: #fff;
  1424. padding: 18rpx 24rpx;
  1425. border-radius: 4rpx;
  1426. font-size: 28rpx;
  1427. -webkit-box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
  1428. -moz-box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
  1429. box-shadow: 0px 0px 3px 0px rgba(200, 200, 200, 0.75);
  1430. .more-btn {
  1431. color: #333;
  1432. padding: 4rpx;
  1433. z-index: 9999;
  1434. }
  1435. }
  1436. .more-box:before {
  1437. content: "";
  1438. width: 0rpx;
  1439. height: 0rpx;
  1440. border-top: 20rpx solid rgba(200, 200, 200, 0.4);
  1441. border-bottom: 0rpx solid transparent;
  1442. border-top: 20rpx solid rgba(200, 200, 200, 0.4);
  1443. border-left: 20rpx solid rgba(0, 0, 0, 0);
  1444. border-right: 20rpx solid rgba(0, 0, 0, 0);
  1445. position: absolute;
  1446. bottom: -20rpx;
  1447. left: 20rpx;
  1448. }
  1449. .more-box::after {
  1450. content: "";
  1451. width: 0rpx;
  1452. height: 0rpx;
  1453. border-top: 20rpx solid #fff;
  1454. border-bottom: 0rpx solid rgba(0, 0, 0, 0);
  1455. border-left: 20rpx solid rgba(0, 0, 0, 0);
  1456. border-right: 20rpx solid rgba(0, 0, 0, 0);
  1457. position: absolute;
  1458. bottom: -18rpx;
  1459. left: 20rpx;
  1460. z-index: 9;
  1461. }
  1462. }
  1463. .order-details .footer .bnt {
  1464. width: 200rpx;
  1465. height: 60rpx;
  1466. text-align: center;
  1467. line-height: 60rpx;
  1468. border-radius: 50rpx;
  1469. color: #fff;
  1470. font-size: 27rpx;
  1471. }
  1472. .order-details .footer .bnt.refundBnt {
  1473. width: 210rpx;
  1474. }
  1475. .order-details .footer .bnt.cancel {
  1476. color: #666;
  1477. border: 1rpx solid #ccc;
  1478. }
  1479. .order-details .footer .bnt~.bnt {
  1480. margin-left: 18rpx;
  1481. }
  1482. .order-details .writeOff {
  1483. background-color: #fff;
  1484. margin-top: 13rpx;
  1485. padding-bottom: 30rpx;
  1486. }
  1487. .order-details .writeOff .title {
  1488. font-size: 30rpx;
  1489. color: #282828;
  1490. height: 87rpx;
  1491. border-bottom: 1px solid #f0f0f0;
  1492. padding: 0 30rpx;
  1493. line-height: 87rpx;
  1494. }
  1495. .order-details .writeOff .grayBg {
  1496. background-color: #f2f5f7;
  1497. width: 590rpx;
  1498. height: 384rpx;
  1499. border-radius: 20rpx 20rpx 0 0;
  1500. margin: 50rpx auto 0 auto;
  1501. padding-top: 55rpx;
  1502. position: relative;
  1503. }
  1504. .order-details .writeOff .grayBg .written {
  1505. position: absolute;
  1506. top: 0;
  1507. right: 0;
  1508. width: 60rpx;
  1509. height: 60rpx;
  1510. }
  1511. .order-details .writeOff .grayBg .written image {
  1512. width: 100%;
  1513. height: 100%;
  1514. }
  1515. .order-details .writeOff .grayBg .pictrue {
  1516. width: 290rpx;
  1517. height: 290rpx;
  1518. margin: 0 auto;
  1519. }
  1520. .order-details .writeOff .grayBg .pictrue image {
  1521. width: 100%;
  1522. height: 100%;
  1523. display: block;
  1524. }
  1525. .order-details .writeOff .gear {
  1526. width: 590rpx;
  1527. height: 30rpx;
  1528. margin: 0 auto;
  1529. }
  1530. .order-details .writeOff .gear image {
  1531. width: 100%;
  1532. height: 100%;
  1533. display: block;
  1534. }
  1535. .order-details .writeOff .num {
  1536. background-color: #f0c34c;
  1537. width: 590rpx;
  1538. height: 84rpx;
  1539. color: #282828;
  1540. font-size: 48rpx;
  1541. margin: 0 auto;
  1542. border-radius: 0 0 20rpx 20rpx;
  1543. text-align: center;
  1544. padding-top: 4rpx;
  1545. }
  1546. .order-details .writeOff .rules {
  1547. margin: 46rpx 30rpx 0 30rpx;
  1548. border-top: 1px solid #f0f0f0;
  1549. padding-top: 10rpx;
  1550. }
  1551. .order-details .writeOff .rules .item {
  1552. margin-top: 20rpx;
  1553. }
  1554. .order-details .writeOff .rules .item .rulesTitle {
  1555. font-size: 28rpx;
  1556. color: #282828;
  1557. }
  1558. .order-details .writeOff .rules .item .rulesTitle .iconfont {
  1559. font-size: 30rpx;
  1560. color: #333;
  1561. margin-right: 8rpx;
  1562. margin-top: 5rpx;
  1563. }
  1564. .order-details .writeOff .rules .item .info {
  1565. font-size: 28rpx;
  1566. color: #999;
  1567. margin-top: 7rpx;
  1568. }
  1569. .order-details .writeOff .rules .item .info .time {
  1570. margin-left: 20rpx;
  1571. }
  1572. .order-details .map {
  1573. height: 86rpx;
  1574. font-size: 30rpx;
  1575. color: #282828;
  1576. line-height: 86rpx;
  1577. border-bottom: 1px solid #f0f0f0;
  1578. margin-top: 13rpx;
  1579. background-color: #fff;
  1580. padding: 0 30rpx;
  1581. }
  1582. .order-details .map .place {
  1583. font-size: 26rpx;
  1584. // width: 176rpx;
  1585. height: 50rpx;
  1586. border-radius: 25rpx;
  1587. line-height: 50rpx;
  1588. text-align: center;
  1589. padding: 0 10rpx;
  1590. }
  1591. .order-details .map .place .iconfont {
  1592. font-size: 27rpx;
  1593. height: 27rpx;
  1594. line-height: 27rpx;
  1595. margin: 2rpx 3rpx 0 0;
  1596. }
  1597. .order-details .address .name .iconfont {
  1598. font-size: 34rpx;
  1599. margin-left: 10rpx;
  1600. }
  1601. .refund {
  1602. padding: 0 30rpx 30rpx;
  1603. margin: 12rpx 0;
  1604. background-color: #fff;
  1605. .title {
  1606. display: flex;
  1607. align-items: center;
  1608. font-size: 30rpx;
  1609. color: #333;
  1610. height: 86rpx;
  1611. border-bottom: 1px solid #f5f5f5;
  1612. image {
  1613. width: 32rpx;
  1614. height: 32rpx;
  1615. margin-right: 10rpx;
  1616. }
  1617. }
  1618. .con {
  1619. padding-top: 25rpx;
  1620. font-size: 28rpx;
  1621. color: #868686;
  1622. }
  1623. }
  1624. </style>
  1625. <style scoped lang="scss">
  1626. .invoice-mask {
  1627. background-color: #999999;
  1628. opacity: 1;
  1629. }
  1630. .more-mask {
  1631. background-color: #fff;
  1632. opacity: 0;
  1633. left: 300rpx;
  1634. }
  1635. .goodCall {
  1636. color: var(--view-theme);
  1637. text-align: center;
  1638. width: 100%;
  1639. height: 86rpx;
  1640. padding: 0 30rpx;
  1641. border-bottom: 1rpx solid #eee;
  1642. font-size: 30rpx;
  1643. line-height: 86rpx;
  1644. background: #fff;
  1645. .icon-kefu {
  1646. font-size: 36rpx;
  1647. margin-right: 15rpx;
  1648. }
  1649. /* #ifdef MP */
  1650. button {
  1651. display: flex;
  1652. align-items: center;
  1653. justify-content: center;
  1654. height: 86rpx;
  1655. font-size: 30rpx;
  1656. color: var(--view-theme);
  1657. }
  1658. /* #endif */
  1659. }
  1660. .order-details .header {
  1661. padding: 0 30rpx;
  1662. height: 150rpx;
  1663. }
  1664. .order-details .header.on {
  1665. background-color: #666 !important;
  1666. }
  1667. .order-details .header .pictrue {
  1668. width: 110rpx;
  1669. height: 110rpx;
  1670. }
  1671. .order-details .header .pictrue image {
  1672. width: 100%;
  1673. height: 100%;
  1674. }
  1675. .order-details .header .data {
  1676. color: rgba(255, 255, 255, 0.8);
  1677. font-size: 24rpx;
  1678. margin-left: 27rpx;
  1679. }
  1680. .order-details .header .data.on {
  1681. margin-left: 0;
  1682. }
  1683. .order-details .header .data .state {
  1684. font-size: 30rpx;
  1685. font-weight: bold;
  1686. color: #fff;
  1687. margin-bottom: 7rpx;
  1688. }
  1689. .order-details .header .data .time {
  1690. margin-left: 20rpx;
  1691. }
  1692. .order-details .nav {
  1693. background-color: #fff;
  1694. font-size: 26rpx;
  1695. color: #282828;
  1696. padding: 25rpx 0;
  1697. }
  1698. .order-details .nav .navCon {
  1699. padding: 0 40rpx;
  1700. }
  1701. .order-details .nav .on {
  1702. color: var(--view-theme);
  1703. }
  1704. .order-details .nav .progress {
  1705. padding: 0 65rpx;
  1706. margin-top: 10rpx;
  1707. }
  1708. .order-details .nav .progress .line {
  1709. width: 100rpx;
  1710. height: 2rpx;
  1711. background-color: #939390;
  1712. }
  1713. .order-details .nav .progress .iconfont {
  1714. font-size: 25rpx;
  1715. color: #939390;
  1716. margin-top: -2rpx;
  1717. }
  1718. .order-details .address {
  1719. font-size: 26rpx;
  1720. color: #868686;
  1721. background-color: #fff;
  1722. margin-top: 13rpx;
  1723. padding: 35rpx 30rpx;
  1724. }
  1725. .order-details .address .name {
  1726. font-size: 30rpx;
  1727. color: #282828;
  1728. margin-bottom: 15rpx;
  1729. }
  1730. .order-details .address .name .phone {
  1731. margin-left: 40rpx;
  1732. }
  1733. .order-details .line {
  1734. width: 100%;
  1735. height: 3rpx;
  1736. }
  1737. .order-details .line image {
  1738. width: 100%;
  1739. height: 100%;
  1740. display: block;
  1741. }
  1742. .order-details .wrapper {
  1743. background-color: #fff;
  1744. margin-top: 12rpx;
  1745. padding: 30rpx;
  1746. }
  1747. .order-details .wrapper .item {
  1748. font-size: 28rpx;
  1749. color: #282828;
  1750. }
  1751. .order-details .wrapper .item~.item {
  1752. margin-top: 20rpx;
  1753. }
  1754. .order-details .wrapper .item .conter {
  1755. color: #868686;
  1756. width: 380rpx;
  1757. text-align: justify;
  1758. }
  1759. .order-details .wrapper .item .conter .copy {
  1760. font-size: 20rpx;
  1761. color: #333;
  1762. border-radius: 3rpx;
  1763. border: 1rpx solid #666;
  1764. padding: 3rpx 15rpx;
  1765. margin-left: 24rpx;
  1766. }
  1767. .order-details .wrapper .actualPay {
  1768. border-top: 1rpx solid #eee;
  1769. margin-top: 30rpx;
  1770. padding-top: 30rpx;
  1771. }
  1772. .order-details .wrapper .actualPay .money {
  1773. font-weight: bold;
  1774. font-size: 30rpx;
  1775. }
  1776. .order-details .footer {
  1777. width: 100%;
  1778. height: 100rpx;
  1779. position: fixed;
  1780. bottom: 0;
  1781. left: 0;
  1782. background-color: #fff;
  1783. padding: 0 30rpx;
  1784. box-sizing: border-box;
  1785. }
  1786. .order-details .footer .bnt {
  1787. width: 160rpx;
  1788. height: 60rpx;
  1789. text-align: center;
  1790. line-height: 60rpx;
  1791. border-radius: 50rpx;
  1792. color: #fff;
  1793. font-size: 27rpx;
  1794. }
  1795. .order-details .footer .bnt~.bnt {
  1796. margin-left: 18rpx;
  1797. }
  1798. .order-details .writeOff {
  1799. background-color: #fff;
  1800. margin-top: 13rpx;
  1801. padding-bottom: 30rpx;
  1802. }
  1803. .order-details .writeOff .title {
  1804. font-size: 30rpx;
  1805. color: #282828;
  1806. height: 87rpx;
  1807. border-bottom: 1px solid #f0f0f0;
  1808. padding: 0 30rpx;
  1809. line-height: 87rpx;
  1810. }
  1811. .order-details .writeOff .grayBg {
  1812. background-color: #f2f5f7;
  1813. width: 590rpx;
  1814. height: 384rpx;
  1815. border-radius: 20rpx 20rpx 0 0;
  1816. margin: 50rpx auto 0 auto;
  1817. padding-top: 55rpx;
  1818. position: relative;
  1819. }
  1820. .order-details .writeOff .grayBg .written {
  1821. position: absolute;
  1822. top: 0;
  1823. right: 0;
  1824. width: 60rpx;
  1825. height: 60rpx;
  1826. }
  1827. .order-details .writeOff .grayBg .written image {
  1828. width: 100%;
  1829. height: 100%;
  1830. }
  1831. .order-details .writeOff .grayBg .pictrue {
  1832. width: 290rpx;
  1833. height: 290rpx;
  1834. margin: 0 auto;
  1835. }
  1836. .order-details .writeOff .grayBg .pictrue image {
  1837. width: 100%;
  1838. height: 100%;
  1839. display: block;
  1840. }
  1841. .order-details .writeOff .gear {
  1842. width: 590rpx;
  1843. height: 30rpx;
  1844. margin: 0 auto;
  1845. }
  1846. .order-details .writeOff .gear image {
  1847. width: 100%;
  1848. height: 100%;
  1849. display: block;
  1850. }
  1851. .order-details .writeOff .num {
  1852. background-color: #f0c34c;
  1853. width: 590rpx;
  1854. height: 84rpx;
  1855. color: #282828;
  1856. font-size: 48rpx;
  1857. margin: 0 auto;
  1858. border-radius: 0 0 20rpx 20rpx;
  1859. text-align: center;
  1860. padding-top: 4rpx;
  1861. }
  1862. .order-details .writeOff .rules {
  1863. margin: 46rpx 30rpx 0 30rpx;
  1864. border-top: 1px solid #f0f0f0;
  1865. padding-top: 10rpx;
  1866. }
  1867. .order-details .writeOff .rules .item {
  1868. margin-top: 20rpx;
  1869. }
  1870. .order-details .writeOff .rules .item .rulesTitle {
  1871. font-size: 28rpx;
  1872. color: #282828;
  1873. }
  1874. .order-details .writeOff .rules .item .rulesTitle .iconfont {
  1875. font-size: 30rpx;
  1876. color: #333;
  1877. margin-right: 8rpx;
  1878. margin-top: 5rpx;
  1879. }
  1880. .order-details .writeOff .rules .item .info {
  1881. font-size: 28rpx;
  1882. color: #999;
  1883. margin-top: 7rpx;
  1884. }
  1885. .order-details .writeOff .rules .item .info .time {
  1886. margin-left: 20rpx;
  1887. }
  1888. .order-details .map {
  1889. height: 86rpx;
  1890. font-size: 30rpx;
  1891. color: #282828;
  1892. line-height: 86rpx;
  1893. border-bottom: 1px solid #f0f0f0;
  1894. margin-top: 13rpx;
  1895. background-color: #fff;
  1896. padding: 0 30rpx;
  1897. }
  1898. .order-details .map .place {
  1899. font-size: 26rpx;
  1900. // width: 176rpx;
  1901. height: 50rpx;
  1902. border-radius: 25rpx;
  1903. line-height: 50rpx;
  1904. text-align: center;
  1905. }
  1906. .order-details .map .place .iconfont {
  1907. font-size: 27rpx;
  1908. height: 27rpx;
  1909. line-height: 27rpx;
  1910. margin: 2rpx 3rpx 0 0;
  1911. }
  1912. .order-details .address .name .iconfont {
  1913. font-size: 34rpx;
  1914. margin-left: 10rpx;
  1915. }
  1916. .refund {
  1917. padding: 0 30rpx 30rpx;
  1918. margin: 12rpx 0;
  1919. background-color: #fff;
  1920. .title {
  1921. display: flex;
  1922. align-items: center;
  1923. font-size: 30rpx;
  1924. color: #333;
  1925. height: 86rpx;
  1926. border-bottom: 1px solid #f5f5f5;
  1927. image {
  1928. width: 32rpx;
  1929. height: 32rpx;
  1930. margin-right: 10rpx;
  1931. }
  1932. }
  1933. .con {
  1934. padding-top: 25rpx;
  1935. font-size: 28rpx;
  1936. color: #868686;
  1937. }
  1938. }
  1939. .refund-msg {
  1940. background-color: #fff;
  1941. padding: 20rpx 40rpx;
  1942. font-size: 28rpx;
  1943. .refund-msg-user {
  1944. font-weight: bold;
  1945. margin-bottom: 10rpx;
  1946. .copy-refund-msg {
  1947. font-size: 10px;
  1948. border-radius: 1px;
  1949. border: 0.5px solid #666;
  1950. padding: 1px 7px;
  1951. margin-left: 12px;
  1952. }
  1953. .name {
  1954. margin-right: 20rpx;
  1955. }
  1956. }
  1957. .refund-address {
  1958. color: #868686;
  1959. }
  1960. }
  1961. .upload .pictrue {
  1962. display: inline-block;
  1963. margin: 22rpx 17rpx 20rpx 0;
  1964. width: 156rpx;
  1965. height: 156rpx;
  1966. color: #bbb;
  1967. }
  1968. .upload .pictrue image {
  1969. width: 100%;
  1970. height: 100%;
  1971. }
  1972. </style>