You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB
Vue

1 year ago
<script>
1 year ago
import tabBar from "./util/tabbar";
1 year ago
1 year ago
export default {
onLaunch: function() {
1 year ago
// uni.setStorageSync("token",'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2NjlHMEtKcFlKNE1qWGhyNEh5cHhBUSIsIk5pY2tOYW1lIjoi5YiY5bCP5benIiwiVGVsTnVtIjoiMTUyNjI0ODE0OTgiLCJBdmF0YXIiOiJodHRwczovL2NkbnMuZm9udHJlZS5jbi9pbnZlbnRvcnkvZmlsZXMvaW1nL2MzNWQ1ODVhLTVjNTMtMTFlZS04OGRmLTAyNDJhYzEzMDAyNS5qcGciLCJJRE51bSI6IjMyMDMyNDE5OTAwNTA5NjY0WCIsImV4cCI6MTY5NTgxMTk4NCwiaXNzIjoibWFsbCJ9.QDDAiN5xFtL7BelKfgbnej_nO52T_UxQ7GFicHnQA2U')
1 year ago
uni.hideTabBar();
uni.setStorageSync("tabBar", tabBar);
1 year ago
},
onShow: function() {
console.log("App Show");
},
onHide: function() {
console.log("App Hide");
}
};
1 year ago
</script>
1 year ago
<style lang="scss">
1 year ago
/*每个页面公共css */
@import "./tm-vuetify/mian.min.css";
@import "./tm-vuetify/scss/theme.css";
1 year ago
@import "uview-ui/index.scss";
1 year ago
.u-upload__wrap{
display: flex;
justify-content: center;
align-items: center;
}
1 year ago
.u-tabbar__content{
height: 166rpx;
}
11 months ago
1 year ago
.u-upload__button{
width: 404rpx!important;
height: 306rpx!important;
}
1 year ago
.u-transition{
z-index: 999!important;
}
1 year ago
1 year ago
</style>