Authored by Aiden Xu

分期订单

... ... @@ -41,9 +41,11 @@
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
{{/wechatShare}}
{{#if devEnv}}
<script>var STATIC_RESOURCE_PATH = '//{{devHost}}:5001';</script>
<script src="//{{devHost}}:5001/libs.js"></script>
<script src="//{{devHost}}:5001/{{module}}.{{page}}.js"></script>
{{^}}
<script>var STATIC_RESOURCE_PATH = '//cdn.yoho.cn/m-yohobuy-node/';</script>
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js"></script>
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
{{/if}}
... ...
... ... @@ -18,7 +18,7 @@ var loadOrderList = function(pageIndex, type) {
page: pageIndex,
type: type
}).then(function(result) {
if (result && result.replace(/\s/g,'')) {
if (result && result.replace(/\s/g, '')) {
search.pageIndex = pageIndex;
}
... ...
... ... @@ -62,7 +62,9 @@ var debounceFn = debounce(function(cardNo) {
$('#bank-name').text(result.data.bankName);
// 设置银行图标
$('#bank-icon').attr('src', '/img/home/bank-icons/' + result.data.bankCode + '.png');
$('#bank-icon').attr('src',
window.STATIC_RESOURCE_PATH +
'/img/home/bank-icons/' + result.data.bankCode + '.png');
$('#bank-desc').show();
}
} else {
... ...