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.

53 lines
890 B
Vue

<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
// #ifdef APP-PLUS
plus.navigator.setFullscreen(true); // 隐藏状态栏(全屏显示)
// #endif
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
@import '@/uni_modules/tuniaoui-vue3/index.css';
/*每个页面公共css */
.page-container {
// background: linear-gradient(to bottom, #000066, #0099ff);
height: 100vh;
width: 100vw;
}
* {
margin: 0;
padding: 0;
list-style-type: none;
box-sizing: border-box;
outline: none;
}
html {
font-size: 16px !important;
margin: 0;
padding: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f1f1f1;
margin: 0;
padding: 0;
}
a {
color: #343440;
text-decoration: none;
}
</style>