77 lines
2.0 KiB
HTML
77 lines
2.0 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>详情</title>
|
|
<script src="./js/jquery.min.js"></script>
|
|
<script src="./js/api.js"></script>
|
|
<script src="./js/moment.js"></script>
|
|
<script src="./js/swiper-3.4.2.min.js"></script>
|
|
<script>
|
|
var newsId;
|
|
$(function () {
|
|
newsId = getUrlParam("id");
|
|
getNewsInfo(newsId);
|
|
});
|
|
function getUrlParam(name) {
|
|
var searchParams = new URLSearchParams(window.location.search);
|
|
return searchParams.get(name);
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
padding: 24px 15px 50px 15px;
|
|
}
|
|
.title {
|
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
color: #333333;
|
|
line-height: 30px;
|
|
letter-spacing: 1px;
|
|
text-align: justify;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
.info {
|
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
color: #999999;
|
|
line-height: 25px;
|
|
text-align: right;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.author {
|
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
color: #4876ff;
|
|
line-height: 25px;
|
|
text-align: justify;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
}
|
|
.content{
|
|
margin-top: 28px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<div class="title"></div>
|
|
<div class="info">
|
|
<div class="author">发布人</div>
|
|
<div class="date"></div>
|
|
</div>
|
|
</div>
|
|
<div class="content"></div>
|
|
</body>
|
|
</html>
|