user.vue 39 KB

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