feat: 主题颜色的调整,现在支持切换颜色
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user