Files
YGChatCS/src/App.vue
2025-10-13 21:07:50 +08:00

40 lines
596 B
Vue

<script setup>
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
onLaunch(async () => {
console.log("App Launch");
});
onShow(() => {
console.log("App Show");
});
onHide(() => {
console.log("App Hide");
});
</script>
<style lang="scss">
@import "@/static/fonts/iconfont.css";
@import "@/static/scss/index.scss";
/* 添加全局样式 */
page,
body,
#app {
font-family: PingFang SC, PingFang SC;
background-color: #e9f3f7;
height: 100vh;
width: 100vw;
}
/*每个页面公共css */
::-webkit-scrollbar {
display: none;
}
.mb12 {
margin-bottom: 12px;
}
</style>