初始化

This commit is contained in:
yziiy
2025-08-11 11:06:07 +08:00
parent 083bc37c00
commit 5607d11395
19772 changed files with 3108723 additions and 18 deletions

38
App.vue Normal file
View File

@@ -0,0 +1,38 @@
<script>
export default {
onLaunch: function() {
// console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
@import '@/static/public.css';
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
body {
background-color: transparent !important;
}
// 设置整个项目的背景色
page {
background-color: transparent !important;
font-family: Source Han Sans CN, Source Han Sans CN;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
</style>