Authored by ccbikai(👎🏻🍜)

Merge branch 'release/5.0.0'

... ... @@ -18,7 +18,7 @@ function getQueryString(name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg);
if (r != null) {
if (r !== null) {
return window.unescape(r[2]);
}
return null;
... ... @@ -40,7 +40,7 @@ function downLoadApp() {
}, 500);
}
$('#float-layer-close').on('touchend', function(e) {
$('#float-layer-close').on('touchend', function() {
$('#float-layer-app').hide();
window.setCookie('_float-layer-app', 'id490655927',
{
... ... @@ -61,9 +61,9 @@ if ($('#float-layer-btn') && $('#float-layer-btn')[0]) {
e.srcEvent.stopPropagation();
});
// if (typeof window.cookie === 'function' && !window.cookie('_float-layer-app')) {
// $('#float-layer-app').show();
// } else {
// $('#float-layer-app').hide();
// }
if (typeof window.cookie === 'function' && !window.cookie('_float-layer-app')) {
$('#float-layer-app').show();
} else {
$('#float-layer-app').hide();
}
}
... ...