|
@@ -39,9 +39,9 @@
|
|
|
<view class="nav-title u-font-32 bold line-44 u-text-center"
|
|
<view class="nav-title u-font-32 bold line-44 u-text-center"
|
|
|
:style="{
|
|
:style="{
|
|
|
paddingTop: `${navTitleStyle.paddingTop}rpx`,
|
|
paddingTop: `${navTitleStyle.paddingTop}rpx`,
|
|
|
- paddingBottom: `${navTitleStyle.paddingBottom}rpx`,
|
|
|
|
|
- lineHeight: `${navTitleStyle.lineHeight}rpx`,
|
|
|
|
|
- fontSize: `${navTitleStyle.fontSize}rpx`
|
|
|
|
|
|
|
+ lineHeight: '44rpx',
|
|
|
|
|
+ fontSize: `${navTitleStyle.fontSize}rpx`,
|
|
|
|
|
+ opacity: navTitleStyle.opacity
|
|
|
}">
|
|
}">
|
|
|
首页
|
|
首页
|
|
|
</view>
|
|
</view>
|
|
@@ -119,7 +119,8 @@ export default {
|
|
|
paddingTop: 0,
|
|
paddingTop: 0,
|
|
|
paddingBottom: 0,
|
|
paddingBottom: 0,
|
|
|
lineHeight: 0,
|
|
lineHeight: 0,
|
|
|
- fontSize: 0
|
|
|
|
|
|
|
+ fontSize: 0,
|
|
|
|
|
+ opacity: 0
|
|
|
},
|
|
},
|
|
|
activityListPT: 0,
|
|
activityListPT: 0,
|
|
|
bannerList: [],
|
|
bannerList: [],
|
|
@@ -232,9 +233,10 @@ export default {
|
|
|
paddingTop: this.navHeight,
|
|
paddingTop: this.navHeight,
|
|
|
paddingBottom: 30,
|
|
paddingBottom: 30,
|
|
|
lineHeight: 44,
|
|
lineHeight: 44,
|
|
|
- fontSize: 32
|
|
|
|
|
|
|
+ fontSize: 32,
|
|
|
|
|
+ opacity: 1
|
|
|
}
|
|
}
|
|
|
- this.activityListPT = this.navHeight + 82
|
|
|
|
|
|
|
+ this.activityListPT = this.navHeight + 100
|
|
|
},
|
|
},
|
|
|
unStickyFixed () {
|
|
unStickyFixed () {
|
|
|
this.isSticky = false
|
|
this.isSticky = false
|
|
@@ -243,7 +245,8 @@ export default {
|
|
|
paddingTop: 0,
|
|
paddingTop: 0,
|
|
|
paddingBottom: 0,
|
|
paddingBottom: 0,
|
|
|
lineHeight: 0,
|
|
lineHeight: 0,
|
|
|
- fontSize: 0
|
|
|
|
|
|
|
+ fontSize: 0,
|
|
|
|
|
+ opacity: 0
|
|
|
}
|
|
}
|
|
|
this.activityListPT = 0
|
|
this.activityListPT = 0
|
|
|
},
|
|
},
|
|
@@ -345,7 +348,7 @@ export default {
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
|
.nav-title {
|
|
.nav-title {
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- padding-bottom: 30px;
|
|
|
|
|
|
|
+ padding-bottom: 0;
|
|
|
transition: padding 1s;
|
|
transition: padding 1s;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|