mallOrderDetail.vue 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941
  1. <template>
  2. <view class="box">
  3. <!-- 自定义导航 -->
  4. <!-- <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <image src="../../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback"></image>
  9. <image src="../../../static/img/nav_icon_home.png" mode="" class="homeImg" @click="gohome"></image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 100px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view> -->
  17. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'订单详情'" :cj="3"></homenav>
  18. <!-- <view class="shuaxin" v-if="orderData.data.sheetState == 1 &&sx" @click="shuaxinFn">
  19. 如果支付状态未及时更新,请点击 <span style="color: #3F90F7;">刷新</span>
  20. </view> -->
  21. <view class="topBox">
  22. <view class="top" >
  23. <view class="orderState">
  24. <view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
  25. <view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
  26. <view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
  27. <view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- 店铺信息 -->
  32. <view class="shopBox" v-if="orderData">
  33. <image src="../../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  34. <view class="shopCont">
  35. <view class="shopName">{{orderData.shopInfo.shopName}}</view>
  36. <view class="Address">
  37. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  38. </view>
  39. </view>
  40. <view class="shopRightBox" @click="map">
  41. <image src="../../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  42. <view class="shopRihgtTxt">地图</view>
  43. </view>
  44. <view class="shopsx"></view>
  45. <view class="shopRightBox" @click="call">
  46. <image src="../../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  47. <view class="shopRihgtTxt">电话</view>
  48. </view>
  49. </view>
  50. <!-- 订单内容 -->
  51. <view class="information">
  52. <view class="detailedTitle">订单内容</view>
  53. <view class="flex newGoodsLine" style="padding-bottom: 15rpx;" v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail" :key="index">
  54. <view class="imgBox">
  55. <image v-if="item.ImgUrl" :src="getNewValue(item.ImgUrl)" mode="" class="itemIMg"></image>
  56. <image class="itemIMg" v-else src="../../../static/timg/noimg.png" mode=""></image>
  57. </view>
  58. <view class="informationLine22">
  59. <view class="goodsName">{{item.itemName}}</view>
  60. <view class="informationLine2">
  61. <view class="salePrice"><span
  62. class="informationNum">¥</span>{{item.salePrice}}</view>
  63. <view class="informationNum" style="color: #999999;">
  64. x{{item.itemQty}}</view>
  65. </view>
  66. </view>
  67. <!-- <view class="goodsName">{{item.itemName}}</view>
  68. <view class="informationLine2">
  69. <view class="salePrice"><span
  70. class="informationNum">¥</span>{{item.salePrice}}</view>
  71. <view class="informationNum" style="color: #999999;">
  72. x{{item.itemQty}}</view>
  73. </view> -->
  74. </view>
  75. <!-- <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view> -->
  76. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
  77. <!-- <view class="goodsName">
  78. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  79. </view>
  80. <view class="detailedLineBox" v-for="(v,index) in orderData.OpenSheetQRCode">
  81. <view class="detailedLine">
  82. <view v-if="v.writeoffState==1" class="detailedName">
  83. <view class="redPoint"></view>
  84. <view class="code">{{v.qrCode}}</view>
  85. <view class="quanState">待使用</view>
  86. </view>
  87. <view v-if="v.writeoffState==3" class="detailedName">
  88. <view class="redPoint"></view>
  89. <view class="code old" >{{v.qrCode}}</view>
  90. <view class="quanState2">已使用</view>
  91. </view>
  92. <image src="../../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  93. v-if="v.writeoffState==1" @click="isShowMaSHow(index)"></image>
  94. </view>
  95. <view class="writeoffLineBox" v-if="v.writeoffState==3">
  96. <view class="writeoffLine">
  97. <view class="writeoffLineTxt">核销时间:{{v.writeoffTime}}</view>
  98. <view class="writeoffLineTxt">核销人:{{v.writeoffName}}</view>
  99. </view>
  100. <view class="writeoffLine">
  101. <view class="writeoffLineTxt">核销门店:{{v.writeoffShopName?v.writeoffShopName:''}}</view>
  102. </view>
  103. </view>
  104. </view> -->
  105. <view class="newCodeBox" v-if="sheetQRCodeList1.length>0">
  106. <view class="newQrcode">
  107. <swiper class="swiper" style="height: 400rpx;" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
  108. <swiper-item v-for="(item,index) in sheetQRCodeList1" style="height: 400rpx;">
  109. <view class="swiper-item">
  110. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item.qrCode" :size="300" :unit="unit"
  111. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  112. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  113. </view>
  114. </swiper-item>
  115. </swiper>
  116. </view>
  117. <view class="newQrcodeTs" @click="qmshowFn">
  118. 待使用<span>{{orderData.unWriteoff}}</span>份券码
  119. <image src="../../../static/img2/jt1.png" mode="" class="jtImg1 dsyjt"></image>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <view style="padding-left: 24rpx;padding-right: 24rpx;" v-if="orderData.writeoff!=0||orderData.refund!=0">
  125. <view class="ysyBox" v-if="orderData">
  126. <view class="ysyLeft" style="font-weight: 500;color: #222222;">
  127. <span v-if="orderData.writeoff!=0">已使用({{orderData.writeoff}})</span>
  128. <span v-if="orderData.writeoff!=0&&orderData.refund!=0">·</span>
  129. <span v-if="orderData.refund!=0">退款({{orderData.refund}})</span>
  130. </view>
  131. <view class="ysyRgiht" @click="sheetQRCode">
  132. <span style="color: #9A9A9A;padding-right: 16rpx;">查看详情</span>
  133. <image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
  134. </view>
  135. </view>
  136. </view>
  137. <!-- 套餐内容 -->
  138. <view class="information tcinformation" v-if="SheetType==3">
  139. <view class="detailedTitle">套餐内容</view>
  140. <!-- 项目 -->
  141. <view class="itemBox" v-if="orderData.projectList.length>0">
  142. <!-- 头 -->
  143. <view class="itemTop">
  144. <view class="leftItem">项目名称</view>
  145. <view class="topTitle">数量</view>
  146. <view class="topTitle">有效期</view>
  147. </view>
  148. <view v-for="(item,index) in orderData.projectList" :key="index">
  149. <view class="itemContent">
  150. <view class="leftItem">{{item.flowName}}</view>
  151. <view class="topTitle">{{item.flowQty}}</view>
  152. <view class="topTitle">{{item.date}}</view>
  153. </view>
  154. </view>
  155. </view>
  156. <!-- 商品 -->
  157. <view class="itemBox" v-if="orderData.shopList.length>0">
  158. <!-- 头 -->
  159. <view class="itemTop">
  160. <view class="leftItem">商品名称</view>
  161. <view class="topTitle">数量</view>
  162. <view class="topTitle">有效期</view>
  163. </view>
  164. <view v-for="(item,index) in orderData.shopList" :key="index">
  165. <view class="itemContent">
  166. <view class="leftItem">{{item.flowName}}</view>
  167. <view class="topTitle">{{item.flowQty}}</view>
  168. <view class="topTitle">{{item.date}}</view>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. <!-- 实付款 -->
  174. <view class="money" v-if="orderData">
  175. <view style="display: flex;justify-content: space-between;border-bottom: 1px solid #EEEEEE;padding-bottom: 20rpx;">
  176. <view class="informationNum">商品费</view>
  177. <view class="informationNum" >¥{{orderData.data.totalMoney}}</view>
  178. </view>
  179. <view style="font-weight: bold;text-align: right;padding-top: 20rpx;">
  180. 实付款
  181. <span style="color: #CE0000;">¥{{orderData.data.realMoney}}</span>
  182. </view>
  183. </view>
  184. <!-- 订单信息 -->
  185. <view class="information">
  186. <!-- <view class="detailedTitle">订单信息</view> -->
  187. <view class="informationLine" v-if="orderData">
  188. <view class="informationTxt">订单单号:</view>
  189. <view class="informationNum" style=" display: flex;">
  190. <image src="../../../static/img2/copy.png" mode="" @click="copy(orderData.data.code)" class="copyIcon"></image>
  191. {{orderData.data.code}}
  192. <!-- <span class="codeCopy" @click="copy(orderData.data.code)">复制</span> -->
  193. </view>
  194. </view>
  195. <view class="informationLine">
  196. <view class="informationTxt">下单人:</view>
  197. <view class="informationNum">{{orderData.data.userMobilePhone}}</view>
  198. </view>
  199. <view class="informationLine">
  200. <view class="informationTxt">下单时间:</view>
  201. <view class="informationNum">{{orderData.data.createTime}}</view>
  202. </view>
  203. <view class="informationLine NoBorder">
  204. <view class="informationTxt">订单备注:</view>
  205. <view class="informationNum" style="width: 510rpx;">{{orderData.data.comment?orderData.data.comment:''}}</view>
  206. </view>
  207. </view>
  208. <!-- 支付信息 -->
  209. <view class="information">
  210. <!-- <view class="detailedTitle">支付信息</view> -->
  211. <view class="informationLine">
  212. <view class="informationTxt">支付状态:</view>
  213. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  214. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  215. </view>
  216. <view class="informationLine">
  217. <view class="informationTxt">支付方式:</view>
  218. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  219. <view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
  220. </view>
  221. <view class="informationLine NoBorder">
  222. <view class="informationTxt">支付时间:</view>
  223. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  224. </view>
  225. </view>
  226. <!-- 核销信息 -->
  227. <view class="information writeoffXx" v-if="orderData.data.sheetState == 3">
  228. <!-- <view class="detailedTitle">核销信息</view> -->
  229. <view class="informationLine">
  230. <view class="informationTxt">核销状态:</view>
  231. <view class="informationNum" v-if="orderData.data.writeoffState==1">未核销</view>
  232. <view class="informationNum" v-if="orderData.data.writeoffState==2">部分核销</view>
  233. <view class="informationNum" v-if="orderData.data.writeoffState==3">已核销</view>
  234. </view>
  235. <view class="informationLine">
  236. <view class="informationTxt">核销时间:</view>
  237. <view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}} {{orderData.data.writeoffName}}</view>
  238. </view>
  239. <view class="informationLine NoBorder">
  240. <view class="informationTxt">核销门店:</view>
  241. <view class="informationNum">{{orderData.data.writeoffShopName?orderData.data.writeoffShopName:'-'}}</view>
  242. </view>
  243. </view>
  244. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  245. <view class="bottom" v-if="orderData.data.sheetState == 1">
  246. <view class="cancel" @click="cancelBespeak">取消订单</view>
  247. <view class="defer" @click="pay">立即支付</view>
  248. </view>
  249. <view v-if="canRefund==0">
  250. <view class="bottom" v-if="orderData.data.sheetState == 2||orderData.data.sheetState == 5">
  251. <view class="cancel" @click="cancelOrder" >申请退款</view>
  252. </view>
  253. </view>
  254. <!-- 券码 -->
  255. <view class="maBox" v-if="isShowMa==true" @click="isShowMaHide">
  256. <view class="querenMa">
  257. <view class="maTop">
  258. <view class="maTitle">请到店出示券码即可开始服务</view>
  259. <image @click="isShowMaHide" src="../../../static/img/icon_delete.png" mode=""
  260. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  261. </view>
  262. <swiper class="swiper" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
  263. <swiper-item v-for="(item,index) in quanMaList">
  264. <view class="swiper-item">
  265. <view class="maCode">{{item}}</view>
  266. <view class="maBoximg">
  267. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  268. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  269. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  270. </view>
  271. </view>
  272. </swiper-item>
  273. </swiper>
  274. </view>
  275. </view>
  276. <!-- 手机号授权 -->
  277. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  278. <view class="authorizCont" @click.stop="">
  279. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  280. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  281. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  282. </view>
  283. <view style="text-align: center;padding-top: 56rpx;">
  284. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  285. </view>
  286. </view>
  287. <!-- 退款原因 -->
  288. <view class="tuikuanBox" v-if="isShowTui==true">
  289. <view class="tuikuan">
  290. <view class="tuiTop">
  291. <view class="tuiTitle">退款</view>
  292. <image @click="isShowTuiHide" src="../../../static/img/icon_delete.png" mode=""
  293. style="width: 26rpx; height: 26rpx;"></image>
  294. </view>
  295. <view class="contLine">
  296. <view class="contlineLeft">
  297. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  298. 退款原因
  299. </view>
  300. <view class="contlineRight carModelRight" @click="">
  301. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  302. :range="tuicauseList" range-key="contents">
  303. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  304. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  305. </picker>
  306. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  307. </view>
  308. </view>
  309. <view class="contLine">
  310. <view class="contlineLeft">
  311. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  312. 退款金额
  313. </view>
  314. <view class="contlineRight carModelRight" @click="cktime">
  315. <span class="carModel">{{orderData.data.realMoney}}</span>
  316. </view>
  317. </view>
  318. <view class="contLine">
  319. <view class="contlineLeft">
  320. <image src="" mode="" class="star"></image>
  321. 补充描述
  322. </view>
  323. <view class="contlineRight">
  324. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  325. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  326. </view>
  327. </view>
  328. <view class="tuiBtns">
  329. <view class="btn" @click="isShowTuiHide">取消</view>
  330. <view class="btn2" @click="goTui">确认退款</view>
  331. </view>
  332. </view>
  333. </view>
  334. <view class="tkBox" v-if="qmShow" @click="qmHide">
  335. <view class="tkContBox" @click.stop="">
  336. <view class="tkTop">
  337. <view style="width: 22rpx;"></view>
  338. <view class="tkTitle">券码信息({{orderData.unWriteoff}})</view>
  339. <image @click="qmHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
  340. </view>
  341. <view class="tkLineBox3">
  342. <view class="tkLine" v-for="(item,index) in sheetQRCodeList1">
  343. <view class="tkLineLeft">
  344. <span style="color: #9A9A9A;">券码</span>
  345. <span style="color: #222222;padding-left: 66rpx;">{{item.qrCode}}</span>
  346. </view>
  347. <view class="tkLineRight" style="color: #576B95;" @click="copy(item.qrCode)">复制</view>
  348. </view>
  349. </view>
  350. </view>
  351. </view>
  352. <view class="tkBox" v-if="syShow" @click="syHide" >
  353. <view class="tkContBox2" @click.stop="">
  354. <view class="tkTop">
  355. <view style="width: 22rpx;"></view>
  356. <view class="tkTitle">详情</view>
  357. <image @click="syHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
  358. </view>
  359. <view class="tklineBox2">
  360. <view class="tkline2" v-for="(item,index) in sheetQRCodeList">
  361. <view class="tklineTop2">
  362. <view class="tkZt">
  363. <!-- 已使用无退款:orderType=1 已使用有退款:orderType=3 未使用有退款:orderType=2 -->
  364. <span v-if="item.orderType==3||item.orderType==1">已使用</span>
  365. <span v-if="item.orderType==2">未使用</span>
  366. <span v-if="item.refundState==0"></span>
  367. <span v-if="item.refundState==1">·退款中</span>
  368. <span v-if="item.refundState==2">·退款成功</span>
  369. <span v-if="item.refundState==3">·退款拒绝</span>
  370. <span v-if="item.refundState==4">·退款失败</span>
  371. </view>
  372. <view class="tkSeeD" @click="refundDetail(item)" v-if="item.orderType!=1">
  373. <span>退款详情</span>
  374. <image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
  375. </view>
  376. <view class="tkSeeD" @click="goSh(item)" v-if="item.orderType==1">
  377. <span>申请售后</span>
  378. <image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
  379. </view>
  380. </view>
  381. <view class="tkRow">
  382. <view class="tlRowLeft" v-if="item.orderType==3||item.orderType==1">使用份数</view>
  383. <view class="tlRowLeft" v-else>退款份数</view>
  384. <view style="color: #222222;" v-if="item.orderType==3||item.orderType==1">1份</view>
  385. <view style="color: #222222;" v-else>{{item.couponCount}}份</view>
  386. </view>
  387. <view class="tkRow" v-if="item.orderType==3||item.orderType==1">
  388. <view class="tlRowLeft">消费门店</view>
  389. <view style="color: #222222;">{{item.writeoffShopName?item.writeoffShopName:''}}</view>
  390. </view>
  391. <view class="tkRow" v-if="item.orderType==3||item.orderType==1">
  392. <view class="tlRowLeft">消费时间</view>
  393. <view style="color: #222222;">{{item.writeoffTime?item.writeoffTime:''}}</view>
  394. </view>
  395. <view class="tkRow" v-if="item.orderType==1">
  396. <view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
  397. <view style="color: #222222;" class="xiahuaxian">{{item.qrCode}}</view>
  398. </view>
  399. <view class="tkRow" v-if="item.orderType==3">
  400. <view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
  401. <view style="color: #222222;width: 480rpx; white-space: normal; word-break: break-all;" class="xiahuaxian">{{item.couponCode}}</view>
  402. </view>
  403. <view class="tkRow" v-if="item.orderType==2">
  404. <view class="tlRowLeft">退款金额</view>
  405. <view style="color: #222222;">{{item.money?item.money:''}}</view>
  406. </view>
  407. <view class="tkRow" v-if="item.orderType==2">
  408. <view class="tlRowLeft">退款方式</view>
  409. <view style="color: #222222;">原路返回</view>
  410. </view>
  411. <view class="tkRow" v-if="item.orderType==2">
  412. <view class="tlRowLeft">到账时间</view>
  413. <view style="color: #222222;">{{item.refundTime?item.refundTime:''}}</view>
  414. </view>
  415. <view class="tkRow" v-if="item.orderType==2">
  416. <view class="tlRowLeft">券&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
  417. <view style="color: #222222;width: 480rpx; white-space: normal; word-break: break-all;" class="">{{item.couponCode}}</view>
  418. </view>
  419. </view>
  420. <nodata v-if="sheetQRCodeList.length==0"></nodata>
  421. </view>
  422. </view>
  423. </view>
  424. <view class="tkBox" v-if="xsShow" @click="xsHide">
  425. <view class="tkContBox" @click.stop="">
  426. <view class="tkTop">
  427. <view style="width: 22rpx;"></view>
  428. <view class="tkTitle">申请售后</view>
  429. <image @click="xsHide" src="../../../static/img2/chahao.png" mode="" class="chahaoIMg"></image>
  430. </view>
  431. <view class="zxSj">
  432. <view class="zxSjleft">
  433. <view class="zxTitle">咨询商家</view>
  434. <view class="zxTitle2">联系商家,提高退款效率</view>
  435. </view>
  436. <view class="zxSjRgiht" @click="call">
  437. <image src="/static/timg/wgcall.png" mode="" class="zxCallImg"></image>
  438. </view>
  439. </view>
  440. <view class="zkRefund" @click="goshFn">
  441. <span>已与商家协商一致,发起退款</span>
  442. <image src="../../../static/img2/jt1.png" mode="" class="jtImg1"></image>
  443. </view>
  444. </view>
  445. </view>
  446. </view>
  447. </template>
  448. <script>
  449. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  450. import homenav from "@/components/homenav/nav.vue"
  451. import nodata from '@/components/nodata/nodata.vue'
  452. export default {
  453. components: {
  454. tkiQrcode,homenav,nodata
  455. },
  456. data() {
  457. return {
  458. id: '',
  459. iStatusBarHeight:'',
  460. SheetType: '', //SheetType 1 商品2项目3套餐4救援5钣喷6集客
  461. orderData: '',
  462. onval: true, // val值变化时自动重新生成二维码
  463. loadMake: true, // 组件加载完成后自动生成二维码
  464. size: 500,
  465. qrcodeShow: false,
  466. qrcodeTop: '-100vh',
  467. qrcodeTopVal: '',
  468. ifShow: false,
  469. val: '二维码', // 要生成的二维码值
  470. unit: 'upx', // 单位
  471. background: '#b4e9e2', // 背景色
  472. foreground: '#309286', // 前景色
  473. pdground: '#262637', // 角标色
  474. icon: '', // 二维码图标
  475. iconsize: 40, // 二维码图标大小
  476. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  477. src: '', // 二维码生成后的图片地址或base64
  478. isShowMa: false,
  479. quanMaList:[],
  480. themeColor:'',
  481. authorizShow:false,
  482. userInfo:'',
  483. ext:'',
  484. isShowTui:false,
  485. index:0,
  486. tuicauseList: [],
  487. tuikuanContent: '',
  488. swiperIndex:0,
  489. sx:'',
  490. qmShow:false,
  491. syShow:false,
  492. sheetQRCodeList:'',
  493. sheetQRCodeList1:'',
  494. xsShow:false,
  495. shItem:'',
  496. canRefund:1,
  497. }
  498. },
  499. onLoad(opt) {
  500. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  501. this.id = opt.id
  502. //this.id='2D524C99-BE6F-4E63-93FC-B76172C118E0'
  503. this.SheetType = opt.SheetType
  504. this.themeColor = uni.getStorageSync("themeColor");
  505. this.userInfo=this.$store.state.userInfo;
  506. this.ext=this.$common.getExtStoreId();
  507. if(this.userInfo){
  508. if (this.id) {
  509. this.getData();
  510. this.getTuiKuanData()
  511. }
  512. }else{
  513. this.$common.automaticlogin().then(val => {
  514. this.userInfo=this.$store.state.userInfo;
  515. this.wxOpenData=this.$store.state.wxOpenData;
  516. this.themeColor = uni.getStorageSync("themeColor");
  517. if (this.id) {
  518. this.getData();
  519. this.getTuiKuanData()
  520. }
  521. if(!this.userInfo){
  522. this.authorizShow=true
  523. }
  524. })
  525. }
  526. this.sx=opt.sx
  527. // this.getsheetQRCode()
  528. },
  529. computed:{
  530. getNewValue(item) {
  531. return item => {
  532. var arr=item.split(",")
  533. if(arr.length>1){
  534. item=arr[0]
  535. }else{
  536. //item=item
  537. }
  538. return item
  539. // 根据item做一些处理,返回新值
  540. //return item.value + ' modified';
  541. };
  542. }
  543. },
  544. methods: {
  545. getsheetQRCode(){
  546. this.$http('openOrderManagement/sheetQRCodeList', {
  547. type:1,
  548. sheetID: this.id,
  549. }, 'GET').then(res => {
  550. })
  551. },
  552. sheetQRCode(){
  553. uni.showLoading({
  554. title: '加载中'
  555. })
  556. this.$http('openOrderManagement/sheetQRCodeList', {
  557. type:2,
  558. sheetID: this.id,
  559. }, 'GET').then(res => {
  560. uni.hideLoading();
  561. this.syShow=true;
  562. this.sheetQRCodeList=res.data
  563. })
  564. },
  565. qmshowFn(){
  566. uni.showLoading({
  567. title: '加载中'
  568. })
  569. this.$http('openOrderManagement/sheetQRCodeList', {
  570. type:1,
  571. sheetID: this.id,
  572. }, 'GET').then(res => {
  573. uni.hideLoading();
  574. this.qmShow=true;
  575. this.sheetQRCodeList1=res.data
  576. })
  577. //this.qmShow=true
  578. },
  579. qmHide(){
  580. this.qmShow=false
  581. },
  582. syHide(){
  583. this.syShow=false;
  584. },
  585. shuaxinFn(){
  586. this.sxNum=1
  587. this.getData();
  588. //this.getTuiKuanData()
  589. },
  590. cancelOrder(){
  591. //this.isShowTui=true;
  592. uni.navigateTo({
  593. url:'../../subPack/refund?type=1&id='+this.id
  594. })
  595. },
  596. goSh(item){
  597. this.shItem=item
  598. var that=this
  599. uni.setStorage({
  600. key: 'shData',
  601. data: item,
  602. success: function () {
  603. that.xsShow=true
  604. }
  605. });
  606. },
  607. goshFn(){
  608. uni.navigateTo({
  609. url:'../../subPack/refund?type=2&id='+this.id
  610. })
  611. },
  612. refundDetail(item){
  613. uni.navigateTo({
  614. url:'../../subPack/refundDetail?id='+item.refundSheetID
  615. })
  616. },
  617. xsHide(){
  618. this.xsShow=false
  619. },
  620. goTui(){
  621. var that=this;
  622. uni.showLoading({
  623. title: '加载中'
  624. })
  625. let yuanyin = this.tuicauseList[this.index].contents
  626. that.$http('openMallOrder/cancelOrder', {
  627. realMoney:that.orderData.data.realMoney,
  628. sheetId: that.id,
  629. refundReason:yuanyin,
  630. refundComment:this.tuikuanContent,
  631. }, 'POST').then(res => {
  632. uni.hideLoading();
  633. // var list = res.data.Items
  634. this.isShowTui=false;
  635. if(res.code==0){
  636. uni.showToast({
  637. title: '取消成功',
  638. icon: 'none',
  639. duration: 2000
  640. });
  641. setTimeout(function() {
  642. that.getData();
  643. }, 1000);
  644. }else{
  645. uni.showToast({
  646. title: res.msg,
  647. icon: 'none',
  648. duration: 3000
  649. });
  650. }
  651. })
  652. },
  653. isShowTuiHide(){
  654. this.isShowTui=false;
  655. },
  656. bindChange(e) {
  657. console.log(e);
  658. this.index = e.detail.value
  659. },
  660. getTuiKuanData() {
  661. console.log("退款原因")
  662. this.$http('openMallOrder/getOpenReason', {
  663. // id: this.id,
  664. }, 'GET').then(res => {
  665. this.tuicauseList = res.data;
  666. })
  667. },
  668. isShowMaSHow(index){
  669. this.swiperIndex=index
  670. this.isShowMa=true
  671. },
  672. isShowMaHide(){
  673. this.isShowMa=false
  674. },
  675. decryptPhoneNumber: function(e) {
  676. console.log(e);
  677. this.code=e.detail.code
  678. this.wxPhoneLogin()
  679. this.authorizShow=false;
  680. },
  681. wxPhoneLogin(){
  682. var that=this;
  683. this.$http('miniApp2/sys/wxPhoneLogin', {
  684. appId:this.ext.appId,
  685. unionId:this.ext.unionId,
  686. code:this.code,
  687. openId:this.wxOpenData.openid
  688. },'POST').then(res => {
  689. var data = res.data;
  690. if(data.loginInfo){
  691. this.userInfo=data.loginInfo.openUser;
  692. this.wxOpenData=data.loginInfo;
  693. this.$store.commit('mutationswxOpenData', data)
  694. this.$store.commit('mutationsuserInfo', this.userInfo)
  695. this.getData()
  696. }
  697. })
  698. },
  699. pay(){
  700. this.$http('openMallOrder/unifiedPay', {
  701. sheetId:this.id
  702. },'POST').then(res => {
  703. if(res.code==0){
  704. this.requestPayment(res.data)
  705. }else{
  706. uni.showToast({
  707. title: res.msg,
  708. icon: 'none',
  709. duration: 3000
  710. });
  711. }
  712. })
  713. },
  714. requestPayment(res){
  715. var payInfo=res;
  716. //console.log(payInfo)
  717. //console.log(String(Date.now()))
  718. var that=this;
  719. uni.requestPayment({
  720. provider: 'wxpay',
  721. //timeStamp: String(Date.now()),
  722. timeStamp: payInfo.timeStamp,
  723. nonceStr: payInfo.nonceStr,
  724. package:payInfo.package,
  725. signType: payInfo.signType,
  726. paySign: payInfo.paySign,
  727. appid:payInfo.appId,
  728. success: function (res) {
  729. console.log('success:' + JSON.stringify(res));
  730. uni.showToast({
  731. title: '支付成功',
  732. icon:'none',
  733. duration: 2000
  734. });
  735. that.getData()
  736. },
  737. fail: function (err) {
  738. console.log(err)
  739. uni.showToast({
  740. title: '支付失败',
  741. icon:'none',
  742. duration: 2000
  743. });
  744. }
  745. });
  746. },
  747. copy(txt) {
  748. uni.setClipboardData({
  749. data: txt,
  750. success: function() {
  751. uni.showToast({
  752. title: '复制成功',
  753. icon: 'none',
  754. duration: 2000
  755. });
  756. }
  757. });
  758. },
  759. upTime() {
  760. uni.showLoading({
  761. title: '加载中'
  762. })
  763. var that = this
  764. this.$http('openreservation/carOwner/updateTimeOfAppointment', {
  765. id: this.id,
  766. shopId: this.orderData.shopInfo.id,
  767. billDate: this.billDate
  768. }, 'POST').then(res => {
  769. uni.hideLoading();
  770. // var list = res.data.Items
  771. var list = res.data
  772. if(res.code==0){
  773. uni.showToast({
  774. title: '延期成功',
  775. icon: 'none',
  776. duration: 2000
  777. });
  778. setTimeout(function() {
  779. that.getData();
  780. }, 1000);
  781. }else{
  782. uni.showToast({
  783. title: res.msg,
  784. icon: 'none',
  785. duration: 3000
  786. });
  787. }
  788. })
  789. },
  790. cancelBespeak(){
  791. var that = this
  792. uni.showModal({
  793. title: '提示',
  794. content: '是否取消该订单',
  795. cancelText:'否',
  796. confirmText:'是',
  797. success: function (res) {
  798. if (res.confirm) {
  799. uni.showLoading({
  800. title: '加载中'
  801. })
  802. that.$http('openOrderManagement/updateSheetState', {
  803. id: that.id,
  804. }, 'POST').then(res => {
  805. uni.hideLoading();
  806. if(res.code==0){
  807. uni.showToast({
  808. title: '取消成功',
  809. icon: 'none',
  810. duration: 2000
  811. });
  812. setTimeout(function() {
  813. that.getData();
  814. }, 1000);
  815. }else{
  816. uni.showToast({
  817. title: res.msg,
  818. icon: 'none',
  819. duration: 3000
  820. });
  821. }
  822. })
  823. } else if (res.cancel) {
  824. }
  825. }
  826. });
  827. },
  828. map() {
  829. console.log("打开地图")
  830. var that = this;
  831. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  832. uni.showToast({
  833. title: '该店铺未设置定位',
  834. icon: 'none',
  835. duration: 3000
  836. });
  837. } else {
  838. uni.openLocation({
  839. latitude: Number(that.orderData.shopInfo.lat),
  840. longitude: Number(that.orderData.shopInfo.lng),
  841. name: that.orderData.shopInfo.shopName,
  842. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  843. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  844. success: function() {
  845. console.log('success');
  846. },
  847. fail(err) {
  848. console.log(err)
  849. }
  850. });
  851. }
  852. },
  853. call() {
  854. //this.shItem
  855. uni.makePhoneCall({
  856. phoneNumber:this.orderData.shopInfo.mobilePhone//this.shItem.mobilePhone// this.orderData.shopInfo.mobilePhone
  857. });
  858. },
  859. getData() {
  860. uni.showLoading({
  861. title: '加载中'
  862. });
  863. this.$http('openOrderManagement/queryOpenSheet', {
  864. id: this.id,
  865. }, 'GET').then(res => {
  866. uni.hideLoading();
  867. this.orderData = res.data;
  868. if (this.quanMaList) {
  869. this.quanMaList = [];
  870. }
  871. let maList = this.orderData.OpenSheetQRCode;
  872. if (maList) {
  873. maList.forEach(item =>{
  874. if (item.writeoffState==1) {
  875. this.quanMaList.push(item.qrCode);
  876. }
  877. })
  878. }
  879. if(this.sx&&this.sxNum){
  880. uni.showToast({
  881. title: '刷新成功',
  882. icon: 'none',
  883. duration: 3000
  884. });
  885. }
  886. //console.log('可用券码--',this.quanMaList);
  887. uni.setStorage({
  888. key: 'orderData',
  889. data: this.orderData,
  890. success: function () {
  891. }
  892. });
  893. var canRefund=0
  894. var openSheetDetail=this.orderData.openSheetDetail
  895. openSheetDetail.forEach(item=>{
  896. if(item.canRefund==1){
  897. canRefund=1
  898. }
  899. })
  900. this.canRefund=canRefund
  901. })
  902. this.$http('openOrderManagement/sheetQRCodeList', {
  903. type:1,
  904. sheetID: this.id,
  905. }, 'GET').then(res => {
  906. this.sheetQRCodeList1=res.data
  907. })
  908. },
  909. goback() {
  910. uni.navigateBack({
  911. delta: 1
  912. })
  913. },
  914. gohome(){
  915. uni.switchTab({
  916. url:'../../index/index'
  917. })
  918. },
  919. },
  920. onPullDownRefresh() {
  921. this.getData()
  922. setTimeout(function() {
  923. uni.stopPullDownRefresh();
  924. }, 1000);
  925. },
  926. }
  927. </script>
  928. <style scoped>
  929. .box {
  930. min-height: 100vh;
  931. background: #F4F5F7;
  932. padding-bottom: 135rpx;
  933. }
  934. .zdyNavBox{
  935. width: 100vw;
  936. background: #FFFFFF;
  937. position: fixed;
  938. top: 0;
  939. left: 0;
  940. z-index: 9999999;
  941. }
  942. .zdyNav{
  943. height: 44px;
  944. display: flex;
  945. justify-content: space-between;
  946. align-items: center;
  947. }
  948. .backImg{
  949. width: 44rpx;
  950. height: 44rpx;
  951. margin-left: 10rpx;
  952. margin-right: 20rpx;
  953. }
  954. .homeImg{
  955. width: 44rpx;
  956. height: 44rpx;
  957. }
  958. .zdyNavLeft{
  959. display: flex;
  960. align-items: center;
  961. }
  962. .zdyNavTitle{
  963. width: 100vw;
  964. height: 44px;
  965. background: #FFFFFF;
  966. text-align: center;
  967. font-size: 34rpx;
  968. line-height: 44px;
  969. }
  970. .topBox{
  971. padding: 24rpx;
  972. }
  973. .top {
  974. height: 100rpx;
  975. background: #FFFFFF;
  976. border-radius: 11rpx;
  977. text-align: center;
  978. line-height: 100rpx;
  979. font-weight: 500;
  980. font-size: 30rpx;
  981. color: #EC0F0A;
  982. line-height: 100rpx;
  983. }
  984. .orderState {
  985. display: flex;
  986. justify-content: center;
  987. align-items: center;
  988. }
  989. /* .SheetState {
  990. display: flex;
  991. justify-content: center;
  992. font-size: 36rpx;
  993. font-weight: 500;
  994. color: #FFFFFF;
  995. margin-left: 15rpx;
  996. } */
  997. .timeEditImg {
  998. width: 25rpx;
  999. height: 25rpx;
  1000. padding-left: 20rpx;
  1001. }
  1002. .shopBoximg {
  1003. width: 40rpx;
  1004. height: 40rpx;
  1005. }
  1006. .shopRightImg {
  1007. width: 44rpx;
  1008. height: 45rpx;
  1009. }
  1010. .shopsx {
  1011. width: 1px;
  1012. height: 50rpx;
  1013. background: #EEEEEE;
  1014. margin-top: 30rpx;
  1015. margin-left: 28rpx;
  1016. }
  1017. .shopBox {
  1018. display: flex;
  1019. padding: 30rpx 20rpx;
  1020. margin: 0rpx 24rpx;
  1021. background-color: #FFFFFF;
  1022. border-radius: 10rpx;
  1023. }
  1024. .shopCont {
  1025. width: 405rpx;
  1026. padding-left: 20rpx;
  1027. }
  1028. .shopName {
  1029. font-size: 30rpx;
  1030. font-weight: bold;
  1031. color: #3C3C3C;
  1032. line-height: 42rpx;
  1033. }
  1034. .Address {
  1035. color: #999999;
  1036. font-size: 24rpx;
  1037. margin-top: 10rpx;
  1038. }
  1039. .shopRihgtTxt {
  1040. color: #999999;
  1041. font-size: 24rpx;
  1042. }
  1043. .shopRightBox {
  1044. padding-left: 28rpx;
  1045. }
  1046. .detailedTitle {
  1047. padding: 23rpx 20rpx 23rpx 0;
  1048. display: flex;
  1049. text-align: center;
  1050. align-content: flex-start;
  1051. border-bottom: 1rpx solid #EEEEEE;
  1052. font-size: 30rpx;
  1053. font-weight: bold;
  1054. color: #3C3C3C;
  1055. }
  1056. .detailedLine {
  1057. display: flex;
  1058. padding: 16rpx 20rpx;
  1059. justify-content: space-between;
  1060. align-items: center;
  1061. }
  1062. .detailedImg {
  1063. width: 120rpx;
  1064. height: 120rpx;
  1065. border-radius: 10rpx;
  1066. }
  1067. .detailedName {
  1068. display: flex;
  1069. align-items: center;
  1070. }
  1071. .code {
  1072. font-size: 26rpx;
  1073. color: #333333;
  1074. font-weight: bold;
  1075. width: 180rpx
  1076. }
  1077. .old {
  1078. color: #999999;
  1079. font-weight: 400;
  1080. text-decoration: line-through;
  1081. }
  1082. .redPoint {
  1083. width: 10rpx;
  1084. height: 10rpx;
  1085. background: #EC0F0A;
  1086. border-radius: 10rpx;
  1087. margin-right: 10rpx;
  1088. }
  1089. .quanState {
  1090. font-size: 22rpx;
  1091. color: #F19D01;
  1092. padding: 0 10rpx;
  1093. border: 1rpx solid #F19D01;
  1094. border-radius: 4rpx;
  1095. margin-left: 20rpx;
  1096. }
  1097. .quanState2{
  1098. font-size: 22rpx;
  1099. color: #999999;
  1100. padding: 0 10rpx;
  1101. border: 1rpx solid #DDDDDD;
  1102. border-radius: 4rpx;
  1103. margin-left: 20rpx;
  1104. }
  1105. .information {
  1106. background: #FFFFFF;
  1107. border-radius: 10rpx;
  1108. margin: 20rpx 24rpx;
  1109. padding-bottom: 15rpx;
  1110. }
  1111. .information{
  1112. padding: 0 20rpx;
  1113. }
  1114. .informationLine {
  1115. display: flex;
  1116. justify-content: space-between;
  1117. padding:20rpx 0rpx;
  1118. border-bottom: 1px solid #EEEEEE;
  1119. color: #222222;
  1120. }
  1121. .informationLine2 {
  1122. display: flex;
  1123. justify-content: space-between;
  1124. font-size: 26rpx;
  1125. /* padding: 0 20rpx; */
  1126. }
  1127. .salePrice {
  1128. font-size: 26rpx;
  1129. font-weight: 500;
  1130. color: #333333;
  1131. line-height: 45rpx;
  1132. }
  1133. .money {
  1134. background: #FFFFFF;
  1135. border-radius: 10rpx;
  1136. margin: 20rpx 24rpx;
  1137. /* display: flex;
  1138. justify-content: space-between; */
  1139. font-size: 26rpx;
  1140. padding: 30rpx 20rpx;
  1141. }
  1142. .informationTxt {
  1143. width: 190rpx;
  1144. font-size: 26rpx;
  1145. /* color: #999999; */
  1146. }
  1147. .line {
  1148. height: 20rpx;
  1149. background-color: #FFFFFF;
  1150. border-bottom: 1rpx solid #EEEEEE;
  1151. }
  1152. .goodsName {
  1153. padding: 20rpx 20rpx 15rpx 0;
  1154. color: #333333;
  1155. font-size: 26rpx;
  1156. }
  1157. .informationNum {
  1158. /* color: #333333; */
  1159. font-size: 26rpx;
  1160. text-align: right;
  1161. }
  1162. .codeCopy {
  1163. width: 77rpx;
  1164. height: 36rpx;
  1165. background: #F4F5F7;
  1166. border-radius: 22rpx;
  1167. font-size: 24rpx;
  1168. color: #333333;
  1169. text-align: center;
  1170. line-height: 33rpx;
  1171. padding: 0 15rpx;
  1172. margin-left: 20rpx;
  1173. }
  1174. .orderBottom {
  1175. width: 750rpx;
  1176. height: 98rpx;
  1177. background: #FFFFFF;
  1178. position: fixed;
  1179. left: 0;
  1180. bottom: 0;
  1181. display: flex;
  1182. justify-content: flex-end;
  1183. }
  1184. .bottom {
  1185. display: flex;
  1186. justify-content: flex-end;
  1187. padding: 20rpx;
  1188. background-color: #FFFFFF;
  1189. /* align-items: center; */
  1190. height: 98rpx;
  1191. width: 100vw;
  1192. position: fixed;
  1193. bottom: 0rpx;
  1194. padding-bottom: constant(safe-area-inset-bottom);
  1195. padding-bottom: env(safe-area-inset-bottom);
  1196. }
  1197. .cancel {
  1198. color: #3C3C3C;
  1199. font-size: 28rpx;
  1200. width: 130rpx;
  1201. height: 56rpx;
  1202. border-radius: 8rpx;
  1203. border: 2rpx solid #DDDDDD;
  1204. text-align: center;
  1205. line-height: 56rpx;
  1206. margin-right: 40rpx;
  1207. }
  1208. .defer {
  1209. color: #EC0F0A;
  1210. font-size: 28rpx;
  1211. width: 130rpx;
  1212. height: 56rpx;
  1213. border-radius: 8rpx;
  1214. border: 2rpx solid #EC0F0A;
  1215. text-align: center;
  1216. line-height: 56rpx;
  1217. margin-right: 40rpx;
  1218. }
  1219. .itemBox {
  1220. margin: 20rpx;
  1221. border-radius: 10rpx;
  1222. border: 2rpx solid #EEEEEE;
  1223. }
  1224. .itemTop {
  1225. padding: 18rpx 20rpx;
  1226. padding-right: 0;
  1227. background-color: #FFEFD5;
  1228. display: flex;
  1229. justify-content: space-between;
  1230. align-content: center;
  1231. }
  1232. .topTitle {
  1233. width: 104rpx;
  1234. font-size: 26rpx;
  1235. color: #333333;
  1236. margin-right: 20rpx;
  1237. text-align: right;
  1238. }
  1239. .leftItem {
  1240. font-size: 26rpx;
  1241. color: #333333;
  1242. margin-right: 20rpx;
  1243. flex-grow: 1;
  1244. /* 隐藏文字显示 ...不换行 */
  1245. overflow: hidden;
  1246. text-overflow: ellipsis;
  1247. white-space: nowrap;
  1248. }
  1249. .itemContent {
  1250. padding: 20rpx;
  1251. padding-right: 0;
  1252. background-color: #FFFFFF;
  1253. display: flex;
  1254. justify-content: space-between;
  1255. align-content: center;
  1256. }
  1257. .maBox {
  1258. width: 100%;
  1259. height: 100vh;
  1260. background: rgba(0, 0, 0, 0.4);
  1261. position: fixed;
  1262. left: 0;
  1263. top: 0;
  1264. z-index: 9999;
  1265. }
  1266. .querenMa {
  1267. width: 578;
  1268. height: 640rpx;
  1269. background: #ffffff;
  1270. margin: 0 86rpx;
  1271. margin-top: 50%;
  1272. border-radius: 24rpx;
  1273. }
  1274. .maTop {
  1275. display: flex;
  1276. justify-content: space-between;
  1277. align-items: center;
  1278. padding: 30rpx 20rpx 15rpx;
  1279. }
  1280. .maTitle {
  1281. color: #666666;
  1282. font-size: 26rpx;
  1283. text-align: center;
  1284. padding-left: 100rpx;
  1285. }
  1286. .swiper{
  1287. width: 100%;
  1288. height: 85%;
  1289. background: #FFFFFF;
  1290. }
  1291. .swiper-item{
  1292. width: 100%;
  1293. height: 100%;
  1294. }
  1295. .maCode {
  1296. font-size: 30rpx;
  1297. font-weight: 500;
  1298. color: #333333;
  1299. line-height: 42rpx;
  1300. margin-bottom: 40rpx;
  1301. text-align: center;
  1302. }
  1303. .maBoximg {
  1304. width: 400rpx;
  1305. height: 400rpx;
  1306. margin-left: 86rpx;
  1307. }
  1308. .authorizBox{
  1309. width: 100vw;
  1310. height: 100vh;
  1311. background: rgba(0, 0, 0, 0.5);
  1312. position: fixed;
  1313. top: 0;
  1314. left: 0;
  1315. }
  1316. .authorizCont{
  1317. margin-top: 30vh;
  1318. width: 564rpx;
  1319. height: 408rpx;
  1320. background: #FFFFFF;
  1321. border-radius: 24rpx;
  1322. margin-left: 93rpx;
  1323. position: relative;
  1324. }
  1325. .authorizCloseImg{
  1326. width: 62rpx;
  1327. height: 62rpx;
  1328. }
  1329. .sqLogoBox{
  1330. width: 180rpx;
  1331. height: 180rpx;
  1332. background: #FFFFFF;
  1333. border-radius: 90rpx;
  1334. text-align: center;
  1335. position: absolute;
  1336. top: -50rpx;
  1337. left: 192rpx;
  1338. }
  1339. .authorizName{
  1340. color: #333333;
  1341. line-height: 42rpx;
  1342. font-size: 30rpx;
  1343. text-align: center;
  1344. padding-top: 58rpx;
  1345. }
  1346. .authorizMs{
  1347. color: #999999;
  1348. line-height: 36rpx;
  1349. font-size: 26rpx;
  1350. width: 452rpx;
  1351. padding-top: 24rpx;
  1352. text-align: center;
  1353. margin-left: 56rpx;
  1354. }
  1355. .authorizContbutton{
  1356. width: 422rpx;
  1357. height: 88rpx;
  1358. background: #EC0F0A;
  1359. border-radius: 44rpx;
  1360. line-height: 88rpx;
  1361. text-align: center;
  1362. font-size:30rpx;
  1363. color: #FFFFFF;
  1364. margin-top: 62rpx;
  1365. margin-left:71rpx;
  1366. }
  1367. .tuikuanBox {
  1368. width: 100%;
  1369. height: 100vh;
  1370. background: rgba(0, 0, 0, 0.4);
  1371. position: fixed;
  1372. left: 0;
  1373. top: 0;
  1374. z-index: 999;
  1375. }
  1376. .tuikuan {
  1377. width: 638rpx;
  1378. height: 720rpx;
  1379. background: #ffffff;
  1380. margin: 0 36rpx;
  1381. margin-top: 50%;
  1382. border-radius: 24rpx;
  1383. padding: 30rpx 20rpx;
  1384. }
  1385. .tuiTop {
  1386. display: flex;
  1387. justify-content: space-between;
  1388. margin-bottom: 36rpx;
  1389. }
  1390. .tuiTitle {
  1391. width: 56rpx;
  1392. height: 40rpx;
  1393. font-size: 28rpx;
  1394. font-weight: 500;
  1395. color: #3C3C3C;
  1396. line-height: 40rpx;
  1397. }
  1398. .contLine {
  1399. display: flex;
  1400. justify-content: space-between;
  1401. font-size: 28rpx;
  1402. padding: 30rpx 0;
  1403. border-bottom: 1px solid #EEEEEE;
  1404. }
  1405. .contlineLeft {
  1406. color: #666666;
  1407. line-height: 40rpx;
  1408. align-items: center;
  1409. }
  1410. .star {
  1411. width: 14rpx;
  1412. height: 14rpx;
  1413. padding-bottom: 5rpx;
  1414. }
  1415. .carModel {
  1416. width: 350rpx;
  1417. text-align: left;
  1418. }
  1419. .noColor {
  1420. color: #CCCCCC;
  1421. }
  1422. .carModelRight {
  1423. display: flex;
  1424. justify-content: flex-start;
  1425. align-items: center;
  1426. }
  1427. .contlineRight {
  1428. color: #333333;
  1429. line-height: 40rpx;
  1430. width: 400rpx;
  1431. text-align: right;
  1432. }
  1433. .contlineRightInput {
  1434. color: #333333;
  1435. text-align: left;
  1436. font-size: 28rpx;
  1437. min-height: 182rpx;
  1438. width: 400rpx;
  1439. }
  1440. .contlineRightJt {
  1441. width: 30rpx;
  1442. height: 30rpx;
  1443. }
  1444. .tuiBtns {
  1445. display: flex;justify-content: space-around;
  1446. padding: 40rpx 20rpx 10rpx;
  1447. }
  1448. .btn {
  1449. width: 250rpx;
  1450. height: 70rpx;
  1451. background: #F4F5F7;
  1452. border-radius: 10rpx;
  1453. font-size: 28rpx;
  1454. font-weight: 500;
  1455. color: #3C3C3C;
  1456. line-height: 70rpx;
  1457. text-align: center;
  1458. }
  1459. .btn2 {
  1460. width: 250rpx;
  1461. height: 70rpx;
  1462. background: #3F90F7;
  1463. border-radius: 10rpx;
  1464. font-size: 28rpx;
  1465. font-weight: 500;
  1466. color: #FFFFFF;
  1467. line-height: 70rpx;
  1468. text-align: center;
  1469. }
  1470. .writeoffLine{
  1471. display: flex;justify-content: space-between;
  1472. color: #999999;font-size: 24rpx;
  1473. line-height: 33rpx;padding-top: 8rpx;
  1474. }
  1475. .writeoffLineBox{
  1476. padding: 0 20rpx;
  1477. }
  1478. .detailedLineBox .detailedLine{
  1479. padding-bottom: 0rpx;
  1480. }
  1481. .writeoffXx .informationNum{
  1482. width: 500rpx;
  1483. }
  1484. .detailedLineBox{
  1485. padding-bottom: 10rpx;
  1486. }
  1487. .shuaxin{
  1488. color: #333333;
  1489. height: 72rpx;
  1490. background: #FDF7EB;
  1491. line-height: 72rpx;
  1492. padding-left: 24rpx;
  1493. font-size: 26rpx;
  1494. }
  1495. .newQrcode{
  1496. text-align: center;padding-top: 30rpx;
  1497. }
  1498. .newQrcodeTs{
  1499. font-size: 28rpx;
  1500. color: #222222;
  1501. }
  1502. .jtImg1{
  1503. width: 10rpx;height: 20rpx;
  1504. }
  1505. .newQrcodeTs {
  1506. text-align: center;
  1507. padding-top: 10rpx;
  1508. padding-bottom: 30rpx;
  1509. }
  1510. .ysyBox{
  1511. background: #ffffff;
  1512. border-radius: 16rpx;
  1513. display: flex;
  1514. justify-content: space-between;
  1515. font-size: 26rpx;
  1516. padding: 30rpx 24rpx;
  1517. }
  1518. .copyIcon{
  1519. width: 30rpx;height: 30rpx;
  1520. margin-top: 4rpx;margin-right: 6rpx;
  1521. }
  1522. .newQrcode .swiper-item{
  1523. text-align: center;
  1524. }
  1525. .chahaoIMg{
  1526. width: 22rpx;height: 22rpx;
  1527. padding-top: 4rpx;
  1528. padding-left: 10px;
  1529. padding-right: 10rpx;
  1530. padding-bottom: 10rpx;
  1531. }
  1532. .tkBox{
  1533. position: fixed;
  1534. background: rgba(0, 0, 0, 0.4);
  1535. width: 100%;height: 100%;
  1536. top: 0;
  1537. left: 0;
  1538. }
  1539. .tkContBox{
  1540. width: 750rpx;
  1541. height: 483rpx;
  1542. background: #F8F8F8;
  1543. border-radius: 28rpx 28rpx 0rpx 0rpx;
  1544. position: absolute;
  1545. left: 0;
  1546. bottom: 0;
  1547. padding-bottom: constant(safe-area-inset-bottom);
  1548. padding-bottom: env(safe-area-inset-bottom);
  1549. }
  1550. .tkContBox2{
  1551. width: 750rpx;
  1552. height: 60vh;
  1553. background: #F8F8F8;
  1554. border-radius: 28rpx 28rpx 0rpx 0rpx;
  1555. position: absolute;
  1556. left: 0;
  1557. bottom: 0;
  1558. padding-bottom: constant(safe-area-inset-bottom);
  1559. padding-bottom: env(safe-area-inset-bottom);
  1560. }
  1561. .tkTop{
  1562. display: flex;justify-content: space-between;
  1563. padding: 30rpx 40rpx 30rpx 40rpx;
  1564. font-weight: 500;
  1565. font-size: 28rpx;
  1566. color: #222222;
  1567. }
  1568. .tkLineBox{
  1569. background: #FFFFFF;
  1570. border-radius: 16rpx;
  1571. margin: 0 33rpx;
  1572. height: 380rpx;
  1573. overflow: scroll;
  1574. }
  1575. .tkLineBox3{
  1576. border-radius: 16rpx;
  1577. margin: 0 33rpx;
  1578. height: 380rpx;
  1579. overflow: scroll;
  1580. }
  1581. .tkLine{
  1582. display: flex;justify-content: space-between;
  1583. font-size: 26rpx;
  1584. padding: 24rpx 30rpx;
  1585. border-bottom: 1px solid #EEEEEE;
  1586. }
  1587. .tkLineBox3 .tkLine{
  1588. background: #FFFFFF;
  1589. font-size: 28rpx;
  1590. }
  1591. .tkLine:last-child {
  1592. border:none;
  1593. }
  1594. .tklineBox2{
  1595. padding:0 24rpx;
  1596. height: 55vh;
  1597. overflow: scroll;
  1598. }
  1599. .tkline2{
  1600. background: #FFFFFF;
  1601. border-radius: 16rpx;
  1602. padding: 32rpx 24rpx;
  1603. margin-bottom: 20rpx;
  1604. }
  1605. .tklineTop2{
  1606. display: flex;justify-content: space-between;
  1607. }
  1608. .tkZt{
  1609. font-weight: 500;
  1610. font-size: 28rpx;
  1611. color: #222222;
  1612. line-height: 40rpx;
  1613. }
  1614. .tkSeeD{
  1615. font-weight: 400;
  1616. font-size: 28rpx;
  1617. color: #9A9A9A;
  1618. line-height: 40rpx;
  1619. }
  1620. .tkSeeD .jtImg1{
  1621. margin-left: 4rpx;
  1622. }
  1623. .tkRow{
  1624. display: flex;
  1625. font-size: 28rpx;
  1626. padding-top: 18rpx;
  1627. }
  1628. .tlRowLeft{
  1629. color: #9A9A9A;width: 140rpx;
  1630. }
  1631. .zxSj{
  1632. background: #FFFFFF;
  1633. border-radius: 16rpx;
  1634. margin: 0 24rpx;
  1635. display: flex;justify-content: space-between;
  1636. }
  1637. .zxCallImg{
  1638. width: 34rpx;height: 34rpx;
  1639. }
  1640. .zxTitle{
  1641. font-weight: 500;
  1642. font-size: 28rpx;
  1643. color: #222222;
  1644. line-height: 40rpx;
  1645. }
  1646. .zxTitle2{
  1647. font-size: 24rpx;
  1648. color: #9A9A9A;
  1649. padding-top: 12rpx;
  1650. }
  1651. .zxSjleft{
  1652. padding: 32rpx;
  1653. }
  1654. .zxSjRgiht{
  1655. width: 79rpx;
  1656. height: 79rpx;
  1657. border: 2rpx solid #EEEEEE;
  1658. border-radius: 50%;
  1659. display: flex;
  1660. justify-content: center;
  1661. align-items: center;
  1662. margin-top: 32rpx;
  1663. margin-right: 32rpx;
  1664. }
  1665. .zkRefund{
  1666. display: flex;justify-content: center;
  1667. font-size: 28rpx;
  1668. color: #333333;
  1669. padding-top: 30rpx;
  1670. }
  1671. .zkRefund .jtImg1{
  1672. margin-left: 6rpx;margin-top: 12rpx;
  1673. }
  1674. .dsyjt{
  1675. margin-left: 10rpx;margin-top: 10rpx;
  1676. }
  1677. .newQrcodeTs{
  1678. display: flex;
  1679. justify-content: center;
  1680. }
  1681. .NoBorder{
  1682. border: none !important;
  1683. }
  1684. .xiahuaxian{
  1685. text-decoration: line-through;
  1686. }
  1687. .tcinformation{
  1688. padding: 0 0 30rpx 0;
  1689. }
  1690. .itemIMg{
  1691. width: 128rpx;
  1692. height: 128rpx;border-radius: 10rpx;
  1693. }
  1694. .flex{
  1695. display: flex;
  1696. }
  1697. .informationLine2{
  1698. width: 520rpx;
  1699. }
  1700. .newGoodsLine{
  1701. padding: 20rpx;
  1702. padding-left: 0;
  1703. }
  1704. .informationLine22{
  1705. padding-left: 16rpx;
  1706. }
  1707. </style>