This commit is contained in:
梁泽军 2025-05-22 15:06:47 +08:00
parent 913e82905b
commit 124e44bae2
9 changed files with 6991 additions and 387 deletions

View File

@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<title><%- title%></title>
</head>

3853
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@
},
"devDependencies": {
"@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",
"sass": "^1.68.0",
"sass-loader": "^13.3.2",

BIN
palc-newyear2024.zip Normal file

Binary file not shown.

Binary file not shown.

View File

@ -7,10 +7,9 @@ import { useMainStore } from "@/store";
import { subAnswer } from "@/api";
//
const emit = defineEmits([ "QuestionPage"]);
const emit = defineEmits(["QuestionPage"]);
const userStore = useMainStore();
//
// const currentId = ref(props.questionId); //id 0~4
const currentId = ref(0); //id 0~3
@ -76,11 +75,11 @@ const viewResult = (event) => {
setTimeout(() => {
Toast.clear();
gsap.to(".QuestionPage", {
gsap.to(".QuestionPage,.qp-result", {
duration: 0.5,
autoAlpha: 0,
onComplete: () => {
emit("showResult", { action: "showResult" });
emit("QuestionPage", { action: "showResult" });
},
});
}, 1000);
@ -92,7 +91,7 @@ const viewResult = (event) => {
duration: 0.5,
autoAlpha: 0,
onComplete: () => {
emit("QuestionPage", { action: 'showResult' });
emit("QuestionPage", { action: "showResult" });
},
});
}, 1000);
@ -122,9 +121,13 @@ const getClass = (item) => {
<div class="question-serial">
<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 class="serial-num">{{ currentId+1 }}/{{ questionList.length }}</div>
</div>
<div class="qa-question-box">
<div class="question">

View File

@ -269,7 +269,7 @@ const firstClick = () => {
#app {
overflow: hidden;
background: linear-gradient(135deg, #d6d1ca, #e5dccf);
font-family: "FZZY_Regular";
// font-family: "FZZY_Regular";
}
#__vconsole {
@ -277,7 +277,7 @@ const firstClick = () => {
}
.music_icon {
@include pos(60px, 60px, 20px, 175px);
@include pos(60px, 60px, 20px, 305px);
@include bg_pos("music-on.png");
z-index: 99;
visibility: hidden;

1038
yarn.lock

File diff suppressed because it is too large Load Diff

2461
字体生成.txt Normal file

File diff suppressed because it is too large Load Diff