activityOrderDetail.vue 51 KB

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