Authored by 张孝茹

样式 名称截断

... ... @@ -69,7 +69,7 @@ exports.coinDetail = (req, res) => {
pageHeader: headerModel.setNav({
navTitle: '积分明细'
}),
title: 'YOHO!积分明细',
title: '积分明细',
width750: true,
localCss: true
};
... ... @@ -100,7 +100,7 @@ exports.userInfo = (req, res, next) => {
pageHeader: headerModel.setNav({
navTitle: '个人信息'
}),
title: 'YOHO!个人信息',
title: '个人信息',
width750: true,
localCss: true
};
... ... @@ -152,7 +152,7 @@ exports.coinMall = (req, res, next) => {
pageHeader: headerModel.setNav({
navTitle: '积分商城'
}),
title: 'YOHO!积分商城',
title: '积分商城',
width750: true,
localCss: true
};
... ...
... ... @@ -407,7 +407,9 @@ class familyModel extends global.yoho.BaseModel {
return b.proportion - a.proportion;
});
chartsData.total = _.get(result.data, 'total', '');
if (_.get(result.data, 'total', 0)) {
chartsData.total = parseInt(result.data.total, 10) < 99999 ? result.data.total : '99999+';
}
_.forEach(result.data.data, function(data) {
list.push({
... ...
... ... @@ -9,13 +9,13 @@
{{else}}
<div class="banner-center banner-center-swiper">
<ul class="banner-list swiper-wrapper clearfix">
{{#data.list}}
{{#data}}
<li class="swiper-slide">
<a href="{{url}}" id="{{../template_id}}' name="{{../template_intro}}">
<img src="{{image2 src w=750 h=290 q=60 mode=3}}" alt="">
</a>
</li>
{{/data.list}}
{{/data}}
</ul>
<div class="swiper-pagination" {{#unless singleOne}}style="display:block"{{/unless}}>
<div class="pagination-inner">
... ...
... ... @@ -65,6 +65,11 @@
height: 55px;
font-weight: bold;
line-height: 55px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 360px;
}
.gender {
... ... @@ -382,12 +387,6 @@
width: 400px;
}
.name {
color: #000;
font-size: 30px;
line-height: 60px;
}
.level {
font-size: 24px;
line-height: 32px;
... ... @@ -403,6 +402,21 @@
}
}
.name {
color: #000;
font-size: 30px;
margin-bottom: 10px;
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 300px;
vertical-align: text-bottom;
}
}
.pic {
width: 120px;
height: 120px;
... ...