.
This commit is contained in:
@@ -1,6 +1,22 @@
|
||||
<!-- Created by Lxy at 2017/11/25 17:36. -->
|
||||
#define columned(e)
|
||||
#if(e == column??"") layui-this
|
||||
#if(e == column??"") layui-this #end
|
||||
#end
|
||||
|
||||
#define keywords(str)
|
||||
#if(str)
|
||||
#(str)、redkale社区
|
||||
#else
|
||||
架构设计、问题解答、经验分享、redkale社区、#(str)
|
||||
#end
|
||||
#end
|
||||
|
||||
|
||||
#define description(str)
|
||||
#if(str)
|
||||
#(str)、redkale社区
|
||||
#else
|
||||
架构设计、问题解答、经验分享、redkale社区、#(str)
|
||||
#end
|
||||
#end
|
||||
|
||||
@@ -12,8 +28,8 @@
|
||||
<title>#if(title)#(title) - #end Redbbs社区</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta http-equiv="Cache-Control" content="max-age=7200" />
|
||||
<meta name="keywords" content="#(keywords??'redkale')">
|
||||
<meta name="description" content="#(description??'redkale框架,redkale社区')">
|
||||
<meta name="keywords" content="#@keywords(bean.title??'')">
|
||||
<meta name="description" content="#@description(bean.title??'')">
|
||||
<link rel="stylesheet" href="/res/layui/css/layui.css">
|
||||
<link rel="stylesheet" href="/res/css/global.css">
|
||||
<!--background-color: #4a184c;-->
|
||||
@@ -25,6 +41,7 @@
|
||||
.layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover
|
||||
{background-color:#4a184c;}
|
||||
</style>
|
||||
#@css?()
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
<a href="/user/#(x.userId)" class="fly-avatar">
|
||||
<img src="#(x.avatar)" alt="#(x.nickname)">
|
||||
</a>
|
||||
<h2>
|
||||
<h2 title="#(x.title)">
|
||||
<a class="layui-badge">#(x.typeName)</a>
|
||||
<a href="/jie/detail/#(x.contentId)">
|
||||
#if(x.top == 3)
|
||||
@@ -78,7 +78,7 @@
|
||||
<a href="/user/home.html" class="fly-avatar">
|
||||
<img src="#(x.avatar)" alt="#(x.nickname)">
|
||||
</a>
|
||||
<h2>
|
||||
<h2 title="#(x.title)">
|
||||
<a class="layui-badge">#(x.typeName)</a>
|
||||
<a href="/jie/detail/#(x.contentId)">#(x.title)</a>
|
||||
</h2>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#if(bean.wonderful == 1)
|
||||
<span class="layui-badge layui-bg-red">精帖</span>
|
||||
#end
|
||||
#if(mine.userId?? == 100001)
|
||||
#if(mine.roleId?? == 1)
|
||||
<div class="fly-admin-box" data-id="#(bean.contentId)">
|
||||
<span class="layui-btn layui-btn-xs jie-admin" type="del">删除</span>
|
||||
#if(bean.top == 1)
|
||||
@@ -62,7 +62,7 @@
|
||||
<!--
|
||||
<span style="padding-right: 10px; color: #FF7200">悬赏:60飞吻</span>
|
||||
-->
|
||||
#if(bean.userId == mine.userId?? || mine.userId?? == 100001)
|
||||
#if(bean.userId == mine.userId?? || mine.roleId?? == 1)
|
||||
<span class="layui-btn layui-btn-xs jie-admin" type="edit"><a href="/jie/add/#(bean.contentId)">编辑此贴</a></span>
|
||||
#end
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user