refactor: 优化分类和系列页面的别名表单标签结构

This commit is contained in:
seahi committed 2026-08-08 09:07:23 +08:00
1 parent d41c9e0f49
commit b5fe0f8a3c
2 files changed
+10 -8

No files matched your search

+5 -4
View File
@@ -55,10 +55,11 @@
/> />
</div> </div>
<div class="form-group"> <div class="form-group">
<div <label
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;" for="slug"
style="display: flex; justify-content: space-between; align-items: center;"
> >
<label for="slug" style="margin: 0;">别名</label> <span>别名</span>
<button <button
type="button" type="button"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;" style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
@@ -67,7 +68,7 @@
> >
{isGenerating ? '正在生成...' : '重新生成'} {isGenerating ? '正在生成...' : '重新生成'}
</button> </button>
</div> </label>
<input <input
type="text" type="text"
id="slug" id="slug"
+5 -4
View File
@@ -49,10 +49,11 @@
required required
/> />
<div <label
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;" for="slug"
style="display: flex; justify-content: space-between; align-items: center;"
> >
<label for="slug" style="margin: 0;">URL 别名 *</label> <span>URL 别名 *</span>
<button <button
type="button" type="button"
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;" style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
@@ -61,7 +62,7 @@
> >
{isGenerating ? '正在生成...' : '重新生成'} {isGenerating ? '正在生成...' : '重新生成'}
</button> </button>
</div> </label>
<input <input
id="slug" id="slug"
name="slug" name="slug"