feat: 添加实体选择列表分页功能

Coze-Commit-Type: user
Coze-User-ID: 3722323274763196
Coze-Conversation-ID: 9894087
This commit is contained in:
user9994793890
2026-07-14 09:28:47 +08:00
parent f1094d9800
commit e65fc5e18b
3 changed files with 26 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -826,3 +826,28 @@ opacity: 0.5;
.pagination span {
color: #666;
}
/* 分页按钮样式 */
.page-btn {
padding: 6px 12px;
border: 1px solid var(--border);
background: white;
cursor: pointer;
border-radius: 4px;
margin: 0 2px;
}
.page-btn:hover:not(:disabled) {
background: var(--muted);
}
.page-btn:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.page-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}

View File

@@ -153,6 +153,7 @@
<div id="entity-list" style="max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; padding: 10px;">
<div class="loading">加载中...</div>
</div>
<div id="entity-pagination" style="margin-top: 10px; text-align: center;"></div>
</div>
<div class="form-group">