Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
haishi
Commits
fd902b60
Commit
fd902b60
authored
Apr 23, 2020
by
刘海龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
444
parent
99eb1506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
+23
-1
themes/simplebootx/Appapi/Reg/index.html
+23
-1
No files found.
themes/simplebootx/Appapi/Reg/index.html
View file @
fd902b60
...
...
@@ -37,7 +37,7 @@
立即注册
</div>
<div
class=
"reg_bottom_btn
reg_bottom_wx
"
style=
"font-size: 18px;height: 50px; line-height: 50px;"
>
<div
class=
"reg_bottom_btn
"
onclick=
"downurl()
"
style=
"font-size: 18px;height: 50px; line-height: 50px;"
>
立即下载
</div>
...
...
@@ -48,6 +48,28 @@
<script
src=
"__PUBLIC__/appapi/js/reg.js"
></script>
<script>
var
agentid
=
'{$agentid}'
;
</script>
<script>
var
isiPad
=
/iPad/i
.
test
(
navigator
.
userAgent
);
var
isiPhone
=
/iPhone|iPod/i
.
test
(
navigator
.
userAgent
);
var
isAndroid
=
/Android/i
.
test
(
navigator
.
userAgent
);
var
isWeixin
=
/MicroMessenger/i
.
test
(
navigator
.
userAgent
);
var
isQQ
=
/QQ/i
.
test
(
navigator
.
userAgent
);
var
isIOS
=
(
isiPad
||
isiPhone
);
var
isWeibo
=
/Weibo/i
.
test
(
navigator
.
userAgent
);
var
isApp
=
(
isAndroid
||
isIOS
);
function
downurl
(){
var
href
=
''
;
if
(
isIOS
){
href
=
'{$config['
app_ios
']}'
;
}
else
{
href
=
'{$config['
app_android
']}'
;
}
location
.
href
=
href
;
return
!
1
;
}
</script>
</body>
</html>
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