Browse Source

[更新]修改模板样式

Anyon 7 years ago
parent
commit
a89ecc87d7
2 changed files with 10 additions and 2 deletions
  1. 9 1
      application/goods/view/product/form.html
  2. 1 1
      static/theme/css/console.css

+ 9 - 1
application/goods/view/product/form.html

@@ -68,10 +68,13 @@
         <label class="col-sm-2 control-label label-required">产品图片</label>
         <div class='col-sm-8'>
             <table class="layui-table background-item margin-none" lay-size="sm" lay-skin="nob">
+                <thead>
                 <tr>
                     <td>产品LOGO</td>
                     <td>产品图片</td>
                 </tr>
+                </thead>
+                <tbody>
                 <tr>
                     <td class="text-top" style="width:100px">
                         <input type="hidden" name="goods_logo" value="{$vo.goods_logo|default=''}">
@@ -80,6 +83,7 @@
                         <input type="hidden" name="goods_image" value="{$vo.goods_image|default=''}">
                     </td>
                 </tr>
+                </tbody>
             </table>
         </div>
     </div>
@@ -322,7 +326,11 @@
 
     .background-item {
         padding: 15px;
-        background: #f5f5f5;
+        background: #efefef;
+    }
+
+    .background-item thead tr {
+        background: #e0e0e0
     }
 
     .price-input-td {

+ 1 - 1
static/theme/css/console.css

@@ -49,7 +49,7 @@ a{color:#06C;cursor:pointer}a:hover{color:#039}input::-ms-clear{display:none}but
 .pace .pace-progress{background:#22df80;position:fixed;z-index:2000;top:0;right:100%;width:100%;height:2px}
 .uploadimage{display:inline-block;width:80px;height:80px;background: url('../img/image.png') no-repeat center center;background-size:cover;cursor:pointer}
 .uploadimagemtl{margin-right:8px;}
-.uploadimagemtl a{color:#fff;width:20px;height:20px;float:right;display:none;line-height:20px;text-align:center;background:rgba(0, 0, 0, 0.5)}
+.uploadimagemtl a{color:#fff;width:20px;height:20px;float:right;display:none;line-height:22px;text-align:center;background:rgba(0, 0, 0, 0.5)}
 .uploadimagemtl:hover a{display:inline-block;cursor:pointer}
 .uploadimagemtl:hover a:hover{color:#fff;text-decoration:none}
 .hr-line-dashed{border-top:1px dashed #e7eaec;color:#fff;background-color:#fff;height:1px;margin:20px 0}