mallOrderDetail.vue 43 KB

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