feat: 添加实体选择列表分页功能
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260714092543259.png
Normal file
BIN
assets/image_20260714092543259.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user