Showing
2 changed files
with
9 additions
and
4 deletions
@@ -245,7 +245,12 @@ class ShopProcess | @@ -245,7 +245,12 @@ class ShopProcess | ||
245 | if (!empty(self::$appVersion)) { | 245 | if (!empty(self::$appVersion)) { |
246 | $brand['url'] .= '?' . $appSuffix; | 246 | $brand['url'] .= '?' . $appSuffix; |
247 | } | 247 | } |
248 | - $brand['img'] = Images::getImageUrl($val['brandIco'], 640, 400); | 248 | + |
249 | + if (strpos($val['brandIco'], 'imageView/') === false) { | ||
250 | + $val['brandIco'] = $val['brandIco'] . '?imageView/2/w/{width}/h/{height}'; | ||
251 | + } | ||
252 | + | ||
253 | + $brand['img'] = Images::getImageUrl($val['brandIco'], 140, 120); | ||
249 | $brand['brandName'] = $val['brandName']; | 254 | $brand['brandName'] = $val['brandName']; |
250 | self::$shopData['brandList']['list'][] = $brand; | 255 | self::$shopData['brandList']['list'][] = $brand; |
251 | } | 256 | } |
@@ -158,14 +158,14 @@ | @@ -158,14 +158,14 @@ | ||
158 | 158 | ||
159 | .brand-img { | 159 | .brand-img { |
160 | margin-left: 30px; | 160 | margin-left: 30px; |
161 | - width: 30%; | 161 | + width: 140px; |
162 | height: 150px; | 162 | height: 150px; |
163 | overflow: hidden; | 163 | overflow: hidden; |
164 | padding-bottom: 20px; | 164 | padding-bottom: 20px; |
165 | float: left; | 165 | float: left; |
166 | 166 | ||
167 | p { | 167 | p { |
168 | - font-size: 25px; | 168 | + font-size: 18px; |
169 | color: #b0b0b0; | 169 | color: #b0b0b0; |
170 | padding-top: 10px; | 170 | padding-top: 10px; |
171 | height: 30px; | 171 | height: 30px; |
@@ -175,7 +175,7 @@ | @@ -175,7 +175,7 @@ | ||
175 | } | 175 | } |
176 | 176 | ||
177 | img { | 177 | img { |
178 | - height: 70%; | 178 | + height: 120px; |
179 | } | 179 | } |
180 | } | 180 | } |
181 | 181 |
-
Please register or login to post a comment