update
This commit is contained in:
parent
17284027f4
commit
974011a28f
@ -123,7 +123,7 @@ const createPoster = (event) => {
|
|||||||
{
|
{
|
||||||
name: "product",
|
name: "product",
|
||||||
src: mbtiObj.value.productPic,
|
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"
|
<div class="product"
|
||||||
:class="mbtiObj.type == 'ISTJ' || mbtiObj.type == 'INTJ' ? 'adptFont' : ''"
|
:class="mbtiObj.type == 'ISTJ' || mbtiObj.type == 'INTJ' ? 'adptFont' : ''"
|
||||||
>{{ mbtiObj.product }}</div>
|
>{{ 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="" />
|
<img :src="mbtiObj.productPic" alt="" srcset="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -223,7 +223,7 @@ export const mbtiList = [
|
|||||||
blessings: ['多吃不胖积极向上', '有钱有颜喜乐连年'],
|
blessings: ['多吃不胖积极向上', '有钱有颜喜乐连年'],
|
||||||
product: '启航增强持有',
|
product: '启航增强持有',
|
||||||
productPic: new URL('../assets/images/result/product/ISTP.png', import.meta.url).href,
|
productPic: new URL('../assets/images/result/product/ISTP.png', import.meta.url).href,
|
||||||
picPos:{w:322,h:107}
|
picPos:{w:491,h:109}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'ESTP',
|
type: 'ESTP',
|
||||||
@ -292,7 +292,7 @@ export const mbtiList = [
|
|||||||
blessings: ['前路浩浩荡荡', '万事尽可期待'],
|
blessings: ['前路浩浩荡荡', '万事尽可期待'],
|
||||||
product: '启明日申季赎',
|
product: '启明日申季赎',
|
||||||
productPic: new URL('../assets/images/result/product/INFJ.png', import.meta.url).href,
|
productPic: new URL('../assets/images/result/product/INFJ.png', import.meta.url).href,
|
||||||
picPos:{w:321,h:105}
|
picPos:{w:537,h:99}
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -302,7 +302,7 @@ export const mbtiList = [
|
|||||||
blessings: ['山外青山楼外楼', '容光焕发没忧愁'],
|
blessings: ['山外青山楼外楼', '容光焕发没忧愁'],
|
||||||
product: '启元稳利30天',
|
product: '启元稳利30天',
|
||||||
productPic: new URL('../assets/images/result/product/INFP.png', import.meta.url).href,
|
productPic: new URL('../assets/images/result/product/INFP.png', import.meta.url).href,
|
||||||
picPos:{w:321,h:105}
|
picPos:{w:470,h:121}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'ENFP',
|
type: 'ENFP',
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export const useMainStore = defineStore("counter", {
|
|||||||
return {
|
return {
|
||||||
hasDraw: true, //是否有抽奖机会
|
hasDraw: true, //是否有抽奖机会
|
||||||
token: '',
|
token: '',
|
||||||
MBTI: 'ESFP', //测试结果
|
MBTI: 'ISTJ', //测试结果
|
||||||
hasPrize: false, //是否有奖品
|
hasPrize: false, //是否有奖品
|
||||||
prizeCode: 'oggSVMbeLgSK', //兑换码
|
prizeCode: 'oggSVMbeLgSK', //兑换码
|
||||||
prizeMoney: '8.88', //金额
|
prizeMoney: '8.88', //金额
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user