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.
 
 
 

69 lines
1.1 KiB

<script>
export default {
// computed: {
// i18n() {
// return this.$t('index')
// },
// },
onLaunch: function () {
console.log('App Launch')
},
onShow: function () {
console.log('App Show')
},
onHide: function () {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
/* #ifdef H5 */
body {
max-width: 828rpx; //最大宽度自己可以调整
margin: auto !important;
}
/* #endif */
@import "uview-ui/index.scss";
page {
margin-top: 50rpx
}
button::after {
border: none;
}
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>