user.vue 51 KB

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