diff --git a/src/uni_modules/zero-markdown-view/components/zero-markdown-view/zero-markdown-view.vue b/src/uni_modules/zero-markdown-view/components/zero-markdown-view/zero-markdown-view.vue index 4dbb39e..d426e40 100644 --- a/src/uni_modules/zero-markdown-view/components/zero-markdown-view/zero-markdown-view.vue +++ b/src/uni_modules/zero-markdown-view/components/zero-markdown-view/zero-markdown-view.vue @@ -112,9 +112,9 @@ export default { `, // 一级标题 h1: ` - margin:8px 0; + margin:4px 0; font-size: 20px; - line-height: 1.6; + line-height: 1.85; text-align: center; font-weight: 900; color: ${themeColor}; @@ -126,7 +126,7 @@ export default { `, // 二级标题 h2: ` - margin:6px 0; + margin:4px 0; font-size: 18px; line-height: 1.85; text-align:center; @@ -138,7 +138,7 @@ export default { `, // 三级标题 h3: ` - margin:6px 0; + margin:4px 0; font-size: 16px; line-height: 1.85; color: ${themeColor}; @@ -151,6 +151,7 @@ export default { blockquote: ` margin:4px 0; font-size:15px; + line-height: 1.85; font-family: ${fontFamily}; font-weight:500; color: #777777; @@ -240,16 +241,16 @@ export default { `, // 一级标题 h1: ` - margin:8px 0; + margin:4px 0; font-size: 20px; - line-height: 1.6; + line-height: 1.85; color: ${themeColor}; font-family: ${fontFamily}; font-weight:900; `, // 二级标题 h2: ` - margin:6px 0; + margin:4px 0; font-size: 18px; line-height: 1.85; color: ${themeColor}; @@ -258,7 +259,7 @@ export default { `, // 三级标题 h3: ` - margin:6px 0; + margin:4px 0; font-size: 16px; line-height: 1.85; color: ${themeColor}; @@ -269,6 +270,7 @@ export default { h4: ` margin:4px 0; font-size: 15px; + line-height: 1.85; color: ${themeColor}; font-family: ${fontFamily}; font-weight:600; @@ -277,6 +279,7 @@ export default { h5: ` margin:4px 0; font-size: 14px; + line-height: 1.85; color: ${themeColor}; font-family: ${fontFamily}; font-weight:500; @@ -285,6 +288,7 @@ export default { h6: ` margin:4px 0; font-size: 12px; + line-height: 1.85; color: ${themeColor}; font-family: ${fontFamily}; font-weight:500; @@ -293,6 +297,7 @@ export default { blockquote: ` margin:4px 0; font-size:14px; + line-height: 1.85; color: #777777; border-left: 4px solid #dddddd; padding: 0 10px; @@ -320,6 +325,7 @@ export default { `, // 加粗 strong: ` + line-height: 1.85; font-weight: bold; color: ${themeColor}; font-family: ${fontFamily};