You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.3 KiB
71 lines
1.3 KiB
<style lang="scss">
|
|
@import "uview-ui/index.scss";
|
|
</style>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
onLaunch: function(e) {
|
|
|
|
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
|
|
/* #ifdef H5 */
|
|
uni-page-head {
|
|
display: none;
|
|
}
|
|
.uni-btn-icon{
|
|
display: none;
|
|
}
|
|
/* #endif */
|
|
|
|
/* #ifdef APP-PLUS */
|
|
uni-page-head {
|
|
display: none ;
|
|
}
|
|
.uni-btn-icon{
|
|
display: none;
|
|
}
|
|
/* #endif */
|
|
|
|
|
|
|
|
|
|
uni-tabbar {
|
|
.uni-tabbar { // tab背景
|
|
padding-top:28rpx;
|
|
padding-bottom: 30rpx !important;
|
|
background-image: linear-gradient(to top, #FAF8F8, #FFFFFF)!important; // tab背景图片或者渐变色,背景色和背景图片最多选择一个进行设置
|
|
.uni-tabbar-border { // tabBar上边框
|
|
background-color: #F7F4F4!important; // tabBar上边框的颜色
|
|
}
|
|
.uni-tabbar__bd { // tabBar单项
|
|
.uni-tabbar__icon { // 图标
|
|
width: 48rpx!important;
|
|
height: 48rpx!important;
|
|
}
|
|
.uni-tabbar__label { // 文字
|
|
font-size: 20rpx!important;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|