mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
初始化项目
This commit is contained in:
18
view/index/common/_articles_left.html
Normal file
18
view/index/common/_articles_left.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<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}" target="{$nav.target}">{$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">
|
||||
81
view/index/common/_articles_right.html
Normal file
81
view/index/common/_articles_right.html
Normal file
@@ -0,0 +1,81 @@
|
||||
<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="plus-post-list">
|
||||
{volist name='top_posts' id='post'}
|
||||
<a href="{:url('Post/read',['id'=>$post.id])}" class="plus-post-item"
|
||||
onmouseover="$(this).find('.poster').addClass('layui-anim-scale')"
|
||||
onmouseout="$(this).find('.poster').removeClass('layui-anim-scale')">
|
||||
{notempty name='$post->getData("poster")'}
|
||||
|
||||
<div class="poster layui-anim" style="background-image: url('{$post.poster}');"></div>
|
||||
{/notempty}
|
||||
|
||||
<div class="info">
|
||||
<div class="title">{$post.title}</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</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_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>
|
||||
2
view/index/common/_blog_require.html
Normal file
2
view/index/common/_blog_require.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{include file='common/_require'/}
|
||||
<link rel="stylesheet" href="/static/css/index.blog.css">
|
||||
7
view/index/common/_documents_nav.html
Normal file
7
view/index/common/_documents_nav.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<span class="layui-breadcrumb" lay-separator="|">
|
||||
{volist name='list_header_nav' id='nav'}
|
||||
|
||||
<a href="{$nav.value}" target="{$nav.target}">{$nav.title}</a>
|
||||
{/volist}
|
||||
|
||||
</span>
|
||||
3
view/index/common/_documents_require.html
Normal file
3
view/index/common/_documents_require.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{include file='common/_require'/}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/index.documents.css">
|
||||
35
view/index/common/_easy_blue_footer.html
Normal file
35
view/index/common/_easy_blue_footer.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!-- footer部分 -->
|
||||
<div class="footer">
|
||||
<div class="layui-container">
|
||||
<p class="footer-web">
|
||||
{volist name='list_nav_friend_url' id='nav'}
|
||||
|
||||
<a href="{$nav.value}" target="{$nav.target}">{$nav.title}</a>
|
||||
{/volist}
|
||||
|
||||
</p>
|
||||
<div class="layui-row footer-contact">
|
||||
<div class="layui-col-sm2 layui-col-lg1"><img src="{:get_source_link(get_system_config('site_qrcode'))}"></div>
|
||||
<div class="layui-col-sm10 layui-col-lg11">
|
||||
<div class="layui-row">
|
||||
<div class="layui-col-sm6 layui-col-md8 layui-col-lg9">
|
||||
<p class="contact-top"><i class="layui-icon layui-icon-cellphone"></i> {:get_system_config('site_contact_phone')} ({:get_system_config('site_worktime')})</p>
|
||||
<p class="contact-bottom"><i class="layui-icon layui-icon-home"></i> {:get_system_config('stie_contact_email')}</span></p>
|
||||
</div>
|
||||
<div class="layui-col-sm6 layui-col-md4 layui-col-lg3">
|
||||
<p class="contact-top"><span class="right">{:get_system_config('site_copyright')}</p>
|
||||
<p class="contact-bottom">
|
||||
<span class="right"><a href="http://www.beian.miit.gov.cn/">{:get_system_config('site_beian')}</a></span>
|
||||
</p>
|
||||
{if !empty(get_system_config('site_safe_beian')) }
|
||||
|
||||
<p class="contact-bottom">
|
||||
<span class="right"><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></span>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
23
view/index/common/_easy_blue_header.html
Normal file
23
view/index/common/_easy_blue_header.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!-- nav部分 -->
|
||||
<div class="nav index">
|
||||
<div class="layui-container">
|
||||
<!-- 公司logo -->
|
||||
<div class="nav-logo">
|
||||
<a href="{:url('index/Index/index')}">
|
||||
<img src="{:get_source_link(get_system_config('site_logo'))}" alt="{:get_system_config('site_name')}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav-list">
|
||||
<button>
|
||||
<span></span><span></span><span></span>
|
||||
</button>
|
||||
<ul class="layui-nav" lay-filter="">
|
||||
{volist name='list_header_nav' id='nav'}
|
||||
|
||||
<li class="layui-nav-item"><a href="{$nav.value}">{$nav.title}</a></li>
|
||||
{/volist}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
11
view/index/common/_easy_blue_require.html
Normal file
11
view/index/common/_easy_blue_require.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{include file='common/_require'/}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/index.easy_blue.css">
|
||||
|
||||
<script>
|
||||
|
||||
layui.config({
|
||||
base: '/static/js/'
|
||||
}).use('firm');
|
||||
|
||||
</script>
|
||||
25
view/index/common/_require.html
Normal file
25
view/index/common/_require.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<link rel="stylesheet" href="/static/css/reset.css">
|
||||
<link rel="stylesheet" href="/static/css/pagination.css">
|
||||
<link rel="stylesheet" href="/static/lib/layui/css/layui.css">
|
||||
<script src="/static/lib/jquery/jquery-3.4.1.min.js"></script>
|
||||
<script src="/static/lib/jquery/jquery.cookie.js"></script>
|
||||
<script src="/static/lib/layui/layui.js"></script>
|
||||
<script src="/static/js/common.js"></script>
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="{:get_source_link(get_system_config('site_favicon','/favicon.ico'))}" />
|
||||
<link rel="icon" href="{:get_source_link(get_system_config('site_favicon','/favicon.ico'))}" >
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
//JavaScript代码区域
|
||||
layui.use(['element', 'layer', 'util'], function () {
|
||||
var element = layui.element;
|
||||
var util = layui.util;
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
{:get_system_config('site_tongji')}
|
||||
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>
|
||||
22
view/index/common/tpl_easy_blue.html
Normal file
22
view/index/common/tpl_easy_blue.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
|
||||
<title>{:get_system_config('site_name')}-首页</title>
|
||||
|
||||
{include file='common/_easy_blue_require'/}
|
||||
</head>
|
||||
<body>
|
||||
{include file='common/_easy_blue_header'/}
|
||||
<div style="margin-top: 80px;">
|
||||
|
||||
</div>
|
||||
{include file='common/_easy_blue_footer'/}
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user