切图完成
This commit is contained in:
@@ -33,6 +33,15 @@ import { useMainStore } from "@/store";
|
||||
const userStore = useMainStore();
|
||||
|
||||
const showLoad = ref(false);
|
||||
const showIndex = ref(false);
|
||||
const showQuestion = ref(false);
|
||||
const showMyPrize = ref(false);
|
||||
const showDraw = ref(false);
|
||||
const showRule = ref(false);
|
||||
const showResult = ref(false);
|
||||
|
||||
|
||||
|
||||
const loadFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showLoad.value = false;
|
||||
@@ -40,7 +49,6 @@ const loadFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showIndex = ref(false);
|
||||
const indexFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showIndex.value = false;
|
||||
@@ -57,7 +65,6 @@ const indexFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showQuestion = ref(false);
|
||||
const questionFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showQuestion.value = false;
|
||||
@@ -69,21 +76,18 @@ const questionFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showMyPrize = ref(false);
|
||||
const myPrizeFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showMyPrize.value = false;
|
||||
}
|
||||
};
|
||||
|
||||
const showDraw = ref(false);
|
||||
const drawFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showDraw.value = false;
|
||||
}
|
||||
};
|
||||
|
||||
const showResult = ref(false);
|
||||
const resultFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showResult.value = false;
|
||||
@@ -93,7 +97,6 @@ const resultFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showRule = ref(false);
|
||||
const ruleFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showRule.value = false;
|
||||
@@ -223,7 +226,7 @@ const playMusic = () => {
|
||||
<style lang="scss" >
|
||||
#app {
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, #a11b15, #f80c00);
|
||||
background: linear-gradient(135deg, #90dcff, #51b7ff);
|
||||
}
|
||||
|
||||
#__vconsole {
|
||||
|
||||
@@ -19,8 +19,8 @@ app.config.globalProperties.imgUrl = (url) => {
|
||||
|
||||
// 微信分享配置
|
||||
wxShare({
|
||||
title: '欢乐猜灯谜,喜庆闹元宵',
|
||||
desc: '猜灯谜、赏花灯,金龙贺岁过“龘”年',
|
||||
title: '好理在手 邂逅清凉一夏',
|
||||
desc: '答题闯关 “理”享不停',
|
||||
})
|
||||
|
||||
// 测试环境开vconsole
|
||||
|
||||
Reference in New Issue
Block a user