mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改模板文件
This commit is contained in:
parent
772e1106ce
commit
4cf201b6db
@ -2,9 +2,7 @@
|
||||
|
||||
{block name="button"}
|
||||
<div class="nowrap pull-right" style="margin-top:10px">
|
||||
<button data-load="{:url('sync')}" class='layui-btn layui-btn-small'>
|
||||
<i class='fa fa-referer'></i> 同步粉丝
|
||||
</button>
|
||||
<button data-load="{:url('sync')}" class='layui-btn layui-btn-small'><i class='fa fa-referer'></i> 同步粉丝</button>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
@ -16,8 +14,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<div class="form-group">
|
||||
<input type="text" name="nickname" value="{$Think.get.nickname|default=''}" placeholder="昵称"
|
||||
class="input-sm form-control">
|
||||
<input type="text" name="nickname" value="{$Think.get.nickname|default=''}" placeholder="昵称" class="input-sm form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -51,8 +48,7 @@
|
||||
<input class="list-check-box" value='{$vo.id}' type='checkbox'/>
|
||||
</td>
|
||||
<td class='text-left'>
|
||||
<img style="width:25px;height:25px;border-radius:50%;margin-right:10px" data-tips-image="{$vo.headimgurl}"
|
||||
onerror="this.src='__PUBLIC__/static/theme/default/img/image.png'" alt="" src="{$vo.headimgurl}"/>
|
||||
<img style="width:25px;height:25px;border-radius:50%;margin-right:10px" data-tips-image src="{$vo.headimgurl}"/>
|
||||
{$vo.nickname|default="<span style='color:#999'>未设置微信昵称</span>"}
|
||||
</td>
|
||||
<td class='text-center'>{$vo.sex==1?'男':($vo.sex==2?'女':'未知')}</td>
|
||||
|
@ -28,8 +28,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label layui-form-label ">关 键 字</label>
|
||||
<div class="col-md-9">
|
||||
<input required="required" title='请输入关键字' maxlength='20' name='keys' class="layui-input"
|
||||
value='{$vo.keys|default=""}'>
|
||||
<input required="required" title='请输入关键字' maxlength='20' name='keys' class="layui-input" value='{$vo.keys|default=""}'>
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
@ -61,6 +60,7 @@
|
||||
<label class="col-md-2 control-label layui-form-label label-required">消息类型</label>
|
||||
<div class="col-md-9">
|
||||
<select name='type' class='layui-input'>
|
||||
|
||||
{if !isset($vo.type) or $vo.type eq 'text'}
|
||||
<option value='text' selected>文字</option>
|
||||
{else}
|
||||
@ -96,6 +96,7 @@
|
||||
{else}
|
||||
<option value='video'>视频</option>
|
||||
{/if}
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -82,18 +82,15 @@
|
||||
|
||||
{if $vo.status eq 1 and auth("$classuri/forbid")}
|
||||
<span class="text-explode">|</span>
|
||||
<a data-update="{$vo.id}" data-field='status' data-value='0' data-action='{:url("$classuri/forbid")}'
|
||||
href="javascript:void(0)">禁用</a>
|
||||
<a data-update="{$vo.id}" data-field='status' data-value='0' data-action='{:url("$classuri/forbid")}' href="javascript:void(0)">禁用</a>
|
||||
{elseif auth("$classuri/resume")}
|
||||
<span class="text-explode">|</span>
|
||||
<a data-update="{$vo.id}" data-field='status' data-value='1' data-action='{:url("$classuri/resume")}'
|
||||
href="javascript:void(0)">启用</a>
|
||||
<a data-update="{$vo.id}" data-field='status' data-value='1' data-action='{:url("$classuri/resume")}' href="javascript:void(0)">启用</a>
|
||||
{/if}
|
||||
|
||||
{if auth("$classuri/del")}
|
||||
<span class="text-explode">|</span>
|
||||
<a data-update="{$vo.id}" data-field='delete' data-action='{:url("del")}'
|
||||
href="javascript:void(0)">删除</a>
|
||||
<a data-update="{$vo.id}" data-field='delete' data-action='{:url("del")}' href="javascript:void(0)">删除</a>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
@ -49,9 +49,7 @@
|
||||
<a class="pull-right menu-delete">删除</a>
|
||||
{/if}
|
||||
</h3>
|
||||
<div class="popover-content menu-content">
|
||||
|
||||
</div>
|
||||
<div class="popover-content menu-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hide menu-editor-parent-tpl">
|
||||
|
@ -8,15 +8,13 @@
|
||||
<div class="panel-body news-box">
|
||||
{if empty($vo['articles']) eq false}
|
||||
{foreach $vo.articles as $key=>$value}
|
||||
<div class="news-item transition" data-id="{$value.id}"
|
||||
style="background-image:url('{$value.local_url}?imageView2/1/w/338/h/190/interlace/1')">
|
||||
<div class="news-item transition" data-id="{$value.id}" style="background-image:url('{$value.local_url}?imageView2/1/w/338/h/190/interlace/1')">
|
||||
<span class="news-title">{$value.title}</span>
|
||||
</div>
|
||||
<hr/>
|
||||
{/foreach}
|
||||
{else}
|
||||
<div class="news-item transition active news-image"
|
||||
style="background-image:url('__PUBLIC__/static/plugs/uploader/theme/image.png')">
|
||||
<div class="news-item transition active news-image" style="background-image:url('__PUBLIC__/static/plugs/uploader/theme/image.png')">
|
||||
<span class="news-title" style='display:none'>标题</span>
|
||||
</div>
|
||||
<hr/>
|
||||
@ -36,8 +34,7 @@
|
||||
<div class="col-md-12">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">标题</span>
|
||||
<input maxlength="64" required="required" title="标题不能为空哦" placeholder="请在这里输入标题"
|
||||
name='title' class="layui-input">
|
||||
<input maxlength="64" required="required" title="标题不能为空哦" placeholder="请在这里输入标题" name='title' class="layui-input">
|
||||
<input type="hidden" name="id">
|
||||
</div>
|
||||
</div>
|
||||
@ -47,8 +44,7 @@
|
||||
<div class="col-md-12">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">作者</span>
|
||||
<input maxlength="8" required="required" title="作者不能为空哦" placeholder="请输入作者"
|
||||
name='author' class="layui-input">
|
||||
<input maxlength="8" required="required" title="作者不能为空哦" placeholder="请输入作者" name='author' class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -260,82 +256,17 @@
|
||||
|
||||
{block name="style"}
|
||||
<style>
|
||||
.news-left {
|
||||
left: 20px;
|
||||
width: 300px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.news-right {
|
||||
position: absolute;
|
||||
left: 335px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.news-left .news-item {
|
||||
position: relative;
|
||||
width: 280px;
|
||||
height: 150px;
|
||||
max-width: 270px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #ccc;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.news-left .news-item.active {
|
||||
border: 1px solid #44b549 !important;
|
||||
}
|
||||
|
||||
.news-left .article-add {
|
||||
font-size: 22px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.news-left .article-add:hover {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.news-left .news-title {
|
||||
bottom: 0;
|
||||
width: 272px;
|
||||
color: #fff;
|
||||
display: block;
|
||||
padding: 0 5px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
margin-left: -1px;
|
||||
text-overflow: ellipsis;
|
||||
max-height:6em;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.news-right .layui-input {
|
||||
border-radius: 0;
|
||||
border: 1px solid #e5e6e7;
|
||||
}
|
||||
|
||||
.news-right .layui-input:hover, .news-right .layui-input:focus {
|
||||
border-color: #e5e6e7 !important;
|
||||
}
|
||||
|
||||
.news-right .input-group-addon {
|
||||
background: #fff;
|
||||
border-radius: 0;
|
||||
border-color: #e5e6e7;
|
||||
}
|
||||
|
||||
.news-right .upload-image-box {
|
||||
width: 150px;
|
||||
height: 120px;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.panel {
|
||||
border-radius: 0
|
||||
}
|
||||
.panel{border-radius:0}
|
||||
.news-left {left:20px;width:300px;position:absolute;}
|
||||
.news-right {position:absolute;left:335px;right:20px;}
|
||||
.news-left .news-item {position:relative;width:280px;height:150px;max-width:270px;overflow:hidden;border:1px solid #ccc;background-size:cover;background-position:center center;}
|
||||
.news-left .news-item.active {border:1px solid #44b549 !important;}
|
||||
.news-left .article-add {font-size:22px;text-align:center;display:block;color:#999;}
|
||||
.news-left .article-add:hover{color:#666;}
|
||||
.news-left .news-title{bottom:0;width:272px;color:#fff;display:block;padding:0 5px;overflow:hidden;position:absolute;margin-left:-1px;text-overflow:ellipsis;max-height:6em;background:rgba(0,0,0,0.7);}
|
||||
.news-right .layui-input{border-radius:0;border:1px solid #e5e6e7;}
|
||||
.news-right .layui-input:hover, .news-right .layui-input:focus{border-color:#e5e6e7!important;}
|
||||
.news-right .input-group-addon{background:#fff;border-radius:0;border-color:#e5e6e7;}
|
||||
.news-right .upload-image-box{width:150px;height:120px;background-size:cover;background-position:center center;}
|
||||
</style>
|
||||
{/block}
|
Loading…
x
Reference in New Issue
Block a user