Authored by htoooth

fix css

... ... @@ -236,9 +236,8 @@ const createConsult = (req, res, next) => {
const likeConsult = (req, res, next) => {
let uid = req.user.uid;
// let uid = '12696231';
let id = req.params.id || 0;
if (!id) {
return res.json({
code: 401,
... ...
... ... @@ -57,10 +57,11 @@
<li>
<em class="justpostion">
{{#if dColor}}
<span class="keySpace">{{{escapeType key}}}: </span><span id="desc-color"
class="valueSpace">{{value}}</span>
<span class="keySpace">{{{escapeType key}}}: </span>
<span id="desc-color" title="{{value}}" class="valueSpace">{{value}}</span>
{{^}}
<span class="keySpace">{{{escapeType key}}}: </span><span class="valueSpace">{{value}}</span>
<span class="keySpace">{{{escapeType key}}}: </span>
<span class="valueSpace">{{value}}</span>
{{/if}}
</em>
</li>
... ...
... ... @@ -495,6 +495,7 @@ bindEvent.add(function() {
// 切换详细信息的颜色显示
$descColor.text($this.data('color'));
$descColor.attr('title', $this.data('color'));
// 切换尺码显示
$sizes.not('.hide').addClass('hide').children('li').removeClass('focus');
... ...
... ... @@ -1039,9 +1039,19 @@
color: #444;
.valueSpace{
.valueSpace {
margin-left:7px;
}
#desc-color {
margin-left:7px;
width: 40%;
display: inline-block;
vertical-align: bottom;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
... ...