Browse Source

页面细节调整

tags/6.0.0
tianya 2 months ago
parent
commit
a56f1cccb3
4 changed files with 29 additions and 49 deletions
  1. +10
    -1
      src/member/config.php
  2. BIN
      src/static/img/logo.gif
  3. +18
    -47
      src/templets/default/index.htm
  4. +1
    -1
      src/templets/default/widget_article_feedback.htm

+ 10
- 1
src/member/config.php View File

@@ -125,7 +125,16 @@ if($cfg_mb_open=='N')
{
if ( defined( 'AJAXLOGIN' ) )
{
die('');
if ($format === 'json') {
echo json_encode(array(
"code" => -1,
"msg" => "系统关闭了会员功能,因此你无法访问此页面",
"data" => null,
));
exit;
} else {
die('');
}
} else {
ShowMsg("系统关闭了会员功能,因此你无法访问此页面!","javascript:;");
exit();


BIN
src/static/img/logo.gif View File

Before After
Width: 220  |  Height: 60  |  Size: 4.7KB

+ 18
- 47
src/templets/default/index.htm View File

@@ -23,27 +23,9 @@
{dede:include filename="navbar.htm"/}
<main class="container mt-3">
<div class="row">
<div class="col-12 col-lg-9">
<div class="index-main">
<div class="col-12">
<div class="row">
<div class="col-12 col-lg-4 toutiao mb-3 mb-md-3">
<div class="card ddcard-normal">
<div class="card-header">
<div class="row">
<div class="col-8 caption"><span>推荐头条</span></div>
</div>
</div>
<ul class="list-group list-group-flush">
{dede:arclist flag='h' titlelen='100' typeid='80' row='7' orderby='pubdate'}
<li><i class="fa fa-bookmark-o" aria-hidden="true"></i> <a title="[field:fulltitle/]"
href="[field:arcurl/]">[field:title/]</a>
</li>
{/dede:arclist}
</ul>
</div>
</div>
<!-- /.toutiao -->
<div class="col-12 col-lg-8 litpics mb-3">
<div id="carouselIndex" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
@@ -72,37 +54,26 @@
</div>
</div>
<!-- /.litpics -->
</div>
</div>
<div class="col-12 col-lg-3 hot mb-3">
<div class="card ddcard-normal">
<div class="card-header">
<div class="row">
<div class="col-6 caption"><span>热文</span></div>
<!-- <div class="col-6 d-flex justify-content-end more"><a href="javascript:;">更多</a></div> -->
</div>
</div>
<ul class="list-group list-group-flush hot-news">
{dede:arclist flag='a' sort='hot' subday='45' titlelen=20 row=16}
<li class="media border-bottom-dashed mt-2 py-2">
<a href="[field:arcurl/]" title="[field:fulltitle/]"><img src="[field:litpic/]" class="mr-3"
alt="[field:fulltitle/]"></a>
<div class="media-body row">
<div class="col-12 title">
<a href="[field:arcurl/]" title="[field:fulltitle/]">
<h4 class="mt-0 mb-3">[field:title/]</h4>
<span class="time">[field:pubdate function="MyDate('m-d',@me)"/]</span>
</a>
<div class="col-12 col-lg-4 toutiao mb-3 mb-md-3">
<div class="card ddcard-normal">
<div class="card-header">
<div class="row">
<div class="col-8 caption"><span>推荐头条</span></div>
</div>
</div>
</li>
{/dede:arclist}
</ul>
<ul class="list-group list-group-flush">
{dede:arclist flag='h' titlelen='100' row='7' orderby='pubdate'}
<li><i class="fa fa-bookmark-o" aria-hidden="true"></i> <a title="[field:fulltitle/]"
href="[field:arcurl/]">[field:title/]</a>
</li>
{/dede:arclist}
</ul>
</div>
</div>
<!-- /.toutiao -->
</div>
</div>
<!-- /.hot -->
</div>
</div><!-- /.index-main -->
<div class="row">
<div class="col-12 col-lg-9 index-left">
<div class="spec row">


+ 1
- 1
src/templets/default/widget_article_feedback.htm View File

@@ -1,5 +1,5 @@
{dede:comment text="内容评论模块"/}
<div class="comment mt-3">
<div class="comment mt-3 mb-3">
<h4>发表评论</h4>
<div id="feedback-alert">
</div>


Loading…
Cancel
Save