mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 12:35:07 +08:00
uni-app引入使用uView
This commit is contained in:
25
yudao-ui-app/App.vue
Normal file
25
yudao-ui-app/App.vue
Normal file
@ -0,0 +1,25 @@
|
||||
<script>
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch')
|
||||
},
|
||||
onShow: function() {
|
||||
console.log('App Show')
|
||||
},
|
||||
onHide: function() {
|
||||
console.log('App Hide')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/* 引入uView基础样式 */
|
||||
@import "@/uni_modules/uview-ui/index.scss";
|
||||
|
||||
/*每个页面公共css */
|
||||
.container {
|
||||
background-color: $uni-bg-color;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user