This commit is contained in:
2025-04-17 18:08:42 +08:00
parent 83a60df68d
commit db67a265d8
25 changed files with 4582 additions and 388 deletions

View File

@@ -102,7 +102,7 @@ const onShowResult = (item) => {
}
const showDraw = ref(false);
const showDraw = ref(true);
const drawFn = (item) => {
if (item.action == "hide") {
showDraw.value = false;
@@ -133,7 +133,6 @@ const ruleFn = (item) => {
onMounted(() => {
fontAdpat(); //字体适配
screenOrientation(); //横竖屏检测
iosMusic() //自动播放音乐
let code = getQueryString("code");
let url = import.meta.env.VITE_URL;
@@ -147,6 +146,8 @@ onMounted(() => {
userStore.updateToken(res.data);
// 开始加载组件
showLoad.value = true;
iosMusic() //自动播放音乐
gsap.set('.music_icon', { autoAlpha: 1 })
return;
} else {
authorize({ scopeType: 1, redirectUri: url }).then((res) => {
@@ -222,7 +223,8 @@ onMounted(() => {
}
} else {
showLoad.value = true;
// createBGM();
iosMusic() //自动播放音乐
gsap.set('.music_icon', { autoAlpha: 1 })
}
});
@@ -302,6 +304,7 @@ const firstClick = () => {
@include pos(60px, 60px, 50px, 245px);
@include bg_pos("music-on.png");
z-index: 99;
visibility: hidden;
}
.home {