store css 8.18

This commit is contained in:
2020-08-18 10:06:20 +08:00
parent a702558eac
commit cada935c17
8 changed files with 18 additions and 16 deletions

View File

@@ -220,7 +220,7 @@ export default {
},
setViewHeight() {
const res = uni.getSystemInfoSync();
this.scrollHeiht = res.windowHeight - (73 + 20 + 170) + 'px';
this.scrollHeiht = res.windowHeight - res.windowWidth / 750 * (350 + 140 + 20) + 'px';
this.paddingTop = res.windowWidth / 750 * (90 + 50) + 'px';
// console.log(this.paddingTop);
}
@@ -240,6 +240,7 @@ export default {
// min-height: 100vh;
background-color: #ECECEC;
padding-top: calc(350rpx - var(--window-top));
overflow: hidden;
.top {
position: fixed;
top: 0;
@@ -312,6 +313,7 @@ export default {
}
}
.follow {
height: 140rpx;
background-color: #ffffff;
width: 100%;
margin-bottom: 20rpx;
@@ -365,7 +367,8 @@ export default {
}
.main{
.video-image {
padding-bottom: 98rpx;
box-sizing: border-box;
padding-bottom: 100rpx;
}
.container-top {
> view {
@@ -381,9 +384,6 @@ export default {
margin-bottom: 10rpx;
}
}
// > view {
// margin-top: 20rpx;
// }
}
.tabbar {
border-top: 1rpx #DBDADA solid;