user.vue 51 KB

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