feat: 优化了聊天的效果

This commit is contained in:
zoujing
2025-09-04 10:39:47 +08:00
parent 515ae4e78c
commit 46a3b6a878
3 changed files with 15 additions and 14 deletions

View File

@@ -94,15 +94,15 @@ export default {
const fontFamily = this.fontFamily
let zeroStyle = {
p: `
margin:6px 0;
margin:4px 0;
font-size: 15px;
line-height:1.65;
font-family: ${fontFamily};
`,
// 一级标题
h1: `
margin:6px 0;
font-size: 24px;
margin:4px 0;
font-size: 20px;
text-align: center;
font-weight: bold;
color: ${themeColor};
@@ -115,8 +115,8 @@ export default {
`,
// 二级标题
h2: `
margin:6px 0;
font-size: 20px;
margin:4px 0;
font-size: 18px;
text-align:center;
color:${themeColor};
font-family: ${fontFamily};
@@ -126,8 +126,8 @@ export default {
`,
// 三级标题
h3: `
margin:6px 0;
font-size: 18px;
margin:4px 0;
font-size: 16px;
color: ${themeColor};
font-family: ${fontFamily};
padding-left:10px;
@@ -135,7 +135,7 @@ export default {
`,
// 引用
blockquote: `
margin:6px 0;
margin:4px 0;
font-size:15px;
font-family: ${fontFamily};
color: #777777;
@@ -144,7 +144,7 @@ export default {
`,
// 列表
ul: `
margin: 6px 0;
margin: 4px 0;
color: #555;
`,
li: `
@@ -208,7 +208,7 @@ export default {
const fontFamily = this.fontFamily
let zeroStyle = {
p: `
margin:6px 0;
margin:4px 0;
font-size: 15px;
line-height:1.55;
font-family: ${fontFamily};