剩下兑奖逻辑

This commit is contained in:
Andy Leong
2024-01-21 21:22:16 +08:00
parent 57b35eb7e4
commit 22a4a20c97
12 changed files with 114 additions and 86 deletions

View File

@@ -30,6 +30,8 @@ const posterBg = reactive([
new URL("@/assets/images/result/poster-bg-4.jpg", import.meta.url).href,
]);
// console.log("mbtiList", mbtiList.length);
const changBg = (event, number) => {
let e = event.target;
if (number == bgId.value) return;
@@ -51,7 +53,7 @@ onMounted(() => {
QRCode.toDataURL(eqCodeUrl)
.then((url) => {
eqcodePic.value = url;
console.log("eq", eqcodePic.value);
// console.log("eq", eqcodePic.value);
})
.catch((err) => {
console.error(err);
@@ -197,7 +199,7 @@ const goDraw = (event) => {
if (userStore.hasDraw) {
emit("ResultPage", { action: "showDraw" });
} else {
Toast("暂无抽奖机会");
Toast("今日暂无抽奖机会");
}
});
};
@@ -324,7 +326,7 @@ const hideShare = () => {
}
.mbti-title {
@include pos(480px, 120px, 90px, 418px);
@include pos(600px, 120px, 90px, 418px);
font-size: 80px;
font-family: "HYYaKuHei";
text-align: center;