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
郭成尧
2018-03-22 16:42:51 +0800
Commit
0bc4ec766327f7e48401c2963cb0dc8df0186e9d
2 parents
589a77f6
d8b74aa4
Merge branch 'feature/growthdetail' of git.yoho.cn:fe/yohobuywap-node into feature/growthdetail
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
apps/activity/models/droit-util.js
apps/activity/views/action/grade/droit.hbs
apps/activity/models/droit-util.js
View file @
0bc4ec7
...
...
@@ -6,7 +6,7 @@ const _ = require('lodash');
// 会员权益方案写死,后台未做,后期删除
function
droitHtml
(
contents
)
{
let
banner
=
'http://img10.static.yhbimg.com/article/2017/06/20/12/01a50a1f45b97365e758d6890858998310.jpg'
+
'?imageView2/2/w/
670/h/240/q/60/format/webp
'
;
'?imageView2/2/w/
{width}/h/{height}
'
;
_
.
map
(
contents
,
item
=>
{
if
(
item
.
displayName
===
'7天退换货'
)
{
...
...
apps/activity/views/action/grade/droit.hbs
View file @
0bc4ec7
...
...
@@ -2,7 +2,7 @@
<div
class=
"droit-nav"
>
{{#
vipNav
}}
<div
class=
"droit-nav-item
{{#if
active
}}
active
{{/if}}
"
>
<img
class=
"droit-nav-icon"
src=
"
{{
i
osSmallImage
}}
"
>
<img
class=
"droit-nav-icon"
src=
"
{{
i
mage
iosSmallImage
100
100
}}
"
/
>
<span
class=
"name"
>
{{
displayName
}}
</span>
</div>
{{/
vipNav
}}
...
...
@@ -10,12 +10,12 @@
<div
class=
"grade-droit-content"
>
{{#
vipNav
}}
<div
class=
"droit-nav-content
{{#
unless
active
}}
hide
{{/
unless
}}
"
>
{{#if
content
.
banner
}}
<div
class=
"banner"
>
<img
src=
"
{{
image
content
.
banner
670
240
}}
"
/>
</div>
{{/if}}
{{#if
content
.
intros
}}
{{#if
content
.
banner
}}
<div
class=
"banner"
>
<img
src=
"
{{
content
.
banner
}}
"
>
</div>
{{/if}}
<div
class=
"intro"
>
{{#
content
.
intros
}}
<div
class=
"intro-item"
>
...
...
Please
register
or
login
to post a comment