user.vue 38 KB

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