代码拉取完成,页面将自动刷新
同步操作将从 框架组/weui 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>dodou-移动框架</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="stylesheet" href="css/weui.css">
<link rel="stylesheet" href="css/jquery-weui.css">
<link rel="stylesheet" href="css/style.css">
<style>
.popleft{
z-index: 100;
}
.popleft,.popleft .close-popleft,.popleft .content-popleft{
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 0;
width: 100%;
height: 100%;
z-index: 10;
-webkit-tap-highlight-color: transparent;
}
.popleft .close-popleft{
background-color: rgba(0, 0, 0, 1);
opacity: .7;
-webkit-transition: opacity .3s;
transition: opacity .3s;
}
.popleft .close-popleft span{
position: fixed;
right: 10%;
top: 50%;
-webkit-transform:translate(0,-50%);
width: 15px;
font-size: 14px;
line-height: 14px;
color: #B5B5B5;
}
.popleft .close-popleft i{
display: block;
width: 15px;
height: 15px;
margin: 10px 0 0;
background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
background-image:url(images/return.png);
}
.popleft .content-popleft{
position: fixed;
top: 0;
left: 0;
z-index: 20;
overflow: hidden;
width: 80%;
background:#fff;
-webkit-box-shadow: 6px 0 10px 0 rgba(0,0,0,.4);
box-shadow: 6px 0 10px 0 rgba(0,0,0,.4);
-webkit-transition: -webkit-transform .5s cubic-bezier(.165,.84,.44,1);
transition: transform .5s cubic-bezier(.165,.84,.44,1);
transform:translateX(-100%);
}
</style>
</head>
<body style="background:#f3f3f3;">
<a href="javascript:;" onclick="LeftOpen()" class="weui-btn weui-btn_primary open-popup">显示左侧导航</a>
<div class="popleft" style="display: none;">
<div class="close-popleft" onclick="LeftClose()"><span>点击此处返回<i></i></span></div>
<div class="content-popleft">
导航信息
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-weui.min.js"></script>
<script>
//开启
function LeftOpen(){
$('.popleft').css({
"display":"block"
});
setTimeout(function(){
$('.content-popleft').css({
"transform":"translateX(0)"
});
},100);
}
//关闭
function LeftClose(){
$('.content-popleft').css({
"transform":"translateX(-100%)"
});
setTimeout(function(){
$('.popleft').css({
"display":"none"
});
},600);
};
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。