user.vue 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769
  1. <template>
  2. <view class="box">
  3. <view class="top" :style="{background:'#'+themeColor}">
  4. <view class="customerMes">
  5. <image @click="updateUserInfo" v-if="showSetting.showImageType==0" :src="showSetting.showImage" mode=""
  6. style="width: 110rpx;height: 110rpx;border-radius: 55rpx;"></image>
  7. <image @click="updateUserInfo" v-else src="http://dmsphoto.66km.com.cn/thFiles/64CD12A3-588E-4201-90F6-5428F6ACD9F9.png" mode=""
  8. style="width: 110rpx;height: 110rpx;border-radius: 55rpx;"></image>
  9. <view class="mes">
  10. <view class="nick">
  11. <view class="nickName" v-if="customerName">{{customerName}}</view>
  12. <view class="nickName2" v-else>微信用户</view>
  13. <!-- <view class="grade" @click="gonavigateTo('../index/vipCard')" v-if="numList.levelName&&showSetting.isShowLevel">{{numList.levelName}} ></view>-->
  14. <view class="cardNameBOx" v-if="numList.levelName&&showSetting.isShowLevel" @click="gonavigateTo('../subPack/vipCard')">
  15. <image class="cardNameIcon" src="http://dmsphoto.66km.com.cn/thFiles/E3F78C8A-CF4F-40DD-B050-689CFCEA2F4C.png" mode=""></image>
  16. <view class="cardNameTb">{{numList.levelName}}</view>
  17. <image src="../../static/timg/icon_arrow.png" mode="" class="cardNameIcon2"></image>
  18. </view>
  19. <view class="cardNameBOx" v-if="numList.f2ccard.cardName">
  20. <image class="cardNameIcon" src="http://dmsphoto.66km.com.cn/thFiles/E3F78C8A-CF4F-40DD-B050-689CFCEA2F4C.png" mode=""></image>
  21. <view class="cardNameTb">{{numList.f2ccard.cardName}}</view>
  22. </view>
  23. </view>
  24. <view class="phone" >{{phone}} <span @click="seeQr">{{numList.customerInfo.wxMiniV2OpenID?' / 已绑定微信':' / 未绑定微信'}}</span>
  25. <image src="../../static/img2/hjt.png" mode="" class="hjtIcon"></image>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- <view v-if="numList.remindType==0" class="marginTop2"></view>v-if="numList.remindType!=0" -->
  31. <view class="marginTop" ></view>
  32. <!-- 卡制度-->
  33. <view v-if="showSetting.isShowCardSystem&&f2csystemlist">
  34. <view >
  35. <swiper class="swiper2" :autoplay="false" :interval="interval"
  36. :current="f2cIndex" :duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" :indicator-active-color="'#'+themeColor">
  37. <swiper-item v-for="(item,index) in f2csystemlist">
  38. <view class="cardBox">
  39. <view class="cardTOp" :style="{background:'url('+item.Banner+') 100% 100%'}" style="background-size: 100% 100% !important;">
  40. <img class="vipBsIcon" v-if="item.growthState==1" src="http://dmsphoto.66km.com.cn/thFiles/91FCABC6-775C-47CA-B7D4-3579A4DE8497.png" alt="">
  41. <view class="cardName">{{item.system.name}}</view>
  42. <!-- 当前卡制度-->
  43. <view class="cardtimeBox" v-if="item.growthState==1">
  44. <view class="cardtimeLeft">成长值 {{numList.f2ccard.growthValue}}/{{item.system.growthValueUp}}</view>
  45. <view class="cartimeRight">有效期 {{numList.f2ccard.expireTime.slice(0,10)}}</view>
  46. </view>
  47. <view class="cardtimeBox" v-if="item.growthState==2">
  48. <view class="cardtimeLeft">高于该等级</view>
  49. </view>
  50. <view class="cardtimeBox" v-if="item.growthState==3">
  51. <view class="cardtimeLeft">还需{{item.addGrowth}}成长值可升级</view>
  52. </view>
  53. </view>
  54. <view class="cardCont">
  55. <view class="cardLine" v-for="(c,cindex) in item.contents" v-if="cindex<8">
  56. <view class="cardLineImgBox">
  57. <image :src="c.icon" mode="" class="cardLineImg"></image>
  58. </view>
  59. <view class="cardlineTitle" v-if="c.state==1">{{c.title}}</view>
  60. <view class="cardlineTitle2" v-if="c.state==0">{{c.title}}</view>
  61. </view>
  62. </view>
  63. </view>
  64. </swiper-item>
  65. </swiper>
  66. </view>
  67. </view>
  68. <view class="padingBox">
  69. <view class="headerBox2">
  70. <view class="headerBox">
  71. <view class="quan" @click="gonavigateTo('../index/discountCard')" v-if="showSetting.isShowCoupon">
  72. <view class="numStr">{{numList.count?numList.count:0}}</view>
  73. <view class="nameStr">优惠券</view>
  74. </view>
  75. <view class="quan" v-if="showSetting.isShowIntergral" @click="gonavigateTo('../integral/integral?totalIntegral='+numList.totalIntegral)">
  76. <view class="numStr">{{numList.totalIntegral?numList.totalIntegral:0}}</view>
  77. <view class="nameStr">积分</view>
  78. </view>
  79. <view class="quan" v-if="showSetting.isShowCard" @click="gonavigateTo('../index/vipCard')">
  80. <view class="numStr">{{numList.cardNum?numList.cardNum:0}}</view>
  81. <view class="nameStr">会员卡</view>
  82. </view>
  83. </view>
  84. <view style="padding-bottom: 20rpx;" v-if="numList.remindIntegral">
  85. <view class="remindBox" >
  86. <view class="remindLeft" style="display: flex;">
  87. <image style="width: 30rpx;height: 30rpx;" src="http://dmsphoto.66km.com.cn/thFiles/4DC56154-C0D0-4CC8-A9B1-A2117C39CDFB.png" mode=""></image>
  88. <span style="padding-left: 10rpx;">您有</span>
  89. <span style="color: #0B0B0B;font-weight: 500;">{{numList.remindIntegral}}</span>
  90. <span v-if="numList.remindType==1">积分将于本月过期</span>
  91. <span v-if="numList.remindType==2">积分将于30天内过期</span>
  92. </view>
  93. <view class="useremind" @click="useremind">去使用></view>
  94. </view>
  95. </view>
  96. </view>
  97. <!-- v-if="numList.remindType!=0&&numList.remindIntegral!=0" -->
  98. </view>
  99. <!-- 店铺信息 -->
  100. <view class="shopBox" v-if="userInfo&&showSetting.isShowCardShop">
  101. <view class="shopCont">
  102. <view class="shopName">{{numList.shopInfo.shopName}}</view>
  103. <view class="shopRightBox">
  104. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"
  105. style="margin-right: 30rpx;" @click="map"></image>
  106. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg" @click="call"></image>
  107. </view>
  108. </view>
  109. <view v-if="numList.isShowScore == 1 && numList.isShowEvaluate == 1" class="appraiseBox">
  110. <view v-if="numList.isShowScore == 1 && numList.shopInfo.miniV2ShopScore" class="appraise">
  111. {{numList.shopInfo.miniV2ShopScore}}
  112. <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
  113. </view>
  114. <view v-if="numList.isShowScore == 1 && !numList.shopInfo.miniV2ShopScore" class="appraise"
  115. style='font-size: 26rpx;'>暂无评分</span>
  116. </view>
  117. <view v-if="numList.isShowScore == 1" class="line"></view>
  118. <view @click="goShopAppraiseList()" v-if="numList.isShowEvaluate == 1 && numList.evaluateCount "
  119. class="appraiseCount">评价数
  120. {{numList.evaluateCount}}
  121. <image v-if="numList.isShowEvaluate == 1" class="rightArrow"
  122. src="../../static/timg/icon_arrow_right.png" mode=""></image>
  123. </view>
  124. <view v-if="numList.isShowEvaluate == 1 && !numList.evaluateCount " class="appraiseCount">暂无评价
  125. </view>
  126. </view>
  127. <view class="shopTime" v-if="numList.shopInfo.startTime && numList.shopInfo.endTime">
  128. {{numList.shopInfo.startTime}}-{{numList.shopInfo.endTime}}
  129. </view>
  130. <view class="address">
  131. <view class="Address">
  132. {{numList.shopInfo.provinceName?numList.shopInfo.provinceName:''}}
  133. {{numList.shopInfo.cityName?numList.shopInfo.cityName:''}}
  134. {{numList.shopInfo.areaName?numList.shopInfo.areaName:''}}
  135. {{numList.shopInfo.address?numList.shopInfo.address:''}}
  136. </view>
  137. <!-- <view class="distance" v-if="numList.shopInfo.distance&&numList.shopInfo.distance!= '0.00'">{{numList.shopInfo.distance}}km</view> -->
  138. </view>
  139. </view>
  140. <!-- 我的订单 -->
  141. <view class="orderBox">
  142. <view class="orderTitle">
  143. <span>我的订单</span>
  144. <span class="allOrder" @click="goorder(0)">全部订单
  145. <image src="../../static/img/big_rightArrow.png" mode="" class="allOrderIcon"></image>
  146. </span>
  147. </view>
  148. <view class="orderLIneBox">
  149. <view class="orderLine" @click="goorder(1)">
  150. <view class="orderImgBox">
  151. <view class="orderNum" v-show="numList.waitPurchaseSize>0">
  152. {{numList.waitPurchaseSize>99?'99+':numList.waitPurchaseSize}}
  153. </view>
  154. <image src="../../static/img2/dzf.png" mode="" class="orderLineImg"></image>
  155. </view>
  156. <view class="orderLineTxt">待支付</view>
  157. </view>
  158. <view class="orderLine" @click="goorder(5)">
  159. <view class="orderImgBox">
  160. <view class="orderNum" v-show="numList.waitGroupSize>0">
  161. {{numList.waitGroupSize>99?'99+':numList.waitGroupSize}}
  162. </view>
  163. <image src="../../static/img2/dct.png" mode="" class="orderLineImg"></image>
  164. </view>
  165. <view class="orderLineTxt">待成团</view>
  166. </view>
  167. <view class="orderLine" style="border-right: 1px dashed #DDDDDD;" @click="goorder(3)">
  168. <view class="orderImgBox">
  169. <view class="orderNum" v-show="numList.hasOverSize>0">
  170. {{numList.hasOverSize>99?'99+':numList.hasOverSize}}
  171. </view>
  172. <image src="../../static/img2/ywc.png" mode="" class="orderLineImg"></image>
  173. </view>
  174. <view class="orderLineTxt">已完成</view>
  175. </view>
  176. <view class="orderLine" @click="goorder(2)">
  177. <view class="orderImgBox">
  178. <view class="orderNum" v-show="numList.waitServiceSize>0">
  179. {{numList.waitServiceSize>99?'99+':numList.waitServiceSize}}
  180. </view>
  181. <image src="../../static/img2/dsy.png" mode="" class="orderLineImg"></image>
  182. </view>
  183. <view class="orderLineTxt">待使用</view>
  184. </view>
  185. <!-- <view class="orderLine" @click="goorder(0)">
  186. <view class="orderImgBox">
  187. <view class="orderNum" v-show="numList.allSize>0">{{numList.allSize>99?'99+':numList.allSize}}
  188. </view>
  189. <image src="../../static/img/icon_allorder.png" mode="" class="orderLineImg"></image>
  190. </view>
  191. <view class="orderLineTxt">全部</view>
  192. </view> -->
  193. </view>
  194. </view>
  195. <view class="kbox">
  196. <view class="klineCont" v-if="carInfo">
  197. <view class="klineTitle">我的爱车</view>
  198. <view class="kline">
  199. <view class="klineRow carInfoklineRow" @click="gonavigateTo('./addCar/cailist?type=3')">
  200. <image :src="carInfo.brandLogo" mode="" class="carbrandLogo"></image>
  201. <view class="carModel KlineTxt" style="display: flex;justify-content: space-between;padding: 0 10rpx;">
  202. <span class="carInfobrand">{{carInfo.brand?carInfo.brand:''}}{{carInfo.series?carInfo.series:''}}</span>
  203. <image class="carjt" src="../../static/img2/jt1.png" mode=""></image>
  204. </view>
  205. </view>
  206. <view class="klineRow" @click="gonavigateTo('historySpend')">
  207. <image class="klineIcon" src="../../static/img2/byjl.png" mode=""></image>
  208. <view class="KlineTxt">保养记录</view>
  209. </view>
  210. <view class="klineRow" @click="gonavigateTo('checkReport')">
  211. <image class="klineIcon" src="../../static/img2/ckbg.png" mode=""></image>
  212. <view class="KlineTxt">车况报告</view>
  213. </view>
  214. <view class="klineRow" @click="gonavigateTo('../index/rescue')">
  215. <image class="klineIcon" style="width: 58rpx;height: 49rpx;padding-bottom: 4rpx;"
  216. src="../../static/img2/24.png" mode=""></image>
  217. <view class="KlineTxt">24小时救援</view>
  218. </view>
  219. </view>
  220. </view>
  221. <view class="klineCont" v-if="!carInfo"><!-- -->
  222. <image @click="addCar" v-if="carAddImage==1" src="http://dmsphoto.66km.com.cn/thFiles/1A5B68D2-6627-406D-A775-550C92979026.png" mode="" style="width: 100%;height: 148rpx;"></image>
  223. <image @click="addCar" v-else :src="carAddImage" mode="" style="width: 100%;height: 148rpx;"></image>
  224. <!-- <view class="klineTitle">我的爱车</view>
  225. <view class="addCarBox">
  226. <view class="addCar">
  227. <view class="addCarLeft">
  228. <view class="addCarTxt1">开车请注意 安途生来帮您</view>
  229. <view class="carBq">
  230. <view class="carBqLine">
  231. <image src="../../static/img2/carDui.png" mode="" class="carDui"></image>
  232. <view class="carTitle">车况报告</view>
  233. </view>
  234. <view class="carBqLine">
  235. <image src="../../static/img2/carDui.png" mode="" class="carDui"></image>
  236. <view class="carTitle">保养记录</view>
  237. </view>
  238. <view class="carBqLine">
  239. <image src="../../static/img2/carDui.png" mode="" class="carDui"></image>
  240. <view class="carTitle">快速救援</view>
  241. </view>
  242. </view>
  243. </view>
  244. <view class="addCarBtn" @click="addCar">添加爱车</view>
  245. </view>
  246. </view> -->
  247. </view>
  248. <view class="klineCont">
  249. <view class="klineTitle">更多推荐</view>
  250. <view class="kline">
  251. <view class="klineRow" v-if="showSetting.isShowService==1" @click="gonavigateTo('../user/expertServices')">
  252. <image class="klineIcon" src="../../static/img2/icon_fwzj.png" mode=""></image>
  253. <view class="KlineTxt2">服务顾问</view>
  254. </view>
  255. <view class="klineRow" @click="gonavigateTo('myBespeak')">
  256. <image class="klineIcon" src="../../static/img2/icon_yuyue.png" mode=""></image>
  257. <view class="KlineTxt2">我的预约</view>
  258. </view>
  259. <view class="klineRow" @click="gonavigateTo('../subPack/rescueOrder')">
  260. <image class="klineIcon" src="../../static/img2/jyjl.png" mode=""></image>
  261. <view class="KlineTxt2">救援记录</view>
  262. </view>
  263. <view class="klineRow" @click="gonavigateTo('../index/onlineBooking')">
  264. <image class="klineIcon" src="../../static/img2/clsp.png" mode=""></image>
  265. <view class="KlineTxt2">车辆适配</view>
  266. </view>
  267. <view class="klineRow" @click="gonavigateTo('../subPack/depositList')">
  268. <image class="klineIcon" src="../../static/img2/icon_jydd.png" mode=""></image>
  269. <view class="KlineTxt2">我的寄存</view>
  270. </view>
  271. </view>
  272. </view>
  273. <view class="klineCont">
  274. <view class="klineTitle">口碑传播</view>
  275. <view class="kline">
  276. <button open-type="share" class="klineRow">
  277. <view class="">
  278. <image class="klineIcon" src="../../static/img2/fenx.png" mode=""></image>
  279. <view class="KlineTxt2">分享好友</view>
  280. </view>
  281. </button>
  282. <view class="klineRow" @click="gonavigateTo('../subPack/luckList')" v-if="numList.shopSettings.luckdrawDisabled">
  283. <image class="klineIcon" src="../../static/img2/hdjp.png" mode=""></image>
  284. <view class="KlineTxt2">活动奖品</view>
  285. </view>
  286. <view class="klineRow" @click="gonavigateTo('../referral/referral')" v-if="numList.customerInfo.rebateState==1&&numList.shopSettings.introductionDisabled">
  287. <image class="klineIcon" src="../../static/img2/kehuzjs.png" mode=""></image>
  288. <view class="KlineTxt2">客户转介绍</view>
  289. </view>
  290. <view class="klineRow" @click="gonavigateTo('../partner/partner')" v-if="numList.customerInfo.pState==1&&numList.shopSettings.partnerDisabled">
  291. <image class="klineIcon" src="../../static/img2/chezhu.png" mode=""></image>
  292. <view class="KlineTxt2">车主合伙人</view>
  293. </view>
  294. <view class="klineRow" @click="gonavigateTo('myAppraise')">
  295. <image class="klineIcon" src="../../static/img2/icon_pingjia.png" mode=""></image>
  296. <view class="KlineTxt2">我的评价</view>
  297. </view>
  298. <view class="klineRow" @click="gonavigateTo('../subPack/feedBack')">
  299. <image class="klineIcon" src="../../static/img2/yjfk.png" mode=""></image>
  300. <view class="KlineTxt2">建议反馈</view>
  301. </view>
  302. <view class="klineRow" @click="gomember(showSetting.memberTitle)">
  303. <image class="klineIcon" src="../../static/img2/huiyuan.png" mode=""></image>
  304. <view class="KlineTxt2">关于会员</view>
  305. </view>
  306. <view class="klineRow" @click="gonavigateaboutUS">
  307. <image class="klineIcon" src="../../static/img2/gongs.png" mode=""></image>
  308. <view class="KlineTxt2">公司介绍</view>
  309. </view>
  310. <view class="klineRow" @click="makePhoneCall(showSetting.tel)">
  311. <image class="klineIcon" src="../../static/img2/kefu.png" mode=""></image>
  312. <view class="KlineTxt2">联系客服</view>
  313. </view>
  314. </view>
  315. </view>
  316. </view>
  317. <!-- 我的 相关 -->
  318. <!-- <view class="rowBoxBg">
  319. <view class="rowBox" @click="gonavigateTo('../user/expertServices')">
  320. <view class="leftView">
  321. <image src="../../static/img/icon_me1.png" mode="" class="liftIcon"></image>
  322. <view class="rowTitle">服务专家</view>
  323. </view>
  324. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  325. </view>
  326. <view class="rowBox" @click="gonavigateTo('./addCar/cailist?type=3')">
  327. <view class="leftView">
  328. <image src="../../static/img/icon_me2.png" mode="" class="liftIcon"></image>
  329. <view class="rowTitle">我的车库</view>
  330. </view>
  331. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  332. </view>
  333. <view class="rowBox" @click="gonavigateTo('myBespeak')">
  334. <view class="leftView">
  335. <image src="../../static/img/icon_me3.png" mode="" class="liftIcon"></image>
  336. <view class="rowTitle">我的预约</view>
  337. </view>
  338. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  339. </view>
  340. <view class="rowBox" @click="gonavigateTo('historySpend')">
  341. <view class="leftView">
  342. <image src="../../static/img/icon_me4.png" mode="" class="liftIcon"></image>
  343. <view class="rowTitle">历史消费</view>
  344. </view>
  345. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  346. </view>
  347. <view class="rowBox" @click="gonavigateTo('checkReport')">
  348. <view class="leftView">
  349. <image src="../../static/img/icon_me5.png" mode="" class="liftIcon"></image>
  350. <view class="rowTitle">车检报告</view>
  351. </view>
  352. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  353. </view>
  354. <view class="rowBox" @click="gonavigateTo('../subPack/depositList')">
  355. <view class="leftView">
  356. <image src="../../static/timg/icon_jydd.png" mode="" class="liftIcon"></image>
  357. <view class="rowTitle">我的寄存</view>
  358. </view>
  359. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  360. </view>
  361. <view class="rowBox" @click="gonavigateTo('../subPack/rescueOrder')">
  362. <view class="leftView">
  363. <image src="../../static/timg/sos.png" mode="" class="liftIcon"></image>
  364. <view class="rowTitle">救援订单</view>
  365. </view>
  366. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  367. </view>
  368. <view class="rowBox" @click="gonavigateTo('../subPack/luckList')">
  369. <view class="leftView">
  370. <image src="../../static/timg/icon_jydd.png" mode="" class="liftIcon"></image>
  371. <view class="rowTitle">中奖记录</view>
  372. </view>
  373. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  374. </view>
  375. </view> -->
  376. <!-- <view class="rowBoxBg">
  377. <view class="rowBox" @click="gonavigateTo('myAppraise')">
  378. <view class="leftView">
  379. <image src="../../static/img/icon_pingjia.png" mode="" class="liftIcon"></image>
  380. <view class="rowTitle">我的评价</view>
  381. </view>
  382. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  383. </view>
  384. </view>
  385. <view class="rowBoxBg" v-if="kkshow">
  386. <view class="rowBox" @click="gonavigateTo('../partner/partner')"
  387. v-if="numList.customerInfo.pState==1&&numList.shopSettings.partnerDisabled">
  388. <view class="leftView">
  389. <image src="../../static/img/icon_hehuoren.png" mode="" class="liftIcon"></image>
  390. <view class="rowTitle">车主合伙人</view>
  391. </view>
  392. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  393. </view>
  394. <view class="rowBox" @click="gonavigateTo('../referral/referral')"
  395. v-if="numList.customerInfo.rebateState==1&&numList.shopSettings.introductionDisabled">
  396. <view class="leftView">
  397. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  398. <view class="rowTitle">客户转介绍</view>
  399. </view>
  400. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  401. </view>
  402. </view> -->
  403. <!-- <view class="rowBoxBg">
  404. <view class="rowBox" v-if="showSetting.isShowTel">
  405. <view class="leftView">
  406. <image src="../../static/timg/icon_qingchu.png" mode="" class="liftIcon"></image>
  407. <view class="rowTitle">{{showSetting.telTitle}}</view>
  408. </view>
  409. <view class="rowRight" style="color:#666666;" @click="makePhoneCall(showSetting.tel)">{{showSetting.tel}}</view>
  410. </view>
  411. <view class="rowBox" v-if="showSetting.isShowMember" @click="gomember(showSetting.memberTitle)">
  412. <view class="leftView">
  413. <image src="../../static/timg/icon_yijian.png" mode="" class="liftIcon"></image>
  414. <view class="rowTitle">{{showSetting.memberTitle}}</view>
  415. </view>
  416. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  417. </view>
  418. <view class="rowBox" v-if="showSetting.isShowAbout" @click="gonavigateaboutUS">
  419. <view class="leftView">
  420. <image src="../../static/timg/icon_fenxiang.png" mode="" class="liftIcon"></image>
  421. <view class="rowTitle">{{showSetting.aboutTitle}}</view>
  422. </view>
  423. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  424. </view>
  425. </view> -->
  426. <!-- <view class="rowBoxBg">
  427. <button open-type="share" class="rowBox">
  428. <view class="leftView">
  429. <image src="../../static/img/icon_me6.png" mode="" class="liftIcon"></image>
  430. <view class="rowTitle">分享给好友</view>
  431. </view>
  432. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  433. </button>
  434. <view class="rowBox" @click="gonavigateTo('feedBack')">
  435. <view class="leftView">
  436. <image src="../../static/img/icon_me7.png" mode="" class="liftIcon"></image>
  437. <view class="rowTitle">意见反馈</view>
  438. </view>
  439. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  440. </view> -->
  441. <!-- <view class="rowBox" @click="gonavigateTo('../report/working?id=56D5F8C1-9F11-40BA-8937-B4AABD4666B5')">
  442. <view class="leftView">
  443. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  444. <view class="rowTitle">施工报告</view>
  445. </view> -->
  446. <!-- <view class="rowBox" @click="gonavigateTo('../report/complete?id=278569FB-6F21-47AD-8B66-D62D2EA6981D')">
  447. <view class="leftView">
  448. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  449. <view class="rowTitle">完工报告</view>
  450. </view>
  451. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  452. </view>
  453. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  454. </view> -->
  455. <!-- 先隐藏 -->
  456. <!-- <view class="rowBox" @click="gonavigateTo('')">
  457. <view class="leftView">
  458. <image src="../../static/img/icon_me8.png" mode="" class="liftIcon"></image>
  459. <view class="rowTitle">清除缓存</view>
  460. </view>
  461. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  462. </view> -->
  463. <!-- </view> -->
  464. <view class="rowBoxBg">
  465. <view class="exit2" @click="exit">切换账号</view>
  466. <view class="exit" @click="exit2">退出登录</view>
  467. </view>
  468. <view class="releaseVersion">版本号:{{release_version}}</view>
  469. <!-- <view class="signOut" @click="signOut">退出登录</view> -->
  470. <!-- 手机号授权 -->
  471. <view class="authorizBox" v-if="authorizShow" @click="authorizShowHide">
  472. <view class="authorizCont" @click.stop="">
  473. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  474. <view class="authorizMs">未注册的手机号登录后将自动创会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  475. <view class="sqLine">
  476. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  477. <view class="sqRefuse" @click="authorizShowHide">拒绝</view>
  478. </view>
  479. </view>
  480. <!-- <view style="text-align: center;padding-top: 56rpx;">
  481. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  482. </view> -->
  483. </view>
  484. <!-- <image :src="qrimg" mode=""></image> -->
  485. <view class="qrBox" v-if="qrSHow">
  486. <view class="qrimgBox">
  487. <view class="qrTitle">微信绑定
  488. <image src="../../static/timg/chahao.png" mode="" class="qrimgchahao" @click="qrclose"></image>
  489. </view>
  490. <view class="qrms">扫描/长按下方二维码进行绑定</view>
  491. <view class="qrms2">绑定后可接收微信消息通知</view>
  492. <view style="text-align: center;padding-top: 30rpx;">
  493. <image :src="qrimg" mode="" class="qrimg" :show-menu-by-longpress='true'></image>
  494. </view>
  495. <view class="qrBtn" @click="qrclose">我知道了</view>
  496. </view>
  497. </view>
  498. </view>
  499. </template>
  500. <script>
  501. export default {
  502. data() {
  503. return {
  504. userInfo: '',
  505. shopData: '',
  506. numList: '',
  507. uid: '',
  508. headImg: '',
  509. location: {
  510. lng: '',
  511. lat: '',
  512. },
  513. authorizShow: false,
  514. code: '',
  515. wxOpenData: '',
  516. nickName: '',
  517. phone: '',
  518. ext: '',
  519. themeColor: '',
  520. release_version: '',
  521. qrimg:'',
  522. qrSHow:false,
  523. kkshow:false,
  524. duration:500,
  525. interval:3000,
  526. showSetting:'',
  527. f2csystemlist:'',
  528. exitNum:'',
  529. f2cIndex:'',
  530. customerName:'',
  531. carInfo:'',
  532. carAddImage:'',
  533. }
  534. },
  535. onLoad(opt) {
  536. this.ext = this.$common.getExtStoreId();
  537. this.themeColor = uni.getStorageSync("themeColor");
  538. console.log("themeColor=="+this.themeColor)
  539. if (this.themeColor) {
  540. if (this.themeColor == '6F2BE8') {
  541. var backgroundImage = '/static/tabimg/me6F2BE8.png'
  542. }
  543. if (this.themeColor == '1677FF') {
  544. var backgroundImage = '/static/tabimg/me1677FF.png'
  545. }
  546. if (this.themeColor == 'FF4F00') {
  547. var backgroundImage = '/static/tabimg/meFF4F00.png'
  548. }
  549. if (this.themeColor == 'EC0F0A') {
  550. var backgroundImage = '/static/tabimg/me1.png'
  551. }
  552. /* uni.setTabBarStyle({
  553. // color: '#EC0F0A',
  554. selectedColor: '#222222',
  555. }) */
  556. /* uni.setTabBarItem({
  557. index: 3,
  558. text: '我的',
  559. selectedIconPath: backgroundImage
  560. }) */
  561. }
  562. uni.setNavigationBarColor({
  563. frontColor: "#000000",
  564. backgroundColor: '#' + this.themeColor
  565. })
  566. this.getVersionInfo()
  567. // const accountInfo = wx.getAccountInfoSync();
  568. // var version_number = accountInfo.miniProgram.version;
  569. // console.log(version_number)
  570. this.carAddImage=uni.getStorageSync("carAddImage")
  571. },
  572. onShow() {
  573. const wxOpenData = this.$store.state.wxOpenData;
  574. this.wxOpenData = wxOpenData
  575. console.log("onshowuser")
  576. this.userInfo = this.$store.state.userInfo;
  577. console.log(this.userInfo)
  578. if (this.userInfo) {
  579. this.queryMyDetail();
  580. } else {
  581. //console.log("授权")
  582. this.exitNum=this.$store.state.exitNum;
  583. if(this.exitNum!=1){
  584. this.authorizShow = true;
  585. }else{
  586. this.$common.automaticlogin().then(val => {
  587. this.userInfo=this.$store.state.userInfo;
  588. this.wxOpenData=this.$store.state.wxOpenData;
  589. this.exitNum=''
  590. this.$store.commit('mutationsexitNum', '')
  591. if (this.userInfo) {
  592. this.queryMyDetail();
  593. }
  594. if(!this.userInfo){
  595. //this.authorizShow=true
  596. }
  597. })
  598. }
  599. }
  600. if (wxOpenData) {
  601. this.uid = wxOpenData.loginInfo.uid;
  602. }
  603. //this.themeColor = uni.getStorageSync("themeColor");
  604. this.carInfo=this.$store.state.carInfo;
  605. console.log(this.carInfo)
  606. },
  607. methods: {
  608. addCar(){
  609. uni.navigateTo({
  610. url:'../subPack/addCarCK'
  611. })
  612. },
  613. exit(){
  614. var that=this;
  615. uni.showModal({
  616. title: '提示',
  617. content: '是否切换账号',
  618. success(res) {
  619. if (res.confirm) {
  620. uni.clearStorageSync()
  621. that.$store.commit('mutationsuserInfo', '')
  622. that.$store.commit('mutationscarInfo', '')
  623. that.$http('miniApp2/sys/logout', {
  624. }, 'GET').then(res => {
  625. uni.reLaunch({
  626. url: '../index/index'
  627. });
  628. })
  629. }
  630. }
  631. });
  632. },
  633. exit2(){
  634. var that=this;
  635. uni.showModal({
  636. title: '提示',
  637. content: '是否退出登录',
  638. success(res) {
  639. if (res.confirm) {
  640. uni.clearStorageSync()
  641. that.$store.commit('mutationsuserInfo', '')
  642. that.$store.commit('mutationscarInfo', '')
  643. that.$store.commit('mutationsexitNum', '1')
  644. /* uni.reLaunch({
  645. url: '../index/index'
  646. }); */
  647. uni.switchTab({
  648. url: '../index/index'
  649. })
  650. }
  651. }
  652. });
  653. },
  654. makePhoneCall(tel){
  655. uni.makePhoneCall({
  656. phoneNumber: tel,
  657. });
  658. },
  659. seeQr(){
  660. // this.authorizShow = true;
  661. // return false;
  662. if (this.userInfo) {
  663. } else {
  664. this.authorizShow = true;
  665. return false;
  666. }
  667. uni.showLoading({
  668. title: '加载中'
  669. })
  670. this.$request.httpBinary('wxV2/createQrCode', {
  671. type:'bindWx',
  672. customerId:this.numList.customerInfo.id,
  673. unionID:this.numList.customerInfo.unionID,
  674. }, 'GET').then(res => {
  675. uni.hideLoading();
  676. this.qrimg = 'data:image/png;base64,'+uni.arrayBufferToBase64(res);
  677. this.qrSHow=true;
  678. //this.img= uni.arrayBufferToBase64(res)
  679. //console.log('list+=', this.queryShopList);
  680. })
  681. },
  682. qrclose(){
  683. this.qrSHow=false;
  684. },
  685. goShopAppraiseList() {
  686. uni.navigateTo({
  687. url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  688. })
  689. },
  690. useremind(){
  691. if (this.userInfo) {
  692. uni.navigateTo({
  693. url: '../integral/integral'
  694. })
  695. } else {
  696. this.authorizShow = true;
  697. return false;
  698. }
  699. },
  700. gonavigateaboutUS(){
  701. uni.navigateTo({
  702. url: '../subPack/aboutUS?unionID='+this.numList.customerInfo.unionID
  703. })
  704. },
  705. gomember(memberTitle){
  706. uni.navigateTo({
  707. url: '../subPack/aboutUS?unionID='+this.numList.customerInfo.unionID+'&memberTitle='+memberTitle
  708. })
  709. },
  710. getVersionInfo() {
  711. this.$http('miniApp2/sys/getVersionInfov2', {
  712. appId: this.ext.appId,
  713. }, 'POST').then(res => {
  714. if( res.data){
  715. this.release_version = res.data
  716. }
  717. })
  718. },
  719. updateUserInfo() {
  720. var that = this;
  721. uni.getUserProfile({
  722. lang: 'zh_CN',
  723. desc: '登录',
  724. success: (res) => {
  725. console.log(res);
  726. that.headImg = res.userInfo.avatarUrl;
  727. that.nickName = res.userInfo.nickName;
  728. that.$http('miniApp2/sys/updateUserInfo', {
  729. nickName: res.userInfo.nickName,
  730. unionId: that.ext.unionId,
  731. headImg: res.userInfo.avatarUrl,
  732. openId: that.wxOpenData.openid
  733. }, 'POST').then(res => {
  734. })
  735. },
  736. fail: (res) => {
  737. console.log(res)
  738. }
  739. });
  740. },
  741. decryptPhoneNumber: function(e) {
  742. console.log(e);
  743. this.code = e.detail.code
  744. this.wxPhoneLogin()
  745. this.authorizShow = false;
  746. },
  747. wxPhoneLogin() {
  748. var that = this;
  749. this.$http('miniApp2/sys/wxPhoneLogin', {
  750. appId: this.ext.appId,
  751. unionId: this.ext.unionId,
  752. code: this.code,
  753. openId: this.wxOpenData.openid
  754. }, 'POST').then(res => {
  755. var data = res.data;
  756. if (data.loginInfo) {
  757. this.userInfo = data.loginInfo.openUser;
  758. this.wxOpenData = data.loginInfo;
  759. this.numList=data.loginInfo
  760. this.headImg = data.loginInfo.openUser.headImg;
  761. this.nickName = data.loginInfo.openUser.nickName;
  762. this.phone = data.loginInfo.openUser.mobilePhone;
  763. this.$store.commit('mutationswxOpenData', data)
  764. this.$store.commit('mutationsuserInfo', this.userInfo)
  765. /*setTimeout(() => {
  766. that.queryMyDetail()
  767. }, 1000); */
  768. that.queryMyDetail()
  769. if(!data.loginInfo.customerInfo.wxMiniV2OpenID){
  770. this.seeQr()
  771. }
  772. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  773. this.kkshow=true
  774. }
  775. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  776. this.kkshow=true
  777. }
  778. }
  779. })
  780. },
  781. map() {
  782. console.log("打开地图")
  783. var that = this;
  784. if (!that.numList.shopInfo.lat || !that.numList.shopInfo.lng) {
  785. uni.showToast({
  786. title: '该店铺未设置定位',
  787. icon: 'none',
  788. duration: 3000
  789. });
  790. } else {
  791. uni.openLocation({
  792. latitude: Number(that.numList.shopInfo.lat),
  793. longitude: Number(that.numList.shopInfo.lng),
  794. name: that.numList.shopInfo.shopName,
  795. address: that.numList.shopInfo.provinceName + that.numList.shopInfo.cityName + that.numList
  796. .shopInfo.areaName + that.numList.shopInfo.address,
  797. success: function() {
  798. console.log('success');
  799. },
  800. fail(err) {
  801. console.log(err)
  802. }
  803. });
  804. }
  805. },
  806. call() {
  807. if (this.userInfo) {
  808. } else {
  809. this.authorizShow = true;
  810. return false;
  811. }
  812. uni.makePhoneCall({
  813. phoneNumber: this.numList.shopInfo.mobilePhone
  814. });
  815. },
  816. goorder(num) {
  817. if (this.userInfo) {
  818. uni.navigateTo({
  819. url: './myOrder/myOrder?num=' + num
  820. })
  821. } else {
  822. this.authorizShow = true;
  823. return false;
  824. }
  825. },
  826. queryMyDetail() {
  827. console.log("getinfo")
  828. console.log(this.$store.state.wxOpenData)
  829. uni.showLoading({
  830. title: '加载中'
  831. })
  832. this.$http('openreservation/getInfo', {
  833. lat: this.location.lat ? this.location.lat : '',
  834. lng: this.location.lng ? this.location.lng : '',
  835. }, 'GET').then(res => {
  836. uni.hideLoading();
  837. this.numList = res.data
  838. this.headImg = res.data.openUser.headImg;
  839. this.nickName = res.data.openUser.nickName;
  840. this.customerName= res.data.customerInfo.customerName
  841. this.phone = res.data.openUser.mobilePhone;
  842. this.showSetting=res.data.showSetting
  843. this.f2csystemlist=res.data.f2csystemlist
  844. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  845. this.kkshow=true
  846. }
  847. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  848. this.kkshow=true
  849. }
  850. if(this.f2csystemlist.length>0){
  851. this.f2csystemlist.forEach((item,index)=>{
  852. if(item.growthState==1){
  853. this.f2cIndex=index
  854. }
  855. })
  856. }
  857. })
  858. },
  859. gonavigateTo(url) {
  860. if (this.userInfo) {
  861. uni.navigateTo({
  862. url: url
  863. })
  864. } else {
  865. this.authorizShow = true;
  866. }
  867. /* uni.navigateTo({
  868. url: url
  869. }) */
  870. },
  871. signOut() {
  872. //uni.clearStorageSync();
  873. uni.removeStorageSync('logodata');
  874. // uni.navigateTo({
  875. // url: '../login/login'
  876. // })
  877. },
  878. authorizShowHide(){
  879. this.authorizShow=false
  880. }
  881. },
  882. onShareAppMessage(res) {
  883. return {
  884. title: this.wxOpenData.miniAppName,
  885. //imageUrl:img,
  886. path: 'pages/index/index',
  887. success(res) {
  888. uni.showToast({
  889. title: '分享成功'
  890. })
  891. },
  892. fail(res) {
  893. uni.showToast({
  894. title: '分享失败',
  895. icon: 'none',
  896. duration: 3000
  897. })
  898. }
  899. }
  900. },
  901. // 下拉刷新
  902. onPullDownRefresh() {
  903. this.queryMyDetail()
  904. setTimeout(function() {
  905. uni.stopPullDownRefresh();
  906. }, 1000);
  907. },
  908. }
  909. </script>
  910. <style scoped>
  911. .addCarBox{
  912. padding: 12rpx;
  913. }
  914. .addCar{
  915. background: #F8F8F8;
  916. border-radius: 9rpx;
  917. display: flex;justify-content: space-between;
  918. padding: 30rpx 20rpx;
  919. }
  920. .carTitle{
  921. padding-left: 6rpx;
  922. }
  923. .addCarBtn{
  924. width: 145rpx;text-align: center;
  925. height: 53rpx;line-height: 53rpx;
  926. background: #FFDD00;
  927. border-radius: 27rpx;
  928. font-size: 24rpx;
  929. color: #0B0B0B;
  930. margin-top: 15rpx;
  931. }
  932. .addCarTxt1{
  933. font-size: 30rpx;
  934. color: #8B8B8B;
  935. line-height: 36rpx;
  936. }
  937. .carBq{
  938. display: flex;
  939. border-radius: 10rpx;
  940. margin-top: 15rpx;
  941. }
  942. .carDui{
  943. width: 24rpx;height: 24rpx;
  944. }
  945. .carBqLine{
  946. display: flex;
  947. padding-right: 23rpx;
  948. font-size: 22rpx;
  949. color: #A26D4F;line-height: 26rpx;
  950. }
  951. .kbox{
  952. padding:0 24rpx;
  953. }
  954. .klineCont{
  955. background: #FFFFFF;
  956. border-radius: 16rpx;
  957. margin-top: 20rpx;
  958. }
  959. .klineRow{
  960. width: 25%;font-weight: 400;
  961. font-size: 24rpx;
  962. color: #0B0B0B;text-align: center;
  963. margin-top: 30rpx;
  964. }
  965. .KlineTxt{
  966. padding-top: 10rpx;
  967. }
  968. .KlineTxt2{
  969. padding-top: 10rpx;font-size: 22rpx;
  970. }
  971. .carInfoklineRow{
  972. width: calc(25% - 1px);
  973. border-right: 1px dashed #DDDDDD;
  974. }
  975. .carbrandLogo{
  976. width: 50rpx;height: 50rpx; margin-bottom: 8rpx;
  977. }
  978. .kline{
  979. display: flex;
  980. padding-bottom: 30rpx;
  981. flex-wrap: wrap;
  982. }
  983. .klineTitle{
  984. font-weight: 500;
  985. font-size: 30rpx;
  986. color: #0B0B0B;
  987. line-height: 42rpx;
  988. padding-top: 20rpx;
  989. padding-left: 24rpx;
  990. }
  991. .klineIcon{
  992. width: 50rpx;height: 50rpx;
  993. }
  994. .exit{
  995. background: #FFFFFF;
  996. line-height: 90rpx;
  997. font-size: 26rpx;
  998. font-family: PingFang;
  999. font-weight: 500;
  1000. color: #ED2323;
  1001. text-align: center;
  1002. }
  1003. .exit2{
  1004. background: #FFFFFF;
  1005. line-height: 90rpx;
  1006. font-size: 26rpx;
  1007. font-family: PingFang;
  1008. font-weight: 500;
  1009. color: #3C3C3C;
  1010. text-align: center;
  1011. border-bottom: 1px solid #eeeeee;
  1012. /* margin-top: 20rpx; */
  1013. }
  1014. .cardNameIcon{
  1015. width: 30rpx;height: 30rpx;
  1016. }
  1017. .cardNameIcon2{
  1018. width: 7rpx;height: 13rpx;
  1019. margin-left: 3rpx;margin-top: 9rpx;
  1020. }
  1021. .cardNameTb{
  1022. padding-left: 4rpx;
  1023. }
  1024. .cardNameBOx{
  1025. background: linear-gradient(327deg, #FEA917 0%, #FFC635 100%);
  1026. border-radius: 16rpx;display: flex;
  1027. line-height: 30rpx;font-weight: 500;
  1028. color: #764700;font-size: 22rpx;
  1029. margin-left: 15rpx;
  1030. padding-right: 10rpx;
  1031. height: 30rpx;
  1032. }
  1033. .remindBox{
  1034. width: 596rpx;
  1035. background: #FFF8EF;
  1036. border-radius: 8rpx;
  1037. display: flex;justify-content: space-between;
  1038. margin: 0 auto;font-size: 22rpx;
  1039. padding: 10rpx 20rpx;
  1040. color: #666666;
  1041. line-height: 30rpx;
  1042. }
  1043. .useremind{
  1044. font-weight: 500;
  1045. color: #A26D4F;
  1046. }
  1047. .swiper2{
  1048. min-height: 510rpx;
  1049. /* margin-top: -100rpx; */
  1050. }
  1051. .marginTop{
  1052. margin-top: -160rpx;
  1053. }
  1054. .marginTop2{
  1055. margin-top: -120rpx;
  1056. }
  1057. .cardBox{
  1058. width: 702rpx;
  1059. min-height: 510rpx;
  1060. background: #FFFFFF;
  1061. border-radius: 22rpx;
  1062. margin-left:24rpx ;
  1063. overflow: hidden;
  1064. }
  1065. .cardCont{
  1066. display: flex;
  1067. flex-wrap: wrap;
  1068. }
  1069. .cardLineImgBox{
  1070. width: 84rpx;
  1071. height: 84rpx;
  1072. /* background: linear-gradient(150deg, #222439 0%, #1A2027 100%); */
  1073. border-radius: 50%;
  1074. margin: 0 auto;
  1075. margin-top: 30rpx;
  1076. }
  1077. .cardLineImg{
  1078. width: 84rpx;
  1079. height: 84rpx;
  1080. border-radius: 50%;
  1081. }
  1082. .cardlineTitle{
  1083. color: #3C3C3C;font-size: 24rpx;
  1084. line-height: 33rpx;padding-top: 10rpx;
  1085. overflow:hidden;
  1086. white-space: nowrap;
  1087. text-overflow: ellipsis;
  1088. -o-text-overflow:ellipsis;
  1089. }
  1090. .cardlineTitle2{
  1091. color: #999999;font-size: 24rpx;
  1092. line-height: 33rpx;padding-top: 10rpx;
  1093. overflow:hidden;
  1094. white-space: nowrap;
  1095. text-overflow: ellipsis;
  1096. -o-text-overflow:ellipsis;
  1097. }
  1098. .cardLine{
  1099. width: 25%;
  1100. text-align: center;
  1101. }
  1102. .rowRight{
  1103. color: #666666;font-size: 28rpx;padding-right: 32rpx;
  1104. }
  1105. .cardTOp{
  1106. height: 155rpx;
  1107. background-size: 100% 100%;
  1108. position: relative;
  1109. }
  1110. .vipBsIcon{
  1111. position: absolute;width: 112rpx;height: 33rpx;top: 0;right: 0;
  1112. }
  1113. .cardName{
  1114. font-weight: 500;font-size: 30rpx;padding-top: 30rpx;padding-left: 30rpx;
  1115. color: #50402A;
  1116. }
  1117. .cardtimeBox{
  1118. display: flex;justify-content: space-between;
  1119. color: #786140;font-size: 24rpx;
  1120. padding-top: 20rpx;padding-left: 30rpx;padding-right: 20rpx;
  1121. }
  1122. .qrBox{
  1123. position: fixed;
  1124. width: 100vw;
  1125. height: 100vh;
  1126. background: rgba(0,0,0,0.5);
  1127. left: 0;
  1128. top: 0;
  1129. z-index: 11;
  1130. display: flex;
  1131. justify-content: center;
  1132. align-items: center;
  1133. flex-direction: column;
  1134. }
  1135. .qrimgBox{
  1136. width: 562rpx;
  1137. height: 704rpx;
  1138. background: #FFFFFF;
  1139. border-radius: 24rpx;
  1140. }
  1141. .qrTitle{
  1142. font-size: 30rpx;
  1143. font-family: PingFangSC-Medium, PingFang SC;
  1144. font-weight: 500;
  1145. color: #333333;
  1146. border-bottom: 1px solid #EEEEEE;
  1147. text-align: center;
  1148. line-height: 90rpx;
  1149. position: relative;
  1150. }
  1151. .qrimgchahao{
  1152. width: 38rpx;
  1153. height: 38rpx;
  1154. position: absolute;
  1155. top: 26rpx;
  1156. right: 20rpx;
  1157. }
  1158. .qrms{
  1159. font-weight: 400;
  1160. color: #999999;
  1161. line-height: 37rpx;
  1162. font-size: 26rpx;
  1163. padding-top: 23rpx;
  1164. text-align: center;
  1165. }
  1166. .qrms2{
  1167. font-weight: 400;
  1168. color: #999999;
  1169. line-height: 37rpx;
  1170. font-size: 26rpx;
  1171. text-align: center;
  1172. }
  1173. .qrimg{
  1174. width: 328rpx;
  1175. height: 328rpx;
  1176. }
  1177. .qrBtn{
  1178. width: 292rpx;
  1179. height: 64rpx;
  1180. background: #EC0F0A;
  1181. border-radius: 32rpx;
  1182. color: #FFFFFF;
  1183. line-height: 64rpx;
  1184. text-align: center;
  1185. margin: 0 auto;
  1186. margin-top:40rpx;
  1187. }
  1188. .releaseVersion {
  1189. font-size: 24rpx;
  1190. font-family: PingFangSC-Regular, PingFang SC;
  1191. font-weight: 400;
  1192. color: #666666;
  1193. padding: 40rpx;
  1194. text-align: center;
  1195. }
  1196. button::after {
  1197. border: none;
  1198. }
  1199. button {
  1200. position: relative;
  1201. display: block;
  1202. margin-left: 0;
  1203. margin-right: 0;
  1204. padding-left: 0px;
  1205. padding-right: 0px;
  1206. box-sizing: border-box;
  1207. // font-size: 18px;
  1208. text-align: center;
  1209. text-decoration: none;
  1210. // line-height: 1;
  1211. line-height: 1.35;
  1212. // border-radius: 5px;
  1213. -webkit-tap-highlight-color: transparent;
  1214. overflow: hidden;
  1215. color: #000000;
  1216. background-color: #fff;
  1217. height: 100%;
  1218. }
  1219. .box {
  1220. width: 100vw;
  1221. min-height: 100vh;
  1222. background: #F4F5F7;
  1223. padding-bottom: 60rpx;
  1224. }
  1225. .top {
  1226. height: 300rpx;
  1227. padding: 20rpx 24rpx 0;
  1228. /* background-color: #EC0F0A; */
  1229. border-radius: 0 0 5% 5%;
  1230. }
  1231. .customerMes {
  1232. display: flex;
  1233. }
  1234. .mes {
  1235. margin-left: 20rpx;
  1236. padding-top: 14rpx;
  1237. }
  1238. .nick {
  1239. margin-bottom: 5rpx;
  1240. display: flex;
  1241. justify-content: flex-start;
  1242. align-items: center;
  1243. }
  1244. .nickName {
  1245. font-size: 36rpx;
  1246. color: #010000;
  1247. font-weight: bold;
  1248. line-height: 48rpx;
  1249. height: 48rpx;
  1250. overflow: hidden; /*内容会被修剪,并且其余内容是不可见的*/
  1251. text-overflow:ellipsis; /*显示省略符号来代表被修剪的文本。*/
  1252. white-space: nowrap; /*文本不换行*/
  1253. }
  1254. .nickName2 {
  1255. font-size: 30rpx;
  1256. color: #010000;
  1257. font-weight: bold;
  1258. line-height: 48rpx;
  1259. height: 48rpx;
  1260. overflow: hidden; /*内容会被修剪,并且其余内容是不可见的*/
  1261. text-overflow:ellipsis; /*显示省略符号来代表被修剪的文本。*/
  1262. white-space: nowrap; /*文本不换行*/
  1263. }
  1264. .grade {
  1265. margin-left: 15rpx;
  1266. font-size: 22rpx;
  1267. color: #FFFFFF;
  1268. padding: 0rpx 10rpx;
  1269. border: 1px solid #FFFFFF;
  1270. border-radius: 18rpx;
  1271. height: 26rpx;
  1272. line-height: 28rpx;
  1273. }
  1274. .phone {
  1275. font-size: 24rpx;
  1276. color: #010000;
  1277. }
  1278. .padingBox{
  1279. padding: 0 20rpx;
  1280. }
  1281. .headerBox {
  1282. padding: 26rpx 24rpx;
  1283. display: flex;
  1284. justify-content: center;
  1285. /* justify-content: space-around; */
  1286. }
  1287. .headerBox2{
  1288. background: #FFFFFF;
  1289. border-radius: 16rpx;
  1290. margin-bottom: 20rpx;
  1291. margin-top: 20rpx;
  1292. }
  1293. .quan {
  1294. display: flex;
  1295. flex-direction: column;
  1296. align-items: center;
  1297. width: 33%;
  1298. }
  1299. .numStr {
  1300. font-size: 34rpx;
  1301. font-weight: bold;
  1302. color: #9A9A9A;
  1303. line-height: 45rpx;
  1304. }
  1305. .numStr2{
  1306. font-size: 40rpx;
  1307. font-weight: 500;
  1308. color: #FFFFFF;
  1309. line-height: 60rpx;
  1310. }
  1311. .nameStr {
  1312. font-size: 24rpx;
  1313. color: #222222;
  1314. }
  1315. .orderBox {
  1316. margin: 0rpx 24rpx;
  1317. background: #FFFFFF;
  1318. padding: 30rpx 20rpx;
  1319. border-radius: 10rpx;
  1320. margin-top: 20rpx;
  1321. }
  1322. .orderTitle {
  1323. font-weight: 500;
  1324. font-size: 30rpx;
  1325. color: #0B0B0B;
  1326. display: flex;justify-content: space-between;
  1327. }
  1328. .allOrder{
  1329. font-weight: 400;
  1330. font-size: 22rpx;
  1331. color: #939393;
  1332. display: flex;
  1333. }
  1334. .allOrderIcon{
  1335. width: 20rpx;height: 20rpx;margin-top: 6rpx;
  1336. }
  1337. .orderAll {
  1338. display: flex;
  1339. justify-content: space-between;
  1340. align-items: center;
  1341. }
  1342. .orderLine {
  1343. width: 25%;
  1344. text-align: center;
  1345. }
  1346. .orderLineImg {
  1347. width: 60rpx;
  1348. height: 60rpx;
  1349. }
  1350. .orderLineTxt {
  1351. font-size: 24rpx;
  1352. color: #333333;
  1353. }
  1354. .orderImgBox {
  1355. text-align: center;
  1356. position: relative;
  1357. }
  1358. .orderLIneBox {
  1359. display: flex;
  1360. justify-content: space-between;
  1361. padding-top: 30rpx;
  1362. }
  1363. .orderNum {
  1364. height: 26rpx;
  1365. line-height: 26rpx;
  1366. background: #EC0F0A;
  1367. padding: 0 8rpx;
  1368. border-radius: 13rpx;
  1369. color: #FFFFFF;
  1370. font-size: 20rpx;
  1371. position: absolute;
  1372. top: -10rpx;
  1373. left: 90rpx;
  1374. z-index: 11;
  1375. }
  1376. .big_rightArrow {
  1377. margin-right: 20rpx;
  1378. width: 30rpx;
  1379. height: 30rpx;
  1380. }
  1381. .rowBoxBg {
  1382. margin: 20rpx 24rpx;
  1383. background: #FFFFFF;
  1384. border-radius: 16rpx;
  1385. overflow: hidden;
  1386. }
  1387. .rowBox {
  1388. display: flex;
  1389. justify-content: space-between;
  1390. background: #FFFFFF;
  1391. padding: 35rpx 0rpx;
  1392. border-radius: 10rpx;
  1393. align-items: center;
  1394. }
  1395. .leftView {
  1396. display: flex;
  1397. align-items: center;
  1398. }
  1399. .rightView {
  1400. display: flex;
  1401. align-items: center;
  1402. }
  1403. .liftIcon {
  1404. width: 34rpx;
  1405. height: 34rpx;
  1406. margin: 0rpx 20rpx;
  1407. }
  1408. .rowTitle {
  1409. color: #3C3C3C;
  1410. font-size: 28rpx;
  1411. }
  1412. .signOut {
  1413. width: 702rpx;
  1414. height: 98rpx;
  1415. background: #FFFFFF;
  1416. border-radius: 10rpx;
  1417. font-size: 30rpx;
  1418. color: #FF3B30;
  1419. line-height: 98rpx;
  1420. text-align: center;
  1421. margin: 40rpx 24rpx;
  1422. }
  1423. .shopBox {
  1424. padding: 20rpx;
  1425. margin: 20rpx 24rpx;
  1426. background-color: #FFFFFF;
  1427. border-radius: 10rpx;
  1428. }
  1429. .shopCont {
  1430. display: flex;
  1431. justify-content: space-between;
  1432. align-items: center;
  1433. }
  1434. .shopName {
  1435. font-size: 30rpx;
  1436. font-weight: bold;
  1437. color: #3C3C3C;
  1438. line-height: 42rpx;
  1439. }
  1440. .appraiseBox {
  1441. padding: 5rpx 0;
  1442. /* height: 62rpx;
  1443. */
  1444. display: flex;
  1445. align-items: center;
  1446. }
  1447. .appraise {
  1448. color: #EC0F0A;
  1449. font-size: 38rpx;
  1450. font-weight: bold;
  1451. }
  1452. .line {
  1453. margin: 0 12rpx;
  1454. width: 1rpx;
  1455. height: 30rpx;
  1456. }
  1457. .appraiseCount {
  1458. font-size: 24rpx;
  1459. font-weight: 400;
  1460. color: #666666;
  1461. flex-grow: 1;
  1462. margin-top: 10rpx;
  1463. }
  1464. .rightArrow {
  1465. width: 7rpx;
  1466. height: 15rpx;
  1467. margin-left: 16rpx;
  1468. }
  1469. .shopRightBox {
  1470. display: flex;
  1471. justify-content: space-between;
  1472. }
  1473. .address {
  1474. display: flex;
  1475. justify-content: space-between;
  1476. align-items: center;
  1477. }
  1478. .Address,
  1479. .shopTime,
  1480. .distance {
  1481. color: #999999;
  1482. font-size: 24rpx;
  1483. /* 隐藏文字显示 ...不换行 */
  1484. overflow: hidden;
  1485. text-overflow: ellipsis;
  1486. white-space: nowrap;
  1487. }
  1488. .shopRightBox {}
  1489. .shopRightImg {
  1490. width: 44rpx;
  1491. height: 45rpx;
  1492. }
  1493. .authorizBox {
  1494. width: 100vw;
  1495. height: 100vh;
  1496. background: rgba(0, 0, 0, 0.5);
  1497. position: fixed;
  1498. top: 0;
  1499. left: 0;
  1500. z-index: 11;
  1501. }
  1502. .authorizCont {
  1503. margin-top: 30vh;
  1504. width: 564rpx;
  1505. height: 408rpx;
  1506. background: #FFFFFF;
  1507. border-radius: 24rpx;
  1508. margin-left: 93rpx;
  1509. position: relative;
  1510. }
  1511. .authorizCloseImg {
  1512. width: 62rpx;
  1513. height: 62rpx;
  1514. }
  1515. .sqLogoBox {
  1516. width: 180rpx;
  1517. height: 180rpx;
  1518. background: #FFFFFF;
  1519. border-radius: 90rpx;
  1520. text-align: center;
  1521. position: absolute;
  1522. top: -50rpx;
  1523. left: 192rpx;
  1524. }
  1525. .authorizName {
  1526. color: #333333;
  1527. line-height: 42rpx;
  1528. font-size: 30rpx;
  1529. text-align: center;
  1530. padding-top: 58rpx;
  1531. }
  1532. .authorizMs {
  1533. color: #999999;
  1534. line-height: 36rpx;
  1535. font-size: 26rpx;
  1536. width: 452rpx;
  1537. padding-top: 24rpx;
  1538. text-align: center;
  1539. margin-left: 56rpx;
  1540. }
  1541. .authorizContbutton{
  1542. width: 210rpx;
  1543. height: 66rpx;
  1544. background: #EC0F0A;
  1545. border-radius: 44rpx;
  1546. line-height: 66rpx;
  1547. text-align: center;
  1548. font-size:30rpx;
  1549. color: #FFFFFF;
  1550. margin-left:40rpx;
  1551. }
  1552. .sqRefuse{
  1553. width: 210rpx;
  1554. height: 66rpx;
  1555. border: 1px solid #eaeaea;
  1556. line-height: 66rpx;
  1557. border-radius: 36rpx;
  1558. text-align: center;
  1559. font-size:30rpx;
  1560. margin-right:40rpx;
  1561. color: #999999;
  1562. }
  1563. .sqLine{
  1564. margin-top: 62rpx;
  1565. display: flex;
  1566. justify-content: space-between;
  1567. }
  1568. .test{
  1569. }
  1570. .carjt{
  1571. width: 10rpx;height: 20rpx;
  1572. margin-top: 8rpx;
  1573. }
  1574. .carInfobrand{
  1575. text-align: center;
  1576. width: 150rpx;
  1577. white-space: nowrap; /* 确保文本在一行内显示 */
  1578. overflow: hidden; /* 超出容器部分隐藏 */
  1579. text-overflow: ellipsis;
  1580. }
  1581. .hjtIcon{
  1582. width: 10rpx;height: 20rpx;
  1583. margin-top: 8rpx;
  1584. margin-left: 6rpx;
  1585. }
  1586. .phone{
  1587. display: flex;
  1588. }
  1589. </style>