Keine Beschreibung

index_home.html 1.6KB

    <!doctype html> <html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <link href="../css/mui.min.css" rel="stylesheet" /> <link href="../css/app.css" rel="stylesheet" /> <link href="../css/iconfont.css" rel="stylesheet" /> </head> <body> <!-- 主页面标题 --> <header class="mui-bar mui-bar-nav toptitbox"> <div class="searchbox bgRadius" id="search"> <em class="mui-icon mui-icon-search searchtxt"><span>搜索专家、研发资源</span></em> <!--<input type="search" class="mui-input-clear searchtxt" placeholder="搜索专家、合作资源">--> </div> </header> <div class="mui-content"> </div> <script src="../js/public/mui.min.js"></script> <script src="../js/public/base.js"></script> <script> /*点击搜索按钮*/ mui.plusReady(function(){ search.addEventListener('tap', function() { var nwaiting = plus.nativeUI.showWaiting();//显示原生等待框 webviewShow = plus.webview.create("../html/search-home.html","../html/search-home.html");//后台创建webview并打开show.html webviewShow.addEventListener("loaded", function() { nwaiting.close(); //新webview的载入完毕后关闭等待框 webviewShow.show("slide-in-right",150); //把新webview窗体显示出来,显示动画效果为速度150毫秒的右侧移入动画 }, false); }); }) mui.init({ subpages:[{ url:'index_centen.html', id:'index_centen.html', styles:{ top: '45px', bottom: '0px', } }] }); </script> </body> </html>