2023-09-18 07:35:21 +00:00
|
|
|
<script>
|
2023-09-19 03:07:21 +00:00
|
|
|
import tabBar from "./util/tabbar";
|
2023-09-19 02:50:09 +00:00
|
|
|
|
2023-09-19 03:05:39 +00:00
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
2023-09-21 04:01:11 +00:00
|
|
|
uni.setStorageSync("token",'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2eFFjQUttUW1ZUTFXV20zOXlCQUZ4byIsIk5pY2tOYW1lIjoiIiwiVGVsTnVtIjoiIiwiQXZhdGFyIjoiIiwiSUROdW0iOiIiLCJleHAiOjE2OTUzMDY2MTcsImlzcyI6Im1hbGwifQ.IWj4Qw2IlYO4PHnzoqrtEw_wjEylHkQNGrBIrCHHpZc')
|
2023-09-19 03:07:21 +00:00
|
|
|
uni.hideTabBar();
|
|
|
|
uni.setStorageSync("tabBar", tabBar);
|
2023-09-19 03:05:39 +00:00
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
console.log("App Show");
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
console.log("App Hide");
|
|
|
|
}
|
|
|
|
};
|
2023-09-18 07:35:21 +00:00
|
|
|
</script>
|
|
|
|
|
2023-09-19 03:05:39 +00:00
|
|
|
<style lang="scss">
|
2023-09-20 07:34:58 +00:00
|
|
|
/*每个页面公共css */
|
|
|
|
@import "./tm-vuetify/mian.min.css";
|
|
|
|
@import "./tm-vuetify/scss/theme.css";
|
2023-09-19 03:05:39 +00:00
|
|
|
@import "uview-ui/index.scss";
|
2023-09-19 11:20:43 +00:00
|
|
|
.u-tabbar__content {
|
2023-09-19 03:48:23 +00:00
|
|
|
height: 166rpx;
|
|
|
|
}
|
2023-09-19 11:20:43 +00:00
|
|
|
.u-border-top {
|
|
|
|
border: none !important;
|
|
|
|
}
|
2023-09-20 06:13:13 +00:00
|
|
|
|
2023-09-18 07:35:21 +00:00
|
|
|
</style>
|