This commit is contained in:
XGL-THINKPAD-X1\rucky
2024-01-24 16:40:48 +08:00
parent 17284027f4
commit 974011a28f
3 changed files with 12 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ const createPoster = (event) => {
{
name: "product",
src: mbtiObj.value.productPic,
pos: { w: mbtiObj.value.picPos.w, h: mbtiObj.value.picPos.h, x: 137, y: 921 },
pos: { w: mbtiObj.value.picPos.w, h: mbtiObj.value.picPos.h, x: 137, y: mbtiObj.value.type =='INFP'? 900 : 921 },
},
// 二维码
{
@@ -240,7 +240,13 @@ const hideShare = () => {
<div class="product"
:class="mbtiObj.type == 'ISTJ' || mbtiObj.type == 'INTJ' ? 'adptFont' : ''"
>{{ mbtiObj.product }}</div>
<div class="produc-img" :style="{width:mbtiObj.picPos.w+'px',height:mbtiObj.picPos.h+'px'}">
<div class="produc-img"
:style="{
width:mbtiObj.picPos.w+'px',
height:mbtiObj.picPos.h+'px',
marginTop: mbtiObj.type =='INFP' && '0px'
}"
>
<img :src="mbtiObj.productPic" alt="" srcset="" />
</div>
</div>