mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
修改安卓中版本升级不存在描述的问题
This commit is contained in:
@@ -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("<p>", "<font>");
|
||||
content = content.replace("</p>", "</font>");
|
||||
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user