305 lines
7.9 KiB
HTML
305 lines
7.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>主题4</title>
|
||
<style>
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
html,
|
||
body {
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #2d8bff;
|
||
}
|
||
.scroll {
|
||
overflow-x: auto;
|
||
}
|
||
.videoList {
|
||
display: flex;
|
||
}
|
||
.videoItem {
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-right: 10px;
|
||
position: relative;
|
||
}
|
||
img {
|
||
width: 100px;
|
||
height: 100px;
|
||
border-radius: 4px;
|
||
}
|
||
.socialBox {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
background: #fff;
|
||
border-radius: 8px;
|
||
padding: 15px 0;
|
||
margin-bottom: 8px;
|
||
}
|
||
.socialItem {
|
||
width: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.socialItem:first-child {
|
||
border-right: 1px solid #eeeeee;
|
||
}
|
||
.header {
|
||
width: 100%;
|
||
height: 300px;
|
||
background: url("./img/bg3.png");
|
||
background-size: cover !important;
|
||
/* padding: 37px 50px 0 52px; */
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
.slogan {
|
||
background: url("./img/slogan.png");
|
||
background-size: cover;
|
||
width: 273px;
|
||
height: 80px;
|
||
margin: 37px 50px 0 52px;
|
||
}
|
||
.searchBox {
|
||
width: 350px;
|
||
height: 40px;
|
||
background: #ffffff;
|
||
box-shadow: 0px 4px 10px 0px rgba(72, 118, 255, 0.1);
|
||
border-radius: 20px 20px 20px 20px;
|
||
display: flex;
|
||
padding: 2px;
|
||
box-sizing: border-box;
|
||
margin: 40px 0 0 13px;
|
||
}
|
||
.searchInput {
|
||
border: 0;
|
||
width: 100%;
|
||
background: url("./img//icon_search.png") no-repeat;
|
||
background-position: 16px;
|
||
background-size: 16px 16px;
|
||
padding-left: 42px;
|
||
outline: none;
|
||
flex: 1;
|
||
}
|
||
.btn_search {
|
||
width: 72px;
|
||
height: 36px;
|
||
background: #4876ff;
|
||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||
font-weight: 400;
|
||
font-size: 16px;
|
||
color: #ffffff;
|
||
line-height: 25px;
|
||
text-align: center;
|
||
font-style: normal;
|
||
text-transform: none;
|
||
border: 0;
|
||
border-radius: 20px;
|
||
}
|
||
body {
|
||
background: #f5f5f6;
|
||
}
|
||
.body {
|
||
padding-left: 13px;
|
||
padding-right: 12px;
|
||
background: #ff972d;
|
||
}
|
||
.layer {
|
||
background: #fff;
|
||
padding: 13px 10px 23px 10px;
|
||
border-radius: 8px;
|
||
margin-bottom: 8px;
|
||
}
|
||
.layerTitle {
|
||
margin-bottom: 8px;
|
||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||
font-weight: 500;
|
||
font-size: 17px;
|
||
color: #333333;
|
||
line-height: 26px;
|
||
text-align: left;
|
||
font-style: normal;
|
||
text-transform: none;
|
||
}
|
||
.poster {
|
||
width: 160px;
|
||
height: 150px;
|
||
}
|
||
.icon_share {
|
||
width: 20px;
|
||
height: 20px;
|
||
display: inline-block;
|
||
background: url("./img/icon_share.png");
|
||
background-size: cover;
|
||
margin-right: 10px;
|
||
}
|
||
.icon_thumbs_up {
|
||
width: 20px;
|
||
height: 20px;
|
||
display: inline-block;
|
||
background: url("./img/icon_thumbsup.png");
|
||
background-size: cover;
|
||
margin-right: 10px;
|
||
}
|
||
.footer {
|
||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||
font-weight: 400;
|
||
font-size: 12px;
|
||
color: #fff;
|
||
line-height: 30px;
|
||
letter-spacing: 1px;
|
||
text-align: center;
|
||
font-style: normal;
|
||
text-transform: none;
|
||
padding-top: 10px;
|
||
}
|
||
.dz {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
background: rgba(51, 51, 51, 0.5);
|
||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||
font-weight: 400;
|
||
font-size: 10px;
|
||
color: #ffffff;
|
||
line-height: 15px;
|
||
text-align: justify;
|
||
font-style: normal;
|
||
text-transform: none;
|
||
border-radius: 8px 0 8px 0;
|
||
padding: 4px;
|
||
}
|
||
.videoItemTitle {
|
||
position: absolute;
|
||
bottom: 7px;
|
||
left: 10px;
|
||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||
font-weight: 500;
|
||
font-size: 14px;
|
||
color: #ffffff;
|
||
line-height: 21px;
|
||
text-align: justify;
|
||
font-style: normal;
|
||
text-transform: none;
|
||
}
|
||
.player {
|
||
width: 330px;
|
||
height: 160px;
|
||
border-radius: 8px 8px 8px 8px;
|
||
border: 2px solid #a38c81;
|
||
}
|
||
.body,
|
||
.footer {
|
||
position: relative;
|
||
top: -8px;
|
||
}
|
||
.videoList_theme2 {
|
||
flex-direction: column;
|
||
}
|
||
.videoItem_theme2 {
|
||
margin-bottom: 10px;
|
||
border-radius: 4px;
|
||
}
|
||
.poster_theme2 {
|
||
width: 330px;
|
||
height: 150px;
|
||
}
|
||
.shadow {
|
||
width: 375px;
|
||
height: 50px;
|
||
background: linear-gradient(
|
||
180deg,
|
||
rgba(255, 151, 45, 0) 0%,
|
||
#ff972d 100%
|
||
);
|
||
border-radius: 0px 0px 0px 0px;
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
}
|
||
</style>
|
||
<script src="./js/jquery.min.js"></script>
|
||
<script src="./js/msg.js"></script>
|
||
<script src="./js/api.js"></script>
|
||
<script>
|
||
$(function () {
|
||
let payload = getParameterByName("id");
|
||
console.log(payload);
|
||
getWebPage(payload);
|
||
// parameterValue = getParameterByName("id");
|
||
// console.log(parameterValue);
|
||
// getInfo(parameterValue);
|
||
});
|
||
|
||
function share() {}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<div class="header">
|
||
<div class="shadow"></div>
|
||
</div>
|
||
<div class="body">
|
||
<div class="socialBox">
|
||
<div class="socialItem" onclick="likeShare(2,1)">
|
||
<i class="icon_share"></i><span id="numShare"></span>
|
||
</div>
|
||
<div class="socialItem" onclick="likeShare(1,1)">
|
||
<i class="icon_thumbs_up"></i><span id="numLike"></span>
|
||
</div>
|
||
</div>
|
||
<div class="layer">
|
||
<video src="" class="player"></video>
|
||
</div>
|
||
|
||
<div class="layer">
|
||
<div class="layerTitle">区块列表</div>
|
||
<div class="videoList scroll">
|
||
<div class="videoItem">
|
||
<img src="" alt="" />
|
||
<div>文化中国韵</div>
|
||
</div>
|
||
<div class="videoItem">
|
||
<img src="" alt="" />
|
||
<div>自然美如画</div>
|
||
</div>
|
||
<div class="videoItem">
|
||
<img src="" alt="" />
|
||
<div>平面简洁风</div>
|
||
</div>
|
||
<div class="videoItem">
|
||
<img src="" alt="" />
|
||
<div>直击节前出行高峰</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layer">
|
||
<div class="layerTitle">直播列表</div>
|
||
<div class="videoList videoList_theme2">
|
||
<div class="videoItem videoItem_theme2">
|
||
<div class="dz">3.2万人点赞</div>
|
||
<img class="poster poster_theme2" src="" alt="" />
|
||
<div class="videoItemTitle">直击节前出行高峰</div>
|
||
</div>
|
||
<div class="videoItem videoItem_theme2">
|
||
<div class="dz">3.2万人点赞</div>
|
||
<img class="poster poster_theme2" src="" alt="" />
|
||
<div class="videoItemTitle">直击节前出行高峰</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="footer">
|
||
<div>数据来源:四川XX科技有限公司提供技术支持</div>
|
||
<div>由四川XX科技有限公司提供技术支持</div>
|
||
</div>
|
||
</body>
|
||
</html>
|