wupengfei 2 years ago
parent
commit
734560cc4b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      application/nutrition/view/sub_health/index.html

+ 3 - 1
application/nutrition/view/sub_health/index.html

@@ -9,7 +9,8 @@
     <table class="layui-table margin-top-20" lay-skin="line">
         <thead>
         <tr>
-            <th class='text-left nowrap' style="width: 70%">标题</th>
+            <th class='text-left nowrap' style="width: 50%">标题</th>
+            <th class='text-left nowrap'>封面</th>
             <th class='text-left nowrap'>状态</th>
             <th class="text-left nowrap" >操作</th>
         </tr>
@@ -18,6 +19,7 @@
         {foreach $list as $key=>$vo}
         <tr>
             <td class='text-left nowrap'>{$vo.title|default=''}</td>
+            <td class='text-left nowrap'><img data-tips-image="{$vo.logo|default=''}"  src="{$vo.logo|default=''}" width="50px"></td>
             <td class='text-left nowrap'>{$vo.status == 1 ?'已启用' :'已禁用'}</td>
             <td class='text-left nowrap' >
                 <a data-title="编辑" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>