Authored by ccbikai

侧边栏图片与之前大小不一致 修复

@@ -30,11 +30,11 @@ @@ -30,11 +30,11 @@
30 30
31 .nav-icon, .nav-img { 31 .nav-icon, .nav-img {
32 position: absolute; 32 position: absolute;
33 - width: 60rem / $pxConvertRem;  
34 - height: 60rem / $pxConvertRem; 33 + width: 48rem / $pxConvertRem;
  34 + height: 48rem / $pxConvertRem;
35 top: 50%; 35 top: 50%;
36 - margin-top: -30rem / $pxConvertRem;  
37 - left: 24rem / $pxConvertRem; 36 + margin-top: -24rem / $pxConvertRem;
  37 + left: 30rem / $pxConvertRem;
38 } 38 }
39 39
40 .enter-subnav { 40 .enter-subnav {
@@ -48,7 +48,7 @@ class SideModel @@ -48,7 +48,7 @@ class SideModel
48 $result[$key]['textEn'] = $value['sort_name_en']; 48 $result[$key]['textEn'] = $value['sort_name_en'];
49 $result[$key]['styleClass'] = strtolower($value['sort_name_en']); 49 $result[$key]['styleClass'] = strtolower($value['sort_name_en']);
50 $result[$key]['url'] = Helpers::getFilterUrl($value['sort_url']); 50 $result[$key]['url'] = Helpers::getFilterUrl($value['sort_url']);
51 - $result[$key]['img'] = Helpers::getImageUrl($value['sort_ico'], 60, 60); 51 + $result[$key]['img'] = Helpers::getImageUrl($value['sort_ico'], 60, 60, 1);
52 } 52 }
53 } 53 }
54 54