初始化2025元宵节活动
This commit is contained in:
@@ -33,13 +33,6 @@ 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;
|
||||
@@ -47,6 +40,7 @@ const loadFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showIndex = ref(false);
|
||||
const indexFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showIndex.value = false;
|
||||
@@ -63,6 +57,7 @@ const indexFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showQuestion = ref(false);
|
||||
const questionFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showQuestion.value = false;
|
||||
@@ -74,18 +69,21 @@ 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;
|
||||
@@ -95,6 +93,7 @@ const resultFn = (item) => {
|
||||
}
|
||||
};
|
||||
|
||||
const showRule = ref(false);
|
||||
const ruleFn = (item) => {
|
||||
if (item.action == "hide") {
|
||||
showRule.value = false;
|
||||
@@ -224,7 +223,7 @@ const playMusic = () => {
|
||||
<style lang="scss" >
|
||||
#app {
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, #90dcff, #51b7ff);
|
||||
background: linear-gradient(135deg, #a11b15, #f80c00);
|
||||
}
|
||||
|
||||
#__vconsole {
|
||||
|
||||
@@ -19,8 +19,8 @@ app.config.globalProperties.imgUrl = (url) => {
|
||||
|
||||
// 微信分享配置
|
||||
wxShare({
|
||||
title: '好“理”在手,邂逅清凉一夏',
|
||||
desc: '答题闯关 ,惊喜享不停',
|
||||
title: '欢乐猜灯谜,喜庆闹元宵',
|
||||
desc: '猜灯谜、赏花灯,金龙贺岁过“龘”年',
|
||||
})
|
||||
|
||||
// 测试环境开vconsole
|
||||
|
||||
Reference in New Issue
Block a user