绘制短信模块

This commit is contained in:
guanj
2025-05-30 16:00:31 +08:00
parent 6e99373c1c
commit 3451759e48
9 changed files with 159 additions and 9 deletions

View File

@@ -28,6 +28,7 @@
:key="key"
:height="rowHeight * item.h - (item.h == 6 ? -20 : item.h == 2 ? 20 : 5) + 'px'"
:width="rowWidth * item.w - 5 + 'px'"
:timeKey="item.timeKey"
/>
<div v-else class="pd10">组件加载失败...</div>
</div>

View File

@@ -311,7 +311,8 @@ function dragEnd(row: any) {
i: dragItem.i,
name: row.name,
path: row.path,
icon: row.icon
icon: row.icon,
timeKey: row.timeKey
})
gridLayout.value.dragEvent('dragend', dragItem.i, dragItem.x, dragItem.y, dragItem.h, dragItem.w)
const item = gridLayout.value.getItem(dropId)

View File

@@ -32,6 +32,7 @@
:key="key"
:height="rowHeight * item.h - (item.h == 6 ? -20 : item.h == 2 ? 20 : 5) + 'px'"
:width="rowWidth * item.w - 5 + 'px'"
:timeKey="item.timeKey"
/>
<div v-else class="pd10">组件加载失败...</div>
</div>