Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2017-07-25 17:43:24 +0800
Commit
38f9806e55a439c392849ab9d39c9895b2b72cf0
2 parents
3d63561b
7fb48aef
Merge branch 'feature/freeMailAct' into 'release/6.0'
个人中心权益 See merge request
!743
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
apps/home/models/grade-new.js
apps/home/models/index.js
apps/home/views/action/vip-grade/privilege.hbs
apps/home/views/partial/vip-grade/privilege.hbs
apps/home/models/grade-new.js
View file @
38f9806
...
...
@@ -114,7 +114,7 @@ module.exports = class extends global.yoho.BaseModel {
description
:
val
.
description
,
pic
:
val
.
pic
,
title
:
val
.
title
,
href
:
val
.
id
===
8
href
:
val
.
id
===
8
?
'//m.yohobuy.com/activity/birthday'
:
_
.
get
(
val
,
'actionParam'
,
false
)
};
obj
.
privilege
.
push
(
enp
);
...
...
apps/home/models/index.js
View file @
38f9806
...
...
@@ -464,7 +464,7 @@ const getPreferential = (params) => {
description
:
val
.
description
,
pic
:
val
.
pic
,
title
:
val
.
title
,
href
:
val
.
id
===
8
href
:
val
.
id
===
8
?
'//m.yohobuy.com/activity/birthday'
:
_
.
get
(
val
,
'actionParam'
,
false
)
};
resu
.
privilege
.
push
(
obj
);
...
...
apps/home/views/action/vip-grade/privilege.hbs
View file @
38f9806
<div
class=
"vip-privilege-page yoho-page"
>
<div
class=
"privilege-list clearfix"
>
{{#
each
privilege
}}
<a
{{#if
href
}}
href=
"
//m.yohobuy.com/activity/birthday
"
{{/if}}
>
<a
{{#if
href
}}
href=
"
{{
href
}}
"
{{/if}}
>
<img
class=
"icon"
src=
"
{{
pic
}}
"
>
<p>
{{
title
}}
...
...
apps/home/views/partial/vip-grade/privilege.hbs
View file @
38f9806
<div
class=
"privilege-list clearfix"
>
{{#
each
privilege
}}
<a
{{#if
href
}}
href=
"
//m.yohobuy.com/activity/birthday
"
{{/if}}
>
<a
{{#if
href
}}
href=
"
{{
href
}}
"
{{/if}}
>
<img
class=
"icon"
src=
"
{{
pic
}}
"
>
<p>
{{
title
}}
...
...
Please
register
or
login
to post a comment