...
|
...
|
@@ -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;
|
...
|
...
|
|