'更新'
This commit is contained in:
@@ -17,9 +17,10 @@ console.log('海报id', posterId.value);
|
||||
|
||||
const posterImgList = reactive([
|
||||
new URL(`../assets/images/result/poster-1.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-1.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-1.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-1.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-2.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-3.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-4.jpg`, import.meta.url).href,
|
||||
new URL(`../assets/images/result/poster-5.jpg`, import.meta.url).href,
|
||||
|
||||
])
|
||||
|
||||
@@ -53,7 +54,7 @@ const executeTasks = async () => {
|
||||
{ width: 750, height: 2106 },
|
||||
[
|
||||
{ name: "bg", src: posterImgList[posterId.value - 1], pos: { w: 750, h: 2106, x: 0, y: 0 } },
|
||||
{ name: "eqcode", src: eqcodePic.value, pos: { w: 178, h: 178, x: 532, y: 1887 } },
|
||||
{ name: "eqcode", src: eqcodePic.value, pos: { w: 178, h: 178, x: 532, y: 1892 } },
|
||||
]
|
||||
);
|
||||
} else {
|
||||
@@ -265,11 +266,11 @@ const posterCreate = (option, imageArr) => {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
.cls-btn {
|
||||
@include box(49px, 49px);
|
||||
@include bg_pos("question-list/cls-btn.png");
|
||||
margin-right: -20px;
|
||||
}
|
||||
// .cls-btn {
|
||||
// @include box(49px, 49px);
|
||||
// @include bg_pos("question-list/cls-btn.png");
|
||||
// margin-right: -20px;
|
||||
// }
|
||||
}
|
||||
|
||||
.save-tips {
|
||||
@@ -303,14 +304,23 @@ const posterCreate = (option, imageArr) => {
|
||||
|
||||
.poster-1 {
|
||||
@include bg_pos("result/card-1.png");
|
||||
|
||||
}
|
||||
|
||||
.poster-2 {
|
||||
@include bg_pos("result/card-1.png");
|
||||
@include bg_pos("result/card-2.png");
|
||||
}
|
||||
|
||||
.poster-3 {
|
||||
@include bg_pos("result/card-1.png");
|
||||
@include bg_pos("result/card-3.png");
|
||||
}
|
||||
|
||||
.poster-4 {
|
||||
@include bg_pos("result/card-4.png");
|
||||
}
|
||||
|
||||
.poster-5 {
|
||||
@include bg_pos("result/card-5.png");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user