user.vue 51 KB

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