Authored by 郭成尧

isMarsApp

... ... @@ -34,7 +34,7 @@
<span class="btn check-logistics check-ewm">查看二维码</span>
</a>
{{else if afterService}}
<span class="btn after-sales">申请售后</span>
<span class="btn after-sales{{#if isMarsApp}}is-mars-app{{/if}}">申请售后</span>
{{else if readd}}
<span class="btn rebuy">再次购买</span>
{{/if}}
... ...
... ... @@ -184,9 +184,18 @@ optHammer.on('tap', function(e) {
}
return true;
} else if ($cur.closest('.after-sales').length) {
setTimeout(function() {
$refundChangeMask.fadeIn();
}, 4);
if ($cur.hasClass('is-mars-app')) {
setTimeout(function() {
$refundChangeMask.fadeIn();
}, 4);
} else {
dialog.showDialog({
dialogText: 'WAP端暂不支持该功能,请至有货APP进行操作',
hasFooter: {
centerBtnText: '我知道了'
}
});
}
return false;
} else if ($cur.hasClass('sure')) {
sureOrder();
... ...