Authored by hf

fixes bug to cuxiao huodong android crash

@@ -183,7 +183,7 @@ function showTip(con, dur) { @@ -183,7 +183,7 @@ function showTip(con, dur) {
183 } 183 }
184 184
185 content = con.toString(); 185 content = con.toString();
186 - duration = (dur && dur > 0) ? dur : 5000; 186 + duration = (dur && dur > 0) ? dur : 3000;
187 187
188 $tip.html(content).show(); 188 $tip.html(content).show();
189 189
@@ -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":{"url":"","param":{}},"priority":"Y"}}', 64 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlBoys . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
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":{"url":"","param":{}},"priority":"Y"}}', 154 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlGirls . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
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":{"url":"","param":{}},"priority":"Y"}}', 250 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlKids . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
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":{"url":"","param":{}},"priority":"Y"}}', 302 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlLifestyle . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
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":{"url":"","param":{}},"priority":"Y"}}', 354 + 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
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":{}}}',