1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <html>
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>微付乐WIFI配网</title>
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <link href="https://res.cdn.openinstall.io/apk_icon/s0ml6b/6076159137399086073-1597815057269.png" rel="apple-touch-icon-precomposed" />
- <!-- 以下为OpenInstall集成代码,建议在html文档中尽量靠前放置,加快初始化过程 -->
- <!-- 强烈建议直接引用下面的cdn加速链接,以得到最及时的更新,我们将持续跟踪各种主流浏览器的变化,提供最好的服务;不推荐将此js文件下载到自己的服务器-->
- <script type="text/javascript" charset="utf-8" src="https://web.cdn.openinstall.io/openinstall.js"></script>
- <script type="text/javascript">
- //OpenInstall初始化时将与OpenInstall服务器交互,应尽可能早的调用
- /*web页面向app传递的json数据(json string/js Object),应用被拉起或是首次安装时,通过相应的android/ios api可以获取此数据*/
- var data = OpenInstall.parseUrlParams();///openinstall.js中提供的工具函数,解析url中的所有查询参数
- new OpenInstall({
- /*appKey必选参数,平台为每个应用分配的ID*/
- appKey : "s0ml6b",
- /*可选参数,自定义android平台的apk下载文件名,只有apk在托管时才有效;个别andriod浏览器下载时,中文文件名显示乱码,请慎用中文文件名!*/
- //apkFileName : 'com.espressif.iot_esptouch_demo-vv1.1.1.apk',
- /*可选参数,是否优先考虑拉起app,以牺牲下载体验为代价*/
- //preferWakeup:true,
- /*自定义遮罩的html*/
- //mask:function(){
- // return "<div id='_shadow' style='position:fixed;left:0;top:0;background:rgba(0,255,0,0.5);filter:alpha(opacity=50);width:100%;height:100%;z-index:10000;'></div>"
- //},
- /*初始化完成的回调函数,可选*/
- onready : function() {
- /*在app已安装的情况尝试拉起app*/
- this.schemeWakeup();
- /*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
- var m = this, button = document.getElementById("downloadButton");
- button.style.visibility = "visible";
- button.onclick = function() {
- m.wakeupOrInstall();
- return false;
- }
- }
- }, data);
- </script>
- <link rel="stylesheet" href='https://res.cdn.openinstall.io/api_res/css/style.css' />
- <style type="text/css">
- *{
- -webkit-tap-highlight-color:rgba(0,0,0,0);
- }
- </style>
- </head>
- <body>
- <div class="content channel-page">
- <div class="page-index">
- <div style="padding-top: 20px;padding-left:10px">
- </div>
- <div class="udid-content channel-content">
- <img style="width: 72px; height: 72px" alt="" src="https://res.cdn.openinstall.io/apk_icon/s0ml6b/6076159137399086073-1597815057269.png" />
- <p style="font-size:1.6rem;margin:2px auto;">微付乐WIFI配网</p>
- </div>
- <div style="padding-top: 1em">
- <p style="text-align: center;font-size: 1em;padding-top: 0.5em;color: #282828"><img src='https://res.cdn.openinstall.io/api_res/images/android.png' alt="" style="vertical-align: middle;margin-right: 0.5em;width: 16px"/>序号:1 / 版本:v1.1.1</p>
- </div>
- <div class="channel-title">
- <p>微付乐WIFI模块配网</p>
- </div>
- <div class="content-block">
- <p style="text-align: center">
- <a id="downloadButton" href="javascript:;" style="visibility:hidden" class="button button-big udid-bt channel-bt">立即使用</a>
- </p>
- </div>
- </div>
- </div>
- </body>
- </html>
|