This commit is contained in:
xiaoyu
2024-03-09 10:48:40 +08:00
parent 6a60ad9379
commit 6aeefb1bd8
+2 -2
View File
@@ -9,7 +9,7 @@
<div class="swiper-slide bg-size-cover" v-for="item in list" >
<div class="relative">
<img class="wp100 block" style="pointer-events:none;" :src="item.img" />
<div class="absolute left-0 right-0 bottom-0 mb30 text-center font-22 color-fff">{{posterTip}}</div>
<div class="absolute left-0 right-0 bottom-0 mb30 text-center font-24 color-fff">{{posterTip}}</div>
<img class="absolute right-0 bottom-0 mr40 mb80 imgsize-160X160" style="pointer-events:none;" :src="item.code" />
</div>
</div>
@@ -137,7 +137,7 @@
codeimg.onload = function () {
ctx.fillStyle=that.fillStyle;
ctx.textAlign="center";
ctx.font="26px Georgia";
ctx.font="24px Georgia";
ctx.fillText(that.posterTip,that.canW/2,that.canH-34,);
ctx.drawImage(codeimg,that.canW-200, that.canH-240, 160, 160)
setTimeout(function () {