user.vue 48 KB

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