Authored by unknown

guang detail css html modify

... ... @@ -169,7 +169,9 @@
{{# relatedPost}}
<li>
<a href="{{url}}">
<span class="bg-img" style="background-image:url({{imgUrl}})"></span>
<span class="bg-img">
<img src="{{imgUrl}}" alt="">
</span>
<div class="post-title">
<h2>{{title}}</h2>
</div>
... ...
... ... @@ -115,9 +115,15 @@
}
.article-small-pic {
text-align: center;
font-size: 0;
img {
display: inline-block;
*display: inline;
*zoom: 1;
max-width: 412px;
&:first-child {
margin: 0 6px 0 0;
}
}
}
... ... @@ -259,10 +265,15 @@
display: block;
width: 100%;
height: 173px;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
background-position: center;
line-height: 173px;
text-align: center;
font-size: 0;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.post-title {
margin: 8px 0 0 0;
... ...
... ... @@ -202,6 +202,54 @@ class GuangController extends AbstractAction
),
'url' => ''
)
),
array(
'withInfo' => array(
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
'name' => 'CLOTtee 撞色连帽外套',
'isLike' => false,
'price' => 488,
'salePrice' => 139,
'tags' => array(
array(
'isNew' => true
),
array(
'isSale' => false
),
array(
'isLimit' => true
),
array(
'isYohood' => true
)
),
'url' => ''
)
),
array(
'withInfo' => array(
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
'name' => 'CLOTtee 撞色连帽外套',
'isLike' => false,
'price' => 488,
'salePrice' => 139,
'tags' => array(
array(
'isNew' => true
),
array(
'isSale' => false
),
array(
'isLimit' => true
),
array(
'isYohood' => true
)
),
'url' => ''
)
)
)
/*'moreReco' => ''*/
... ...