```
### 修改弹窗的主题色或弹窗图标
diff --git a/plugins/APPUpdate/index.js b/plugins/APPUpdate/index.js
index 363b6c5..09b1f5f 100644
--- a/plugins/APPUpdate/index.js
+++ b/plugins/APPUpdate/index.js
@@ -303,7 +303,8 @@ function updatePopup(data, callback) {
},
];
const textHeight = 18;
- let contentTop = popupViewHeight / 2 + 8;
+ let contentTop = popupViewHeight / 2 + 16;
+
popupViewContentList.push({
tag: "font",
id: "content-title",
@@ -325,18 +326,18 @@ function updatePopup(data, callback) {
popupViewHeight += textHeight;
contentTop += textHeight;
}
- let content = item.content.replace("", "");
- content = content.replace("
", "");
-
popupViewContentList.push({
- tag: "richtext",
+ tag: "font",
id: "content" + index + 1,
- text: content,
+ text: item.content,
- richTextStyles: {
+ textStyles: {
+ size: "14px",
+ color: "#666",
+ lineSpacing: "50%",
align: "left",
- color: "#333",
},
+
position: {
top: contentTop + "px",
left: viewContentPadding + "px",