Authored by biao

add description in data structure and fix bug of pay.js

... ... @@ -1246,3 +1246,28 @@
'isCollect':true//
}
}
###支付中心
{
'payAppInfo' : {
'appIcon' : 'http://static.yohobuy.com/images/icon.png',
'app' : '微信支付',
'hint' : '需下载微信客户端',
'subHint' : '推荐使用'
}
}
###物流详情
{
'logisticImg' : 'http://static.yohobuy.com/images/icon.png',
'logisticUrl' : 'http://www.shunfeng.com',
'logisticCompany' : '顺丰',
'logisticNumber' : '1231231231',
'logisticDetail' : {
'status' : '南京市 派送中',
'date' : '2015-12-03'
}
}
... ...
... ... @@ -15,3 +15,5 @@ require('./address');
require('./suggest');
require('./browse-record');
require('./address-act');
require('./logistic');
require('./pay');
... ...
... ... @@ -29,7 +29,7 @@ function hideWeChatPay() {
}
function handleForWX() {
if (isWXOpen()) {
if (!isWXOpen()) {
hideWeChatPay();
}
}
... ...