refactor: 优化分类和系列页面的别名表单标签结构
This commit is contained in:
1 parent
d41c9e0f49
commit
b5fe0f8a3c
2 files changed
+10
-8
No files matched your search
@@ -55,10 +55,11 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div
|
||||
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;"
|
||||
<label
|
||||
for="slug"
|
||||
style="display: flex; justify-content: space-between; align-items: center;"
|
||||
>
|
||||
<label for="slug" style="margin: 0;">别名</label>
|
||||
<span>别名</span>
|
||||
<button
|
||||
type="button"
|
||||
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
|
||||
@@ -67,7 +68,7 @@
|
||||
>
|
||||
{isGenerating ? '正在生成...' : '重新生成'}
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="slug"
|
||||
|
||||
@@ -49,10 +49,11 @@
|
||||
required
|
||||
/>
|
||||
|
||||
<div
|
||||
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;"
|
||||
<label
|
||||
for="slug"
|
||||
style="display: flex; justify-content: space-between; align-items: center;"
|
||||
>
|
||||
<label for="slug" style="margin: 0;">URL 别名 *</label>
|
||||
<span>URL 别名 *</span>
|
||||
<button
|
||||
type="button"
|
||||
style="background: none; border: none; padding: 0; color: #666; font-size: 0.8rem; cursor: pointer; outline: none;"
|
||||
@@ -61,7 +62,7 @@
|
||||
>
|
||||
{isGenerating ? '正在生成...' : '重新生成'}
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
<input
|
||||
id="slug"
|
||||
name="slug"
|
||||
|
||||
Reference in new issue
Block a user