This commit is contained in:
icssoa
2025-08-20 17:05:34 +08:00
parent 1be694b124
commit 195c2f0316
9 changed files with 40 additions and 16 deletions

View File

@@ -41,7 +41,8 @@
v-if="label"
:pt="{
className: parseClass([
'cl-list-item__label w-24 whitespace-nowrap overflow-visible',
'cl-list-item__label whitespace-nowrap overflow-visible',
[justify == 'start', 'w-24'],
pt.label?.className
])
}"

View File

@@ -161,7 +161,6 @@ function refresh() {
// 获取容器高度和宽度
const boxHeight = (box as NodeInfo).height ?? 0;
const boxWidth = (box as NodeInfo).width ?? 0;
console.log(boxWidth);
// 查询文本节点尺寸
uni.createSelectorQuery()