This commit is contained in:
2025-09-17 21:52:42 +08:00
parent 6d29326dc4
commit c3907904ff
4 changed files with 2438 additions and 0 deletions

2415
bun.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,11 @@ export default {
}, },
onShow: function () { onShow: function () {
// #ifndef MP-WEIXIN // #ifndef MP-WEIXIN
const ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("micromessenger") !== -1) {
toPage('/pages/notSupported/index');
return;
}
const UserStore = useUserStore(); const UserStore = useUserStore();
if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) { if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) {
toPage('/pages/login/index'); toPage('/pages/login/index');

View File

@@ -190,6 +190,13 @@
"navigationBarTitleText": "投诉邀请人", "navigationBarTitleText": "投诉邀请人",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},
{
"path": "pages/notSupported/index",
"style": {
"navigationBarTitleText": "前往浏览器",
"navigationStyle": "custom"
}
} }
// #endif // #endif
], ],

View File

@@ -0,0 +1,11 @@
<script setup>
</script>
<template>
<image src="" mode="aspectFill" class="test !w-full !h-screen"></image>
</template>
<style scoped lang="scss">
</style>