Commit a3d49ddd by agan

修改

parent 99ed9ce5
Showing with 23 additions and 2 deletions
......@@ -313,10 +313,31 @@ webAppComm.prototype.openExtra = function (infos) {
}
//修改网页标题
webAppComm.prototype.changeTitle = function (mData) {
webAppComm.prototype.changeTitle1 = function () {
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": mData
"data": {
"type": 1, //1 图片 2文本。
"imgUrl": 'https://app.ixiulive.com/static/app/img/title.png?v=20230425', //1
"style": {
//图片
"width": '161', //1
"height": '70', //1
}
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
}
//修改网页标题
webAppComm.prototype.changeTitle2 = function () {
var obj = {
"cid": 34, //修改网页title 居中显示。
"data": {
"type": 2, //1 图片 2文本。
"imgTxt": $("title").text(),//2
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
......
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