<div slot="content"> <div class="portlet-body"> <div class="table-toolbar"> <div class="row"> <div class="col-md-12"> <div id="sample_1_filter" class="dataTables_filter"> <label> <button type="button" class="btn green ml15" :click="@onSearchList"><i class="fa fa-search"></i>搜索</button> </label> <label>消息内容: <input style="width: 160px!important;" type="search" class="form-control input-small input-inline" placeholder="请输入关键字" :duplex="@searchParams.keyword" aria-controls="sample_1"> </label> </div> </div> </div> </div> <div id="sample_1_wrapper" class="dataTables_wrapper no-footer"> <div :if="@dataList.length > 0" class="table-scrollable"> <table class="table table-striped table-bordered table-hover dataTable no-footer" id="sample_1" role="grid" aria-describedby="sample_1_info"> <thead> <tr role="row"> <th>序号</th> <th>类别</th> <th>内容</th> <th>URL</th> <th>时间</th> </tr> </thead> <tbody> <tr ms-for="obj in @dataList"> <td>{{obj.id}}</td> <td>{{obj.mtype}}</td> <td>{{obj.content}}</td> <td><a :attr="{ href: obj.url }">{{obj.url}}</a></td> <td>{{obj.createTime | date}}</td> </tr> </tbody> </table> </div> <div class="alert alert-blue" :if="@dataList.length <= 0"> <span>暂无数据....</span> </div> </div> </div> </div>