mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-19 00:45:54 +08:00
修改安卓中版本升级不存在描述的问题
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
</u-collapse-item>
|
</u-collapse-item>
|
||||||
|
|
||||||
</u-collapse>
|
</u-collapse>
|
||||||
<u-empty style="margin-top:100rpx;" v-else text="暂无版本信息" mode="list"></u-empty>
|
<u-empty class="empty" v-else text="暂无版本信息" mode="list"></u-empty>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -54,4 +54,5 @@ export default {
|
|||||||
padding: 10rpx;
|
padding: 10rpx;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -303,7 +303,8 @@ function updatePopup(data, callback) {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
const textHeight = 18;
|
const textHeight = 18;
|
||||||
let contentTop = popupViewHeight / 2 + 8;
|
let contentTop = popupViewHeight / 2 + 16;
|
||||||
|
|
||||||
popupViewContentList.push({
|
popupViewContentList.push({
|
||||||
tag: "font",
|
tag: "font",
|
||||||
id: "content-title",
|
id: "content-title",
|
||||||
@@ -325,18 +326,18 @@ function updatePopup(data, callback) {
|
|||||||
popupViewHeight += textHeight;
|
popupViewHeight += textHeight;
|
||||||
contentTop += textHeight;
|
contentTop += textHeight;
|
||||||
}
|
}
|
||||||
let content = item.content.replace("<p>", "<font>");
|
|
||||||
content = content.replace("</p>", "</font>");
|
|
||||||
|
|
||||||
popupViewContentList.push({
|
popupViewContentList.push({
|
||||||
tag: "richtext",
|
tag: "font",
|
||||||
id: "content" + index + 1,
|
id: "content" + index + 1,
|
||||||
text: content,
|
text: item.content,
|
||||||
|
|
||||||
richTextStyles: {
|
textStyles: {
|
||||||
|
size: "14px",
|
||||||
|
color: "#666",
|
||||||
|
lineSpacing: "50%",
|
||||||
align: "left",
|
align: "left",
|
||||||
color: "#333",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
position: {
|
position: {
|
||||||
top: contentTop + "px",
|
top: contentTop + "px",
|
||||||
left: viewContentPadding + "px",
|
left: viewContentPadding + "px",
|
||||||
|
|||||||
Reference in New Issue
Block a user