chore: 初始化项目 — uni-app + Vue3 + TypeScript 脚手架

This commit is contained in:
jacobxu666
2026-06-14 17:16:18 +08:00
commit 046e84a564
37 changed files with 13763 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app"
onLaunch(() => {
const logs = uni.getStorageSync('logs') || []
logs.unshift(Date.now())
uni.setStorageSync('logs', logs)
})
onShow(() => {
})
onHide(() => {
})
</script>
<style>
page {
min-height: 100vh;
background-color: #f5f5f5;
}
.container {
padding: 30rpx;
box-sizing: border-box;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
</style>