Browse Source

打印页面

lizhen_gitee 8 months ago
parent
commit
66a8e88336
1 changed files with 7 additions and 1 deletions
  1. 7 1
      application/admin/view/trainactive/showinfo.html

+ 7 - 1
application/admin/view/trainactive/showinfo.html

@@ -164,7 +164,13 @@
     {volist name="$user_train" id="vo"}
     <tr>
         <td colspan="2">{$vo.nickname}</td>
-        <td colspan="3"><img src="{$vo.sign_image}" width="90px" height="50px"></td>
+        <td colspan="3">
+            <?php if(!empty($vo['sign_image'])){ ?>
+                <img src="{$vo.sign_image}" width="90px" height="50px">
+            <?php }else{ ?>
+                <div style="height:50px;width:90px;"></div>
+            <?php } ?>
+        </td>
         <td colspan="2">{$vo.sign_time}</td>
         <td><font color="{$vo.status_color}">{$vo.status_text}</font></td>
     </tr>