统一身份认证

This commit is contained in:
hua
2026-04-10 14:45:16 +08:00
commit 9a98f75027
13 changed files with 372 additions and 0 deletions

69
App.vue Normal file
View File

@@ -0,0 +1,69 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
window.addEventListener('beforeunload', ()=>{
uni.clearStorageSync();
});
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
}
}
</script>
<style>
/*每个页面公共css */
view {
box-sizing: border-box;
}
/* 默认字体大小 */
@media screen and (max-width: 1024px) {
html {
font-size: 0.6px !important;
}
}
@media screen and (min-width: 1024px) {
html {
font-size: 0.8px !important;
}
}
@media screen and (min-width: 1280px) {
html {
font-size: 1px !important;
}
}
@media screen and (min-width: 1536px) {
html {
font-size: 1.2px !important;
}
}
@media screen and (min-width:1980px) {
html {
font-size: 1.5px !important;
}
}
@media screen and (min-width:2304px) {
html {
font-size: 1.8px !important;
}
}
@media screen and (min-width:2560) {
html {
font-size: 2px !important;
}
}
</style>