Authored by lijing

生日卷特权增加链接

... ... @@ -181,7 +181,8 @@ exports.grade = (req, res, next) => {
module: 'home',
page: 'grade',
title: '会员等级',
pageFooter: true
pageFooter: true,
width750: true
};
let param = {
... ... @@ -213,7 +214,8 @@ exports.preferential = (req, res, next) => {
module: 'home',
page: 'grade',
title: '会员特权详情',
pageFooter: true
pageFooter: true,
width750: true
};
let param = {
... ...
... ... @@ -73,7 +73,8 @@ module.exports = class extends global.yoho.BaseModel {
enp = {
description: val.description,
pic: val.pic,
title: val.title
title: val.title,
href: val.id === 8
};
obj.privilege.push(enp);
... ...
... ... @@ -362,7 +362,8 @@ const getGrade = (param) => {
enp = {
description: val.description,
pic: val.pic,
title: val.title
title: val.title,
href: val.id === 8
};
obj.privilege.push(enp);
... ... @@ -461,7 +462,8 @@ const getPreferential = (params) => {
obj = {
description: val.description,
pic: val.pic,
title: val.title
title: val.title,
href: val.id === 8
};
resu.privilege.push(obj);
... ...
... ... @@ -147,7 +147,7 @@
</div>
<div class="tab-item hide">
{{# vipGrade}}
<div class="vip-privilege-page">
<div class="vip-privilege-page clearfix">
{{> vip-grade/privilege}}
</div>
<a class="big-top" href="{{allUrl}}">
... ...
<div class="vip-privilege-page yoho-page">
<ul class="privilege-list">
<div class="privilege-list clearfix">
{{#each privilege}}
<li>
<a{{#if href}} href="//m.yohobuy.com/activity/birthday"{{/if}}>
<img class="icon" src="{{pic}}">
<p>
{{title}}
<span>{{description}}</span>
</p>
</li>
{{#if href}}
<span class="iconfont">&#xe604;</span>
{{/if}}
</a>
{{/each}}
</ul>
</div>
\ No newline at end of file
</div>
</div>
... ...
<ul class="privilege-list">
<div class="privilege-list clearfix">
{{#each privilege}}
<li>
<a{{#if href}} href="//m.yohobuy.com/activity/birthday"{{/if}}>
<img class="icon" src="{{pic}}">
<p>
{{title}}
<span>{{description}}</span>
</p>
</li>
{{#if href}}
<span class="iconfont">&#xe604;</span>
{{/if}}
</a>
{{/each}}
</ul>
\ No newline at end of file
</div>
... ...
... ... @@ -176,13 +176,29 @@
height: 70px;
}
li {
a {
width: 690px;
clear: both;
float: left;
padding: 25px 0;
border-bottom: solid 1px #e5e5e5;
&:last-child {
border-bottom: 0;
}
.iconfont {
float: right;
line-height: 70px;
}
}
p {
font-size: 28px;
margin-left: 100px;
margin-left: 30px;
min-height: 70px;
width: 560px;
float: left;
}
span {
... ...
... ... @@ -214,10 +214,10 @@
.vip-privilege-page {
background-color: #fff;
padding: 0 30px;
margin-top: 20px;
}
.privilege-list {
margin-top: 20px;
background: #fff;
.icon {
... ... @@ -225,25 +225,31 @@
display: block;
width: 70px;
height: 70px;
margin: 25px 0;
}
li {
a {
width: 690px;
clear: both;
float: left;
padding: 25px 0;
border-bottom: solid 1px #e5e5e5;
&:last-child {
p {
border-bottom: 0;
}
border-bottom: 0;
}
.iconfont {
float: right;
line-height: 70px;
}
}
p {
font-size: 28px;
margin-left: 100px;
padding: 25px 0;
border-bottom: solid 1px #e5e5e5;
margin-left: 30px;
min-height: 70px;
width: 560px;
float: left;
}
span {
... ...