intelligentGroup/App.vue

36 lines
697 B
Vue
Raw Permalink Normal View History

2023-09-08 14:52:40 +08:00
<script>
export default {
onLaunch: function() {
2025-04-29 09:39:18 +08:00
// 监听凸起页面
uni.onTabBarMidButtonTap(() => {
uni.navigateTo({
url: "/pages/index/index"
})
})
2023-09-08 14:52:40 +08:00
this.$store.dispatch('getHomeContent', {
appid: uni.getStorageSync('appid')
})
2023-09-15 14:26:04 +08:00
this.$store.dispatch('getNavbarlist')
2023-09-08 14:52:40 +08:00
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
@import url("@/uni_modules/u-parse/u-parse.css");
/*每个页面公共css */
.content {
/* display: flex;
flex-direction: column;
align-items: center;
justify-content: center; */
padding: 10px;
min-height: calc(100vh - 20px);
}
</style>