Authored by hf

fixes bug to cuxiao huodong android crash

@@ -220,7 +220,7 @@ function getNamedCoupon(activityId, couponId, isApp) @@ -220,7 +220,7 @@ function getNamedCoupon(activityId, couponId, isApp)
220 domain: '.m.yohobuy.com' 220 domain: '.m.yohobuy.com'
221 }); 221 });
222 if (isApp) { 222 if (isApp) {
223 - showTip('请先登录!'); 223 + //showTip('请先登录!');
224 } else { 224 } else {
225 location.href = data.data; 225 location.href = data.data;
226 } 226 }
@@ -61,7 +61,7 @@ class CouponController extends HuodongAction @@ -61,7 +61,7 @@ class CouponController extends HuodongAction
61 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题 61 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
62 62
63 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 63 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
64 - 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlBoys . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{},"priority":"N"}}', 64 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlBoys . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}',
65 'weixinShare' => $isApp ? false : true, // 是否需要微信分享 65 'weixinShare' => $isApp ? false : true, // 是否需要微信分享
66 'shareLink' => $urlBoys, 66 'shareLink' => $urlBoys,
67 'shareTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', 67 'shareTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!',
@@ -151,7 +151,7 @@ class CouponController extends HuodongAction @@ -151,7 +151,7 @@ class CouponController extends HuodongAction
151 $this->_view->display('girlsbrand', array( 151 $this->_view->display('girlsbrand', array(
152 'activityId' => 76, // 活动ID 152 'activityId' => 76, // 活动ID
153 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题 153 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
154 - 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlGirls . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{},"priority":"N"}}', 154 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlGirls . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}',
155 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 155 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
156 156
157 'weixinShare' => $isApp ? false : true, // 是否需要微信分享 157 'weixinShare' => $isApp ? false : true, // 是否需要微信分享
@@ -247,7 +247,7 @@ class CouponController extends HuodongAction @@ -247,7 +247,7 @@ class CouponController extends HuodongAction
247 'activityId' => 77, // 活动ID 247 'activityId' => 77, // 活动ID
248 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题 248 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
249 249
250 - 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlKids . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{},"priority":"N"}}', 250 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlKids . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}',
251 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 251 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
252 252
253 'weixinShare' => $isApp ? false : true, // 是否需要微信分享 253 'weixinShare' => $isApp ? false : true, // 是否需要微信分享
@@ -299,7 +299,7 @@ class CouponController extends HuodongAction @@ -299,7 +299,7 @@ class CouponController extends HuodongAction
299 'activityId' => 78, // 活动ID 299 'activityId' => 78, // 活动ID
300 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题 300 'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
301 301
302 - 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlLifestyle . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{},"priority":"N"}}', 302 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlLifestyle . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}',
303 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 303 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
304 304
305 'weixinShare' => $isApp ? false : true, // 是否需要微信分享 305 'weixinShare' => $isApp ? false : true, // 是否需要微信分享
@@ -351,7 +351,7 @@ class CouponController extends HuodongAction @@ -351,7 +351,7 @@ class CouponController extends HuodongAction
351 $this->_view->display('newuser', array( 351 $this->_view->display('newuser', array(
352 'activityId' => 83, // 活动ID 352 'activityId' => 83, // 活动ID
353 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 353 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题
354 - 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{},"priority":"N"}}', 354 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}',
355 355
356 'url_mycoupon' => $urlMycoupon . '?yohobuy={"action":"go.coupon"}', 356 'url_mycoupon' => $urlMycoupon . '?yohobuy={"action":"go.coupon"}',
357 'url_yohope' => $urlYohope . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlYohope . '","param":{}}}', 357 'url_yohope' => $urlYohope . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlYohope . '","param":{}}}',