用户消息,积分,问答展示新增更多

This commit is contained in:
devil_gong 2019-06-21 16:29:02 +08:00
parent 23f2eb2b8b
commit 54c3c9fc4f
3 changed files with 122 additions and 13 deletions

View File

@ -83,14 +83,14 @@
<thead>
<tr>
<th>姓名</th>
<th>电话</th>
<th class="am-hide-sm-only">电话</th>
<th>标题</th>
<th class="am-hide-sm-only">内容</th>
<th class="am-hide-sm-only">回复</th>
<th class="am-hide-sm-only">是否显示</th>
<th class="am-hide-sm-only">回复时间</th>
<th class="am-hide-sm-only">时间</th>
<th class="am-hide-sm-only">操作</th>
<th class="am-hide-md-down">回复时间</th>
<th class="am-hide-md-down">时间</th>
<th>更多</th>
<th>操作</th>
</tr>
</thead>
<tbody>
@ -98,7 +98,7 @@
{{foreach $data_list as $v}}
<tr id="data-list-{{$v.id}}">
<td>{{$v.name}}</td>
<td>{{$v.tel}}</td>
<td class="am-hide-sm-only">{{$v.tel}}</td>
<td>{{$v.title}}</td>
<td class="am-hide-sm-only reply-content">{{$v.content}}</td>
<td class="am-hide-sm-only reply-content">
@ -108,9 +108,53 @@
<span class="gray-text">未回复</span>
{{/if}}
</td>
<td class="am-hide-sm-only">{{$v.is_show_text}}</td>
<td class="am-hide-sm-only">{{$v.reply_time}}</td>
<td class="am-hide-sm-only">{{$v.add_time}}</td>
<td class="am-hide-md-down">{{$v.reply_time}}</td>
<td class="am-hide-md-down">{{$v.add_time}}</td>
<td>
<span class="am-icon-caret-down c-p" data-am-modal="{target: '#my-popup{{$v.id}}'}"> 查看更多</span>
<div class="am-popup am-radius" id="my-popup{{$v.id}}">
<div class="am-popup-inner">
<div class="am-popup-hd">
<h4 class="am-popup-title">详情内容</h4>
<span data-am-modal-close
class="am-close">&times;</span>
</div>
<div class="am-popup-bd">
<dl class="dl-content">
<dt>姓名</dt>
<dd>{{if empty($v['name'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.name}}{{/if}}</dd>
<dt>电话</dt>
<dd>{{if empty($v['tel'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.tel}}{{/if}}</dd>
<dt>标题</dt>
<dd>{{if empty($v['title'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.title}}{{/if}}</dd>
<dt>内容</dt>
<dd>{{$v.content|raw}}</dd>
<dt>回复内容</dt>
<dd>
{{{if $v['is_reply'] eq 1}}
{{$v.reply}}
{{else /}}
<span class="gray-text">未回复</span>
{{/if}}
</dd>
<dt>回复时间</dt>
<dd>{{if empty($v['reply_time'])}}<span class="cr-ddd">未回复</span>{{else /}}{{$v.reply_time}}{{/if}}</dd>
<dt>创建时间</dt>
<dd>{{$v.add_time}}</dd>
<dt>更新时间</dt>
<dd>{{$v.upd_time}}</dd>
</dl>
</div>
</div>
</div>
</td>
<td class="view-operation">
<button class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block am-icon-trash-o submit-delete" data-url="{{:MyUrl('index/answer/delete')}}" data-id="{{$v.id}}"> 删除</button>
</td>

View File

@ -98,7 +98,8 @@
<th class="am-hide-sm-only">业务</th>
<th>详情</th>
<th class="am-hide-sm-only">状态</th>
<th class="am-hide-sm-only">时间</th>
<th class="am-hide-md-down">时间</th>
<th>更多</th>
</tr>
</thead>
<tbody>
@ -110,7 +111,40 @@
<td class="am-hide-sm-only">{{$v.business_type_name}}</td>
<td>{{$v.detail}}</td>
<td class="am-hide-sm-only">{{$v.is_read_name}}</td>
<td class="am-hide-sm-only">{{$v.add_time_time}}</td>
<td class="am-hide-md-down">{{$v.add_time_time}}</td>
<td>
<span class="am-icon-caret-down c-p" data-am-modal="{target: '#my-popup{{$v.id}}'}"> 查看更多</span>
<div class="am-popup am-radius" id="my-popup{{$v.id}}">
<div class="am-popup-inner">
<div class="am-popup-hd">
<h4 class="am-popup-title">详情内容</h4>
<span data-am-modal-close
class="am-close">&times;</span>
</div>
<div class="am-popup-bd">
<dl class="dl-content">
<dt>标题</dt>
<dd>{{$v.title}}</dd>
<dt>类型</dt>
<dd>{{$v.type_name}}</dd>
<dt>业务</dt>
<dd>{{$v.business_type_name}}</dd>
<dt>详情</dt>
<dd>{{$v.detail}}</dd>
<dt>状态</dt>
<dd>{{$v.is_read_name}}</dd>
<dt>时间</dt>
<dd>{{$v.add_time_time}}</dd>
</dl>
</div>
</div>
</div>
</td>
</tr>
{{/foreach}}
{{/if}}

View File

@ -88,7 +88,8 @@
<th class="am-hide-sm-only">描述</th>
<th>原始积分</th>
<th>最新积分</th>
<th class="am-hide-sm-only">时间</th>
<th class="am-hide-md-down">时间</th>
<th>更多</th>
</tr>
</thead>
<tbody>
@ -99,7 +100,37 @@
<td class="am-hide-sm-only">{{$v.msg}}</td>
<td>{{$v.original_integral}}</td>
<td>{{$v.new_integral}}</td>
<td class="am-hide-sm-only">{{$v.add_time_time}}</td>
<td class="am-hide-md-down">{{$v.add_time_time}}</td>
<td>
<span class="am-icon-caret-down c-p" data-am-modal="{target: '#my-popup{{$v.id}}'}"> 查看更多</span>
<div class="am-popup am-radius" id="my-popup{{$v.id}}">
<div class="am-popup-inner">
<div class="am-popup-hd">
<h4 class="am-popup-title">详情内容</h4>
<span data-am-modal-close
class="am-close">&times;</span>
</div>
<div class="am-popup-bd">
<dl class="dl-content">
<dt>操作类型</dt>
<dd>{{$v.type_name}}</dd>
<dt>描述</dt>
<dd>{{$v.msg}}</dd>
<dt>原始积分</dt>
<dd>{{$v.original_integral}}</dd>
<dt>最新积分</dt>
<dd>{{$v.new_integral}}</dd>
<dt>时间</dt>
<dd>{{$v.add_time_time}}</dd>
</dl>
</div>
</div>
</div>
</td>
</tr>
{{/foreach}}
{{/if}}