Authored by 陈峰

headerid

... ... @@ -21,7 +21,7 @@ import Vue from 'vue';
import util from 'common/util';
import interceptClick from 'common/intercept-click';
import bus from 'common/vue-bus';
import FastClick from 'fastclick';
// import FastClick from 'fastclick';
import directive from 'common/vue-directive';
import filter from 'common/vue-filter';
import VueTouch from 'vue-touch';
... ... @@ -31,7 +31,7 @@ import VueTouch from 'vue-touch';
*/
global.Promise = Promise;
FastClick.attach(document.body);
// FastClick.attach(document.body);
// 隐藏 App 默认显示的 loading
Vue.mixin({
... ...
... ... @@ -26,7 +26,7 @@ if (isYohoBuy && !$appLink) {
$appLink.id = 'yoho-app-link';
$appLink.href = 'javascript:;';
$appLink.style.display = 'none';
$appLink.className = 'no-intercept';
$appLink.className = 'no-intercept needsclick';
body.appendChild($appLink);
}
... ... @@ -211,6 +211,10 @@ const yoho = {
if (url.indexOf('openby:') < 0) {
delete args.url;
if (args.header && args.header.headerid !== void 0) {
args.headerid = args.header.headerid;
delete args.header;
}
url += (url.indexOf('?') >= 0 ? '&' : '?') + 'openby:yohobuy=' + JSON.stringify({
action: 'go.h5',
params: {
... ...