确定气泡字体样式
This commit is contained in:
17
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
17
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
@@ -1655,8 +1655,15 @@ to { opacity: 1; transform: translateY(0);
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
/* 气泡内容字体:确保 v-html 渲染的 markdown 内容使用系统字体栈 */
|
||||
.chat-content {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans", "MiSans", "Source Han Sans CN", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 600 !important;
|
||||
line-height: 1.6;
|
||||
margin: 0.25rem 0;
|
||||
/* 普通正文 */
|
||||
/* 粗体和斜体样式 */
|
||||
/* 气泡内的内联链接(替代 <a> 标签,点击由 JS 拦截处理) */
|
||||
}
|
||||
.chat-content h1 {
|
||||
@@ -1684,10 +1691,20 @@ to { opacity: 1; transform: translateY(0);
|
||||
.chat-content p,
|
||||
.chat-content uni-text,
|
||||
.chat-content span {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans", "MiSans", "Source Han Sans CN", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif !important;
|
||||
font-size: 1.1875rem !important;
|
||||
font-weight: 400 !important;
|
||||
line-height: 1.6;
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
.chat-content strong,
|
||||
.chat-content b {
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
.chat-content em,
|
||||
.chat-content i {
|
||||
font-style: italic !important;
|
||||
}
|
||||
.chat-content .chat-inline-link {
|
||||
color: #3b86ff !important;
|
||||
text-decoration: underline;
|
||||
|
||||
Reference in New Issue
Block a user