feat: 主题颜色的调整,现在支持切换颜色

This commit is contained in:
2026-03-10 15:51:55 +08:00
parent 9cfde3f10a
commit df8a7f4de7
29 changed files with 106 additions and 267 deletions

View File

@@ -1,13 +1,7 @@
<template>
<view class="zero-markdown-view">
<mp-html
:key="mpkey"
:selectable="selectable"
:scroll-table="scrollTable"
:tag-style="tagStyle"
:markdown="true"
:content="contentAi"
>
<mp-html :key="mpkey" :selectable="selectable" :scroll-table="scrollTable" :tag-style="tagStyle" :markdown="true"
:content="contentAi">
</mp-html>
</view>
</template>
@@ -35,7 +29,7 @@ export default {
},
themeColor: {
type: String,
default: "#2D91FF",
default: "#181B25",
},
codeBgColor: {
type: String,
@@ -47,11 +41,11 @@ export default {
},
fontColor: {
type: String,
default: "#171717",
default: "#181B25",
},
fontSubColor: {
type: String,
default: "#4D4D4D",
default: "#717784",
},
aiMode: {
type: Boolean,