user.vue 22 KB

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