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
Email Patches
Plain Diff
Browse Files
Authored by
张孝茹
7 years ago
Commit
975249388ac3f14a06018395e3cbc2c39299c733
1 parent
fbce5918
积分商城按钮文字
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
apps/home/views/action/family/coin-mall.hbs
public/js/home/family-coinMall.page.js
apps/home/views/action/family/coin-mall.hbs
View file @
9752493
...
...
@@ -3,15 +3,13 @@
<span>
{{
coinNum
}}
</span>
</div>
<div
class=
"btn-c"
>
<a
class=
"acquiring-help"
href=
'https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明"}}'
>
如何获取积分
</a>
{{#if
isNowApp
}}
<a
class=
"acquiring-help"
href=
'https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明"}}'
>
如何获取Yoho!Coins
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=3&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"3"}}}'
>
Yoho!Coins明细
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=3&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"3"}}}'
>
积分明细
</a>
{{else
if
isMarsApp
}}
<a
class=
"acquiring-help"
href=
'https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明"}}'
>
如何获取mars points
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=2&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"2"}}}'
>
mars points明细
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=2&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"2"}}}'
>
积分明细
</a>
{{else}}
<a
class=
"acquiring-help"
href=
'https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/905.html?share_id=3111&title=YOHO!FAMILY积分说明"}}'
>
如何获取有货币
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=1&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"1"}}}'
>
有货币明细
</a>
<a
class=
"detail"
href=
'//m.yohobuy.com/home/family/coinDetail?plateType=1&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail","param":{"plateType":"1"}}}'
>
积分明细
</a>
{{/if}}
</div>
<div
class=
"tab-fixed"
>
...
...
public/js/home/family-coinMall.page.js
View file @
9752493
...
...
@@ -16,7 +16,6 @@ class IconMall extends Page {
$tabFixed
:
$
(
'.tab-fixed'
),
$yohonowTab
:
$
(
'#yohonow-tab'
),
$marsTab
:
$
(
'#mars-tab'
),
$acquiringHelp
:
$
(
'.acquiring-help'
),
$detail
:
$
(
'.detail'
),
$tipApp
:
$
(
'.tip-app'
),
$closeTip
:
$
(
'.close-tip'
)
...
...
@@ -175,14 +174,12 @@ class IconMall extends Page {
if
(
$this
.
attr
(
'id'
)
===
'yohonow'
)
{
this
.
type
=
'now'
;
this
.
selector
.
$acquiringHelp
.
text
(
'如何获取Yoho!Coins'
);
this
.
selector
.
$detail
.
html
(
'Yoho!Coins明细'
).
attr
(
'href'
,
`
$
{
location
.
protocol
}
//m.yohobuy.com/home/family/coinDetail?plateType=3&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail?plateType=3"}}`);
this
.
selector
.
$detail
.
attr
(
'href'
,
`
$
{
location
.
protocol
}
//m.yohobuy.com/home/family/coinDetail?plateType=3&openby:yohobuy={"action":"go.h5","params":{"url":"${location.protocol}//m.yohobuy.com/home/family/coinDetail?plateType=3"}}`); // eslint-disable-line
}
if
(
$this
.
attr
(
'id'
)
===
'mars'
)
{
this
.
type
=
'mars'
;
this
.
selector
.
$acquiringHelp
.
html
(
'如何获取mars points'
);
this
.
selector
.
$detail
.
html
(
'mars points明细'
).
attr
(
'href'
,
`
$
{
location
.
protocol
}
//m.yohobuy.com/home/family/coinDetail?plateType=2&openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/coinDetail?plateType=2"}}`);
this
.
selector
.
$detail
.
attr
(
'href'
,
`
$
{
location
.
protocol
}
//m.yohobuy.com/home/family/coinDetail?plateType=2&openby:yohobuy={"action":"go.h5","params":{"url":"${location.protocol}//m.yohobuy.com/home/family/coinDetail?plateType=2"}}`); // eslint-disable-line
}
this
.
page
=
1
;
this
.
beforeScroll
=
0
;
...
...
Please
register
or
login
to post a comment