user.vue 19 KB

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