166 lines
3.9 KiB
HTML
166 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<link rel="stylesheet" href="http://at.alicdn.com/t/font_2576965_p89wlanilpr.css">
|
|
<style>
|
|
body,
|
|
ul,
|
|
li,
|
|
a,
|
|
p,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.smallImg {
|
|
width: 100px;
|
|
}
|
|
|
|
.zhezhao {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: #000;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 998;
|
|
opacity: .5;
|
|
}
|
|
|
|
.preview {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 999;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.closed {
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 24px;
|
|
color: #fff;
|
|
background-color: #606266;
|
|
text-align: center;
|
|
line-height: 35px;
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.action .d {
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 44px;
|
|
height: 44px;
|
|
font-size: 24px;
|
|
color: #fff;
|
|
background-color: #606266;
|
|
border-color: #fff;
|
|
position: absolute;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.left {
|
|
left: 40px;
|
|
}
|
|
|
|
.right {
|
|
right: 40px;
|
|
}
|
|
|
|
.operation {
|
|
left: 50%;
|
|
bottom: 30px;
|
|
transform: translateX(-50%);
|
|
width: 282px;
|
|
height: 44px;
|
|
padding: 0 23px;
|
|
background-color: #606266;
|
|
border-color: #fff;
|
|
position: absolute;
|
|
border-radius: 22px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
.operation li {}
|
|
|
|
.operation li i {
|
|
font-size: 23px;
|
|
color: #fff;
|
|
}
|
|
|
|
.xz {
|
|
display: inline-block;
|
|
transform: rotateY(180deg);
|
|
}
|
|
|
|
.mainImg {
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="main">
|
|
<img class="smallImg" src="./img/11.png" alt="">
|
|
|
|
<div class="zhezhao"></div>
|
|
<div class="preview">
|
|
<div class="closed">x</div>
|
|
|
|
<div class="action">
|
|
<div class="left d"><</div>
|
|
<div class="right d">></div>
|
|
</div>
|
|
|
|
<img class="mainImg" style="transform: scale(1) rotate(0deg);margin-left: 0;margin-top: 0;" src="./img/11.png" alt="">
|
|
|
|
<ul class="operation">
|
|
<li>
|
|
<i class="iconfont icon-suoxiao suoxiao"></i>
|
|
</li>
|
|
<li>
|
|
<i class="iconfont icon-fangda fangda"></i>
|
|
</li>
|
|
<li>
|
|
<i class="iconfont icon-fullscreen fullscreen"></i>
|
|
</li>
|
|
<li class="xz">
|
|
<i class="iconfont icon-shuaxin leftshuaxin"></i>
|
|
</li>
|
|
<li>
|
|
<i class="iconfont icon-shuaxin rightshuaxin"></i>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script src="./index.js"></script>
|
|
|
|
</html> |