user.vue 21 KB

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