zoukankan      html  css  js  c++  java
  • hubilder 打包app(链接打包)

    <!DOCTYPE html>
    <html>
        <head>
        <meta charset="utf-8">
        <title>****</title>
        <script type="text/javascript">
            var ws=null,embed=null;
            // 扩展API加载完毕,现在可以正常调用扩展API 
            function plusReady(){
                ws=plus.webview.currentWebview();
                ws.addEventListener('show',createEmbed,false);
            } 
            // 判断扩展API是否准备,否则监听"plusready"事件
            if(window.plus){
                plusReady();
            }else{
                document.addEventListener("plusready",plusReady,false);
            }
            // 创建子Webview
            function createEmbed(){
                plus.nativeUI.showWaiting('',{style:'black',modal:false,background:'rgba(0,0,0,0)'});
                embed=plus.webview.create('http://*********','embed',{
                    top:'0px',
                    bottom:'0px',
                    position:'dock',
                    dock:'bottom',
                    bounce:'none',
                    scrollIndicator:'none', 
                    scalable:false,
                    popGesture:'none',
                    cachemode: 'default',
                    videoFullscreen: 'auto',
                    softinputMode: 'adjustResize',
                    kernel: 'WKWebview'
                });
                ws.append(embed);
                embed.addEventListener('loaded',function(){
                    plus.nativeUI.closeWaiting();
                },false);
                embed.addEventListener('loading',function(){
                    plus.nativeUI.showWaiting('',{style:'black',modal:false,background:'rgba(0,0,0,0)'});
                },false);
            }
            createEmbed()
        </script>
        </head>
        <body>
        
        </body>
    </html>
  • 相关阅读:
    第13章 使用ADO.NET访问数据库
    第11章 连接查询和分组查询
    第10章 模糊查询和聚合函数
    第9章 数据查询基础
    数据库前三章测试题
    用表组织数据
    程序数据集散地:数据库
    深入C#的String类
    线程池
    hadoop-2.8.0 完全分布式运行模式
  • 原文地址:https://www.cnblogs.com/wrongcode/p/11175593.html
Copyright © 2011-2022 走看看