activityOrderDetail.vue 42 KB

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