提交
This commit is contained in:
69
app/home/view/news/news_detail.html
Normal file
69
app/home/view/news/news_detail.html
Normal file
@@ -0,0 +1,69 @@
|
||||
{include file="public/head"}
|
||||
<style>
|
||||
.evus_tit {
|
||||
width: 100%;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
.evus_infor {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
border-bottom: 1px dashed #ddd;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.evus_con {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px dashed #ddd;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.evus_con img {
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.evus_con p,
|
||||
.evus_con span {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.evus_other {
|
||||
margin-top: 10px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.content {
|
||||
width: 100%;
|
||||
padding: 30px 0px 0px;
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<body style="background: #F8F8F8;display: flex; flex-direction: column; min-height: 100vh;">
|
||||
<div class="zh_content">
|
||||
{include file="public/newnav" }
|
||||
</div>
|
||||
|
||||
<div class="container" style="flex: 1;">
|
||||
<div class="modular-row callout bg-grey">
|
||||
<div class="container">
|
||||
<h1 class="evus_tit">{:cookie('think_var') == 'en-us' ? $info['en_title'] : $info['title']}</h1>
|
||||
<div class="evus_infor">
|
||||
{:lang('index.news_author')}:admin {:lang('index.news_time')}:{$info.create_time}
|
||||
</div>
|
||||
<div class="evus_con">
|
||||
<?= html_entity_decode(cookie('think_var') == 'en-us' ? $info['en_contents'] : $info['contents']) ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="public/newfooter" }
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user