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.

75 lines
1.3 KiB

<script>
export default {
onLaunch: function() {
this.$nextTick(() => {
// uni.login({
// provider: 'weixin',
// success: (res) => {
// console.log(res.code);
// this.$u.api.login({
// code: res.code
// }).then(res => {
// this.$u.api.user().then(res=>{
// this.$u.vuex('vuex_user', res)
// })
// })
// }
// });
})
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "uview-ui/index.scss";
@import "@/GAL/css/gal.css";
.uni-tabbar-bottom{
display: block!important;
}
.uni-tabbar {
box-shadow: 0px 0px 20rpx rgba(0, 0, 0, 0.3);
.uni-tabbar-border{
display: none;
}
.uni-tabbar__item {
.uni-tabbar__bd {
height: 170rpx !important;
.uni-tabbar__icon {
width: 59rpx !important;
height: 69rpx !important;
}
.uni-tabbar__label {
font-size: 28rpx !important;
}
}
}
& .uni-tabbar__item:nth-of-type(2) {
.uni-tabbar__icon {
width: 73rpx !important;
height: 70rpx !important;
}
}
// & .uni-tabbar__item:first-child{
// .uni-tabbar__icon{
// width:73rpx;
// height:70rpx;
// }
// }
}
</style>