activityOrderDetail.vue 41 KB

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