Browse Source

修改 headimg 样式

邹景立 3 years ago
parent
commit
f5e9c05baf

+ 2 - 2
app/data/view/shop/goods/index.html

@@ -60,9 +60,9 @@
                 </td>
                 <td class='nowrap'>
                     {notempty name='vo.cover'}
-                    <div class="headimg" data-lazy-src="{$vo.cover}" data-tips-image></div>
+                    <div class="headimg headimg-no" data-tips-hover data-tips-image data-lazy-src="{$vo.cover}"></div>
                     {/notempty}
-                    <div class="inline-block text-top sub-span-blue">
+                    <div class="inline-block sub-span-blue">
                         <div>商品名称:<span>{$vo.name|default='--'}</span></div>
                         <div>商品编号:<span>{$vo.code|default='--'}</span></div>
                     </div>

+ 1 - 1
public/static/theme/css/_config.less

@@ -24,7 +24,7 @@
 @InputBorderActiveColor: #DDD;
 
 // 基础阴影配置
-@ShadowOuterMin: 0 0 4px 1px rgba(0, 0, 0, 0.20);
+@ShadowOuterMin: 1px 1px 4px 1px rgba(0, 0, 0, 0.20);
 @ShadowOuterMax: 0 0 6px 2px rgba(0, 0, 0, 0.20);
 @ShadowBodyTop: 0 1px 6px 2px rgba(0, 21, 41, 0.35);
 @ShadowBodyLeft: 1px 0 6px 2px rgba(0, 21, 41, 0.35);

+ 0 - 2
public/static/theme/css/_custom.less

@@ -136,7 +136,6 @@
   overflow: hidden;
   text-align: center;
   margin-right: 5px;
-  margin-bottom: 5px;
   border-radius: 50%;
   vertical-align: middle;
   background-size: cover;
@@ -145,7 +144,6 @@
 
   &-no {
     border: none;
-    box-shadow: none;
     border-radius: 2px;
   }
 

+ 0 - 1
public/static/theme/css/_layout.less

@@ -50,7 +50,6 @@
         .headimg {
           width: 20px;
           height: 20px;
-          margin-bottom: 0;
         }
       }
 

File diff suppressed because it is too large
+ 0 - 0
public/static/theme/css/console.css


File diff suppressed because it is too large
+ 0 - 0
public/static/theme/css/console.css.map


Some files were not shown because too many files changed in this diff