style(views): 调整字体大小和布局样式

统一调整多个视图中的字体大小,优化表单标签布局和表格样式
This commit is contained in:
anghunk
2026-01-21 11:11:06 +08:00
parent 6626d3eee0
commit ec9c658e44
3 changed files with 22 additions and 16 deletions

View File

@@ -47,7 +47,12 @@
</div> </div>
<span class="cell-time">{{ formatDate(item.created) }}</span> <span class="cell-time">{{ formatDate(item.created) }}</span>
<div v-if="item.ipAddress" class="cell-author-ip"> <div v-if="item.ipAddress" class="cell-author-ip">
<span class="cell-ip-text" @click="handleBlockIp(item)" title="屏蔽该 IP">{{ item.ipAddress }}</span> <span
class="cell-ip-text"
@click="handleBlockIp(item)"
title="屏蔽该 IP"
>{{ item.ipAddress }}</span
>
</div> </div>
</div> </div>
</div> </div>
@@ -419,7 +424,7 @@ onMounted(() => {
border-bottom: none; border-bottom: none;
} }
.table-row:hover .table-cell{ .table-row:hover .table-cell {
background-color: #f8f9fa; background-color: #f8f9fa;
} }
@@ -430,6 +435,7 @@ onMounted(() => {
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden;
border-bottom: 1px solid #eaeae0; border-bottom: 1px solid #eaeae0;
} }
@@ -491,13 +497,13 @@ onMounted(() => {
} }
.cell-author-name { .cell-author-name {
font-size: 13px; font-size: 14px;
font-weight: 500; font-weight: 500;
margin-bottom: 2px; margin-bottom: 2px;
} }
.cell-author-email { .cell-author-email {
font-size: 11px; font-size: 12px;
color: #57606a; color: #57606a;
word-break: break-all; word-break: break-all;
margin-bottom: 2px; margin-bottom: 2px;
@@ -558,7 +564,7 @@ onMounted(() => {
.cell-status { .cell-status {
padding: 3px 8px; padding: 3px 8px;
border-radius: 999px; border-radius: 999px;
font-size: 11px; font-size: 12px;
font-weight: 500; font-weight: 500;
} }

View File

@@ -246,7 +246,7 @@ function handleLogoutFromActions() {
.menu-item { .menu-item {
padding: 10px 16px; padding: 10px 16px;
cursor: pointer; cursor: pointer;
font-size: 14px; font-size: 15px;
color: #24292f; color: #24292f;
} }

View File

@@ -40,10 +40,10 @@
</div> </div>
<h3 class="card-title">安全设置</h3> <h3 class="card-title">安全设置</h3>
<div class="form-item"> <div class="form-item">
<label class="form-label">管理员评论密钥</label> <label class="form-label">
<div class="form-hint" style="margin-bottom: 4px"> 管理员评论密钥设置后前台使用管理员邮箱评论需输入此密钥
设置后前台使用管理员邮箱评论需输入此密钥 </label>
</div>
<input <input
v-model="commentAdminKey" v-model="commentAdminKey"
class="form-input" class="form-input"
@@ -52,9 +52,9 @@
/> />
</div> </div>
<div class="form-item"> <div class="form-item">
<label class="form-label" <label class="form-label">
>允许调用的域名多个域名用逗号分隔留空则不限制设置后仅匹配域名可调用前台评论组件</label 允许调用的域名多个域名用逗号分隔留空则不限制设置后仅匹配域名可调用前台评论组件
> </label>
<textarea <textarea
v-model="allowedDomains" v-model="allowedDomains"
class="form-input" class="form-input"
@@ -63,9 +63,9 @@
></textarea> ></textarea>
</div> </div>
<div class="form-item"> <div class="form-item">
<label class="form-label" <label class="form-label">
>IP 黑名单多个 IP 用逗号或换行分隔留空则不限制</label IP 黑名单多个 IP 用逗号或换行分隔留空则不限制
> </label>
<textarea <textarea
v-model="blockedIps" v-model="blockedIps"
class="form-input" class="form-input"