feat: 优化复制按钮样式和文案
改进:
- 列表页复制按钮改为绿色(btn-success)
- 按钮文案简化:'复制配置' → '📋 复制'
- 添加复制图标 emoji,更直观
- 新增 btn-success 样式(绿色 #28a745)
- 视觉层次更清晰:蓝色查看 + 绿色复制 + 红色删除
This commit is contained in:
+10
-1
@@ -169,6 +169,15 @@
|
||||
background: #5a6268;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background: #28a745;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-success:hover {
|
||||
background: #218838;
|
||||
}
|
||||
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 40px;
|
||||
@@ -636,7 +645,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<button class="btn btn-primary" onclick="viewData('${escapedTag}')">查看</button>
|
||||
<button class="btn btn-primary" onclick="copyConfig('${escapedTag}')">复制配置</button>
|
||||
<button class="btn btn-success" onclick="copyConfig('${escapedTag}')">📋 复制</button>
|
||||
<button class="btn btn-danger" onclick="confirmDelete('${escapedTag}')">删除</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user