diff --git a/src/App.vue b/src/App.vue
index 1d33528..a25cdae 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -6,11 +6,12 @@
-
+
-
+
+
-
切换至手机模式才可正常使用
+ 切换至手机模式获取最佳体验
1. 按 F12 调出控制台
2. 按 Ctrl+Shift+M,或点击下面图标
@@ -34,8 +35,7 @@ import { BASE_URL } from '@/config'
const store = useBaseStore()
const route = useRoute()
-// const isMobile = ref(/Mobi|Android|iPhone/i.test(navigator.userAgent))
-const isMobile = ref(true)
+const isMobile = ref(/Mobi|Android|iPhone/i.test(navigator.userAgent))
const transitionName = ref('go')
// watch $route 决定使用哪种过渡
@@ -93,6 +93,15 @@ onMounted(() => {
font-size: 14rem;
}
+@media screen and (min-width: 500px) {
+ #app {
+ width: 500px !important;
+ position: relative;
+ left: 50%;
+ transform: translateX(-50%);
+ }
+}
+
.guide {
color: white;
z-index: 999;
@@ -105,12 +114,21 @@ onMounted(() => {
overflow: hidden;
text-align: center;
- svg {
+ .danger {
margin-top: 10rem;
font-size: 40rem;
color: red;
}
+ .close {
+ cursor: pointer;
+ font-size: 18rem;
+ color: white;
+ position: absolute;
+ right: 15rem;
+ top: 15rem;
+ }
+
.txt {
text-align: left;
padding: 0 24rem;
diff --git a/src/components/Posters.vue b/src/components/Posters.vue
index 4b48045..ba8901d 100644
--- a/src/components/Posters.vue
+++ b/src/components/Posters.vue
@@ -87,11 +87,12 @@ function getMonth(time) {