.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
|
||||
@Name: Fly社区主入口
|
||||
|
||||
@@ -22,6 +22,11 @@ layui.define(['layer', 'laytpl', 'form', 'element', 'upload', 'util', 'face'], f
|
||||
if(device.ie && device.ie < 8){
|
||||
layer.alert('如果您非得使用 IE 浏览器访问社区,那么请使用 IE8+');
|
||||
}
|
||||
//1216.top都统一访问到www.1216.top; 考虑SEO
|
||||
var addr = window.location.href
|
||||
if(addr.indexOf("1216.top") > -1 && addr.indexOf("www.1216.top") == -1){
|
||||
window.location.href = addr.replace("1216.top", "www.1216.top");
|
||||
}
|
||||
|
||||
layui.focusInsert = function(obj, str){
|
||||
var result, val = obj.value;
|
||||
@@ -641,7 +646,7 @@ layui.define(['layer', 'laytpl', 'form', 'element', 'upload', 'util', 'face'], f
|
||||
});
|
||||
|
||||
//固定Bar
|
||||
util.fixbar({
|
||||
/*util.fixbar({
|
||||
bar1: ''
|
||||
,bgcolor: '#4a184c'
|
||||
,click: function(type){
|
||||
@@ -650,7 +655,7 @@ layui.define(['layer', 'laytpl', 'form', 'element', 'upload', 'util', 'face'], f
|
||||
location.href = '/jie/add';
|
||||
}
|
||||
}
|
||||
});
|
||||
});*/
|
||||
|
||||
exports('fly', fly);
|
||||
|
||||
|
Reference in New Issue
Block a user