Authored by xuqi

逛标签以及相关文章更改

... ... @@ -285,7 +285,8 @@ module.exports = function(flag) {
{
thumb: 'http://7xidk0.com1.z0.glb.clouddn.com/pant.png',
title: '复古风劲吹,在各路复古跑鞋嚣张跋扈的当下,历史悠久的Onitsuka',
url: ''
url: '',
publishTime: '2月13日 12:34'
},
{
thumb: 'http://7xidk0.com1.z0.glb.clouddn.com/pant.png',
... ...
... ... @@ -216,7 +216,7 @@ exports.initOther = function() {
//相关文章截取文字
ellipsis.init();
$('.post-list span, .one-good .reco-name').each(function() {
$('.post-list .title, .one-good .reco-name').each(function() {
this.mlellipsis(2);
});
$('.brand-name').each(function() {
... ...
.detail-tag {
margin: 28rem / $pxConvertRem 0 0 0;
padding: 0 0 30rem / $pxConvertRem 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
... ... @@ -10,14 +8,11 @@
margin: 31rem / $pxConvertRem 0 0 31rem / $pxConvertRem;
a {
display: block;
padding: 0 36rem / $pxConvertRem;
height: 50rem / $pxConvertRem;
line-height: 50rem / $pxConvertRem;
font-size: 30rem / $pxConvertRem;
color: #fff;
background: #000;
text-decoration: none;
color: #000;
text-decoration: underline;
}
}
}
\ No newline at end of file
... ...
... ... @@ -24,19 +24,29 @@ $hack_safair_end:';]';
float: left;
margin: 0 0 0 30rem / $pxConvertRem;
width: 182rem / $pxConvertRem;
height: 162rem / $pxConvertRem;
height: 114rem / $pxConvertRem;
}
span {
.title, .publish-time {
float: left;
width: 360rem / $pxConvertRem;
#{$hack_safair_begin}width: 360rem / $pxConvertRem#{$hack_safair_end};
margin: 20rem / $pxConvertRem 0 0 30rem / $pxConvertRem;
line-height: 45rem / $pxConvertRem;
margin-left: 30rem / $pxConvertRem;
line-height: 40rem / $pxConvertRem;
color: #444;
font-size: 28rem / $pxConvertRem;
}
.publish-time {
font-size: 18rem / $pxConvertRem;
margin-top: 0;
color: #b0b0b0;
.iconfont {
font-size: 18rem / $pxConvertRem;
}
}
}
}
}
\ No newline at end of file
... ...
... ... @@ -5,7 +5,11 @@
<li>
<a class="clearfix" href="{{url}}">
<img class="lazy" data-original="{{thumb}}" alt="">
<span>{{title}}</span>
<span class="title">{{title}}</span>
<span class="publish-time">
<i class="iconfont">&#xe603;</i>
{{publishTime}}
</span>
</a>
</li>
{{/ otherArticle}}
... ...