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.
|
|
|
<style lang="scss">
|
|
|
|
@import url('uni.scss');
|
|
|
|
/*每个页面公共css */
|
|
|
|
.fixed{
|
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
width:100%;
|
|
|
|
height:100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
page{
|
|
|
|
min-height:100%;
|
|
|
|
height:100%;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
|
|
|
if(this.$store.getters.token){
|
|
|
|
|
|
|
|
}else{
|
|
|
|
this.$store.commit('outLogin')
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
console.log('App Show')
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
console.log('App Hide')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|