Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fsActive
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
837d0f40
authored
May 25, 2026
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更新设置游戏房 火箭升空
parent
677ba776
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
activeFt/luckySpace/index.html
activeFt/luckySpace/index.html
View file @
837d0f40
...
...
@@ -1004,6 +1004,28 @@
return
params
;
}
function
setWebViewRatio
()
{
try
{
var
obj
=
{
cid
:
43
,
reqCode
:
new
Date
().
getTime
(),
data
:
{
msg
:
"修改webview宽高"
,
type
:
2
,
width
:
100
,
height
:
110
,
position
:
1
,
unit
:
1
},
};
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
}
catch
(
e
)
{
//TODO handle the exception
}
}
function
appCollaboration
(
msg
)
{
var
sUserAgent
=
navigator
.
userAgent
.
toLowerCase
();
var
bIsIpad
=
sUserAgent
.
match
(
/ipad/i
)
==
"ipad"
;
...
...
@@ -1036,6 +1058,12 @@
layer
.
msg
(
'請稍後重試'
)
}
}
// 页面加载完后修改webview宽高比
window
.
onload
=
function
()
{
setWebViewRatio
();
};
</script>
</html>
\ No newline at end of file
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