user.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863
  1. <template>
  2. <view class="box">
  3. <view class="top" :style="{background:'#'+themeColor}">
  4. <view class="customerMes">
  5. <image @click="updateUserInfo" v-if="headImg" :src="headImg" mode="" style="width: 88rpx;height: 88rpx;border-radius: 44rpx;"></image>
  6. <image @click="updateUserInfo" v-else src="../../static/img/icon_me.png" mode="" style="width: 88rpx;height: 88rpx;border-radius: 44rpx;"></image>
  7. <view class="mes">
  8. <view class="nick">
  9. <view class="nickName" v-if="nickName">{{nickName}}</view>
  10. <view class="grade" v-if="numList.levelName">{{numList.levelName}}</view>
  11. </view>
  12. <view class="phone">{{phone}}</view>
  13. </view>
  14. </view>
  15. <view class="headerBox">
  16. <view class="quan" @click="gonavigateTo('../index/discountCard')">
  17. <view class="numStr">{{numList.count?numList.count:0}}</view>
  18. <view class="nameStr">优惠券</view>
  19. </view>
  20. <view class="quan" @click="gonavigateTo('../integral/integral?totalIntegral='+numList.totalIntegral)">
  21. <view class="numStr">{{numList.totalIntegral?numList.totalIntegral:0}}</view>
  22. <view class="nameStr">积分</view>
  23. </view>
  24. <view class="quan" @click="gonavigateTo('../index/vipCard')">
  25. <view class="numStr">{{numList.cardNum?numList.cardNum:0}}</view>
  26. <view class="nameStr">会员卡</view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 我的订单 -->
  31. <view class="orderBox">
  32. <view class="orderTitle">我的订单</view>
  33. <view class="orderLIneBox">
  34. <view class="orderLine" @click="goorder(1)">
  35. <view class="orderImgBox">
  36. <view class="orderNum" v-show="numList.waitPurchaseSize>0">{{numList.waitPurchaseSize>99?'99+':numList.waitPurchaseSize}}</view>
  37. <image src="../../static/img/icon_daifukuan.png" mode="" class="orderLineImg"></image>
  38. </view>
  39. <view class="orderLineTxt">待付款</view>
  40. </view>
  41. <view class="orderLine" @click="goorder(2)">
  42. <view class="orderImgBox">
  43. <view class="orderNum" v-show="numList.waitServiceSize>0">{{numList.waitServiceSize>99?'99+':numList.waitServiceSize}}</view>
  44. <image src="../../static/img/icon_daifuwu.png" mode="" class="orderLineImg"></image>
  45. </view>
  46. <view class="orderLineTxt">待服务</view>
  47. </view>
  48. <view class="orderLine" @click="goorder(3)">
  49. <view class="orderImgBox">
  50. <view class="orderNum" v-show="numList.hasOverSize>0">{{numList.hasOverSize>99?'99+':numList.hasOverSize}}</view>
  51. <image src="../../static/img/icon_yiwancheng.png" mode="" class="orderLineImg"></image>
  52. </view>
  53. <view class="orderLineTxt">已完成</view>
  54. </view>
  55. <view class="orderLine" @click="goorder(0)">
  56. <view class="orderImgBox">
  57. <view class="orderNum" v-show="numList.allSize>0">{{numList.allSize>99?'99+':numList.allSize}}</view>
  58. <image src="../../static/img/icon_allorder.png" mode="" class="orderLineImg"></image>
  59. </view>
  60. <view class="orderLineTxt">全部</view>
  61. </view>
  62. </view>
  63. </view>
  64. <!-- 店铺信息 -->
  65. <view class="shopBox" v-if="userInfo">
  66. <view class="shopCont">
  67. <view class="shopName">{{numList.shopInfo.shopName}}</view>
  68. <view class="shopRightBox">
  69. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"
  70. style="margin-right: 67rpx;" @click="map"></image>
  71. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg" @click="call"></image>
  72. </view>
  73. </view>
  74. <view class="appraiseBox">
  75. <view v-if="numList.isShowScore == 1" class="appraise">{{numList.shopInfo.miniV2ShopScore}}
  76. <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
  77. </view>
  78. <view @click="goShopAppraiseList()" v-if="numList.isShowEvaluate == 1" class="appraiseCount">评价数 {{numList.evaluateCount}}
  79. <image src="../../static/timg/icon_arrow_right.png" mode="" style="width: 7rpx; height: 15rpx; margin-left: 32rpx;"></image>
  80. </view>
  81. </view>
  82. <view class="shopTime" v-if="numList.shopInfo.startTime && numList.shopInfo.endTime">
  83. {{numList.shopInfo.startTime}}-{{numList.shopInfo.endTime}}</view>
  84. <view class="address">
  85. <view class="Address">
  86. {{numList.shopInfo.provinceName?numList.shopInfo.provinceName:''}}
  87. {{numList.shopInfo.cityName?numList.shopInfo.cityName:''}}
  88. {{numList.shopInfo.areaName?numList.shopInfo.areaName:''}}
  89. {{numList.shopInfo.address?numList.shopInfo.address:''}}
  90. </view>
  91. <!-- <view class="distance" v-if="numList.shopInfo.distance&&numList.shopInfo.distance!= '0.00'">{{numList.shopInfo.distance}}km</view> -->
  92. </view>
  93. </view>
  94. <!-- 我的 相关 -->
  95. <view class="rowBoxBg">
  96. <view class="rowBox" @click="gonavigateTo('../user/expertServices')">
  97. <view class="leftView">
  98. <image src="../../static/img/icon_me1.png" mode="" class="liftIcon"></image>
  99. <view class="rowTitle">服务专家</view>
  100. </view>
  101. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  102. </view>
  103. <view class="rowBox" @click="gonavigateTo('./addCar/cailist')">
  104. <view class="leftView">
  105. <image src="../../static/img/icon_me2.png" mode="" class="liftIcon"></image>
  106. <view class="rowTitle">我的车库</view>
  107. </view>
  108. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  109. </view>
  110. <view class="rowBox" @click="gonavigateTo('myBespeak')">
  111. <view class="leftView">
  112. <image src="../../static/img/icon_me3.png" mode="" class="liftIcon"></image>
  113. <view class="rowTitle">我的预约</view>
  114. </view>
  115. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  116. </view>
  117. <view class="rowBox" @click="gonavigateTo('historySpend')">
  118. <view class="leftView">
  119. <image src="../../static/img/icon_me4.png" mode="" class="liftIcon"></image>
  120. <view class="rowTitle">历史消费</view>
  121. </view>
  122. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  123. </view>
  124. <view class="rowBox" @click="gonavigateTo('checkReport')">
  125. <view class="leftView">
  126. <image src="../../static/img/icon_me5.png" mode="" class="liftIcon"></image>
  127. <view class="rowTitle">车检报告</view>
  128. </view>
  129. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  130. </view>
  131. <view class="rowBox" @click="gonavigateTo('myAppraise')">
  132. <view class="leftView">
  133. <image src="../../static/img/icon_pingjia.png" mode="" class="liftIcon"></image>
  134. <view class="rowTitle">我的评价</view>
  135. </view>
  136. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  137. </view>
  138. <button open-type="share" class="rowBox" >
  139. <view class="leftView">
  140. <image src="../../static/img/icon_me6.png" mode="" class="liftIcon"></image>
  141. <view class="rowTitle">分享给好友</view>
  142. </view>
  143. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  144. </button>
  145. <view class="rowBox" @click="gonavigateTo('feedBack')">
  146. <view class="leftView">
  147. <image src="../../static/img/icon_me7.png" mode="" class="liftIcon"></image>
  148. <view class="rowTitle">意见反馈</view>
  149. </view>
  150. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  151. </view>
  152. <view class="rowBox" @click="gonavigateTo('../partner/partner')" v-if="numList.customerInfo.pState==1&&numList.shopSettings.partnerDisabled">
  153. <view class="leftView">
  154. <image src="../../static/img/icon_hehuoren.png" mode="" class="liftIcon"></image>
  155. <view class="rowTitle">车主合伙人</view>
  156. </view>
  157. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  158. </view>
  159. <view class="rowBox" @click="gonavigateTo('../referral/referral')" v-if="numList.customerInfo.rebateState==1&&numList.shopSettings.introductionDisabled">
  160. <view class="leftView">
  161. <image src="../../static/img/icon_kehuzhuanjieshao.png" mode="" class="liftIcon"></image>
  162. <view class="rowTitle">客户转介绍</view>
  163. </view>
  164. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  165. </view>
  166. <!-- 先隐藏 -->
  167. <!-- <view class="rowBox" @click="gonavigateTo('')">
  168. <view class="leftView">
  169. <image src="../../static/img/icon_me8.png" mode="" class="liftIcon"></image>
  170. <view class="rowTitle">清除缓存</view>
  171. </view>
  172. <image src="../../static/img/big_rightArrow.png" mode="" class="big_rightArrow"></image>
  173. </view> -->
  174. </view>
  175. <view class="releaseVersion">版本号:{{release_version}}</view>
  176. <!-- <view class="signOut" @click="signOut">退出登录</view> -->
  177. <!-- 手机号授权 -->
  178. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  179. <view class="authorizCont" @click.stop="">
  180. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  181. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  182. <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
  183. @getphonenumber="decryptPhoneNumber">授权</button>
  184. </view>
  185. <view style="text-align: center;padding-top: 56rpx;">
  186. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  187. </view>
  188. </view>
  189. </view>
  190. </template>
  191. <script>
  192. export default {
  193. data() {
  194. return {
  195. userInfo: '',
  196. shopData: '',
  197. numList: '',
  198. uid: '',
  199. headImg: '',
  200. location: {
  201. lng: '',
  202. lat: '',
  203. },
  204. authorizShow: false,
  205. code: '',
  206. wxOpenData: '',
  207. nickName:'',
  208. phone:'',
  209. ext:'',
  210. themeColor:'',
  211. release_version:'',
  212. }
  213. },
  214. onLoad(opt) {
  215. this.ext=this.$common.getExtStoreId();
  216. this.themeColor = uni.getStorageSync("themeColor");
  217. if(this.themeColor){
  218. if(this.themeColor=='6F2BE8'){
  219. var backgroundImage='/static/tabimg/me6F2BE8.png'
  220. }
  221. if(this.themeColor=='1677FF'){
  222. var backgroundImage='/static/tabimg/me1677FF.png'
  223. }
  224. if(this.themeColor=='FF4F00'){
  225. var backgroundImage='/static/tabimg/meFF4F00.png'
  226. }
  227. if(this.themeColor=='D53533'){
  228. var backgroundImage='/static/tabimg/me1.png'
  229. }
  230. uni.setTabBarStyle({
  231. // color: '#FF0000',
  232. selectedColor: '#'+this.themeColor,
  233. })
  234. uni.setTabBarItem({
  235. index: 3,
  236. text: '我的',
  237. selectedIconPath: backgroundImage
  238. })
  239. }
  240. uni.setNavigationBarColor({
  241. frontColor: "#ffffff",
  242. backgroundColor:'#'+ this.themeColor
  243. })
  244. this.getVersionInfo()
  245. // const accountInfo = wx.getAccountInfoSync();
  246. // var version_number = accountInfo.miniProgram.version;
  247. // console.log(version_number)
  248. },
  249. onShow() {
  250. const wxOpenData = this.$store.state.wxOpenData;
  251. this.wxOpenData=wxOpenData
  252. //console.log()
  253. if (wxOpenData) {
  254. this.uid = wxOpenData.loginInfo.uid;
  255. }
  256. this.userInfo = this.$store.state.userInfo;
  257. if (this.userInfo) {
  258. this.queryMyDetail();
  259. } else {
  260. this.authorizShow = true;
  261. }
  262. },
  263. methods: {
  264. goShopAppraiseList(){
  265. uni.navigateTo({
  266. url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  267. })
  268. },
  269. getVersionInfo(){
  270. this.$http('miniApp2/sys/getVersionInfo', {
  271. appId: this.ext.appId,
  272. }, 'POST').then(res => {
  273. this.release_version=res.data.release_version
  274. })
  275. },
  276. updateUserInfo(){
  277. var that=this;
  278. uni.getUserProfile({
  279. lang:'zh_CN',
  280. desc:'登录',
  281. success:(res)=>{
  282. console.log(res);
  283. that.headImg=res.userInfo.avatarUrl;
  284. that.nickName=res.userInfo.nickName;
  285. that.$http('miniApp2/sys/updateUserInfo', {
  286. nickName:res.userInfo.nickName,
  287. unionId:that.ext.unionId,
  288. headImg: res.userInfo.avatarUrl,
  289. openId: that.wxOpenData.openid
  290. }, 'POST').then(res => {
  291. })
  292. },
  293. fail:(res)=>{
  294. console.log(res)
  295. }
  296. });
  297. },
  298. decryptPhoneNumber: function(e) {
  299. console.log(e);
  300. this.code = e.detail.code
  301. this.wxPhoneLogin()
  302. this.authorizShow = false;
  303. },
  304. wxPhoneLogin() {
  305. var that = this;
  306. this.$http('miniApp2/sys/wxPhoneLogin', {
  307. appId:this.ext.appId,
  308. unionId:this.ext.unionId,
  309. code: this.code,
  310. openId: this.wxOpenData.openid
  311. }, 'POST').then(res => {
  312. var data = res.data;
  313. if (data.loginInfo) {
  314. this.userInfo = data.loginInfo.openUser;
  315. this.wxOpenData = data.loginInfo;
  316. this.$store.commit('mutationswxOpenData', data.loginInfo)
  317. this.$store.commit('mutationsuserInfo', this.userInfo)
  318. this.queryMyDetail()
  319. }
  320. })
  321. },
  322. map() {
  323. console.log("打开地图")
  324. var that = this;
  325. if (!that.numList.shopInfo.lat || !that.numList.shopInfo.lng) {
  326. uni.showToast({
  327. title: '该店铺未设置定位',
  328. icon: 'none',
  329. duration: 3000
  330. });
  331. } else {
  332. uni.openLocation({
  333. latitude: Number(that.numList.shopInfo.lat),
  334. longitude: Number(that.numList.shopInfo.lng),
  335. name: that.numList.shopInfo.shopName,
  336. address: that.numList.shopInfo.provinceName + that.numList.shopInfo.cityName + that.numList
  337. .shopInfo.areaName + that.numList.shopInfo.address,
  338. success: function() {
  339. console.log('success');
  340. },
  341. fail(err) {
  342. console.log(err)
  343. }
  344. });
  345. }
  346. },
  347. call() {
  348. uni.makePhoneCall({
  349. phoneNumber: this.numList.shopInfo.mobilePhone
  350. });
  351. },
  352. goorder(num) {
  353. uni.navigateTo({
  354. url: './myOrder/myOrder?num=' + num
  355. })
  356. },
  357. queryMyDetail() {
  358. uni.showLoading({
  359. title: '加载中'
  360. })
  361. this.$http('openreservation/getInfo', {
  362. lat: this.location.lat ? this.location.lat : '',
  363. lng: this.location.lng ? this.location.lng : '',
  364. }, 'GET').then(res => {
  365. uni.hideLoading();
  366. this.numList = res.data
  367. this.headImg = res.data.openUser.headImg;
  368. this.nickName = res.data.openUser.nickName;
  369. this.phone = res.data.openUser.mobilePhone;
  370. })
  371. },
  372. gonavigateTo(url) {
  373. // if (this.userInfo) {
  374. // uni.navigateTo({
  375. // url: url
  376. // })
  377. // } else {
  378. // this.authorizShow = true;
  379. // }
  380. uni.navigateTo({
  381. url: url
  382. })
  383. },
  384. signOut() {
  385. //uni.clearStorageSync();
  386. uni.removeStorageSync('logodata');
  387. // uni.navigateTo({
  388. // url: '../login/login'
  389. // })
  390. },
  391. },
  392. onShareAppMessage(res) {
  393. return {
  394. title: this.wxOpenData.miniAppName,
  395. //imageUrl:img,
  396. path: 'pages/index/index',
  397. success(res){
  398. uni.showToast({
  399. title:'分享成功'
  400. })
  401. },
  402. fail(res){
  403. uni.showToast({
  404. title:'分享失败',
  405. icon:'none',
  406. duration: 3000
  407. })
  408. }
  409. }
  410. },
  411. // 下拉刷新
  412. onPullDownRefresh() {
  413. this.queryMyDetail()
  414. setTimeout(function() {
  415. uni.stopPullDownRefresh();
  416. }, 1000);
  417. },
  418. }
  419. </script>
  420. <style scoped>
  421. .releaseVersion{
  422. font-size: 24rpx;
  423. font-family: PingFangSC-Regular, PingFang SC;
  424. font-weight: 400;
  425. color: #666666;
  426. padding: 40rpx;
  427. text-align: center;
  428. }
  429. button::after{
  430. border: none;
  431. }
  432. button{
  433. position: relative;
  434. display: block;
  435. margin-left: 0;
  436. margin-right: 0;
  437. padding-left: 0px;
  438. padding-right: 0px;
  439. box-sizing: border-box;
  440. // font-size: 18px;
  441. text-align: center;
  442. text-decoration: none;
  443. // line-height: 1;
  444. line-height: 1.35;
  445. // border-radius: 5px;
  446. -webkit-tap-highlight-color: transparent;
  447. overflow: hidden;
  448. color: #000000;
  449. background-color: #fff;
  450. height: 100%;
  451. }
  452. .box {
  453. width: 100vw;
  454. min-height: 100vh;
  455. background: #F4F5F7;
  456. padding-bottom: 60rpx;
  457. }
  458. .top {
  459. height: 350rpx;
  460. padding: 20rpx 24rpx 0;
  461. background-color: #D53533;
  462. border-radius: 0 0 5% 5%;
  463. }
  464. .customerMes {
  465. display: flex;
  466. }
  467. .mes {
  468. margin-left: 20rpx;
  469. }
  470. .nick {
  471. margin-bottom: 5rpx;
  472. display: flex;
  473. justify-content: flex-start;
  474. align-items: center;
  475. }
  476. .nickName {
  477. font-size: 34rpx;
  478. color: #FFFFFF;
  479. font-weight: bold;
  480. line-height: 48rpx;
  481. height: 48rpx;
  482. }
  483. .grade {
  484. margin-left: 15rpx;
  485. font-size: 24rpx;
  486. color: #FFFFFF;
  487. padding: 0rpx 10rpx;
  488. border: 1rpx solid #FFFFFF;
  489. border-radius: 4rpx;
  490. height: 36rpx;
  491. }
  492. .phone {
  493. font-size: 24rpx;
  494. color: #FFFFFF;
  495. }
  496. .headerBox {
  497. padding: 30rpx 24rpx;
  498. display: flex;
  499. justify-content: space-around;
  500. }
  501. .quan {
  502. display: flex;
  503. flex-direction: column;
  504. align-items: center;
  505. height: 120rpx;
  506. }
  507. .numStr {
  508. font-size: 40rpx;
  509. font-weight: bold;
  510. color: #FFFFFF;
  511. line-height: 56rpx;
  512. }
  513. .nameStr {
  514. font-size: 24rpx;
  515. color: #FFFFFF;
  516. }
  517. .orderBox {
  518. margin: 0rpx 24rpx;
  519. background: #FFFFFF;
  520. padding: 30rpx 20rpx;
  521. border-radius: 10rpx;
  522. margin-top: -100rpx;
  523. }
  524. .orderTitle {
  525. font-size: 30rpx;
  526. color: #333333;
  527. font-weight: bold;
  528. }
  529. .orderAll {
  530. display: flex;
  531. justify-content: space-between;
  532. align-items: center;
  533. }
  534. .orderLine {
  535. width: 25%;
  536. text-align: center;
  537. }
  538. .orderLineImg {
  539. width: 60rpx;
  540. height: 60rpx;
  541. }
  542. .orderLineTxt {
  543. font-size: 24rpx;
  544. color: #333333;
  545. }
  546. .orderImgBox {
  547. text-align: center;
  548. position: relative;
  549. }
  550. .orderLIneBox {
  551. display: flex;
  552. justify-content: space-between;
  553. padding-top: 30rpx;
  554. }
  555. .orderNum {
  556. height: 26rpx;
  557. line-height: 26rpx;
  558. background: #FF0000;
  559. padding: 0 8rpx;
  560. border-radius: 13rpx;
  561. color: #FFFFFF;
  562. font-size: 20rpx;
  563. position: absolute;
  564. left: 90rpx;
  565. z-index: 11;
  566. }
  567. .big_rightArrow {
  568. margin-right: 20rpx;
  569. width: 30rpx;
  570. height: 30rpx;
  571. }
  572. .rowBoxBg {
  573. margin: 20rpx 24rpx;
  574. background: #FFFFFF;
  575. border-radius: 10rpx;
  576. }
  577. .rowBox {
  578. display: flex;
  579. justify-content: space-between;
  580. background: #FFFFFF;
  581. padding: 35rpx 0rpx;
  582. border-radius: 10rpx;
  583. align-items: center;
  584. }
  585. .leftView {
  586. display: flex;
  587. align-items: center;
  588. }
  589. .rightView {
  590. display: flex;
  591. align-items: center;
  592. }
  593. .liftIcon {
  594. width: 34rpx;
  595. height: 34rpx;
  596. margin: 0rpx 20rpx;
  597. }
  598. .rowTitle {
  599. color: #3C3C3C;
  600. font-size: 28rpx;
  601. }
  602. .signOut {
  603. width: 702rpx;
  604. height: 98rpx;
  605. background: #FFFFFF;
  606. border-radius: 10rpx;
  607. font-size: 30rpx;
  608. color: #FF3B30;
  609. line-height: 98rpx;
  610. text-align: center;
  611. margin: 40rpx 24rpx;
  612. }
  613. .shopBox {
  614. padding: 20rpx;
  615. margin: 20rpx 24rpx;
  616. background-color: #FFFFFF;
  617. border-radius: 10rpx;
  618. }
  619. .shopCont {
  620. display: flex;
  621. justify-content: space-between;
  622. align-items: center;
  623. }
  624. .shopName {
  625. font-size: 30rpx;
  626. font-weight: bold;
  627. color: #3C3C3C;
  628. line-height: 42rpx;
  629. }
  630. .appraiseBox{
  631. padding: 5rpx 20rpx;
  632. margin: 10rpx 0 0 -20rpx;
  633. height: 62rpx;
  634. background: rgba(255,0,0,0.08);
  635. border-radius: 0 25rpx 70rpx 0;
  636. width: 320rpx;
  637. display: flex;
  638. align-items: center;
  639. }
  640. .appraise{
  641. color: #FF0000;
  642. font-size: 38rpx;
  643. font-weight: bold;
  644. }
  645. .appraiseCount{
  646. margin-left: 40rpx;
  647. font-size: 24rpx;
  648. font-weight: 400;
  649. color: #666666;
  650. }
  651. .shopRightBox {
  652. display: flex;
  653. justify-content: space-between;
  654. }
  655. .address {
  656. display: flex;
  657. justify-content: space-between;
  658. align-items: center;
  659. }
  660. .Address,
  661. .shopTime,
  662. .distance {
  663. color: #999999;
  664. font-size: 24rpx;
  665. padding-top: 15rpx;
  666. /* 隐藏文字显示 ...不换行 */
  667. overflow: hidden;
  668. text-overflow: ellipsis;
  669. white-space: nowrap;
  670. }
  671. .shopRightBox {}
  672. .shopRightImg {
  673. width: 44rpx;
  674. height: 45rpx;
  675. }
  676. .authorizBox {
  677. width: 100vw;
  678. height: 100vh;
  679. background: rgba(0, 0, 0, 0.5);
  680. position: fixed;
  681. top: 0;
  682. left: 0;
  683. }
  684. .authorizCont {
  685. margin-top: 30vh;
  686. width: 564rpx;
  687. height: 408rpx;
  688. background: #FFFFFF;
  689. border-radius: 24rpx;
  690. margin-left: 93rpx;
  691. position: relative;
  692. }
  693. .authorizCloseImg {
  694. width: 62rpx;
  695. height: 62rpx;
  696. }
  697. .sqLogoBox {
  698. width: 180rpx;
  699. height: 180rpx;
  700. background: #FFFFFF;
  701. border-radius: 90rpx;
  702. text-align: center;
  703. position: absolute;
  704. top: -50rpx;
  705. left: 192rpx;
  706. }
  707. .authorizName {
  708. color: #333333;
  709. line-height: 42rpx;
  710. font-size: 30rpx;
  711. text-align: center;
  712. padding-top: 58rpx;
  713. }
  714. .authorizMs {
  715. color: #999999;
  716. line-height: 36rpx;
  717. font-size: 26rpx;
  718. width: 452rpx;
  719. padding-top: 24rpx;
  720. text-align: center;
  721. margin-left: 56rpx;
  722. }
  723. .authorizContbutton {
  724. width: 422rpx;
  725. height: 88rpx;
  726. background: #D53533;
  727. border-radius: 44rpx;
  728. line-height: 88rpx;
  729. text-align: center;
  730. font-size: 30rpx;
  731. color: #FFFFFF;
  732. margin-top: 62rpx;
  733. margin-left: 71rpx;
  734. }
  735. </style>