mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +08:00
完成资讯主题
This commit is contained in:
19
view/index/common/_articles_left.html
Normal file
19
view/index/common/_articles_left.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="layui-col-md2">
|
||||
<div class="logo">
|
||||
<a href="{:url('Index/index')}">
|
||||
<img src="{:get_source_link(get_system_config('site_logo'))}" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav-left-container">
|
||||
<div class="nav-left-list">
|
||||
<a href="{:url('Index/index')}" {eq name='$Request.param.category_id|default=0' value='0'} class="current" {/eq}>全部</a>
|
||||
{volist name='list_header_nav' id='nav'}
|
||||
<a href="{$nav.value}" >{$nav.title}</a>
|
||||
{/volist}
|
||||
{volist name='list_category_first_level' id='category'}
|
||||
<a href="{:url('Index/index',['category_id'=>$category.id])}" {eq name='$Request.param.category_id|default=0' value='$category.id'} class="current"{/eq} >{$category.title}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
3
view/index/common/_articles_require.html
Normal file
3
view/index/common/_articles_require.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{include file='common/_require'/}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/index.articles.css">
|
||||
52
view/index/common/_articles_right.html
Normal file
52
view/index/common/_articles_right.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<div class="layui-col-md3">
|
||||
<div class="session">
|
||||
<form action="{:url('Index/index')}" class="layui-form">
|
||||
<div class="search-container">
|
||||
{volist name='$Request.param' id='request'}
|
||||
{neq name='$key' value='keywords'}
|
||||
<input type="hidden" name="{$key}" value="{$request}">
|
||||
{/neq}
|
||||
{/volist}
|
||||
<input type="text" name="keywords" value="{$Request.param.keywords}" placeholder="搜索文章" class="layui-input">
|
||||
<button class="layui-btn">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="session border">
|
||||
<div class="header">
|
||||
更多
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="nav-more-list">
|
||||
{volist name='list_nav_more' id='nav'}
|
||||
|
||||
<a href="{$nav.value}" target="{$nav.target}">{$nav.title}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="session border">
|
||||
<div class="header">
|
||||
友情链接
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="nav-more-list">
|
||||
{volist name='list_nav_friend_url' id='nav'}
|
||||
|
||||
<a href="{$nav.value}" target="{$nav.target}">{$nav.title}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="session">
|
||||
<div class="info">
|
||||
|
||||
<p>{:get_system_config('site_copyright')}</p>
|
||||
|
||||
<p>举报邮箱:{:get_system_config('stie_contact_email')}</p>
|
||||
|
||||
<p> <a href="http://www.beian.miit.gov.cn/">{:get_system_config('site_beian')}</a> </p>
|
||||
<p> <a href="{:get_system_config('site_safe_beian_url')}"><img src="/static/images/ghs.png" alt="" style="margin-right: 10px;">{:get_system_config('site_safe_beian')}</a> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
21
view/index/common/tpl_articles.html
Normal file
21
view/index/common/tpl_articles.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{:get_system_config('site_name')}</title>
|
||||
{include file='common/_articles_require'/}
|
||||
</head>
|
||||
<body>
|
||||
<div class="layui-container main-container">
|
||||
<div class="layui-row layui-col-space4">
|
||||
{include file='common/_articles_left'/}
|
||||
<div class="layui-col-md7">
|
||||
|
||||
</div>
|
||||
{include file='common/_articles_right'/}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user