minxing-devtools-core
Version:
101 lines • 2.97 kB
HTML
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<title>window</title>
<link rel="stylesheet" type="text/css" href="../css/api.css"/>
<style>
* {
outline: 0;
}
/*header*/
header {
border-bottom: 1px solid #E5E5E5;
}
.header {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-webkit-box-align: center;
-webkit-align-items: center;
-webkit-justify-content: center;
background-color: #E5E5E5;
}
.header .icon{
display: block;
background-size: 20px;
background-repeat: no-repeat;
background-position: center;
padding: 25px;
}
.back{
background-image: url("../image/left.png");
}
.searchWrap {
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
font-size: 14px;
height: 40px;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
background-color: #ffffff;
}
.header div input {
display: block;
width: 86%;
height:30px;
padding-left: 5px;
line-height: 20px;
border-radius: 0;
}
.close {
bottom: 5px;
right:1px;
position: absolute;
background-image: url("../image/close.png");
height:30px;
width:30px;
background-size:25px;
background-repeat: no-repeat no-repeat;
background-position: right;
}
.btn{
margin:0 10px;
width: 50px;
height: 40px;
color: #ffffff;
text-align: center;
line-height: 40px;
background-color: #6ab494;
}
/*header*/
</style>
</head>
<body>
<header>
<div class="index header ">
<div class="icon back" tapmode="" onclick=""></div>
<div class="searchWrap" onclick="" tapmode="">
<input type="text" placeholder="APICloud重新定义移动应用开发"/>
<div class="close" tapmode="" onclick=""></div>
</div>
<div class="btn" tapmode="" onclick="">确定</div>
</div>
</header>
<script type="text/javascript" src="../script/api.js"></script>
<script>
apiready=function(){
var $header=$api.dom('.header');
$api.fixIos7Bar($header);
}
</script>
</body>
</html>