user.vue 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508
  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. <view class="sqLine">
  341. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  342. <view class="sqRefuse" @click="authorizShowHide">拒绝</view>
  343. </view>
  344. </view>
  345. <!-- <view style="text-align: center;padding-top: 56rpx;">
  346. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  347. </view> -->
  348. </view>
  349. <!-- <image :src="qrimg" mode=""></image> -->
  350. <view class="qrBox" v-if="qrSHow">
  351. <view class="qrimgBox">
  352. <view class="qrTitle">微信绑定
  353. <image src="../../static/timg/chahao.png" mode="" class="qrimgchahao" @click="qrclose"></image>
  354. </view>
  355. <view class="qrms">扫描/长按下方二维码进行绑定</view>
  356. <view class="qrms2">绑定后可接收微信消息通知</view>
  357. <view style="text-align: center;padding-top: 30rpx;">
  358. <image :src="qrimg" mode="" class="qrimg" :show-menu-by-longpress='true'></image>
  359. </view>
  360. <view class="qrBtn" @click="qrclose">我知道了</view>
  361. </view>
  362. </view>
  363. </view>
  364. </template>
  365. <script>
  366. export default {
  367. data() {
  368. return {
  369. userInfo: '',
  370. shopData: '',
  371. numList: '',
  372. uid: '',
  373. headImg: '',
  374. location: {
  375. lng: '',
  376. lat: '',
  377. },
  378. authorizShow: false,
  379. code: '',
  380. wxOpenData: '',
  381. nickName: '',
  382. phone: '',
  383. ext: '',
  384. themeColor: '',
  385. release_version: '',
  386. qrimg:'',
  387. qrSHow:false,
  388. kkshow:false,
  389. duration:500,
  390. interval:3000,
  391. showSetting:'',
  392. f2csystemlist:'',
  393. exitNum:'',
  394. f2cIndex:'',
  395. customerName:'',
  396. }
  397. },
  398. onLoad(opt) {
  399. this.ext = this.$common.getExtStoreId();
  400. this.themeColor = uni.getStorageSync("themeColor");
  401. console.log("themeColor=="+this.themeColor)
  402. if (this.themeColor) {
  403. if (this.themeColor == '6F2BE8') {
  404. var backgroundImage = '/static/tabimg/me6F2BE8.png'
  405. }
  406. if (this.themeColor == '1677FF') {
  407. var backgroundImage = '/static/tabimg/me1677FF.png'
  408. }
  409. if (this.themeColor == 'FF4F00') {
  410. var backgroundImage = '/static/tabimg/meFF4F00.png'
  411. }
  412. if (this.themeColor == 'D53533') {
  413. var backgroundImage = '/static/tabimg/me1.png'
  414. }
  415. uni.setTabBarStyle({
  416. // color: '#FF0000',
  417. selectedColor: '#' + this.themeColor,
  418. })
  419. uni.setTabBarItem({
  420. index: 3,
  421. text: '我的',
  422. selectedIconPath: backgroundImage
  423. })
  424. }
  425. uni.setNavigationBarColor({
  426. frontColor: "#ffffff",
  427. backgroundColor: '#' + this.themeColor
  428. })
  429. this.getVersionInfo()
  430. // const accountInfo = wx.getAccountInfoSync();
  431. // var version_number = accountInfo.miniProgram.version;
  432. // console.log(version_number)
  433. },
  434. onShow() {
  435. const wxOpenData = this.$store.state.wxOpenData;
  436. this.wxOpenData = wxOpenData
  437. console.log("onshowuser")
  438. this.userInfo = this.$store.state.userInfo;
  439. console.log(this.userInfo)
  440. if (this.userInfo) {
  441. this.queryMyDetail();
  442. } else {
  443. //console.log("授权")
  444. this.exitNum=this.$store.state.exitNum;
  445. if(this.exitNum!=1){
  446. this.authorizShow = true;
  447. }else{
  448. this.$common.automaticlogin().then(val => {
  449. this.userInfo=this.$store.state.userInfo;
  450. this.wxOpenData=this.$store.state.wxOpenData;
  451. this.exitNum=''
  452. this.$store.commit('mutationsexitNum', '')
  453. if (this.userInfo) {
  454. this.queryMyDetail();
  455. }
  456. if(!this.userInfo){
  457. //this.authorizShow=true
  458. }
  459. })
  460. }
  461. }
  462. if (wxOpenData) {
  463. this.uid = wxOpenData.loginInfo.uid;
  464. }
  465. //this.themeColor = uni.getStorageSync("themeColor");
  466. },
  467. methods: {
  468. exit(){
  469. var that=this;
  470. uni.showModal({
  471. title: '提示',
  472. content: '是否切换账号',
  473. success(res) {
  474. if (res.confirm) {
  475. uni.clearStorageSync()
  476. that.$store.commit('mutationsuserInfo', '')
  477. that.$store.commit('mutationscarInfo', '')
  478. that.$http('miniApp2/sys/logout', {
  479. }, 'GET').then(res => {
  480. uni.reLaunch({
  481. url: '../index/index'
  482. });
  483. })
  484. }
  485. }
  486. });
  487. },
  488. exit2(){
  489. var that=this;
  490. uni.showModal({
  491. title: '提示',
  492. content: '是否退出登录',
  493. success(res) {
  494. if (res.confirm) {
  495. uni.clearStorageSync()
  496. that.$store.commit('mutationsuserInfo', '')
  497. that.$store.commit('mutationscarInfo', '')
  498. that.$store.commit('mutationsexitNum', '1')
  499. /* uni.reLaunch({
  500. url: '../index/index'
  501. }); */
  502. uni.switchTab({
  503. url: '../index/index'
  504. })
  505. }
  506. }
  507. });
  508. },
  509. makePhoneCall(tel){
  510. uni.makePhoneCall({
  511. phoneNumber: tel,
  512. });
  513. },
  514. seeQr(){
  515. // this.authorizShow = true;
  516. // return false;
  517. if (this.userInfo) {
  518. } else {
  519. this.authorizShow = true;
  520. return false;
  521. }
  522. uni.showLoading({
  523. title: '加载中'
  524. })
  525. this.$request.httpBinary('wxV2/createQrCode', {
  526. type:'bindWx',
  527. customerId:this.numList.customerInfo.id,
  528. unionID:this.numList.customerInfo.unionID,
  529. }, 'GET').then(res => {
  530. uni.hideLoading();
  531. this.qrimg = 'data:image/png;base64,'+uni.arrayBufferToBase64(res);
  532. this.qrSHow=true;
  533. //this.img= uni.arrayBufferToBase64(res)
  534. //console.log('list+=', this.queryShopList);
  535. })
  536. },
  537. qrclose(){
  538. this.qrSHow=false;
  539. },
  540. goShopAppraiseList() {
  541. uni.navigateTo({
  542. url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  543. })
  544. },
  545. useremind(){
  546. if (this.userInfo) {
  547. uni.navigateTo({
  548. url: '../integral/integral'
  549. })
  550. } else {
  551. this.authorizShow = true;
  552. return false;
  553. }
  554. },
  555. gonavigateaboutUS(){
  556. uni.navigateTo({
  557. url: '../index/aboutUS?unionID='+this.numList.customerInfo.unionID
  558. })
  559. },
  560. gomember(memberTitle){
  561. uni.navigateTo({
  562. url: '../index/aboutUS?unionID='+this.numList.customerInfo.unionID+'&memberTitle='+memberTitle
  563. })
  564. },
  565. getVersionInfo() {
  566. this.$http('miniApp2/sys/getVersionInfov2', {
  567. appId: this.ext.appId,
  568. }, 'POST').then(res => {
  569. if( res.data){
  570. this.release_version = res.data
  571. }
  572. })
  573. },
  574. updateUserInfo() {
  575. var that = this;
  576. uni.getUserProfile({
  577. lang: 'zh_CN',
  578. desc: '登录',
  579. success: (res) => {
  580. console.log(res);
  581. that.headImg = res.userInfo.avatarUrl;
  582. that.nickName = res.userInfo.nickName;
  583. that.$http('miniApp2/sys/updateUserInfo', {
  584. nickName: res.userInfo.nickName,
  585. unionId: that.ext.unionId,
  586. headImg: res.userInfo.avatarUrl,
  587. openId: that.wxOpenData.openid
  588. }, 'POST').then(res => {
  589. })
  590. },
  591. fail: (res) => {
  592. console.log(res)
  593. }
  594. });
  595. },
  596. decryptPhoneNumber: function(e) {
  597. console.log(e);
  598. this.code = e.detail.code
  599. this.wxPhoneLogin()
  600. this.authorizShow = false;
  601. },
  602. wxPhoneLogin() {
  603. var that = this;
  604. this.$http('miniApp2/sys/wxPhoneLogin', {
  605. appId: this.ext.appId,
  606. unionId: this.ext.unionId,
  607. code: this.code,
  608. openId: this.wxOpenData.openid
  609. }, 'POST').then(res => {
  610. var data = res.data;
  611. if(data.newCustomer){
  612. uni.showModal({
  613. title: '提示',
  614. content: data.newCustomerMsg,
  615. success: function(resTK) {
  616. }
  617. });
  618. var token=res.data.token
  619. data.loginInfo={}
  620. data.loginInfo.token=token
  621. this.$store.commit('mutationswxOpenData', data);
  622. return false;
  623. }
  624. if (data.loginInfo) {
  625. this.userInfo = data.loginInfo.openUser;
  626. this.wxOpenData = data.loginInfo;
  627. this.numList=data.loginInfo
  628. this.headImg = data.loginInfo.openUser.headImg;
  629. this.nickName = data.loginInfo.openUser.nickName;
  630. this.phone = data.loginInfo.openUser.mobilePhone;
  631. this.$store.commit('mutationswxOpenData', data)
  632. this.$store.commit('mutationsuserInfo', this.userInfo)
  633. /*setTimeout(() => {
  634. that.queryMyDetail()
  635. }, 1000); */
  636. that.queryMyDetail()
  637. if(!data.loginInfo.customerInfo.wxMiniV2OpenID){
  638. this.seeQr()
  639. }
  640. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  641. this.kkshow=true
  642. }
  643. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  644. this.kkshow=true
  645. }
  646. }
  647. })
  648. },
  649. map() {
  650. console.log("打开地图")
  651. var that = this;
  652. if (!that.numList.shopInfo.lat || !that.numList.shopInfo.lng) {
  653. uni.showToast({
  654. title: '该店铺未设置定位',
  655. icon: 'none',
  656. duration: 3000
  657. });
  658. } else {
  659. uni.openLocation({
  660. latitude: Number(that.numList.shopInfo.lat),
  661. longitude: Number(that.numList.shopInfo.lng),
  662. name: that.numList.shopInfo.shopName,
  663. address: that.numList.shopInfo.provinceName + that.numList.shopInfo.cityName + that.numList
  664. .shopInfo.areaName + that.numList.shopInfo.address,
  665. success: function() {
  666. console.log('success');
  667. },
  668. fail(err) {
  669. console.log(err)
  670. }
  671. });
  672. }
  673. },
  674. call() {
  675. if (this.userInfo) {
  676. } else {
  677. this.authorizShow = true;
  678. return false;
  679. }
  680. uni.makePhoneCall({
  681. phoneNumber: this.numList.shopInfo.mobilePhone
  682. });
  683. },
  684. goorder(num) {
  685. if (this.userInfo) {
  686. uni.navigateTo({
  687. url: './myOrder/myOrder?num=' + num
  688. })
  689. } else {
  690. this.authorizShow = true;
  691. return false;
  692. }
  693. },
  694. queryMyDetail() {
  695. console.log("getinfo")
  696. console.log(this.$store.state.wxOpenData)
  697. uni.showLoading({
  698. title: '加载中'
  699. })
  700. this.$http('openreservation/getInfo', {
  701. lat: this.location.lat ? this.location.lat : '',
  702. lng: this.location.lng ? this.location.lng : '',
  703. }, 'GET').then(res => {
  704. uni.hideLoading();
  705. this.numList = res.data
  706. this.headImg = res.data.openUser.headImg;
  707. this.nickName = res.data.openUser.nickName;
  708. this.customerName= res.data.customerInfo.customerName
  709. this.phone = res.data.openUser.mobilePhone;
  710. this.showSetting=res.data.showSetting
  711. this.f2csystemlist=res.data.f2csystemlist
  712. if(this.numList.customerInfo.pState==1&&this.numList.shopSettings.partnerDisabled){
  713. this.kkshow=true
  714. }
  715. if(this.numList.customerInfo.rebateState==1&&this.numList.shopSettings.introductionDisabled){
  716. this.kkshow=true
  717. }
  718. if(this.f2csystemlist.length>0){
  719. this.f2csystemlist.forEach((item,index)=>{
  720. if(item.growthState==1){
  721. this.f2cIndex=index
  722. }
  723. })
  724. }
  725. })
  726. },
  727. gonavigateTo(url) {
  728. if (this.userInfo) {
  729. uni.navigateTo({
  730. url: url
  731. })
  732. } else {
  733. this.authorizShow = true;
  734. }
  735. /* uni.navigateTo({
  736. url: url
  737. }) */
  738. },
  739. signOut() {
  740. //uni.clearStorageSync();
  741. uni.removeStorageSync('logodata');
  742. // uni.navigateTo({
  743. // url: '../login/login'
  744. // })
  745. },
  746. authorizShowHide(){
  747. this.authorizShow=false
  748. }
  749. },
  750. onShareAppMessage(res) {
  751. return {
  752. title: this.wxOpenData.miniAppName,
  753. //imageUrl:img,
  754. path: 'pages/index/index',
  755. success(res) {
  756. uni.showToast({
  757. title: '分享成功'
  758. })
  759. },
  760. fail(res) {
  761. uni.showToast({
  762. title: '分享失败',
  763. icon: 'none',
  764. duration: 3000
  765. })
  766. }
  767. }
  768. },
  769. // 下拉刷新
  770. onPullDownRefresh() {
  771. this.queryMyDetail()
  772. setTimeout(function() {
  773. uni.stopPullDownRefresh();
  774. }, 1000);
  775. },
  776. }
  777. </script>
  778. <style scoped>
  779. .exit{
  780. background: #FFFFFF;
  781. line-height: 100rpx;
  782. font-size: 28rpx;
  783. font-family: PingFang;
  784. font-weight: 500;
  785. color: #ED2323;
  786. text-align: center;
  787. }
  788. .exit2{
  789. background: #FFFFFF;
  790. line-height: 100rpx;
  791. font-size: 28rpx;
  792. font-family: PingFang;
  793. font-weight: 500;
  794. color: #3C3C3C;
  795. text-align: center;
  796. border-bottom: 1px solid #eaeaea;
  797. margin-top: 20rpx;
  798. }
  799. .cardNameIcon{
  800. width: 30rpx;height: 30rpx;
  801. }
  802. .cardNameIcon2{
  803. width: 7rpx;height: 13rpx;
  804. margin-left: 3rpx;margin-top: 9rpx;
  805. }
  806. .cardNameTb{
  807. padding-left: 4rpx;
  808. }
  809. .cardNameBOx{
  810. background: linear-gradient(327deg, #FEA917 0%, #FFC635 100%);
  811. border-radius: 16rpx;display: flex;
  812. line-height: 30rpx;font-weight: 500;
  813. color: #764700;font-size: 22rpx;
  814. margin-left: 15rpx;
  815. padding-right: 10rpx;
  816. height: 30rpx;
  817. }
  818. .remindBox{
  819. width: 596rpx;
  820. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(153,153,153,0.1);
  821. background: rgba(255,255,255,0.1);
  822. display: flex;justify-content: space-between;
  823. margin: 0 auto;font-size: 22rpx;
  824. padding: 9rpx 20rpx;
  825. color: #FFFFFF;
  826. line-height: 30rpx;
  827. border-radius: 8rpx;
  828. margin-bottom: 20rpx;
  829. }
  830. .useremind{
  831. font-weight: 500;
  832. color: #FFFD00;
  833. }
  834. .swiper2{
  835. min-height: 510rpx;
  836. /* margin-top: -100rpx; */
  837. }
  838. .marginTop{
  839. margin-top: -270rpx;
  840. }
  841. .marginTop2{
  842. margin-top: -120rpx;
  843. }
  844. .cardBox{
  845. width: 702rpx;
  846. min-height: 510rpx;
  847. background: #FFFFFF;
  848. border-radius: 22rpx;
  849. margin-left:24rpx ;
  850. overflow: hidden;
  851. }
  852. .cardCont{
  853. display: flex;
  854. flex-wrap: wrap;
  855. }
  856. .cardLineImgBox{
  857. width: 84rpx;
  858. height: 84rpx;
  859. /* background: linear-gradient(150deg, #222439 0%, #1A2027 100%); */
  860. border-radius: 50%;
  861. margin: 0 auto;
  862. margin-top: 30rpx;
  863. }
  864. .cardLineImg{
  865. width: 84rpx;
  866. height: 84rpx;
  867. border-radius: 50%;
  868. }
  869. .cardlineTitle{
  870. color: #3C3C3C;font-size: 24rpx;
  871. line-height: 33rpx;padding-top: 10rpx;
  872. overflow:hidden;
  873. white-space: nowrap;
  874. text-overflow: ellipsis;
  875. -o-text-overflow:ellipsis;
  876. }
  877. .cardlineTitle2{
  878. color: #999999;font-size: 24rpx;
  879. line-height: 33rpx;padding-top: 10rpx;
  880. overflow:hidden;
  881. white-space: nowrap;
  882. text-overflow: ellipsis;
  883. -o-text-overflow:ellipsis;
  884. }
  885. .cardLine{
  886. width: 25%;
  887. text-align: center;
  888. }
  889. .rowRight{
  890. color: #666666;font-size: 28rpx;padding-right: 32rpx;
  891. }
  892. .cardTOp{
  893. height: 155rpx;
  894. background-size: 100% 100%;
  895. position: relative;
  896. }
  897. .vipBsIcon{
  898. position: absolute;width: 112rpx;height: 33rpx;top: 0;right: 0;
  899. }
  900. .cardName{
  901. font-weight: 500;font-size: 30rpx;padding-top: 30rpx;padding-left: 30rpx;
  902. color: #50402A;
  903. }
  904. .cardtimeBox{
  905. display: flex;justify-content: space-between;
  906. color: #786140;font-size: 24rpx;
  907. padding-top: 20rpx;padding-left: 30rpx;padding-right: 20rpx;
  908. }
  909. .qrBox{
  910. position: fixed;
  911. width: 100vw;
  912. height: 100vh;
  913. background: rgba(0,0,0,0.5);
  914. left: 0;
  915. top: 0;
  916. z-index: 11;
  917. display: flex;
  918. justify-content: center;
  919. align-items: center;
  920. flex-direction: column;
  921. }
  922. .qrimgBox{
  923. width: 562rpx;
  924. height: 704rpx;
  925. background: #FFFFFF;
  926. border-radius: 24rpx;
  927. }
  928. .qrTitle{
  929. font-size: 30rpx;
  930. font-family: PingFangSC-Medium, PingFang SC;
  931. font-weight: 500;
  932. color: #333333;
  933. border-bottom: 1px solid #EEEEEE;
  934. text-align: center;
  935. line-height: 90rpx;
  936. position: relative;
  937. }
  938. .qrimgchahao{
  939. width: 38rpx;
  940. height: 38rpx;
  941. position: absolute;
  942. top: 26rpx;
  943. right: 20rpx;
  944. }
  945. .qrms{
  946. font-weight: 400;
  947. color: #999999;
  948. line-height: 37rpx;
  949. font-size: 26rpx;
  950. padding-top: 23rpx;
  951. text-align: center;
  952. }
  953. .qrms2{
  954. font-weight: 400;
  955. color: #999999;
  956. line-height: 37rpx;
  957. font-size: 26rpx;
  958. text-align: center;
  959. }
  960. .qrimg{
  961. width: 328rpx;
  962. height: 328rpx;
  963. }
  964. .qrBtn{
  965. width: 292rpx;
  966. height: 64rpx;
  967. background: #D53533;
  968. border-radius: 32rpx;
  969. color: #FFFFFF;
  970. line-height: 64rpx;
  971. text-align: center;
  972. margin: 0 auto;
  973. margin-top:40rpx;
  974. }
  975. .releaseVersion {
  976. font-size: 24rpx;
  977. font-family: PingFangSC-Regular, PingFang SC;
  978. font-weight: 400;
  979. color: #666666;
  980. padding: 40rpx;
  981. text-align: center;
  982. }
  983. button::after {
  984. border: none;
  985. }
  986. button {
  987. position: relative;
  988. display: block;
  989. margin-left: 0;
  990. margin-right: 0;
  991. padding-left: 0px;
  992. padding-right: 0px;
  993. box-sizing: border-box;
  994. // font-size: 18px;
  995. text-align: center;
  996. text-decoration: none;
  997. // line-height: 1;
  998. line-height: 1.35;
  999. // border-radius: 5px;
  1000. -webkit-tap-highlight-color: transparent;
  1001. overflow: hidden;
  1002. color: #000000;
  1003. background-color: #fff;
  1004. height: 100%;
  1005. }
  1006. .box {
  1007. width: 100vw;
  1008. min-height: 100vh;
  1009. background: #F4F5F7;
  1010. padding-bottom: 60rpx;
  1011. }
  1012. .top {
  1013. height: 350rpx;
  1014. padding: 20rpx 24rpx 0;
  1015. /* background-color: #D53533; */
  1016. border-radius: 0 0 5% 5%;
  1017. }
  1018. .customerMes {
  1019. display: flex;
  1020. }
  1021. .mes {
  1022. margin-left: 20rpx;
  1023. }
  1024. .nick {
  1025. margin-bottom: 5rpx;
  1026. display: flex;
  1027. justify-content: flex-start;
  1028. align-items: center;
  1029. }
  1030. .nickName {
  1031. font-size: 34rpx;
  1032. color: #FFFFFF;
  1033. font-weight: bold;
  1034. line-height: 48rpx;
  1035. height: 48rpx;
  1036. overflow: hidden; /*内容会被修剪,并且其余内容是不可见的*/
  1037. text-overflow:ellipsis; /*显示省略符号来代表被修剪的文本。*/
  1038. white-space: nowrap; /*文本不换行*/
  1039. }
  1040. .nickName2 {
  1041. font-size: 30rpx;
  1042. color: #FFFFFF;
  1043. font-weight: bold;
  1044. line-height: 48rpx;
  1045. height: 48rpx;
  1046. overflow: hidden; /*内容会被修剪,并且其余内容是不可见的*/
  1047. text-overflow:ellipsis; /*显示省略符号来代表被修剪的文本。*/
  1048. white-space: nowrap; /*文本不换行*/
  1049. }
  1050. .grade {
  1051. margin-left: 15rpx;
  1052. font-size: 22rpx;
  1053. color: #FFFFFF;
  1054. padding: 0rpx 10rpx;
  1055. border: 1px solid #FFFFFF;
  1056. border-radius: 18rpx;
  1057. height: 26rpx;
  1058. line-height: 28rpx;
  1059. }
  1060. .phone {
  1061. font-size: 24rpx;
  1062. color: #FFFFFF;
  1063. }
  1064. .headerBox {
  1065. padding: 16rpx 24rpx;
  1066. display: flex;
  1067. justify-content: space-around;
  1068. }
  1069. .quan {
  1070. display: flex;
  1071. flex-direction: column;
  1072. align-items: center;
  1073. }
  1074. .numStr {
  1075. font-size: 32rpx;
  1076. font-weight: bold;
  1077. color: #FFFFFF;
  1078. line-height: 45rpx;
  1079. }
  1080. .numStr2{
  1081. font-size: 40rpx;
  1082. font-weight: 500;
  1083. color: #FFFFFF;
  1084. line-height: 60rpx;
  1085. }
  1086. .nameStr {
  1087. font-size: 24rpx;
  1088. color: #FFFFFF;
  1089. }
  1090. .orderBox {
  1091. margin: 0rpx 24rpx;
  1092. background: #FFFFFF;
  1093. padding: 30rpx 20rpx;
  1094. border-radius: 10rpx;
  1095. margin-top: 20rpx;
  1096. }
  1097. .orderTitle {
  1098. font-size: 30rpx;
  1099. color: #333333;
  1100. font-weight: bold;
  1101. }
  1102. .orderAll {
  1103. display: flex;
  1104. justify-content: space-between;
  1105. align-items: center;
  1106. }
  1107. .orderLine {
  1108. width: 25%;
  1109. text-align: center;
  1110. }
  1111. .orderLineImg {
  1112. width: 60rpx;
  1113. height: 60rpx;
  1114. }
  1115. .orderLineTxt {
  1116. font-size: 24rpx;
  1117. color: #333333;
  1118. }
  1119. .orderImgBox {
  1120. text-align: center;
  1121. position: relative;
  1122. }
  1123. .orderLIneBox {
  1124. display: flex;
  1125. justify-content: space-between;
  1126. padding-top: 30rpx;
  1127. }
  1128. .orderNum {
  1129. height: 26rpx;
  1130. line-height: 26rpx;
  1131. background: #FF0000;
  1132. padding: 0 8rpx;
  1133. border-radius: 13rpx;
  1134. color: #FFFFFF;
  1135. font-size: 20rpx;
  1136. position: absolute;
  1137. left: 82rpx;
  1138. z-index: 11;
  1139. }
  1140. .big_rightArrow {
  1141. margin-right: 20rpx;
  1142. width: 30rpx;
  1143. height: 30rpx;
  1144. }
  1145. .rowBoxBg {
  1146. margin: 20rpx 24rpx;
  1147. background: #FFFFFF;
  1148. border-radius: 10rpx;
  1149. }
  1150. .rowBox {
  1151. display: flex;
  1152. justify-content: space-between;
  1153. background: #FFFFFF;
  1154. padding: 35rpx 0rpx;
  1155. border-radius: 10rpx;
  1156. align-items: center;
  1157. }
  1158. .leftView {
  1159. display: flex;
  1160. align-items: center;
  1161. }
  1162. .rightView {
  1163. display: flex;
  1164. align-items: center;
  1165. }
  1166. .liftIcon {
  1167. width: 34rpx;
  1168. height: 34rpx;
  1169. margin: 0rpx 20rpx;
  1170. }
  1171. .rowTitle {
  1172. color: #3C3C3C;
  1173. font-size: 28rpx;
  1174. }
  1175. .signOut {
  1176. width: 702rpx;
  1177. height: 98rpx;
  1178. background: #FFFFFF;
  1179. border-radius: 10rpx;
  1180. font-size: 30rpx;
  1181. color: #FF3B30;
  1182. line-height: 98rpx;
  1183. text-align: center;
  1184. margin: 40rpx 24rpx;
  1185. }
  1186. .shopBox {
  1187. padding: 20rpx;
  1188. margin: 20rpx 24rpx;
  1189. background-color: #FFFFFF;
  1190. border-radius: 10rpx;
  1191. }
  1192. .shopCont {
  1193. display: flex;
  1194. justify-content: space-between;
  1195. align-items: center;
  1196. }
  1197. .shopName {
  1198. font-size: 30rpx;
  1199. font-weight: bold;
  1200. color: #3C3C3C;
  1201. line-height: 42rpx;
  1202. }
  1203. .appraiseBox {
  1204. padding: 5rpx 0;
  1205. margin-top: 10rpx;
  1206. height: 62rpx;
  1207. display: flex;
  1208. align-items: center;
  1209. }
  1210. .appraise {
  1211. color: #FF0000;
  1212. font-size: 38rpx;
  1213. font-weight: bold;
  1214. }
  1215. .line {
  1216. margin: 0 12rpx;
  1217. width: 1rpx;
  1218. height: 30rpx;
  1219. }
  1220. .appraiseCount {
  1221. font-size: 24rpx;
  1222. font-weight: 400;
  1223. color: #666666;
  1224. flex-grow: 1;
  1225. margin-top: 10rpx;
  1226. }
  1227. .rightArrow {
  1228. width: 7rpx;
  1229. height: 15rpx;
  1230. margin-left: 16rpx;
  1231. }
  1232. .shopRightBox {
  1233. display: flex;
  1234. justify-content: space-between;
  1235. }
  1236. .address {
  1237. display: flex;
  1238. justify-content: space-between;
  1239. align-items: center;
  1240. }
  1241. .Address,
  1242. .shopTime,
  1243. .distance {
  1244. color: #999999;
  1245. font-size: 24rpx;
  1246. padding-top: 15rpx;
  1247. /* 隐藏文字显示 ...不换行 */
  1248. overflow: hidden;
  1249. text-overflow: ellipsis;
  1250. white-space: nowrap;
  1251. }
  1252. .shopRightBox {}
  1253. .shopRightImg {
  1254. width: 44rpx;
  1255. height: 45rpx;
  1256. }
  1257. .authorizBox {
  1258. width: 100vw;
  1259. height: 100vh;
  1260. background: rgba(0, 0, 0, 0.5);
  1261. position: fixed;
  1262. top: 0;
  1263. left: 0;
  1264. z-index: 11;
  1265. }
  1266. .authorizCont {
  1267. margin-top: 30vh;
  1268. width: 564rpx;
  1269. height: 408rpx;
  1270. background: #FFFFFF;
  1271. border-radius: 24rpx;
  1272. margin-left: 93rpx;
  1273. position: relative;
  1274. }
  1275. .authorizCloseImg {
  1276. width: 62rpx;
  1277. height: 62rpx;
  1278. }
  1279. .sqLogoBox {
  1280. width: 180rpx;
  1281. height: 180rpx;
  1282. background: #FFFFFF;
  1283. border-radius: 90rpx;
  1284. text-align: center;
  1285. position: absolute;
  1286. top: -50rpx;
  1287. left: 192rpx;
  1288. }
  1289. .authorizName {
  1290. color: #333333;
  1291. line-height: 42rpx;
  1292. font-size: 30rpx;
  1293. text-align: center;
  1294. padding-top: 58rpx;
  1295. }
  1296. .authorizMs {
  1297. color: #999999;
  1298. line-height: 36rpx;
  1299. font-size: 26rpx;
  1300. width: 452rpx;
  1301. padding-top: 24rpx;
  1302. text-align: center;
  1303. margin-left: 56rpx;
  1304. }
  1305. .authorizContbutton{
  1306. width: 210rpx;
  1307. height: 66rpx;
  1308. background: #D53533;
  1309. border-radius: 44rpx;
  1310. line-height: 66rpx;
  1311. text-align: center;
  1312. font-size:30rpx;
  1313. color: #FFFFFF;
  1314. margin-left:40rpx;
  1315. }
  1316. .sqRefuse{
  1317. width: 210rpx;
  1318. height: 66rpx;
  1319. border: 1px solid #eaeaea;
  1320. line-height: 66rpx;
  1321. border-radius: 36rpx;
  1322. text-align: center;
  1323. font-size:30rpx;
  1324. margin-right:40rpx;
  1325. color: #999999;
  1326. }
  1327. .sqLine{
  1328. margin-top: 62rpx;
  1329. display: flex;
  1330. justify-content: space-between;
  1331. }
  1332. </style>