Compare commits

..

2 Commits

Author SHA1 Message Date
zh
1856bc85e3 Merge branch 'master' of http://xny.yj-3d.com:3000/zh/sdk4.0 into develop 2025-08-22 23:50:31 +08:00
zh
dff3739a0f 属性框线条样式 2025-08-22 23:50:22 +08:00
2 changed files with 4 additions and 1 deletions

View File

@ -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 + `

View File

@ -3627,6 +3627,7 @@
height: 100%;
display: flex;
flex-direction: column;
backdrop-filter: blur(2px);
}
.billboard-attribute-box .DIV-cy-tabs .DIV-cy-tab-top .DIV-cy-tab-pane-title {