mallOrderDetail.vue 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652
  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">
  9. </image>
  10. </view>
  11. <view class="zdyNavTitle">订单详情</view>
  12. <view style="width: 50px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view>
  17. <view class="top">
  18. <view class="orderState">
  19. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  20. <view class="SheetState" v-if="orderData.data.sheetState == 1">待付款</view>
  21. <view class="SheetState" v-if="orderData.data.sheetState == 2">待服务</view>
  22. <view class="SheetState" v-if="orderData.data.sheetState == 3">已完成</view>
  23. <view class="SheetState" v-if="orderData.data.sheetState == 4">已取消</view>
  24. </view>
  25. </view>
  26. <!-- 店铺信息 -->
  27. <view class="shopBox">
  28. <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  29. <view class="shopCont">
  30. <view class="shopName">{{orderData.shopInfo.shopName}}</view>
  31. <view class="Address">
  32. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  33. </view>
  34. </view>
  35. <!-- <view class="shopRightBox" @click="map"> -->
  36. <view class="shopRightBox">
  37. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  38. <view class="shopRihgtTxt">地图</view>
  39. </view>
  40. <view class="shopsx"></view>
  41. <view class="shopRightBox" @click="call">
  42. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  43. <view class="shopRihgtTxt">电话</view>
  44. </view>
  45. </view>
  46. <!-- 订单内容 -->
  47. <view class="information">
  48. <view class="detailedTitle">订单内容</view>
  49. <view v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail"
  50. :key="index">
  51. <view class="goodsName">{{item.itemName}}</view>
  52. <view class="informationLine2">
  53. <view class="salePrice"><span class="informationNum">¥</span>{{item.salePrice}}</view>
  54. <view class="informationNum" style="color: #999999;">
  55. x{{item.itemQty}}</view>
  56. </view>
  57. </view>
  58. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view>
  59. <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
  60. <!-- <view class="goodsName">
  61. 券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
  62. </view>
  63. <view class="detailedLineBox" v-for="(v,index) in orderData.OpenSheetQRCode">
  64. <view class="detailedLine">
  65. <view v-if="v.writeoffState==1" class="detailedName">
  66. <view class="redPoint"></view>
  67. <view class="code">{{v.qrCode}}</view>
  68. <view class="quanState">待使用</view>
  69. </view>
  70. <view v-if="v.writeoffState==3" class="detailedName">
  71. <view class="redPoint"></view>
  72. <view class="code old" >{{v.qrCode}}</view>
  73. <view class="quanState2">已使用</view>
  74. </view>
  75. <image src="../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
  76. v-if="v.writeoffState==1" @click="isShowMaSHow(index)"></image>
  77. </view>
  78. <view class="writeoffLineBox" v-if="v.writeoffState==3">
  79. <view class="writeoffLine">
  80. <view class="writeoffLineTxt">核销时间:{{v.writeoffTime}}</view>
  81. <view class="writeoffLineTxt">核销人:{{v.writeoffName}}</view>
  82. </view>
  83. <view class="writeoffLine">
  84. <view class="writeoffLineTxt">核销门店:{{v.writeoffShopName?v.writeoffShopName:''}}</view>
  85. </view>
  86. </view>
  87. </view> -->
  88. <view class="newCodeBox" v-if="quanMaList.length>0">
  89. <view class="newQrcode">
  90. <swiper class="swiper" style="height: 400rpx;" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#EC0F0A">
  91. <swiper-item v-for="(item,index) in quanMaList" style="height: 400rpx;">
  92. <view class="swiper-item">
  93. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="300" :unit="unit"
  94. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  95. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  96. </view>
  97. </swiper-item>
  98. </swiper>
  99. </view>
  100. <view class="newQrcodeTs" @click="qmshowFn">
  101. 待使用<span>{{quanMaList.length?quanMaList.length:0}}</span>份券码
  102. <image src="../../static/img/jt.png" mode="" class="jtImg1"></image>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 套餐内容 -->
  108. <view class="information" v-if="SheetType==3">
  109. <view class="detailedTitle">套餐内容</view>
  110. <!-- 项目 -->
  111. <view class="itemBox" v-if="orderData.projectList.length>0">
  112. <!-- 头 -->
  113. <view class="itemTop">
  114. <view class="leftItem">项目名称</view>
  115. <view class="topTitle">数量</view>
  116. <view class="topTitle">有效期</view>
  117. </view>
  118. <view v-for="(item,index) in orderData.projectList" :key="index">
  119. <view class="itemContent">
  120. <view class="leftItem">{{item.flowName}}</view>
  121. <view class="topTitle">{{item.flowQty}}</view>
  122. <view class="topTitle">{{item.date}}</view>
  123. </view>
  124. </view>
  125. </view>
  126. <!-- 商品 -->
  127. <view class="itemBox" v-if="orderData.shopList.length>0">
  128. <!-- 头 -->
  129. <view class="itemTop">
  130. <view class="leftItem">商品名称</view>
  131. <view class="topTitle">数量</view>
  132. <view class="topTitle">有效期</view>
  133. </view>
  134. <view v-for="(item,index) in orderData.shopList" :key="index">
  135. <view class="itemContent">
  136. <view class="leftItem">{{item.flowName}}</view>
  137. <view class="topTitle">{{item.flowQty}}</view>
  138. <view class="topTitle">{{item.date}}</view>
  139. </view>
  140. </view>
  141. </view>
  142. </view>
  143. <!-- 实付款 -->
  144. <view class="money">
  145. <view class="informationNum">实付款:</view>
  146. <view class="informationNum" style="color: #FF0000;font-weight: bold;">¥{{orderData.data.realMoney}}</view>
  147. </view>
  148. <view style="padding-left: 24rpx;padding-right: 24rpx;" >
  149. <view class="ysyBox">
  150. <view class="ysyLeft" style="font-weight: 500;color: #222222;">已使用({{orderData.writeoff}})·退款({{orderData.refund}})</view>
  151. <view class="ysyRgiht" @click="sheetQRCode">
  152. <span style="color: #9A9A9A;padding-right: 16rpx;">查看详情</span>
  153. <image src="../../static/img/jt.png" mode="" class="jtImg1"></image>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 订单信息 -->
  158. <view class="information">
  159. <view class="detailedTitle">订单信息</view>
  160. <view class="informationLine">
  161. <view class="informationTxt">订单单号:</view>
  162. <view class="informationNum">{{orderData.data.code}}<span class="codeCopy"
  163. @click="copy(orderData.data.code)">复制</span></view>
  164. </view>
  165. <view class="informationLine">
  166. <view class="informationTxt">下单人:</view>
  167. <view class="informationNum">{{orderData.data.userMobilePhone}}</view>
  168. </view>
  169. <view class="informationLine">
  170. <view class="informationTxt">下单时间:</view>
  171. <view class="informationNum">{{orderData.data.createTime}}</view>
  172. </view>
  173. <view class="informationLine">
  174. <view class="informationTxt">订单备注:</view>
  175. <view class="informationNum" style="width: 510rpx;">{{orderData.data.comment?orderData.data.comment:''}}
  176. </view>
  177. </view>
  178. </view>
  179. <!-- 支付信息 -->
  180. <view class="information">
  181. <view class="detailedTitle">支付信息</view>
  182. <view class="informationLine">
  183. <view class="informationTxt">支付状态:</view>
  184. <view class="informationNum" v-if="orderData.data.payState==1">未支付</view>
  185. <view class="informationNum" v-if="orderData.data.payState==2">已支付</view>
  186. </view>
  187. <view class="informationLine">
  188. <view class="informationTxt">支付方式:</view>
  189. <view class="informationNum" v-if="orderData.data.payType==1">在线支付</view>
  190. <view class="informationNum" v-if="orderData.data.payType==2">线下支付</view>
  191. </view>
  192. <view class="informationLine">
  193. <view class="informationTxt">支付时间:</view>
  194. <view class="informationNum">{{orderData.data.payTime?orderData.data.payTime:'-'}}</view>
  195. </view>
  196. </view>
  197. <!-- 核销信息 -->
  198. <view class="information writeoffXx" v-if="orderData.data.sheetState == 3">
  199. <view class="detailedTitle">核销信息</view>
  200. <view class="informationLine">
  201. <view class="informationTxt">核销状态:</view>
  202. <view class="informationNum" v-if="orderData.data.writeoffState==1">未核销</view>
  203. <view class="informationNum" v-if="orderData.data.writeoffState==2">部分核销</view>
  204. <view class="informationNum" v-if="orderData.data.writeoffState==3">已核销</view>
  205. </view>
  206. <view class="informationLine">
  207. <view class="informationTxt">核销时间:</view>
  208. <view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}} {{orderData.data.writeoffName}}</view>
  209. </view>
  210. <view class="informationLine">
  211. <view class="informationTxt">核销门店:</view>
  212. <view class="informationNum">{{orderData.data.writeoffShopName?orderData.data.writeoffShopName:'-'}}</view>
  213. </view>
  214. </view>
  215. <view style="height: 50rpx;background-color: #F4F5F7;"></view>
  216. <!-- 待付款 -->
  217. <view class="bottom" v-if="orderData.data.sheetState == 1">
  218. <view v-if="iOSInfo.indexOf('Q030')!=-1||!iOSInfo" class="cancel" @click="cancelBespeak">取消订单</view>
  219. </view>
  220. <!-- 待服务 -->
  221. <view class="bottom" v-if="orderData.data.sheetState == 2">
  222. <view v-if="(iOSInfo.indexOf('Q031')!=-1||!iOSInfo) && orderData.data.payType==1" class="defer" @click="isShowTui=true">退款</view>
  223. <view v-if="iOSInfo.indexOf('Q032')!=-1||!iOSInfo" class="defer" @click="goHeXiao">核销</view>
  224. <!-- <view v-if="iOSInfo.indexOf('Q033')!=-1||!iOSInfo" class="defer" @click="">开单</view> -->
  225. </view>
  226. <!-- 券码 -->
  227. <view class="maBox" v-if="isShowMa==true" @click="isShowMa=false">
  228. <view class="querenMa">
  229. <view class="maTop">
  230. <view class="maTitle">请到店出示券码即可开始服务</view>
  231. <image @click="isShowMa=false" src="../../static/img/icon_delete.png" mode=""
  232. style="width: 26rpx;height: 26rpx;margin-left: 10rpx;"></image>
  233. </view>
  234. <swiper class="swiper" circular :current='swiperIndex' :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC"
  235. indicator-active-color="#D53533">
  236. <swiper-item v-for="(item,index) in quanMaList">
  237. <view class="swiper-item">
  238. <view class="maCode">{{item}}</view>
  239. <view class="maBoximg">
  240. <tki-qrcode cid="qrcode1" ref="qrcode" :val="item" :size="400" :unit="unit"
  241. :pdground="pdground" :icon="icon" :iconSize="iconsize" :lv="lv" :onval="onval"
  242. :loadMake="loadMake" :usingComponents="true" @result="qrR" />
  243. </view>
  244. </view>
  245. </swiper-item>
  246. </swiper>
  247. </view>
  248. </view>
  249. <!-- 退款原因 -->
  250. <view class="tuikuanBox" v-if="isShowTui==true">
  251. <view class="tuikuan">
  252. <view class="tuiTop">
  253. <view class="tuiTitle">退款</view>
  254. <image @click="isShowTui=false" src="../../static/img/icon_close.png" mode=""
  255. style="width: 26rpx; height: 26rpx;"></image>
  256. </view>
  257. <view class="contLine">
  258. <view class="contlineLeft">
  259. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  260. 退款原因
  261. </view>
  262. <view class="contlineRight carModelRight" @click="">
  263. <picker class="carModel" @change="bindChange" mode="selector" :value="index"
  264. :range="tuicauseList" range-key="contents">
  265. <view class="uni-input">{{tuicauseList[index].contents}}</view>
  266. <!-- <view class="uni-input noColor" v-else>请选择</view> -->
  267. </picker>
  268. <image src="../../static/img/little_rightArrow.png" mode="" class="contlineRightJt"></image>
  269. </view>
  270. </view>
  271. <view class="contLine">
  272. <view class="contlineLeft">
  273. <image src="../../static/img/icon_star.png" mode="" class="star"></image>
  274. 退款金额
  275. </view>
  276. <view class="contlineRight carModelRight" @click="cktime">
  277. <span class="carModel">{{orderData.data.realMoney}}</span>
  278. </view>
  279. </view>
  280. <view class="contLine">
  281. <view class="contlineLeft">
  282. <image src="" mode="" class="star"></image>
  283. 补充描述
  284. </view>
  285. <view class="contlineRight">
  286. <textarea placeholder-style="color:#999999" placeholder="请输入" v-model="tuikuanContent"
  287. class="contlineRightInput" maxlength="-1" auto-height="true" @confirm="feedDone" />
  288. </view>
  289. </view>
  290. <view class="tuiBtns">
  291. <view class="btn" @click="isShowTui=false">取消</view>
  292. <view class="btn2" @click="goTui">确认退款</view>
  293. </view>
  294. </view>
  295. </view>
  296. <view class="tkBox" v-if="qmShow">
  297. <view class="tkContBox">
  298. <view class="tkTop">
  299. <view style="width: 22rpx;"></view>
  300. <view class="tkTitle">券码信息({{quanMaList.length?quanMaList.length:0}})</view>
  301. <image @click="qmHide" src="../../static/img/chahao2.png" mode="" class="chahaoIMg"></image>
  302. </view>
  303. <view class="tkLineBox">
  304. <view class="tkLine" v-for="(item,index) in quanMaList">
  305. <view class="tkLineLeft">
  306. <span style="color: #9A9A9A;">券码</span>
  307. <span style="color: #222222;padding-left: 66rpx;">{{item}}</span>
  308. </view>
  309. <view class="tkLineRight" style="color: #576B95;" @click="copy(item)">复制</view>
  310. </view>
  311. </view>
  312. </view>
  313. </view>
  314. <view class="tkBox" v-if="syShow">
  315. <view class="tkContBox2">
  316. <view class="tkTop">
  317. <view style="width: 22rpx;"></view>
  318. <view class="tkTitle">详情</view>
  319. <image @click="syHide" src="../../static/img/chahao2.png" mode="" class="chahaoIMg"></image>
  320. </view>
  321. <view class="tklineBox2">
  322. <view class="tkline2" v-for="(item,index) in sheetQRCodeList">
  323. <view class="tklineTop2">
  324. <view class="tkZt">
  325. <span v-if="item.writeoffState==3">已使用</span>
  326. <span v-if="item.writeoffState==1">未使用</span>
  327. <span v-if="item.refundState==0"></span>
  328. <span v-if="item.refundState==1">·退款中</span>
  329. <span v-if="item.refundState==2">·退款成功</span>
  330. <span v-if="item.refundState==3">·退款拒绝</span>
  331. <span v-if="item.refundState==4">·退款失败</span>
  332. </view>
  333. <view class="tkSeeD" @click="refundDetail(item)" v-if="item.writeoffState==1">
  334. <span>退款详情</span>
  335. <image src="../../static/img/jt.png" mode="" class="jtImg1"></image>
  336. </view>
  337. <view class="tkSeeD" @click="goSh(item)" v-if="item.writeoffState==3">
  338. <span>申请售后</span>
  339. <image src="../../static/img/jt.png" mode="" class="jtImg1"></image>
  340. </view>
  341. </view>
  342. <view class="tkRow">
  343. <view class="tlRowLeft" v-if="item.writeoffState==3">使用份数</view>
  344. <view class="tlRowLeft" v-else>退款份数</view>
  345. <view style="color: #222222;">1份</view>
  346. </view>
  347. <view class="tkRow">
  348. <view class="tlRowLeft">消费门店</view>
  349. <view style="color: #222222;">{{item.writeoffShopName?item.writeoffShopName:''}}</view>
  350. </view>
  351. <view class="tkRow">
  352. <view class="tlRowLeft">消费时间</view>
  353. <view style="color: #222222;">{{item.writeoffTime?item.writeoffTime:''}}</view>
  354. </view>
  355. <view class="tkRow">
  356. <view class="tlRowLeft">券 号</view>
  357. <view style="color: #222222;">{{item.qrCode}}</view>
  358. </view>
  359. </view>
  360. <nodata v-if="sheetQRCodeList.length==0"></nodata>
  361. </view>
  362. </view>
  363. </view>
  364. <view class="tkBox" v-if="xsShow">
  365. <view class="tkContBox">
  366. <view class="tkTop">
  367. <view style="width: 22rpx;"></view>
  368. <view class="tkTitle">申请售后</view>
  369. <image @click="xsHide" src="../../static/img/chahao2.png" mode="" class="chahaoIMg"></image>
  370. </view>
  371. <view class="zxSj">
  372. <view class="zxSjleft">
  373. <view class="zxTitle">咨询商家</view>
  374. <view class="zxTitle2">联系商家,提高退款效率</view>
  375. </view>
  376. <view class="zxSjRgiht" @click="call">
  377. <image src="/static/timg/wgcall.png" mode="" class="zxCallImg"></image>
  378. </view>
  379. </view>
  380. <view class="zkRefund" @click="goshFn">
  381. <span>已与商家协商一致,发起退款</span>
  382. <image src="../../static/img/jt.png" mode="" class="jtImg1"></image>
  383. </view>
  384. </view>
  385. </view>
  386. </view>
  387. </template>
  388. <script>
  389. import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
  390. export default {
  391. components: {
  392. tkiQrcode,
  393. },
  394. data() {
  395. return {
  396. id: '',
  397. iStatusBarHeight: '',
  398. SheetType: '', //SheetType 1 商品2项目3套餐4救援5钣喷6集客
  399. orderData: '',
  400. onval: true, // val值变化时自动重新生成二维码
  401. loadMake: true, // 组件加载完成后自动生成二维码
  402. size: 500,
  403. qrcodeShow: false,
  404. qrcodeTop: '-100vh',
  405. qrcodeTopVal: '',
  406. ifShow: false,
  407. val: '二维码', // 要生成的二维码值
  408. unit: 'upx', // 单位
  409. background: '#b4e9e2', // 背景色
  410. foreground: '#309286', // 前景色
  411. pdground: '#262637', // 角标色
  412. icon: '', // 二维码图标
  413. iconsize: 40, // 二维码图标大小
  414. lv: 3, // 二维码容错级别 , 一般不用设置,默认就行
  415. src: '', // 二维码生成后的图片地址或base64
  416. isShowMa: false,
  417. quanMaList: [],
  418. isShowTui: false,
  419. tuicauseList: [],
  420. tuikuanContent: '',
  421. index: 0,
  422. iOSInfo:'',
  423. swiperIndex:0,
  424. back:'',
  425. sxNum:'',
  426. sx:'',
  427. qmShow:false,
  428. syShow:false,
  429. sheetQRCodeList:[],
  430. xsShow:false,
  431. }
  432. },
  433. onLoad(opt) {
  434. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  435. this.id = opt.id
  436. this.back=opt.back;
  437. this.SheetType = opt.SheetType
  438. if (this.id) {
  439. this.getData()
  440. }
  441. this.getTuiKuanData()
  442. /* var qxnum = uni.getStorageSync("quanxian");
  443. if (qxnum == 1) {
  444. this.iOSInfo = JSON.parse(JSON.stringify(window.iOSInfo));
  445. }else if(qxnum==2){
  446. window.getAndroid=this.getAndroid;
  447. } */
  448. this.getpermission()
  449. },
  450. methods: {
  451. sheetQRCode(){
  452. uni.showLoading({
  453. title: '加载中'
  454. })
  455. this.$http('openOrderManagement/sheetQRCodeList', {
  456. type:2,
  457. sheetID: this.id,
  458. }, 'GET').then(res => {
  459. uni.hideLoading();
  460. this.syShow=true;
  461. this.sheetQRCodeList=res.data
  462. })
  463. },
  464. qmshowFn(){
  465. this.qmShow=true
  466. },
  467. qmHide(){
  468. this.qmShow=false
  469. },
  470. syHide(){
  471. this.syShow=false;
  472. },
  473. shuaxinFn(){
  474. this.sxNum=1
  475. this.getData();
  476. //this.getTuiKuanData()
  477. },
  478. getpermission(){
  479. this.$http('openH5ShopHelpSheetOrder/permission', {
  480. },'POST').then(res => {
  481. this.iOSInfo=res.data;
  482. })
  483. },
  484. isShowMaSHow(index){
  485. this.swiperIndex=index
  486. this.isShowMa=true
  487. },
  488. getAndroid(e){
  489. this.iOSInfo=e
  490. },
  491. goTui() {
  492. let yuanyin = this.tuicauseList[this.index].contents
  493. if (!yuanyin) {
  494. uni.showToast({
  495. title: '请选择退款原因',
  496. icon: 'none',
  497. duration: 3000
  498. });
  499. return false;
  500. }
  501. uni.showLoading({
  502. title: '加载中'
  503. })
  504. var that = this
  505. this.$http('openH5Indent/reimburse', {
  506. id: this.id,
  507. refundReason: yuanyin,
  508. refundComment: this.tuikuanContent,
  509. realMoney: this.orderData.data.realMoney
  510. }, 'GET').then(res => {
  511. uni.hideLoading();
  512. // var list = res.data.Items
  513. // var list = res.data
  514. console.log("result+=", res);
  515. if (res.code == 0) {
  516. that.isShowTui = false
  517. uni.showToast({
  518. title: '退款成功',
  519. icon: 'none',
  520. duration: 2000
  521. });
  522. setTimeout(function() {
  523. that.getData();
  524. }, 1000);
  525. }
  526. })
  527. },
  528. bindChange(e) {
  529. console.log(e);
  530. this.index = e.detail.value
  531. },
  532. feedDone(e) {
  533. this.tuikuanContent = e.target.value
  534. },
  535. // 核销
  536. goHeXiao() {
  537. console.log(this.id)
  538. //app交互
  539. var standalone = window.navigator.standalone
  540. var userAgent = window.navigator.userAgent.toLowerCase()
  541. var safari = /safari/.test(userAgent)
  542. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  543. var android = /android/.test(userAgent)
  544. if (ios) {
  545. if (true) { //!standalone&& !safari
  546. window.webkit.messageHandlers.goHeXiao.postMessage({
  547. "id": this.id ? this.id : ''
  548. })
  549. }
  550. } else if (android) {
  551. window.android.writeoff(this.id)
  552. }
  553. },
  554. getTuiKuanData() {
  555. uni.showLoading({
  556. title: '加载中'
  557. });
  558. this.$http('openH5Indent/getOpenReason', {
  559. // id: this.id,
  560. }, 'GET').then(res => {
  561. uni.hideLoading();
  562. this.tuicauseList = res.data;
  563. })
  564. },
  565. pay() {
  566. this.$http('openMallOrder/unifiedPay', {
  567. sheetId: this.id
  568. }, 'POST').then(res => {
  569. if (res.code == 0) {
  570. this.requestPayment(res.data)
  571. } else {
  572. uni.showToast({
  573. title: res.msg,
  574. icon: 'none',
  575. duration: 3000
  576. });
  577. }
  578. })
  579. },
  580. requestPayment(res) {
  581. var payInfo = res;
  582. //console.log(payInfo)
  583. //console.log(String(Date.now()))
  584. var that = this;
  585. uni.requestPayment({
  586. provider: 'wxpay',
  587. //timeStamp: String(Date.now()),
  588. timeStamp: payInfo.timeStamp,
  589. nonceStr: payInfo.nonceStr,
  590. package: payInfo.package,
  591. signType: payInfo.signType,
  592. paySign: payInfo.paySign,
  593. appid: payInfo.appId,
  594. success: function(res) {
  595. console.log('success:' + JSON.stringify(res));
  596. uni.showToast({
  597. title: '支付成功',
  598. icon: 'none',
  599. duration: 2000
  600. });
  601. that.getData()
  602. },
  603. fail: function(err) {
  604. console.log(err)
  605. uni.showToast({
  606. title: '支付失败',
  607. icon: 'none',
  608. duration: 2000
  609. });
  610. }
  611. });
  612. },
  613. copy(txt) {
  614. uni.setClipboardData({
  615. data: txt,
  616. success: function() {
  617. uni.showToast({
  618. title: '复制成功',
  619. icon: 'none',
  620. duration: 2000
  621. });
  622. }
  623. });
  624. },
  625. upTime() {
  626. uni.showLoading({
  627. title: '加载中'
  628. })
  629. var that = this
  630. this.$http('openH5Indent/carOwner/updateTimeOfAppointment', {
  631. id: this.id,
  632. shopId: this.orderData.shopInfo.id,
  633. billDate: this.billDate
  634. }, 'POST').then(res => {
  635. uni.hideLoading();
  636. // var list = res.data.Items
  637. var list = res.data
  638. console.log("result+=", res.data);
  639. uni.showToast({
  640. title: '延期成功',
  641. icon: 'none',
  642. duration: 2000
  643. });
  644. setTimeout(function() {
  645. that.getData();
  646. }, 1000);
  647. })
  648. },
  649. cancelBespeak() {
  650. var that = this
  651. uni.showModal({
  652. title: '提示',
  653. content: '是否取消该订单',
  654. cancelText: '否',
  655. confirmText: '是',
  656. success: function(res) {
  657. if (res.confirm) {
  658. uni.showLoading({
  659. title: '加载中'
  660. })
  661. that.$http('openH5Indent/updateSheetState', {
  662. id: that.id,
  663. }, 'POST').then(res => {
  664. uni.hideLoading();
  665. // var list = res.data.Items
  666. uni.showToast({
  667. title: '取消成功',
  668. icon: 'none',
  669. duration: 2000
  670. });
  671. setTimeout(function() {
  672. that.getData();
  673. }, 1000);
  674. })
  675. } else if (res.cancel) {
  676. }
  677. }
  678. });
  679. },
  680. map() {
  681. console.log("打开地图")
  682. var that = this;
  683. if (!that.orderData.shopInfo.lat || !that.orderData.shopInfo.lng) {
  684. uni.showToast({
  685. title: '该店铺未设置定位',
  686. icon: 'none',
  687. duration: 3000
  688. });
  689. } else {
  690. uni.openLocation({
  691. latitude: Number(that.orderData.shopInfo.lat),
  692. longitude: Number(that.orderData.shopInfo.lng),
  693. name: that.orderData.shopInfo.shopName,
  694. address: that.orderData.shopInfo.provinceName + that.orderData.shopInfo.cityName + that
  695. .orderData.shopInfo.areaName + that.orderData.shopInfo.address,
  696. success: function() {
  697. console.log('success');
  698. },
  699. fail(err) {
  700. console.log(err)
  701. }
  702. });
  703. }
  704. },
  705. call() {
  706. uni.makePhoneCall({
  707. phoneNumber: this.orderData.shopInfo.mobilePhone
  708. });
  709. },
  710. getData() {
  711. uni.showLoading({
  712. title: '加载中'
  713. });
  714. this.$http('openH5Indent/queryOpenSheet', {
  715. id: this.id,
  716. }, 'GET').then(res => {
  717. uni.hideLoading();
  718. this.orderData = res.data;
  719. if (this.quanMaList) {
  720. this.quanMaList = [];
  721. }
  722. let maList = this.orderData.OpenSheetQRCode;
  723. if (maList) {
  724. maList.forEach(item => {
  725. if (item.writeoffState == 1) {
  726. this.quanMaList.push(item.qrCode);
  727. }
  728. })
  729. }
  730. console.log('可用券码--', this.quanMaList);
  731. })
  732. },
  733. goback() {
  734. if(this.back==1){
  735. uni.navigateBack({
  736. delta: 1
  737. })
  738. }else{
  739. var standalone = window.navigator.standalone
  740. var userAgent = window.navigator.userAgent.toLowerCase()
  741. var safari = /safari/.test(userAgent)
  742. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  743. var android = /android/.test(userAgent)
  744. if (ios) {
  745. if ( true) {//!standalone&& !safari
  746. window.webkit.messageHandlers.goMyNav.postMessage(null)
  747. }
  748. } else if (android) {
  749. window.android.postMessage()
  750. }
  751. }
  752. },
  753. },
  754. onPullDownRefresh() {
  755. this.getData()
  756. setTimeout(function() {
  757. uni.stopPullDownRefresh();
  758. }, 1000);
  759. },
  760. }
  761. </script>
  762. <style scoped>
  763. .box {
  764. min-height: 100vh;
  765. background: #F4F5F7;
  766. padding-bottom: 135rpx;
  767. }
  768. .zdyNavBox {
  769. width: 100vw;
  770. background: #FFFFFF;
  771. position: fixed;
  772. top: 0;
  773. left: 0;
  774. z-index: 9999999;
  775. }
  776. .zdyNav {
  777. height: 44px;
  778. display: flex;
  779. justify-content: space-between;
  780. align-items: center;
  781. }
  782. .backImg {
  783. width: 44rpx;
  784. height: 44rpx;
  785. margin-left: 10rpx;
  786. margin-right: 20rpx;
  787. }
  788. .homeImg {
  789. width: 44rpx;
  790. height: 44rpx;
  791. }
  792. .zdyNavLeft {
  793. display: flex;
  794. align-items: center;
  795. }
  796. .zdyNavTitle {
  797. height: 44px;
  798. background: #FFFFFF;
  799. text-align: center;
  800. font-size: 34rpx;
  801. line-height: 44px;
  802. }
  803. .top {
  804. height: 190rpx;
  805. background-color: #FF0000;
  806. }
  807. .orderState {
  808. display: flex;
  809. justify-content: center;
  810. align-items: center;
  811. padding-top: 40rpx;
  812. }
  813. .SheetState {
  814. display: flex;
  815. justify-content: center;
  816. font-size: 36rpx;
  817. font-weight: 500;
  818. color: #FFFFFF;
  819. margin-left: 15rpx;
  820. }
  821. .timeEditImg {
  822. width: 25rpx;
  823. height: 25rpx;
  824. padding-left: 20rpx;
  825. }
  826. .shopBoximg {
  827. width: 40rpx;
  828. height: 40rpx;
  829. }
  830. .shopRightImg {
  831. width: 44rpx;
  832. height: 45rpx;
  833. }
  834. .shopsx {
  835. width: 1px;
  836. height: 50rpx;
  837. background: #EEEEEE;
  838. margin-top: 30rpx;
  839. margin-left: 28rpx;
  840. }
  841. .shopBox {
  842. display: flex;
  843. padding: 30rpx 20rpx;
  844. margin: 0rpx 24rpx;
  845. margin-top: -60rpx;
  846. background-color: #FFFFFF;
  847. border-radius: 10rpx;
  848. }
  849. .shopCont {
  850. width: 405rpx;
  851. padding-left: 20rpx;
  852. }
  853. .shopName {
  854. font-size: 30rpx;
  855. font-weight: bold;
  856. color: #3C3C3C;
  857. line-height: 42rpx;
  858. }
  859. .Address {
  860. color: #999999;
  861. font-size: 24rpx;
  862. margin-top: 10rpx;
  863. }
  864. .shopRihgtTxt {
  865. color: #999999;
  866. font-size: 24rpx;
  867. }
  868. .shopRightBox {
  869. padding-left: 28rpx;
  870. }
  871. .detailedTitle {
  872. padding: 23rpx 20rpx;
  873. display: flex;
  874. text-align: center;
  875. align-content: flex-start;
  876. border-bottom: 1rpx solid #EEEEEE;
  877. font-size: 30rpx;
  878. font-weight: bold;
  879. color: #3C3C3C;
  880. }
  881. .detailedLine {
  882. display: flex;
  883. padding: 16rpx 20rpx;
  884. justify-content: space-between;
  885. align-items: center;
  886. }
  887. .detailedImg {
  888. width: 120rpx;
  889. height: 120rpx;
  890. border-radius: 10rpx;
  891. }
  892. .detailedName {
  893. display: flex;
  894. align-items: center;
  895. }
  896. .code {
  897. font-size: 26rpx;
  898. color: #333333;
  899. font-weight: bold;
  900. width: 180rpx
  901. }
  902. .old {
  903. color: #999999;
  904. font-weight: 400;
  905. text-decoration: line-through;
  906. }
  907. .redPoint {
  908. width: 10rpx;
  909. height: 10rpx;
  910. background: #FF0000;
  911. border-radius: 10rpx;
  912. margin-right: 10rpx;
  913. }
  914. .quanState {
  915. font-size: 22rpx;
  916. color: #F19D01;
  917. padding: 0 10rpx;
  918. border: 1rpx solid #F19D01;
  919. border-radius: 4rpx;
  920. margin-left: 20rpx;
  921. }
  922. .quanState2 {
  923. font-size: 22rpx;
  924. color: #999999;
  925. padding: 0 10rpx;
  926. border: 1rpx solid #DDDDDD;
  927. border-radius: 4rpx;
  928. margin-left: 20rpx;
  929. }
  930. .information {
  931. background: #FFFFFF;
  932. border-radius: 10rpx;
  933. margin: 20rpx 24rpx;
  934. padding-bottom: 15rpx;
  935. }
  936. .informationLine {
  937. display: flex;
  938. padding: 15rpx 20rpx;
  939. }
  940. .informationLine2 {
  941. display: flex;
  942. justify-content: space-between;
  943. font-size: 26rpx;
  944. padding: 0 20rpx;
  945. }
  946. .salePrice {
  947. font-size: 26rpx;
  948. font-weight: 500;
  949. color: #333333;
  950. line-height: 45rpx;
  951. }
  952. .money {
  953. background: #FFFFFF;
  954. border-radius: 10rpx;
  955. margin: 20rpx 24rpx;
  956. display: flex;
  957. justify-content: space-between;
  958. font-size: 26rpx;
  959. padding: 30rpx 20rpx;
  960. }
  961. .informationTxt {
  962. width: 190rpx;
  963. font-size: 26rpx;
  964. color: #999999;
  965. }
  966. .line {
  967. height: 20rpx;
  968. background-color: #FFFFFF;
  969. border-bottom: 1rpx solid #EEEEEE;
  970. }
  971. .goodsName {
  972. padding: 20rpx 20rpx 15rpx;
  973. color: #333333;
  974. font-size: 26rpx;
  975. }
  976. .informationNum {
  977. color: #333333;
  978. font-size: 26rpx;
  979. }
  980. .codeCopy {
  981. width: 77rpx;
  982. height: 36rpx;
  983. background: #F4F5F7;
  984. border-radius: 22rpx;
  985. font-size: 24rpx;
  986. color: #333333;
  987. text-align: center;
  988. line-height: 33rpx;
  989. padding: 0 15rpx;
  990. margin-left: 20rpx;
  991. }
  992. .bottom {
  993. display: flex;
  994. justify-content: flex-end;
  995. padding: 20rpx;
  996. background-color: #FFFFFF;
  997. align-items: center;
  998. height: 98rpx;
  999. width: 100vw;
  1000. position: fixed;
  1001. bottom: 0rpx;
  1002. padding-bottom: constant(safe-area-inset-bottom);
  1003. padding-bottom: env(safe-area-inset-bottom);
  1004. }
  1005. .cancel {
  1006. color: #3C3C3C;
  1007. font-size: 28rpx;
  1008. width: 150rpx;
  1009. height: 56rpx;
  1010. border-radius: 36rpx;
  1011. border: 1rpx solid #DDDDDD;
  1012. text-align: center;
  1013. line-height: 56rpx;
  1014. margin-right: 40rpx;
  1015. }
  1016. .defer {
  1017. color: #D53533;
  1018. font-size: 28rpx;
  1019. width: 150rpx;
  1020. height: 56rpx;
  1021. border-radius: 36rpx;
  1022. border: 1rpx solid #D53533;
  1023. text-align: center;
  1024. line-height: 56rpx;
  1025. margin-right: 40rpx;
  1026. }
  1027. .itemBox {
  1028. margin: 20rpx;
  1029. border-radius: 10rpx;
  1030. border: 2rpx solid #EEEEEE;
  1031. }
  1032. .itemTop {
  1033. padding: 18rpx 20rpx;
  1034. padding-right: 0;
  1035. background-color: #FFEFD5;
  1036. display: flex;
  1037. justify-content: space-between;
  1038. align-content: center;
  1039. }
  1040. .topTitle {
  1041. width: 104rpx;
  1042. font-size: 26rpx;
  1043. color: #333333;
  1044. margin-right: 20rpx;
  1045. text-align: right;
  1046. }
  1047. .leftItem {
  1048. font-size: 26rpx;
  1049. color: #333333;
  1050. margin-right: 20rpx;
  1051. flex-grow: 1;
  1052. /* 隐藏文字显示 ...不换行 */
  1053. overflow: hidden;
  1054. text-overflow: ellipsis;
  1055. white-space: nowrap;
  1056. }
  1057. .itemContent {
  1058. padding: 20rpx;
  1059. padding-right: 0;
  1060. background-color: #FFFFFF;
  1061. display: flex;
  1062. justify-content: space-between;
  1063. align-content: center;
  1064. }
  1065. .maBox {
  1066. width: 100%;
  1067. height: 100vh;
  1068. background: rgba(0, 0, 0, 0.4);
  1069. position: fixed;
  1070. left: 0;
  1071. top: 0;
  1072. z-index: 9999;
  1073. }
  1074. .querenMa {
  1075. width: 578rpx;
  1076. height: 640rpx;
  1077. background: #ffffff;
  1078. margin: 0 86rpx;
  1079. margin-top: 50%;
  1080. border-radius: 24rpx;
  1081. }
  1082. .maTop {
  1083. display: flex;
  1084. justify-content: space-between;
  1085. align-items: center;
  1086. padding: 30rpx 20rpx 15rpx;
  1087. }
  1088. .maTitle {
  1089. color: #666666;
  1090. font-size: 26rpx;
  1091. text-align: center;
  1092. padding-left: 100rpx;
  1093. }
  1094. .swiper {
  1095. width: 100%;
  1096. height: 85%;
  1097. background: #FFFFFF;
  1098. }
  1099. .swiper-item {
  1100. width: 100%;
  1101. height: 100%;
  1102. }
  1103. .maCode {
  1104. font-size: 30rpx;
  1105. font-weight: 500;
  1106. color: #333333;
  1107. line-height: 42rpx;
  1108. margin-bottom: 40rpx;
  1109. text-align: center;
  1110. }
  1111. .maBoximg {
  1112. width: 400rpx;
  1113. height: 400rpx;
  1114. margin-left: 86rpx;
  1115. }
  1116. .tuikuanBox {
  1117. width: 100%;
  1118. height: 100vh;
  1119. background: rgba(0, 0, 0, 0.4);
  1120. position: fixed;
  1121. left: 0;
  1122. top: 0;
  1123. z-index: 999;
  1124. }
  1125. .tuikuan {
  1126. width: 638rpx;
  1127. height: 664rpx;
  1128. background: #ffffff;
  1129. margin: 0 36rpx;
  1130. margin-top: 50%;
  1131. border-radius: 24rpx;
  1132. padding: 30rpx 20rpx;
  1133. }
  1134. .tuiTop {
  1135. display: flex;
  1136. justify-content: space-between;
  1137. margin-bottom: 36rpx;
  1138. }
  1139. .tuiTitle {
  1140. width: 56rpx;
  1141. height: 40rpx;
  1142. font-size: 28rpx;
  1143. font-weight: 500;
  1144. color: #3C3C3C;
  1145. line-height: 40rpx;
  1146. }
  1147. .contLine {
  1148. display: flex;
  1149. justify-content: space-between;
  1150. font-size: 28rpx;
  1151. padding: 30rpx 0;
  1152. border-bottom: 1px solid #EEEEEE;
  1153. }
  1154. .contlineLeft {
  1155. color: #666666;
  1156. line-height: 40rpx;
  1157. align-items: center;
  1158. }
  1159. .star {
  1160. width: 14rpx;
  1161. height: 14rpx;
  1162. padding-bottom: 5rpx;
  1163. }
  1164. .carModel {
  1165. width: 350rpx;
  1166. text-align: left;
  1167. }
  1168. .noColor {
  1169. color: #CCCCCC;
  1170. }
  1171. .carModelRight {
  1172. display: flex;
  1173. justify-content: flex-start;
  1174. align-items: center;
  1175. }
  1176. .contlineRight {
  1177. color: #333333;
  1178. line-height: 40rpx;
  1179. width: 400rpx;
  1180. text-align: right;
  1181. }
  1182. .contlineRightInput {
  1183. color: #333333;
  1184. text-align: left;
  1185. font-size: 28rpx;
  1186. min-height: 182rpx;
  1187. width: 400rpx;
  1188. }
  1189. .contlineRightJt {
  1190. width: 30rpx;
  1191. height: 30rpx;
  1192. }
  1193. .tuiBtns {
  1194. display: flex;
  1195. padding: 40rpx 20rpx 10rpx;
  1196. }
  1197. .btn {
  1198. width: 288rpx;
  1199. height: 98rpx;
  1200. background: #F4F5F7;
  1201. border-radius: 10rpx;
  1202. margin-right: 22rpx;
  1203. font-size: 30rpx;
  1204. font-weight: 500;
  1205. color: #3C3C3C;
  1206. line-height: 98rpx;
  1207. text-align: center;
  1208. }
  1209. .btn2 {
  1210. width: 288rpx;
  1211. height: 98rpx;
  1212. background: #3F90F7;
  1213. border-radius: 10rpx;
  1214. font-size: 30rpx;
  1215. font-weight: 500;
  1216. color: #FFFFFF;
  1217. line-height: 98rpx;
  1218. text-align: center;
  1219. }
  1220. .writeoffLine{
  1221. display: flex;justify-content: space-between;
  1222. color: #999999;font-size: 24rpx;
  1223. line-height: 33rpx;padding-top: 8rpx;
  1224. }
  1225. .writeoffLineBox{
  1226. padding: 0 20rpx;
  1227. }
  1228. .detailedLineBox .detailedLine{
  1229. padding-bottom: 0rpx;
  1230. }
  1231. .writeoffXx .informationNum{
  1232. width: 500rpx;
  1233. }
  1234. .detailedLineBox{
  1235. padding-bottom: 10rpx;
  1236. }
  1237. .newQrcode{
  1238. text-align: center;padding-top: 30rpx;
  1239. }
  1240. .newQrcodeTs{
  1241. font-size: 24rpx;
  1242. color: #222222;
  1243. }
  1244. .jtImg1{
  1245. width: 20rpx;height: 20rpx;
  1246. }
  1247. .newQrcodeTs {
  1248. text-align: center;
  1249. padding-top: 10rpx;
  1250. padding-bottom: 30rpx;
  1251. }
  1252. .ysyBox{
  1253. background: #ffffff;
  1254. border-radius: 16rpx;
  1255. display: flex;
  1256. justify-content: space-between;
  1257. font-size: 26rpx;
  1258. padding: 30rpx 24rpx;
  1259. }
  1260. .copyIcon{
  1261. width: 30rpx;height: 30rpx;
  1262. margin-top: 4rpx;margin-right: 6rpx;
  1263. }
  1264. .newQrcode .swiper-item{
  1265. text-align: center;
  1266. }
  1267. .chahaoIMg{
  1268. width: 22rpx;height: 22rpx;
  1269. margin-top: 4rpx;
  1270. }
  1271. .tkBox{
  1272. position: fixed;
  1273. background: rgba(0, 0, 0, 0.4);
  1274. width: 100%;height: 100%;
  1275. top: 0;
  1276. left: 0;
  1277. }
  1278. .tkContBox{
  1279. width: 750rpx;
  1280. height: 483rpx;
  1281. background: #F8F8F8;
  1282. border-radius: 28rpx 28rpx 0rpx 0rpx;
  1283. position: absolute;
  1284. left: 0;
  1285. bottom: 0;
  1286. padding-bottom: constant(safe-area-inset-bottom);
  1287. padding-bottom: env(safe-area-inset-bottom);
  1288. }
  1289. .tkContBox2{
  1290. width: 750rpx;
  1291. height: 60vh;
  1292. background: #F8F8F8;
  1293. border-radius: 28rpx 28rpx 0rpx 0rpx;
  1294. position: absolute;
  1295. left: 0;
  1296. bottom: 0;
  1297. padding-bottom: constant(safe-area-inset-bottom);
  1298. padding-bottom: env(safe-area-inset-bottom);
  1299. }
  1300. .tkTop{
  1301. display: flex;justify-content: space-between;
  1302. padding: 25rpx 40rpx 40rpx 40rpx;
  1303. font-weight: 500;
  1304. font-size: 28rpx;
  1305. color: #222222;
  1306. }
  1307. .tkLineBox{
  1308. background: #FFFFFF;
  1309. border-radius: 16rpx;
  1310. margin: 0 33rpx;
  1311. }
  1312. .tkLine{
  1313. display: flex;justify-content: space-between;
  1314. font-size: 26rpx;
  1315. padding: 24rpx 30rpx;
  1316. border-bottom: 1px solid #EEEEEE;
  1317. }
  1318. .tklineBox2{
  1319. padding:0 24rpx;
  1320. height: 55vh;
  1321. overflow: scroll;
  1322. }
  1323. .tkline2{
  1324. background: #FFFFFF;
  1325. border-radius: 16rpx;
  1326. padding: 32rpx 24rpx;
  1327. margin-bottom: 20rpx;
  1328. }
  1329. .tklineTop2{
  1330. display: flex;justify-content: space-between;
  1331. }
  1332. .tkZt{
  1333. font-weight: 500;
  1334. font-size: 28rpx;
  1335. color: #222222;
  1336. line-height: 40rpx;
  1337. }
  1338. .tkSeeD{
  1339. font-weight: 400;
  1340. font-size: 26rpx;
  1341. color: #9A9A9A;
  1342. line-height: 40rpx;
  1343. }
  1344. .tkSeeD .jtImg1{
  1345. margin-left: 4rpx;
  1346. }
  1347. .tkRow{
  1348. display: flex;
  1349. font-size: 26rpx;
  1350. padding-top: 18rpx;
  1351. }
  1352. .tlRowLeft{
  1353. color: #9A9A9A;width: 140rpx;
  1354. }
  1355. .zxSj{
  1356. background: #FFFFFF;
  1357. border-radius: 16rpx;
  1358. margin: 0 24rpx;
  1359. display: flex;justify-content: space-between;
  1360. }
  1361. .zxCallImg{
  1362. width: 34rpx;height: 34rpx;
  1363. }
  1364. .zxTitle{
  1365. font-weight: 500;
  1366. font-size: 28rpx;
  1367. color: #222222;
  1368. line-height: 40rpx;
  1369. }
  1370. .zxTitle2{
  1371. font-size: 24rpx;
  1372. color: #9A9A9A;
  1373. padding-top: 12rpx;
  1374. }
  1375. .zxSjleft{
  1376. padding: 32rpx;
  1377. }
  1378. .zxSjRgiht{
  1379. width: 79rpx;
  1380. height: 79rpx;
  1381. border: 2rpx solid #EEEEEE;
  1382. border-radius: 50%;
  1383. display: flex;
  1384. justify-content: center;
  1385. align-items: center;
  1386. margin-top: 32rpx;
  1387. margin-right: 32rpx;
  1388. }
  1389. .zkRefund{
  1390. display: flex;justify-content: center;
  1391. font-size: 24rpx;
  1392. color: #9A9A9A;
  1393. padding-top: 30rpx;
  1394. }
  1395. .zkRefund .jtImg1{
  1396. margin-left: 6rpx;margin-top: 6rpx;
  1397. }
  1398. </style>