Authored by htoooth

fix

import detailModel from '../../../models/product/detail';
import config from '../../../common/config';
import Yas from '../../../common/yas';
import {
Actionsheet
} from '../../../vendors/zanui/index';
... ... @@ -67,12 +66,6 @@ const QUEUE_SUCCESS = {
repeat: 2
};
let {
windowHeight
} = app.getSystemInfo();
let yas;
Page(Object.assign({
data: {
productSkn: 0,
... ... @@ -132,9 +125,6 @@ Page(Object.assign({
this.productInfo().then(() => {
this.getAssitInfo();
});
yas = new Yas(app);
yas.pageOpenReport();
},
onShareAppMessage: function(res) {
let params = {
... ... @@ -152,11 +142,9 @@ Page(Object.assign({
path: params.PATH, // 分享路径
success: function() {
params.SHARE_RESUIL = 1;
yas.report('YB_SHARE_RESULT_L', params);
},
fail: function() {
params.SHARE_RESUIL = 2;
yas.report('YB_SHARE_RESULT_L', params);
}
};
},
... ...