f
This commit is contained in:
@@ -122,15 +122,19 @@ const posterImages = ref([]);
|
||||
|
||||
// QR码位置配置(为每个海报单独配置)
|
||||
const qrCodePositions = ref({
|
||||
// promote模式的配置 (tg_qrcode)
|
||||
promote: [
|
||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_1.png
|
||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_2.jpg
|
||||
{ x: 138, y: 954, size: 220 }, // tg_qrcode_3.jpg
|
||||
{ x: 180, y: 1440, size: 300 }, // tg_qrcode_1.png
|
||||
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_2.jpg
|
||||
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_3.jpg
|
||||
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_4.jpg
|
||||
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_5.jpg
|
||||
{ x: 525, y: 1955, size: 500 }, // tg_qrcode_6.jpg
|
||||
{ x: 255, y: 940, size: 250 }, // tg_qrcode_7.jpg
|
||||
{ x: 255, y: 940, size: 250 }, // tg_qrcode_8.jpg
|
||||
],
|
||||
// invitation模式的配置 (yq_qrcode)
|
||||
invitation: [
|
||||
{ x: 138, y: 954, size: 220 }, // yq_qrcode_1.png
|
||||
{ x: 360, y: -1370, size: 360 }, // yq_qrcode_1.png
|
||||
],
|
||||
});
|
||||
|
||||
@@ -148,7 +152,7 @@ const loadPosterImages = async () => {
|
||||
const basePrefix = mode.value === "promote" ? "tg_qrcode_" : "yq_qrcode_";
|
||||
|
||||
// 根据模式确定要加载的图片编号
|
||||
const imageNumbers = mode.value === "promote" ? [1, 2, 3] : [1];
|
||||
const imageNumbers = mode.value === "promote" ? [1, 2, 3, 4, 5, 6, 7, 8] : [1];
|
||||
|
||||
// 加载图片
|
||||
for (const i of imageNumbers) {
|
||||
|
||||
Reference in New Issue
Block a user