diff --git a/pages/Chat/Chat.css b/pages/Chat/Chat.css index 1f099f8..408ebaf 100644 --- a/pages/Chat/Chat.css +++ b/pages/Chat/Chat.css @@ -411,7 +411,7 @@ box-sizing: border-box; border-radius: 24rpx; overflow-x: auto; - font-size: 28rpx; + font-size: 32rpx; line-height: 1.65; position: relative; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04); diff --git a/pages/Chat/Chat.vue b/pages/Chat/Chat.vue index 5ef961d..c18802b 100644 --- a/pages/Chat/Chat.vue +++ b/pages/Chat/Chat.vue @@ -1258,9 +1258,18 @@ \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/pages/Chat/Chat.css b/unpackage/dist/dev/app-plus/pages/Chat/Chat.css index 2e7c852..27a0cae 100644 --- a/unpackage/dist/dev/app-plus/pages/Chat/Chat.css +++ b/unpackage/dist/dev/app-plus/pages/Chat/Chat.css @@ -1269,7 +1269,7 @@ to { opacity: 1; transform: translateY(0); box-sizing: border-box; border-radius: 0.75rem; overflow-x: auto; - font-size: 0.875rem; + font-size: 1rem; line-height: 1.65; position: relative; box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.04); @@ -1636,23 +1636,33 @@ to { opacity: 1; transform: translateY(0); /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ +.chat-content { + /* 普通正文 */ +} .chat-content h1 { - font-size: 1.125rem; + font-size: 1.3125rem; line-height: 1.4; margin: 0.5rem 0 0.3125rem; } .chat-content h2 { - font-size: 1rem; + font-size: 1.1875rem; line-height: 1.4; margin: 0.4375rem 0 0.25rem; } .chat-content h3 { - font-size: 0.9375rem; + font-size: 1.125rem; line-height: 1.4; margin: 0.375rem 0 0.25rem; } .chat-content h4, .chat-content h5, .chat-content h6 { - font-size: 0.875rem; + font-size: 1.0625rem; line-height: 1.5; margin: 0.3125rem 0 0.1875rem; +} +.chat-content p, +.chat-content uni-text, +.chat-content span { + font-size: 1.1875rem !important; + line-height: 1.6; + margin: 0.25rem 0; } \ No newline at end of file