my.vue
24.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
<template>
<view class="myWrap" v-if="showMy" :style="{background: userInfo.bg_image == '' ? '#35655f' : 'url('+userInfo.bg_image+') repeat-y','background-size':'100%'}" :class="{bgImg:userInfo.bg_image != ''}">
<!-- 导航栏区域 -->
<view class="navBarWrap">
<image @click="showMoreService = true" src="../../static/image/more.png" mode=""></image>
<!-- <view class="navBarRight">
<view class="changeBg" @click="chooseImage()">
更换底图
</view>
<image @click="shareFlag = true" src="../../static/image/Group_365@2x.png" mode=""></image>
</view> -->
</view>
<!-- 地主信息区域 -->
<view class="landItem" id="landItem">
<view class="landInfo">
<view class="userIcon">
<image style="width: 130rpx;height: 130rpx;border-radius: 20rpx 0 20rpx 0;" :src="userInfo.avatar" mode="aspectFill"></image>
</view>
<view class="userInfo">
<!-- 当登录人是地主时显示星星 -->
<view class="userStar" v-if="userInfo.group_id == '2'">
<image v-for="(item,index) in startList" :key="index" style="width: 25rpx;height: 24rpx;margin-right: 5rpx;" src="../../static/image/xingji_2@2x.png" mode=""></image>
<!-- <image style="width: 25rpx;height: 24rpx;margin-right: 5rpx;" src="../../static/image/xingji_2@2x.png" mode=""></image> -->
<!-- <image style="width: 25rpx;height: 24rpx;margin-right: 5rpx;" src="../../static/image/xingji_2@2x.png" mode=""></image> -->
<!-- <image style="width: 25rpx;height: 24rpx;margin-right: 5rpx;" src="../../static/image/xingji_2@2x.png" mode=""></image> -->
<!-- <image style="width: 25rpx;height: 24rpx;margin-right: 5rpx;" src="../../static/image/xingji_8.png" mode=""></image> -->
</view>
<view class="nameAddress">
<text style="font-size: 32rpx;">{{userInfo.nickname}}</text>
<!-- <image v-if="userInfo.group_id == '2'" style="width: 36rpx;height: 40rpx;margin-left: 10rpx;"src="../../static/image/Group_481@2x.png" mode=""></image> -->
<!-- <image v-if="userInfo.group_id == '1'" style="width: 36rpx;height: 40rpx;margin-left: 10rpx;"src="../../static/image/Group_528@2x.png" mode=""></image> -->
</view>
</view>
</view>
<!-- 服务信息 -->
<view class="serviceInfo">
<!-- <view class="leftEmp"></view> -->
<view class="service">
<view class="serviceDesc">
{{userInfo.bio == '' ? '点击编辑资料完善个人信息' : userInfo.bio}}
</view>
<view class="followFansWrap">
<view class="followLeft">
<view class="followItem" style="width: 50rpx;" @click="href('myConcern?listType=lis')">
<view class="followTxt">
{{userInfo.follow_num}}
</view>
<view class="followTxt" style="padding-top: 10rpx;">
关注
</view>
</view>
<view class="followItem" style="width: 100rpx;" @click="href('myConcern?listType=fans')">
<view class="followTxt">
{{userInfo.fans_num}}
</view>
<view class="followTxt" style="padding-top: 10rpx;">
粉丝
</view>
</view>
<view class="followItem" style="width: 100rpx;">
<view class="followTxt">
{{userInfo.collect_num}}
</view>
<view class="followTxt" style="padding-top: 10rpx;">
赞/收藏
</view>
</view>
</view>
<view class="followRight">
<!-- <view class="view_box">
<iCircle
:percent="percent"
:size="75"
:stroke-color="'#fff'"
:dashboard="true"
BgId="BgId1"
InId="InId1"
>
<text style="font-size:28rpx;transform: scale(0.7); color: #FFFFFF;">{{ percent }}%</text>
<view slot="canvas">
<canvas
class="CanvasBox strokeCanvas"
canvas-id="BgId1"
></canvas>
<canvas
class="CanvasBox trailCanvas"
canvas-id="InId1"
></canvas>
</view>
</iCircle>
</view> -->
<view class="editInfo" @click="href('personInfo')">
编辑资料
</view>
</view>
</view>
</view>
<view class="rightEmp"></view>
</view>
</view>
<!-- 其他信息区域 -->
<view class="otherInfoWrap">
<view class="otherTabList">
<view class="otherTabItem" :class="{active:otherTabIndex == 0}" @click="changeOtherTab(0)">
动态
<view class="otherTabLine" v-if="otherTabIndex == 0"></view>
</view>
<view class="otherTabItem" :class="{active:otherTabIndex == 1}" @click="changeOtherTab(1)">
赞过
<view class="otherTabLine" v-if="otherTabIndex == 1"></view>
</view>
<view class="otherTabItem" :class="{active:otherTabIndex == 2}" @click="changeOtherTab(2)">
收藏
<view class="otherTabLine" v-if="otherTabIndex == 2"></view>
</view>
</view>
<scroll-view scroll-y @scrolltolower="scrolltolower">
<view class="otherContent">
<u-waterfall v-model="list" ref="uWaterfall" v-if="showList">
<template v-slot:left="{ leftList }">
<view class="demo-warter" v-for="(item, index) in leftList" :key="index">
<!-- 微信小程序需要hx2.8.11版本才支持在template中引入其他组件,比如下方的u-lazy-load组件 -->
<u-lazy-load @click="wapperLick(item)" threshold="-450" border-radius="20" :image="item.image" :index="index"></u-lazy-load>
<view class="userInfo" :style="{height: listType != 'mainAct' ? '90rpx' : '60rpx'}">
<view class="userDesc">
{{item.title}}
</view>
<view class="userIconLike" v-if="listType != 'mainAct'">
<view class="userIcon">
<image :src="item.user.avatar" mode=""></image>
{{item.user.nickname}}
</view>
<view class="likeNum">
<image src="../../static/image/dianzan2.png" mode=""></image>
{{item.like_num}}
</view>
</view>
</view>
<view class="statusTxt" v-if="listType == 'findPlay' && item.switch == '1'">
精选
</view>
<view class="statusTxt" v-if="listType == 'mainAct'">
{{item.state_text}}
</view>
<!-- "check_status": 审核状态:0=审核中,1=已通过,2=未通过 -->
<view class="statusTxt" v-if="listType == 'myStory' && item.check_status != '1'">
{{item.check_status == '0' ? '审核中' : '未通过'}}
</view>
</view>
</template>
<template v-slot:right="{ rightList }">
<view class="demo-warter" v-for="(item, index) in rightList" :key="index">
<u-lazy-load @click="wapperLick(item)" threshold="-450" border-radius="20" :image="item.image" :index="index"></u-lazy-load>
<view class="userInfo" :style="{height: listType != 'mainAct' ? '90rpx' : '60rpx'}">
<view class="userDesc">
{{item.title}}
</view>
<view class="userIconLike" v-if="listType != 'mainAct'">
<view class="userIcon">
<image :src="item.user.avatar" mode=""></image>
{{item.user.nickname}}
</view>
<view class="likeNum">
<image src="../../static/image/dianzan2.png" mode=""></image>
{{item.like_num}}
</view>
</view>
</view>
<view class="statusTxt" v-if="listType == 'findPlay' && item.switch == '1'">
精选
</view>
<view class="statusTxt" v-if="listType == 'mainAct'">
{{item.state_text}}
</view>
<!-- "check_status": 审核状态:0=审核中,1=已通过,2=未通过 -->
<view class="statusTxt" v-if="listType == 'myStory' && item.check_status != '1'">
{{item.check_status == '0' ? '审核中' : '未通过'}}
</view>
</view>
</template>
</u-waterfall>
</view>
</scroll-view>
</view>
<!-- 更多服务弹框 -->
<view class="moreServiceAlert" v-if="showMoreService">
<view class="moreService">
<view class="serviceList">
<!-- <view class="serviceItem" @click="href('appointOrder?pageType=myAppoint')">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/tubiaozhizuomoban-2_1.png" mode=""></image>
我的预约
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view>
<view class="serviceItem" v-if="userInfo.group_id == '2'" @click="href('appointOrder?pageType=serviceOrder')">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/Frame.png" mode=""></image>
服务订单
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view> -->
<view class="serviceItem" @click="href('myWallet')" v-if="plat == 'android' || (plat == 'ios' && switchTab == '1')">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/tubiaozhizuomoban-2_2.png" mode=""></image>
我的钱包
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view>
<view class="serviceItem" @click="openLandAlert" v-if="userInfo.hometown_check_status != 2">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/Frame-1.png" mode=""></image>
成为乡贤
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view>
<view class="serviceItem" @click="href('setting')">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/Group_581.png" mode=""></image>
设置
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view>
<view class="loginOutBtn">
<view class="serviceItem" @click="logout">
<view class="serviceLeft">
<image src="../../static/image/my/moreService/Group_669.png" mode=""></image>
退出登录
</view>
<image src="../../static/image/right_icon.png" mode=""></image>
</view>
</view>
</view>
</view>
<view class="serviceBg" @click="showMoreService = false"></view>
</view>
<!-- 成为地主弹框 -->
<view class="becomeLandAlert" v-if="showBecomeLand">
<view class="becomeLand">
<view class="becomeLandImg">
<image :src="becomeLandImg" mode="aspectFill"></image>
</view>
<!-- <view class="title">
成为地主
</view> -->
<!-- <scroll-view scroll-y="true" class="contentScroll">
<view v-html="becomeLandTxt"></view>
</scroll-view> -->
<!-- <view class="agree">
<checkbox color="#35655f"/><text>我已同意以上内容</text>
</view> -->
<view class="bottomBtnWrap">
<view class="bottomBtn" @click="agree">
成为地主
</view>
</view>
<!-- <view class="desc">
<image v-if="!agreeStatus" @click="agreeStatus = !agreeStatus" src="../../static/image/wallet/Rectangle_2319@2x.png" mode=""></image>
<image v-if="agreeStatus" @click="agreeStatus = !agreeStatus" src="../../static/image/wallet/Group_582@2x.png" mode=""></image>
同意<text>《地主用户协议》</text>
</view> -->
<view class="closeBtn" @click="showBecomeLand = false">
<image src="../../static/image/guanbi-70_1@2x.png" mode=""></image>
</view>
</view>
</view>
<share v-if="shareFlag" @close="shareFlag = false"></share>
</view>
</template>
<script>
import {mapState} from "vuex"
import iCircle from '@/components/xiaoran-circle/xiaoran-circle.vue'
import share from '@/components/share.vue'
export default{
data(){
return{
showMy:false,
current_page:1,
last_page:0,
becomeLandImg:'',
shareFlag:false,
userInfo:{},
startList:[],
showList:false,
param:{
user_id:'',//用户id 不传=查看自己的
page:1,
per_page:15
},
agreeStatus:false,
loginType:'user',//user:游侠;land:地主
showBecomeLand: false,//展示成为地主弹框
becomeLandTxt:'测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字',
showMoreService:false,
percent: 50,
showSendGift:false,//展示送礼物弹框
giftIndex:0,
otherTabIndex:0,
showProjectList:false,//展示项目列表弹框
statusBarHeight:0,
bottomH:0,
list: [],
switchTab:'1',
plat:'android'
}
},
components:{
iCircle,
share
},
computed:{
...mapState(["isLogin","userinfo","isSDKReady"])
},
onLoad(){
this.$request('/common/getConfig',{type:'8'}).then((res)=>{
console.log('微信登录按钮开关',res)
this.switchTab = res.data.switch
this.plat = plus.os.name.toLowerCase()
})
uni.setStorageSync('refreshMy',false)
this.getData()
},
onShow(){
if(uni.getStorageSync('refreshMy')){
uni.setStorageSync('refreshMy',false)
this.showList = false
this.param.page = 1
this.last_page = 0
this.current_page = 1
this.list = []
this.getData()
}
//获取成为地主图片
this.$request('/common/getConfig',{type:'1'}).then((res)=>{
this.becomeLandImg = res.data.landlord_index
})
//获取用户信息
this.$request('/user/info').then((res)=>{
this.userInfo = res.data
let starList = []
for(let i = 0; i < res.data.star; i ++){
starList.push(i)
}
this.startList = starList
this.showMy = true
})
},
onHide() {
this.showMoreService = false
},
created() {
//获取状态栏高度
uni.getSystemInfo({
success: (res) => {
this.statusBarHeight = res.statusBarHeight*2
}
})
},
methods:{
getData(){
if(this.otherTabIndex == 0){
this.$request('/article/userList',this.param).then((res)=>{
this.current_page = res.data.current_page
this.last_page = res.data.last_page
this.listType = 'myStory'
this.list = this.list.concat(res.data.data)
this.$store.commit('setArticleList',this.list)
this.showList = true
})
}else if(this.otherTabIndex == 1){
this.$request('/article/likeList',this.param).then((res)=>{
this.current_page = res.data.current_page
this.last_page = res.data.last_page
this.list = this.list.concat(res.data.data)
this.$store.commit('setArticleList',this.list)
this.showList = true
})
}else if(this.otherTabIndex == 2){
this.$request('/article/collectList',this.param).then((res)=>{
this.current_page = res.data.current_page
this.last_page = res.data.last_page
this.list = this.list.concat(res.data.data)
this.$store.commit('setArticleList',this.list)
this.showList = true
})
}
},
scrolltolower(){
if(this.current_page == this.last_page){
uni.showToast({
title:'无更多数据',
icon:'none'
})
return;
}else{
this.param.page++
this.getData()
}
},
chooseImage(){
uni.chooseImage({
success: (chooseImageRes) => {
const tempFilePaths = chooseImageRes.tempFilePaths;
uni.showLoading({
title:'上传中'
})
uni.uploadFile({
url: this.apiUrl + '/common/upload', //仅为示例,非真实的接口地址
filePath: tempFilePaths[0],
name: 'file',
header: {
'token': uni.getStorageSync('token')
},
formData: {
'user': 'test'
},
success: (uploadFileRes) => {
let fullurl = JSON.parse(uploadFileRes.data).data.fullurl
this.userInfo.bg_image = fullurl
this.$request('/user/profile',this.userInfo).then((res)=>{
if(res.code == 1){
this.getData()
uni.showToast({
title:'更换成功'
})
}else{
uni.showToast({
title:res.msg,
icon:'none'
})
}
uni.hideLoading()
})
}
});
}
});
},
//退出
logout(){
this.$request('/user/logout').then((res)=>{
if(res.code == 1){
/* =================================== 腾讯云即时通讯退出 开始 ==================================== */
if(this.isSDKReady){
let promise = this.tim.logout();
promise.then(res=> {
this.$store.commit('reset')
}).catch(err=> {
console.log('即时通讯退出失败',err)
});
}
/* =================================== 腾讯云即时通讯退出 开始 ==================================== */
this.$store.commit('logout')
uni.reLaunch({
url:'/pages/index/login'
})
}else{
uni.showToast({
title:res.msg,
icon:'none'
})
}
})
},
wapperLick(e){
if(e.check_status == '0'){
uni.showToast({
title:'正在审核中',
icon:'none'
})
return
}
if(e.check_status == '2'){
this.$href('/pages/findWonderful/publishPost?article_id='+e.id)
}
if(e.check_status == '1'){
if(e.type == '2'){
this.$href('../findWonderful/postVideo?id='+e.id)
}else{
this.$href('../findWonderful/postImg?id='+e.id)
}
}
},
changeOtherTab(otherTabIndex){
this.current_page = 1
this.last_page = 0
this.param.page = 1
this.otherTabIndex = otherTabIndex
this.showList = false
this.list = []
this.getData()
},
//成为地主点击同意
agree(){
/* if(!this.agreeStatus){
uni.showToast({
title:'请同意《地主用户协议》',
icon:'none'
})
return
} */
this.showBecomeLand = false
this.$href('becomeLand')
},
href(url){
this.$href(url)
},
//打开成为地主弹框
openLandAlert(){
if(this.userInfo.hometown_check_status == 0){
this.showBecomeLand = true
}else{
this.$href('checkWait')
}
}
}
}
</script>
<style lang="scss" scoped>
$border-radius: 10px;
.myWrap{
/* 导航栏区域 */
.navBarWrap{height: 88rpx;padding: 0 42rpx;display: flex;align-items: center;justify-content: space-between;
padding-top: var(--status-bar-height);
image{width: 40rpx;height: 40rpx;}
.navBarRight{
display: flex;
align-items: center;
.changeBg{
width: 112rpx;
height: 38rpx;
border: 1rpx solid #ffffff;
border-radius: 103rpx;
text-align: center;
line-height: 38rpx;
font-size: 20rpx;
margin-right: 27rpx;
color: #fff;
}
}
}
/* 其他信息区域 */
.otherInfoWrap{height: calc(100vh - 88rpx - 473rpx);border-radius: 60rpx 60rpx 0 0;background: #fff;}
.otherInfoWrap .otherTabList{height: 88rpx;padding: 0 69rpx;display: flex;position: relative;}
.otherTabList .otherTabItem{position: relative;width: 204rpx;text-align: center;line-height: 88rpx;color: #969799;font-size: 28rpx;font-weight: 600;}
.otherTabItem.active{color: #35655f;}
.otherTabItem .otherTabLine{position: absolute;width: 48rpx;height: 5rpx;background: #35655f;bottom: 18rpx;transition: 0.5s;left: 78rpx;}
.otherContent{height: calc(100vh - 88rpx - 473rpx - 88rpx);padding: 0 20rpx;
.demo-warter{
border-radius: 8px;
margin: 5px;
background-color: #ffffff;
position: relative;
.userInfo{
background: linear-gradient(135deg,rgba(0,0,0,0.00), rgba(0,0,0,0.60));
border-radius: 0 0 $border-radius $border-radius;
position:absolute;
bottom: 0;
width: 100%;
.userDesc{
font-size: 26rpx;
color: #fff;
padding: 0 24rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
height: 45rpx;
line-height: 45rpx;
}
.userIconLike{
display: flex;
justify-content: space-between;
font-size: 20rpx;
color: rgba(255,255,255,0.80);
padding: 0 24rpx;
.userIcon{
display: flex;
align-items: center;
image{width: 38rpx;height: 38rpx;margin-right: 10rpx;border-radius: 100%;}
}
.likeNum{
display: flex;
align-items: center;
image{width: 28rpx;height: 28rpx;margin-right: 5rpx;}
}
}
}
.statusTxt{
width: 100rpx;
height: 48rpx;
background: rgba(0,53,46,0.50);
text-align: center;
line-height: 48rpx;
font-size: 20rpx;
color:#fff;
position:absolute;
top: 0;
right: 0;
border-radius: 0 $border-radius 0 0;
}
}
}
/* 地主信息区域 */
.landItem{padding: 0 32rpx 0 32rpx;}
.landInfo{height: 160rpx;display: flex;align-items: center;}
.landInfo .userIcon{width: 140rpx;height: 160rpx;display: flex;justify-content: flex-end;align-items: flex-end;}
.landInfo .userInfo{flex: 1;height: 100rpx;padding-left: 30rpx;}
.userInfo .userStar{display: flex;padding-top: 15rpx;}
.userInfo .nameAddress{padding-top: 10rpx;display: flex;align-items: center;color: #fff;}
.userStar .starItem{width: 25rpx;height: 24rpx;margin-right: 9rpx;}
/* 服务信息 */
.serviceInfo{height: 232rpx;display: flex;padding-top: 26rpx;}
.serviceInfo .leftEmp{width: 100rpx;}
.serviceInfo .service{
flex: 1;padding-left: 10rpx;
.serviceDesc{margin-top: 20rpx;font-size: 26rpx;color: #fff;height: 75rpx;}
.followFansWrap{
margin-top: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 22rpx;
color: #fff;
.followLeft{
display: flex;
align-items: center;
.followItem{
.followTxt{
text-align: center;
}
}
}
.followRight{
display: flex;
.editInfo{
font-size: 26rpx;
width: 152rpx;
height: 52rpx;
border: 1rpx solid #ffffff;
border-radius: 103rpx;
text-align: center;
line-height: 52rpx;
margin: 10rpx 0 0 10rpx;
}
}
}
}
.serviceInfo .rightEmp{width: 50rpx;}
/* 更多服务弹框 */
.moreServiceAlert{
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.5);
display: flex;
.moreService{
width: 392rpx;
height: 100vh;
background: #fff;
.serviceList{
padding: 92rpx 32rpx 140rpx 32rpx;
height: calc(100vh - 92rpx - 140rpx);
.serviceItem{
display: flex;
justify-content: space-between;
align-items: center;
height: 120rpx;
font-size: 28rpx;
image{width: 32rpx;height: 32rpx;}
.serviceLeft{
display: flex;
align-items: center;
line-height: 32rpx;
image{width: 36rpx;height: 36rpx;margin-right: 10rpx;}
}
}
.loginOutBtn{
position: absolute;
bottom: 10rpx;
width: 328rpx;
height: 120rpx;
.serviceItem{
display: flex;
justify-content: space-between;
align-items: center;
height: 120rpx;
font-size: 28rpx;
image{width: 32rpx;height: 32rpx;}
.serviceLeft{
display: flex;
align-items: center;
line-height: 32rpx;
image{width: 36rpx;height: 36rpx;margin-right: 10rpx;}
}
}
}
}
}
.serviceBg{
width: calc(750rpx - 392rpx);
height: 100vh;
}
}
/* 成为地主弹框 */
.becomeLandAlert{
position: fixed;
z-index: 1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.5);
display: flex;
justify-content: center;
align-items: center;
.becomeLand{
width: 588rpx;
height: 756rpx;
background: #fff;
border-radius: 30rpx;
position: relative;
.becomeLandImg{
width: 588rpx;height: 656rpx;
image{width: 588rpx;height: 656rpx;border-radius: 30rpx 30rpx 0 0;}
}
/* .desc{
height: 70rpx;
font-size: 28rpx;
display: flex;
justify-content: center;
align-items: center;
text{color: #4a8b94;}
image{width: 28rpx;height: 28rpx;margin-right: 10rpx;}
}
.title{
height: 100rpx;
text-align: center;
line-height: 123rpx;
font-size: 36rpx;
font-weight: 600;
}
.contentScroll{
width: 622rpx;
padding: 0 32rpx;
height: 550rpx;
}
.agree{
display: flex;
align-items: center;
justify-content: center;
checkbox{transform: scale(0.7);}
line-height: 50rpx;
font-size: 28rpx;
height: 50rpx;
} */
.bottomBtnWrap{
height: calc(756rpx - 656rpx);
display: flex;
justify-content: center;
align-items: center;
.bottomBtn{
height: 78rpx;
width: 250rpx;
border-radius: 50rpx;
text-align: center;
line-height: 78rpx;
color: #fff;
font-size: 32rpx;
background: #35655f;
}
}
.closeBtn{
position: absolute;
width: 44rpx;
height: 44rpx;
right: 0;
top: -64rpx;
image{width: 44rpx;height: 44rpx;}
}
}
}
.view_box {
display: flex;
align-items: center;
justify-content: center;
}
.CanvasBox {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
display: flex;
justify-content: center;
align-items: center;
}
}
/* .myWrap.bgImg{
background-size: 100%;
background-position: center;
background-clip: border-box;
} */
</style>