Authored by huangyi

Merge branch 'feature/code-style' of http://git.yoho.cn/fe/yoho-luck into feature/code-style

@@ -93,7 +93,7 @@ const yasReport = function (eventId, data = {}, app) { @@ -93,7 +93,7 @@ const yasReport = function (eventId, data = {}, app) {
93 let ak = 'yoholuck_mp';// 93 let ak = 'yoholuck_mp';//
94 let net = '0'; 94 let net = '0';
95 let ts = new Date().getTime() + ''; 95 let ts = new Date().getTime() + '';
96 - let uid = app && app.globalData && app.globalData.userInfo && app.globalData.userInfo.uid ? app.globalData.userInfo.uid : ''; 96 + let uid = app && app.globalData && app.globalData.userInfo && app.globalData.userInfo.uid ? app.globalData.userInfo.uid : (getYHStorageSync('openID', 'analytics') || '');
97 let udid = app && app.globalData && app.globalData.udid ? app.globalData.udid : ''; 97 let udid = app && app.globalData && app.globalData.udid ? app.globalData.udid : '';
98 let sid = app && app.globalData && app.globalData.sid ? app.globalData.sid : ''; 98 let sid = app && app.globalData && app.globalData.sid ? app.globalData.sid : '';
99 let cid = app && app.globalData && app.globalData.cid ? app.globalData.cid : ''; 99 let cid = app && app.globalData && app.globalData.cid ? app.globalData.cid : '';
@@ -245,7 +245,7 @@ Page(Object.assign({ @@ -245,7 +245,7 @@ Page(Object.assign({
245 .then(data => { 245 .then(data => {
246 // console.log(data) 246 // console.log(data)
247 this.setData({ 247 this.setData({
248 - bannerSrc: formatImageUrl(data.src, app.globalData.systemInfo.screenWidth, 70, 2), 248 + bannerSrc: formatImageUrl(data.src, 750, 234, 2),
249 bannerUrl: data.url 249 bannerUrl: data.url
250 }) 250 })
251 }) 251 })