完成所有切图

This commit is contained in:
梁泽军
2025-05-21 10:42:37 +08:00
parent 749a61f00b
commit e340bc89c6
48 changed files with 66 additions and 192 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 KiB

After

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -156,7 +156,7 @@ onMounted(() => {
<span class="code">{{ code }}</span>
<span class="copy-btn" @click="copyFn($event)"></span>
</div>
<div class="exchange-tips">兑换流程前往微信搜索平安理财服务号公众号发送五一快乐获取兑奖链接输入兑换码兑换奖品</div>
<div class="exchange-tips">兑换流程前往微信搜索平安理财服务号公众号发送端午安康获取兑奖链接输入兑换码兑换奖品</div>
<div class="exchnage-tips2">兑换码可在主页面我的奖品 再次查看并复制</div>
<div class="cls-btn" @click="hide($event)"></div>
</div>

View File

@@ -38,7 +38,6 @@ onMounted(() => {
gsap.from(".index-bg", { duration: 1, scale: 1.2, autoAlpha: 0 });
gsap.from(".index-title", { duration: 1, y: 20, autoAlpha: 0, delay: 1 });
gsap.from(".index-time", { duration: 1, x: 40, autoAlpha: 0, delay: 1 });
gsap.from(".index-text", { duration: 1, scale: 2, autoAlpha: 0, delay: 1 });
gsap.from(".index-logo", { duration: 1, y: 20, autoAlpha: 0, delay: 0.75 });
gsap.from(".index-rule-btn", { duration: 1, x: -100, autoAlpha: 0, delay: 1.3 });
gsap.from(".index-prize-btn", {
@@ -124,7 +123,7 @@ const showVC = () => {
.index-title {
// pointer-events: none;
@include pos(593px, 155px, 85px, 387px);
@include pos(593px, 156px, 85px, 387px);
@include bg_pos("index/title.png");
}

View File

@@ -2,27 +2,26 @@
import { debounceTap } from "@/plugins";
import gsap from "gsap";
import { Toast } from "vant";
import useClipboard from 'vue-clipboard3'
import useClipboard from "vue-clipboard3";
import { useMainStore } from "@/store";
import { onMounted } from "vue";
// 页面配置初始化
const emit = defineEmits(["MyPrizePage"]);
const userStore = useMainStore();
const { toClipboard } = useClipboard()
const { toClipboard } = useClipboard();
const money = ref(userStore.prizeMoney);
const code = ref(userStore.prizeCode);
const copyFn = (event) => {
let e = event.target;
toClipboard(code.value)
toClipboard(code.value);
debounceTap(e, () => {
Toast(`复制成功:${code.value}`);
});
};
const hide = (event) => {
let e = event.target;
debounceTap(e, () => {
@@ -57,8 +56,12 @@ onMounted(() => {
<div class="code">{{ code }}</div>
<div class="myPrize-copy-btn" @click="copyFn($event)"></div>
</div>
<div class="exchange-tips">兑换流程前往微信搜索平安理财服务号公众号发送五一快乐获取兑奖链接输入兑换码兑换奖品</div>
<div class="exchnage-tips2">兑换码可在主页面我的奖品 再次查看并复制</div>
<div class="exchange-tips">
兑换流程前往微信搜索平安理财服务号公众号发送端午安康获取兑奖链接输入兑换码兑换奖品
</div>
<div class="exchnage-tips2">
兑换码可在主页面我的奖品 再次查看并复制
</div>
<div class="myPrize-cls-btn" @click="hide($event)"></div>
</div>
</div>
@@ -93,7 +96,6 @@ onMounted(() => {
letter-spacing: 0;
// background-color: aqua;
@include flexCen();
}
.myPrize-money {
@@ -117,13 +119,11 @@ onMounted(() => {
font-weight: 700;
color: #fff6cc;
span {
// height: 77px;
line-height: 65px;
}
.code {
font-size: 25px;
font-weight: 700;
@@ -162,11 +162,10 @@ onMounted(() => {
// background-color: aqua;
}
.myPrize-cls-btn {
@include pos(82px, 82px, 517px, 114px);
@include bg_pos("prize/cls-btn.png");
}
}
}
</style>
</style>

View File

@@ -122,7 +122,7 @@ const getClass = (item) => {
<div class="question-serial">
<div>
<div class="serial-icon"></div>
<div class="serial-text">{{ currentId + 1 }}</div>
<div class="serial-text">{{ ['题目一','题目二','题目三','题目四'][currentId] }}</div>
</div>
<div class="serial-num">{{ currentId+1 }}/{{ questionList.length }}</div>
</div>
@@ -235,6 +235,7 @@ const getClass = (item) => {
color: transparent;
-webkit-text-stroke: 3px #ffffff; /* 控制描边粗细和颜色 */
text-stroke: 3px #ffffff;
opacity: 0.5;
}
}

View File

@@ -56,9 +56,9 @@ const showPoster = () => {
duration: 0.3,
autoAlpha: 1,
});
gsap.from(".cls-btn-box", {
gsap.from(".poster-title", {
duration: 0.7,
scale: 1.2,
scale: 0.3,
autoAlpha: 0,
});
gsap.from(".poster-box", {
@@ -216,6 +216,7 @@ const posterCreate = (option, imageArr) => {
<div class="posterPop" @touchmove.prevent>
<div class="poster-bg"></div>
<div class="poster-container">
<div class="poster-title"></div>
<div class="poster-box">
<div class="poster">
<img id="posterSrc" src="" alt="" srcset="" />
@@ -251,14 +252,12 @@ const posterCreate = (option, imageArr) => {
.poster-container {
@include pos(750px, 1624px, 0px, 0px);
// transform: translateY(-50%);
@include flexCen();
background-color: rgba($color: #000000, $alpha: 0.3);
.cls-btn-box {
width: 617px;
display: flex;
justify-content: flex-end;
.poster-title {
@include box(592px, 156px);
@include bg_pos("index/title.png");
}
.save-tips {

View File

@@ -33,13 +33,13 @@ onMounted(() => {
<div class="rule-text-area wrapper">
<div>
<div class="part">
<div>活动时间20254月274月30</div>
<div>活动时间20255月285月31</div>
<div>活动奖励微信红包</div>
</div>
<div class="part">
<div>活动攻略</div>
<div>
1打卡理想假期五一好礼等你活动共设计5道题目首页进入后左右滑动选择您想打卡的地点点击进行答题答对即可获取专属打卡海报并参与抽奖答错时将跳转回选择打卡地点的页面重新答
1龙舟争渡 稳健为先端午赛龙舟中的投资哲学活动共设计4道题目首页进入后点击进行答题全部答对即可获取专属赛龙舟海报并参与抽奖答错时刷新即可重新回答本
</div>
<div>2活动期间不限制参与答题次数每人每日有1次抽奖机会</div>
</div>
@@ -47,7 +47,7 @@ onMounted(() => {
<div>领奖说明</div>
<div>
1中奖后在中奖页面复制兑换码前往<span
class="blod">[平安理财服务号]</span>消息框输入五一快乐获取兑换链接进入链接输入兑换码兑换奖品如关闭了中奖界面可在首页-[我的奖品]
class="blod">[平安理财服务号]</span>消息框输入端午安康获取兑换链接进入链接输入兑换码兑换奖品如关闭了中奖界面可在首页-[我的奖品]
内查看兑换码
</div>
<div>2成功领奖后奖品将会在24小时内自动到账请耐心等候</div>
@@ -98,12 +98,12 @@ onMounted(() => {
.rule-container {
position: relative;
@include box(685px, 876px);
@include box(708px, 880px);
overflow: hidden;
.content {
.rule-content {
@include box(685px, 876px);
@include box(708px, 880px);
@include bg_pos("rule/rule-box.png");
position: relative;
overflow: hidden;
@@ -122,7 +122,7 @@ onMounted(() => {
margin-top: 30px;
text-align: justify;
padding: 0 10px;
font-family: 'FZZY_Regular';
font-family: 'HarmonyOS_Sans_SC_Regular';
}
.blod {
@@ -151,7 +151,7 @@ onMounted(() => {
}
.rule-icon {
@include pos(97px, 120px, 561px, 25px);
@include pos(121px, 104px, 501px, 25px);
@include bg_pos("rule/icon.png");
pointer-events: none;
}

View File

@@ -1,24 +1,48 @@
const load = [
"load/icon.png",
"index/bg.jpg",
"music-on.png",
"music-off.png",
"share.jpg",
"orientation-icon.png",
];
const page = [
"index/title.png",
"index/time.png",
"index/btn.png",
"index/logo.png",
"index/bg.jpg",
"prize/tips.png",
"prize/star.png",
"prize/draw-text.png",
"prize/light.png",
"prize/myPrize-box2.png",
"prize/no-prize.png",
"prize/light.png",
"prize/myPrize-box.png",
"prize/draw-text.png",
"prize/cls-btn.png",
"prize/copy-btn.png",
"prize/draw-box.png",
"qa/text-bg.png",
"qa/result-box.png",
"qa/incorrect.png",
"qa/paper.png",
"qa/incorrect-icon.png",
"qa/correct-icon.png",
"qa/correct.png",
"result/poster.jpg",
"result/card.png",
"result/cls-btn.png",
"result/go-draw-btn.png",
"result/go-share-btn.png",
"result/bg.jpg",
"rule/rule-box.png",
"rule/arrow.png",
"rule/cls-btn.png",
"rule/icon.png",
];
// 处理为vite引入图片格式

View File

@@ -85,8 +85,6 @@ const myPrizeFn = (item) => {
}
};
const posterId = ref(1);
const showDraw = ref(false);
const drawFn = (item) => {
if (item.action == "hide") {
@@ -94,7 +92,7 @@ const drawFn = (item) => {
}
};
const showResult = ref(true);
const showResult = ref(false);
const resultFn = (item) => {
if (item.action == "hide") {
showResult.value = false;
@@ -205,7 +203,7 @@ onMounted(() => {
});
}
} else {
// showLoad.value = true;
showLoad.value = true;
iosMusic(); //自动播放音乐
gsap.set(".music_icon", { autoAlpha: 1 });
}
@@ -271,7 +269,7 @@ const firstClick = () => {
#app {
overflow: hidden;
background: linear-gradient(135deg, #d6d1ca, #e5dccf);
// font-family: "FZZY_Regular";
font-family: "FZZY_Regular";
}
#__vconsole {
@@ -279,7 +277,7 @@ const firstClick = () => {
}
.music_icon {
@include pos(60px, 60px, 50px, 245px);
@include pos(60px, 60px, 20px, 175px);
@include bg_pos("music-on.png");
z-index: 99;
visibility: hidden;

View File

@@ -19,8 +19,8 @@ app.config.globalProperties.imgUrl = (url) => {
// 微信分享配置
wxShare({
title: '打卡理想假期 五一好礼等你',
desc: '穿越城市地标,解锁你的财富基因',
title: '龙舟争渡 稳健为先',
desc: '端午赛龙舟中的投资哲学',
})
// 测试环境开vconsole

View File

@@ -44,14 +44,10 @@ body {
/* -webkit-user-select: none;*/
}
@font-face {
font-family: "HarmonyOS_Sans_SC_Regular";
src: url(@/assets/font/HarmonyOS_Sans_SC_Regular.ttf) format("truetype");
}
@font-face {
font-family: "DouyinSansBold";
src: url(@/assets/font/DouyinSansBold.ttf) format("truetype");
}
/*--------------------
自定义样式
-------------------*/
@font-face {
font-family: "FZZY_Regular";
src: url(@/assets/font/FZZY_Regular.ttf) format("truetype");