Commit 29352e59 by kaisa

feat:新增cid34高度自適應

parent 44fe45fc
Showing with 15 additions and 0 deletions
...@@ -587,6 +587,21 @@ webAppComm.prototype.changeTitle5 = function (imgUrl, param) { ...@@ -587,6 +587,21 @@ webAppComm.prototype.changeTitle5 = function (imgUrl, param) {
webAppCollaboration(obj2); webAppCollaboration(obj2);
} }
// 修改网页标题 使用圖片的高度自適應
webAppComm.prototype.changeTitle6 = function (imgUrl) {
let obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 1, //1 图片 2文本。
"imgUrl": imgUrl,
"style": {
}
}
}
let obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
//刷新网页 //刷新网页
webAppComm.prototype.refreshWeb = function (callback) { webAppComm.prototype.refreshWeb = function (callback) {
callback && callback(); callback && callback();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment