Commit 8402779b by 李洋

1、优化全部历史消息列表页

parent 36f567a0
...@@ -11,6 +11,18 @@ ...@@ -11,6 +11,18 @@
.div-b{ .div-b{
margin-top: 20px; margin-top: 20px;
} }
table{
table-layout: fixed;
word-break: break-all;
word-wrap: break-word; //表格固定布局
}
.award-name{
-o-text-overflow:ellipsis;
text-overflow:ellipsis;
overflow:hidden;
white-space:nowrap;
width:100%; //超出部分显示省略号
}
</style> </style>
@if($allhistorylist_check) @if($allhistorylist_check)
...@@ -66,13 +78,13 @@ ...@@ -66,13 +78,13 @@
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr role="row"> <tr role="row">
<th style="width:100px;" class="text-center">消息编号</th> <th class="text-center">消息编号</th>
<th style="width:150px;" class="text-center">消息标题</th> <th class="text-center">消息标题</th>
<th style="width:100px;" class="text-center">消息内容</th> <th class="text-center">消息内容</th>
<th style="width:100px;" class="text-center">消息渠道</th> <th class="text-center">消息渠道</th>
<th style="width:100px;" class="text-center">推送目标</th> <th class="text-center">推送目标</th>
<th style="width:100px;" class="text-center">推送时间</th> <th class="text-center">推送时间</th>
<th style="width:100px;" class="text-center">推送状态</th> <th class="text-center">推送状态</th>
</tr> </tr>
</thead> </thead>
...@@ -81,7 +93,7 @@ ...@@ -81,7 +93,7 @@
<tr role="row" style="text-align: center"> <tr role="row" style="text-align: center">
<td>{{ $obj->log_id }}</td> <td>{{ $obj->log_id }}</td>
<td>{{ $obj->title }}</td> <td>{{ $obj->title }}</td>
<td>{{ $obj->content }}</td> <td class=".award-name">{{ $obj->content }}</td>
<?php <?php
switch ($obj->channel_type) switch ($obj->channel_type)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment