jquery实现手机端弹出下拉选择及搜索效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery实现手机端弹出下拉选择及搜索效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<style>
@charset "utf-8";
.seach_name {
display: block;
font-size: 0.24rem;
color: #666;
border: 1px solid #e0e0e0;
padding: 0.2rem 0.2rem;
width: 88%;
margin: 0.2rem auto;
border-radius: 4px;
}
#mymodal {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
bottom: 1rem;
background-color: rgba(0, 0, 0, .6);
display: none;
z-index: 9999;
}
.modal-main {
position: fixed;
bottom: -900px;
left: 0;
height: 75%;
width: 100%;
background-color: #fff;
font-size: .22rem;
/* margin-bottom: 0.3rem;*/
}
.address-title {
font-size: 0.26rem;
text-align: center;
padding: 0.2rem 0;
color: #222;
border-bottom: 1px solid #EFEFEF;
display: flex;
}
.address-title .cancel {
color: #666;
}
.address-title .ensure {
color: #1e83d3;
}
.address-title .title {
font-weight: 700;
flex: 2;
}
.close {
position: absolute;
padding: 0.05rem 0.25rem;
right: 0rem;
top: 0rem;
color: #9a9da7;
font-size: 0.5rem;
}
.optionwrapper {
borde.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0