user.vue 39 KB

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