user.vue 22 KB

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