Authored by 王水玲

评论回复样式修改

... ... @@ -117,6 +117,7 @@ module.exports = class extends global.yoho.BaseModel {
size: size || '',
content: item.content,
reply: item.reply,
replyTitle: item.replyTitle,
time: helpers.dateFormat('YYYY-MM-DD HH:mm:ss', new Date(item.createTime * 1000))
});
});
... ...
... ... @@ -12,7 +12,7 @@
<p class="detail-content">{{content}}</p>
{{# reply}}
<p class="comment-reply">
客服回复:{{.}}
<b>{{../replyTitle}}</b>{{.}}
</p>
{{/ reply}}
<span class="comment-time">{{time}}</span>
... ...
... ... @@ -20,11 +20,6 @@
<p class="detail-content">
{{content}}
</p>
{{# reply}}
<p class="comment-reply">
客服回复:{{.}}
</p>
{{/ reply}}
<span class="comment-time">
{{time}}
</span>
... ...
... ... @@ -25,7 +25,7 @@
</p>
{{# reply}}
<p class="comment-reply">
客服回复:{{.}}
<b>{{../replyTitle}}</b>{{.}}
</p>
{{/ reply}}
<span class="comment-time">
... ...
... ... @@ -136,9 +136,12 @@
}
.comment-reply {
background: #f2f2f2;
padding: 10px;
margin-top: 15px;
padding: 28px;
background: #f0f0f0;
box-sizing: border-box;
line-height: 32px;
color: #999;
}
.goods-spec,
... ...
... ... @@ -891,10 +891,12 @@ $basicBtnC: #eb0313;
}
.comment-reply {
margin: 0 28px;
padding: 10px;
background: #f2f2f2;
margin: 15px 28px 0 28px;
padding: 28px;
background: #f0f0f0;
box-sizing: border-box;
line-height: 32px;
color: #999;
}
.detail-content {
... ...