github.com/jincm/wesharechain@v0.0.0-20210122032815-1537409ce26a/app/html/win_login.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> 6 <title></title> 7 <link rel="stylesheet" type="text/css" href="../css/api.css"/> 8 <link rel="stylesheet" type="text/css" href="../css/common.css"/> 9 <style> 10 body { 11 display: -webkit-box; 12 -webkit-box-orient: vertical; 13 } 14 .content{ 15 -webkit-box-flex:1; 16 } 17 .detail-header{ 18 border-bottom: 1px solid #CDCDCD; 19 background-color: #DD3237; 20 } 21 .back{ 22 background-size: 40px!important; 23 background-image: url("../image/weather_back@2x.png"); 24 background-position: right!important; 25 } 26 27 .detail-header .btn{ 28 padding:25px; 29 } 30 .title{ 31 color: #FFFFFF; 32 text-align: center; 33 line-height:50px; 34 font-size: 18px; 35 } 36 </style> 37 </head> 38 <body> 39 <header> 40 <div class="header detail-header"> 41 <div class="back btn" tapmode="" onclick="closeWin()"></div> 42 <div class="title" id="title">登录</div> 43 <div class="btn"></div> 44 </div> 45 </header> 46 <script src="../script/zepto.min.js"></script> 47 <script type="text/javascript" src="../script/api.js"></script> 48 <script> 49 apiready = function () { 50 $api.fixIos7Bar($(".header")); 51 api.openFrame({ 52 name:"frm_login", 53 url:'frm_login.html', 54 rect:{ 55 x:0, 56 y:$(".header").height(), 57 w:"auto", 58 h:'auto' 59 } 60 }) 61 }; 62 function closeWin() { 63 api.closeWin() 64 } 65 </script> 66 </body> 67 </html>