Browse Source

打印维保订单

lizhen_gitee 3 months ago
parent
commit
dd5ede5f8f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      application/admin/view/maintain/showinfo.html

+ 4 - 4
application/admin/view/maintain/showinfo.html

@@ -6,7 +6,7 @@
 </head>
 <style>
     /* 默认情况下,屏幕上显示 */
-    .hide-on-print {
+    .dayin {
         display: block;
         text-align: right;
         margin-bottom: 20px;
@@ -34,7 +34,7 @@
 
 <body  style="width: 760px;margin: 0 auto">
 
-<div class="hide-on-print">
+<div class="hide-on-print dayin">
     <button type="button" onclick="printPage()" class="btn btn-primary dropdown-toggle">打印</button>
 </div>
 
@@ -86,7 +86,7 @@
                 <?php if($vo['type'] == 'img') { ?>
                     <div><img src="{$vo['url']}" width="100" height="100" /></div>
                 <?php }else{ ?>
-                    <div><video width="100" height="100" controls><source src="{$vo['url']}" type="video/ogg"></video></div>
+                    <div><video  poster="{$vo['images_thumb']}" width="100" height="100" controls><source src="{$vo['url']}" type="video/ogg"></video></div>
             <?php } ?>
             {/volist}
         </td>
@@ -106,7 +106,7 @@
         <td>报价文件</td>
         <td colspan="3">
             <?php if(!empty($baojia['baojia_file'])) { ?>
-                <a href="{$baojia.baojia_file}">{$baojia.baojia_filename}</a>
+                {$baojia.baojia_filename}<a class="hide-on-print" href="{$baojia.baojia_file}">下载</a>
             <?php } ?>
         </td>
     </tr>