|
@@ -1,6 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<view class="content">
|
|
<view class="content">
|
|
- <view class="topSection" style="background: url('https://dm.static.elab-plus.com/yezhu/h5/backgroundImg.png') center/100% 100% no-repeat;">
|
|
|
|
|
|
+ <view class="topSection">
|
|
|
|
+ <image class="bg_top" src="https://dm.static.elab-plus.com/yezhu/h5/backgroundImg.png" mode=""></image>
|
|
<view class="liveContent">
|
|
<view class="liveContent">
|
|
<view class="backDiv"></view>
|
|
<view class="backDiv"></view>
|
|
<view class="title">分享好房 · 躺平赚钱</view>
|
|
<view class="title">分享好房 · 躺平赚钱</view>
|
|
@@ -16,26 +17,34 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="level_bottom">
|
|
<view class="level_bottom">
|
|
-
|
|
|
|
|
|
+ <levelView currentLevel='3500' nextLevel='5000' currentLevelTxt='lv5' nextLevelTxt='lv6'></levelView>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="content_body" :style="{background:color4}">
|
|
|
|
+
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+ import levelView from '@/components/leve-view/leve-view.vue';
|
|
|
|
+ let app = getApp();
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return{
|
|
return{
|
|
-
|
|
|
|
|
|
+ color4:'#F5F5F7'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
-
|
|
|
|
|
|
+ this.color4 = app.globalData.color4;
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
+ },
|
|
|
|
+ components:{
|
|
|
|
+ levelView
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -48,8 +57,21 @@
|
|
.content {
|
|
.content {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
- background-color: #F5F5F7;
|
|
|
|
- position: relative;
|
|
|
|
|
|
+ position: relative;
|
|
|
|
+
|
|
|
|
+ .topSection{
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 100;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bg_top{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 470rpx;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top:0;
|
|
|
|
+ left:0;
|
|
|
|
+ z-index: 100;
|
|
|
|
+ }
|
|
|
|
|
|
.liveContent {
|
|
.liveContent {
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -73,7 +95,6 @@
|
|
.title {
|
|
.title {
|
|
margin-top: 96rpx;
|
|
margin-top: 96rpx;
|
|
font-size: 44rpx;
|
|
font-size: 44rpx;
|
|
- font-family: Verdana, Verdana-Bold;
|
|
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
@@ -105,7 +126,8 @@
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
- align-items: center;
|
|
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-top: 5rpx;
|
|
|
|
|
|
.level_icon {
|
|
.level_icon {
|
|
width: 37rpx;
|
|
width: 37rpx;
|
|
@@ -161,5 +183,12 @@
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ .content_body{
|
|
|
|
+ border-radius: 20rpx 20rpx 0rpx 0rpx;
|
|
|
|
+ height: calc(100% - 470rpx);
|
|
|
|
+ margin-top: -24rpx;
|
|
|
|
+ z-index: 102;
|
|
|
|
+ position: relative;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|