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
郭成尧
7 years ago
Commit
ce086dce6882f8089e3fbc34914bd6c932378c5b
2 parents
ea69401b
8fcaa58c
Merge branch 'feature/growthdetail' into release/6.5.3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
apps/activity/models/droit-util.js
apps/activity/views/action/grade/droit.hbs
public/js/home/family.page.js
apps/activity/models/droit-util.js
View file @
ce086dc
...
...
@@ -62,15 +62,24 @@ function droitHtml(contents) {
};
}
else
if
(
item
.
displayName
===
'购物返币'
)
{
item
.
content
=
{
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/0160bd2c93e5730608a7921181eb826ab2.jpg${imageView2}`
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/0160bd2c93e5730608a7921181eb826ab2.jpg${imageView2}`,
intros
:
[
{
title
:
'Dear:'
,
data
:
[
'近期将针对有货的VIP会员推出购物返有货币服务,成功购物之后自动到账,服务即将开启请随时关注最新APP会员权益动态!'
]},
]
};
}
else
if
(
item
.
displayName
===
'升级礼包'
)
{
item
.
content
=
{
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/0100d72b57f8c364e69cdfeb708b5d852a.jpg${imageView2}`
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/0100d72b57f8c364e69cdfeb708b5d852a.jpg${imageView2}`,
intros
:
[
{
title
:
'Dear:'
,
data
:
[
'近期将针对有货的VIP会员推出专享升级礼包服务,等级提升后即可领取,服务即将开启请随时关注最新APP会员权益动态!'
]},
]
};
}
else
if
(
item
.
displayName
===
'优享客服'
)
{
item
.
content
=
{
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/01ded1925ced60db1a63937bcd3afbbb1d.jpg${imageView2}`
banner
:
`
http
:
//img11.static.yhbimg.com/sort/2018/03/26/13/01ded1925ced60db1a63937bcd3afbbb1d.jpg${imageView2}`,
intros
:
[
{
title
:
'Dear:'
,
data
:
[
'近期将针对有货的VIP会员推出优享客服服务,感受更优质的客服体验,服务即将开启请随时关注最新APP会员权益动态!'
]},
]
};
}
});
...
...
apps/activity/views/action/grade/droit.hbs
View file @
ce086dc
...
...
@@ -28,6 +28,7 @@
</div>
{{/
content
.
intros
}}
</div>
{{#if
content
.
interlocution
}}
<div
class=
"interlocution"
>
{{#
content
.
interlocution
}}
<div
class=
"interlocution-item"
>
...
...
@@ -43,6 +44,7 @@
</div>
{{/
content
.
interlocution
}}
</div>
{{/if}}
{{else}}
<div
class=
"empty"
>
敬请期待…
</div>
{{/if}}
...
...
public/js/home/family.page.js
View file @
ce086dc
...
...
@@ -323,10 +323,6 @@ class FamilyIndex extends Page {
let
isLogin
=
$this
.
data
(
'login'
);
let
isNoOpen
=
$this
.
data
(
'noopen'
);
if
(
appType
===
'yohobuy'
)
{
return
;
}
if
(
!
this
.
vipInfo
||
!
this
.
vipInfo
[
appType
])
{
this
.
viewVipInfo
();
return
false
;
...
...
@@ -342,7 +338,7 @@ class FamilyIndex extends Page {
},
true
);
}
if
(
isLogin
&&
!
isNoOpen
)
{
if
(
isLogin
&&
!
isNoOpen
&&
appType
!==
'yohobuy'
)
{
this
.
selector
.
$diaC
.
append
(
this
.
view
.
vipDetailInfo
(
this
.
vipInfo
[
appType
]));
$
(
'.vip-detail'
).
addClass
(
appType
);
...
...
Please
register
or
login
to post a comment