'update'
This commit is contained in:
parent
913e82905b
commit
124e44bae2
@ -5,7 +5,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||||
<title><%- title%></title>
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||||
|
<title><%- title%></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
3853
package-lock.json
generated
Normal file
3853
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vant/auto-import-resolver": "^1.0.2",
|
"@vant/auto-import-resolver": "^1.0.2",
|
||||||
"@vitejs/plugin-vue": "^5.2.4",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"postcss-px-to-viewport-8-plugin": "^1.2.3",
|
"postcss-px-to-viewport-8-plugin": "^1.2.3",
|
||||||
"sass": "^1.68.0",
|
"sass": "^1.68.0",
|
||||||
"sass-loader": "^13.3.2",
|
"sass-loader": "^13.3.2",
|
||||||
|
|||||||
BIN
palc-newyear2024.zip
Normal file
BIN
palc-newyear2024.zip
Normal file
Binary file not shown.
Binary file not shown.
@ -7,10 +7,9 @@ import { useMainStore } from "@/store";
|
|||||||
import { subAnswer } from "@/api";
|
import { subAnswer } from "@/api";
|
||||||
|
|
||||||
// 页面配置初始化
|
// 页面配置初始化
|
||||||
const emit = defineEmits([ "QuestionPage"]);
|
const emit = defineEmits(["QuestionPage"]);
|
||||||
const userStore = useMainStore();
|
const userStore = useMainStore();
|
||||||
|
|
||||||
|
|
||||||
// 当前题目
|
// 当前题目
|
||||||
// const currentId = ref(props.questionId); //当前id 0~4
|
// const currentId = ref(props.questionId); //当前id 0~4
|
||||||
const currentId = ref(0); //当前id 0~3
|
const currentId = ref(0); //当前id 0~3
|
||||||
@ -76,11 +75,11 @@ const viewResult = (event) => {
|
|||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
Toast.clear();
|
Toast.clear();
|
||||||
gsap.to(".QuestionPage", {
|
gsap.to(".QuestionPage,.qp-result", {
|
||||||
duration: 0.5,
|
duration: 0.5,
|
||||||
autoAlpha: 0,
|
autoAlpha: 0,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
emit("showResult", { action: "showResult" });
|
emit("QuestionPage", { action: "showResult" });
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
@ -92,7 +91,7 @@ const viewResult = (event) => {
|
|||||||
duration: 0.5,
|
duration: 0.5,
|
||||||
autoAlpha: 0,
|
autoAlpha: 0,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
emit("QuestionPage", { action: 'showResult' });
|
emit("QuestionPage", { action: "showResult" });
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
@ -122,9 +121,13 @@ const getClass = (item) => {
|
|||||||
<div class="question-serial">
|
<div class="question-serial">
|
||||||
<div>
|
<div>
|
||||||
<div class="serial-icon"></div>
|
<div class="serial-icon"></div>
|
||||||
<div class="serial-text">{{ ['题目一','题目二','题目三','题目四'][currentId] }}</div>
|
<div class="serial-text">
|
||||||
|
{{ ["题目一", "题目二", "题目三", "题目四"][currentId] }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="serial-num">
|
||||||
|
{{ currentId + 1 }}/{{ questionList.length }}
|
||||||
</div>
|
</div>
|
||||||
<div class="serial-num">{{ currentId+1 }}/{{ questionList.length }}</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="qa-question-box">
|
<div class="qa-question-box">
|
||||||
<div class="question">
|
<div class="question">
|
||||||
|
|||||||
@ -269,7 +269,7 @@ const firstClick = () => {
|
|||||||
#app {
|
#app {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: linear-gradient(135deg, #d6d1ca, #e5dccf);
|
background: linear-gradient(135deg, #d6d1ca, #e5dccf);
|
||||||
font-family: "FZZY_Regular";
|
// font-family: "FZZY_Regular";
|
||||||
}
|
}
|
||||||
|
|
||||||
#__vconsole {
|
#__vconsole {
|
||||||
@ -277,7 +277,7 @@ const firstClick = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.music_icon {
|
.music_icon {
|
||||||
@include pos(60px, 60px, 20px, 175px);
|
@include pos(60px, 60px, 20px, 305px);
|
||||||
@include bg_pos("music-on.png");
|
@include bg_pos("music-on.png");
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user