...
|
...
|
@@ -37,8 +37,9 @@ function downLoadApp() { |
|
|
// });
|
|
|
// });
|
|
|
|
|
|
floatLayerCloseHammer = new Hammer($('#float-layer-close')[0]);
|
|
|
floatLayerCloseHammer.on('tap', function(e) {
|
|
|
if ($('#float-layer-close') && $('#float-layer-close')[0]) {
|
|
|
floatLayerCloseHammer = new Hammer($('#float-layer-close')[0]);
|
|
|
floatLayerCloseHammer.on('tap', function(e) {
|
|
|
$('#float-layer-app').hide();
|
|
|
window.setCookie('_float-layer-app', 'id490655927',
|
|
|
{
|
...
|
...
|
@@ -49,23 +50,27 @@ floatLayerCloseHammer.on('tap', function(e) { |
|
|
domain: '.yohobuy.com',
|
|
|
expires: 1
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// $('#float-layer-btn').tap(function () {
|
|
|
// downLoadApp('bottom');
|
|
|
// });
|
|
|
|
|
|
floatLayerBtnHammer = new Hammer($('#float-layer-btn')[0]);
|
|
|
floatLayerBtnHammer.on('tap', function(e) {
|
|
|
if ($('#float-layer-btn') && $('#float-layer-btn')[0]) {
|
|
|
floatLayerBtnHammer = new Hammer($('#float-layer-btn')[0]);
|
|
|
floatLayerBtnHammer.on('tap', function(e) {
|
|
|
downLoadApp('bottom');
|
|
|
});
|
|
|
});
|
|
|
|
|
|
if (!window.cookie('_float-layer-app')) {
|
|
|
if (!window.cookie('_float-layer-app')) {
|
|
|
$('#float-layer-app').show();
|
|
|
} else {
|
|
|
} else {
|
|
|
$('#float-layer-app').hide();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 频道选择页面顶部搜索
|
|
|
* @author: bikai<kai.bi@yoho.cn>
|
...
|
...
|
|