This commit is contained in:
小鱼开发
2024-08-23 13:55:06 +08:00
parent 549cd26742
commit 99823bec54
+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 mb5 text-center font-20"
<div class="absolute left-0 right-0 bottom-0 mb10 text-center font-20"
:style="'color:'+fillStyle">{{posterTip}}
</div>
<img class="absolute right-0 bottom-0 mr40 mb80 imgsize-160X160"
@@ -142,7 +142,7 @@
ctx.fillStyle = that.fillStyle;
ctx.textAlign = "center";
ctx.font = "20px Georgia";
ctx.fillText(that.posterTip, that.canW / 2, that.canH - 5,);
ctx.fillText(that.posterTip, that.canW / 2, that.canH - 10,);
ctx.drawImage(codeimg, that.canW - 200, that.canH - 240, 160, 160)
setTimeout(function () {
that.posterSrc = canvas.toDataURL("image/jpg")