Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
guodong
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
d4f236bf
authored
Sep 02, 2022
by
libai
Browse files
Options
Browse Files
Download
Plain Diff
测试
parents
c0fa93cd
0e8debc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
phone1.html
phone1.html
View file @
d4f236bf
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<
script
type=
"text/javascript"
charset=
"UTF-8"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script
>
<
!--<script type="text/javascript" charset="UTF-8" src="//res.cdn.openinstall.io/openinstall.js"></script>--
>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
...
...
@@ -52,25 +52,9 @@
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script>
// var data = OpenInstall.parseUrlParams();//openinstall.js中提供的工具函数,解析url中的所有查询参数
// new OpenInstall({
// appKey : "r06f9c",
// onready : function() {
// var m = this, button = document.getElementById("downloadButton");
// button.style.visibility = "visible";
// /*在app已安装的情况尝试拉起app*/
// m.schemeWakeup();
// $(".banner").addClass("banner2");
// /*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
// button.onclick = function() {
// m.wakeupOrInstall();
// return false;
// }
// }
// }, data);
$
(
".btn"
).
on
(
"click"
,
function
(){
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
){
...
...
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