属性框线条样式
This commit is contained in:
@ -224,6 +224,7 @@ class BillboardObject extends Base {
|
||||
this.attributeElm.style.top = (winpos.y + pixelOffset.y - (this.options.label.show ? (this.options.label.fontSize / 2) : -(this.options.label.fontSize / 2)) - this.attributeElm.offsetHeight - this.options.attributePos.y + height).toFixed(0) + 'px'
|
||||
this.attributeElm.style.width = this.options.attributePos.width + 'px'
|
||||
this.attributeElm.style.height = this.options.attributePos.height + 'px'
|
||||
lineElm.style.zIndex = '-1'
|
||||
if (this.options.attributePos.x < -this.options.attributePos.width / 2) {
|
||||
flag = true
|
||||
lineElm.style.left = 'unset'
|
||||
@ -2602,6 +2603,7 @@ class BillboardObject extends Base {
|
||||
}
|
||||
if (height !== undefined) {
|
||||
this.options.positions.alt = Number(Number(height).toFixed(2))
|
||||
this.#_billboardHeight = this.options.positions.alt
|
||||
this._elms.alt &&
|
||||
this._elms.alt.forEach(item => {
|
||||
item.value = this.options.positions.alt
|
||||
@ -2982,7 +2984,7 @@ class BillboardObject extends Base {
|
||||
`
|
||||
|
||||
if (!linkHtml && !goodsHtml && !richTextHtml) {
|
||||
boxHtml = boxHtml + '<p style="margin: 0;width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;">暂无属性信息</p><div class="billboard-attribute-box-line"></div>'
|
||||
boxHtml = boxHtml + '<p style="margin: 0;width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;backdrop-filter: blur(2px);">暂无属性信息</p><div class="billboard-attribute-box-line"></div>'
|
||||
}
|
||||
else {
|
||||
boxHtml = boxHtml + `
|
||||
|
Reference in New Issue
Block a user