still 牌位版面調整
This commit is contained in:
@@ -914,6 +914,24 @@
|
||||
$(`.tablet-element[id="${this.activeId}"]`).css({
|
||||
position: "absolute", left: el.x + "mm", top: el.y + "mm", fontSize: el.style.fontSize + 'pt', fontFamily: el.style.fontFamily, "z-index": 9999, visibility: el.style.visibility
|
||||
}).html(html);
|
||||
} else if (this.activeId==="righttitle") {
|
||||
$(`.tablet-element[id="${this.activeId}"]`).css({
|
||||
position: "absolute", left: el.x + "mm", top: el.y + "mm", fontSize: el.style.fontSize + 'pt',
|
||||
fontFamily: el.style.fontFamily, "z-index": 9999, visibility: el.style.visibility,
|
||||
width:el.width,height:el.height
|
||||
}).text(el.text);
|
||||
} else if (this.activeId === "lefttitle") {
|
||||
$(`.tablet-element[id="${this.activeId}"]`).css({
|
||||
position: "absolute", left: el.x + "mm", top: el.y + "mm", fontSize: el.style.fontSize + 'pt',
|
||||
fontFamily: el.style.fontFamily, "z-index": 9999, visibility: el.style.visibility,
|
||||
width: el.width, height: el.height
|
||||
}).text(el.text);
|
||||
} else if (this.activeId === "address") {
|
||||
$(`.tablet-element[id="${this.activeId}"]`).css({
|
||||
position: "absolute", left: el.x + "mm", top: el.y + "mm", fontSize: el.style.fontSize + 'pt',
|
||||
fontFamily: el.style.fontFamily, "z-index": 9999, visibility: el.style.visibility,
|
||||
width: el.width, height: el.height
|
||||
}).text(el.text);
|
||||
} else {
|
||||
$(`.tablet-element[id="${this.activeId}"]`).css({
|
||||
position: "absolute", left: el.x + "mm", top: el.y + "mm", fontSize: el.style.fontSize + 'pt', fontFamily: el.style.fontFamily, "z-index": 9999, visibility: el.style.visibility
|
||||
|
||||
Reference in New Issue
Block a user