Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
809fe664
authored
Apr 24, 2023
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2bda856f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
app/img/title.png
js/webAppComm.js
app/img/title.png
0 → 100644
View file @
809fe664
4.28 KB
js/webAppComm.js
View file @
809fe664
...
...
@@ -213,6 +213,28 @@ webAppComm.prototype.openExtra = function (infos) {
appCollaboration
(
obj2
);
}
//修改网页标题
webAppComm
.
prototype
.
changeTitle
=
function
()
{
var
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
"data"
:
{
"type"
:
1
,
//1 图片 2文本。
"imgUrl"
:
'https://app.ixiulive.com/static/app/img/title.png'
,
//1
"imgTxt"
:
''
,
//2
"style"
:
{
//图片
"width"
:
'161'
,
//1
"height"
:
'33'
,
//1
//文本
"color"
:
''
,
//2
"font-size"
:
''
,
//2
}
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
}
//刷新网页
webAppComm
.
prototype
.
refreshWeb
=
function
(
callback
)
{
callback
&&
callback
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment