...
|
...
|
@@ -294,6 +294,23 @@ const yoho = { |
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 更新头部信息
|
|
|
* @param args {""}
|
|
|
* @param success
|
|
|
* @param fail
|
|
|
*/
|
|
|
updateNavigationBar(args, success, fail) {
|
|
|
if (this.isApp) {
|
|
|
window.yohoInterface.triggerEvent(success || function() {}, fail || function() {}, {
|
|
|
method: 'update.navigationBarStyle',
|
|
|
arguments: args
|
|
|
});
|
|
|
} else {
|
|
|
tip(tipInfo);
|
|
|
}
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
* 显示 loading
|
|
|
* @param args Boolen
|
|
|
* @param success
|
...
|
...
|
|