创建uniapp基础形态

This commit is contained in:
2026-07-15 17:39:10 +08:00
parent 743c5cb4eb
commit 11e0763766
22 changed files with 5311 additions and 43 deletions
+19 -6
View File
@@ -1,18 +1,31 @@
<script>
export default {
onLaunch: function() {
onLaunch() {
console.log('App Launch')
},
onShow: function() {
onShow() {
console.log('App Show')
},
onHide: function() {
onHide() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
@import './src/uni.scss';
<style lang="scss">
@import 'uview-plus/index.scss';
@import './src/styles/theme.scss';
@import './src/styles/fontawesome.scss';
page {
height: 100%;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background-color: #f8fafc;
color: #1e293b;
box-sizing: border-box;
}
view, text {
box-sizing: border-box;
}
</style>