Commit 400d5c7d by dabai

xx

parent b2c24bd5
Showing with 26 additions and 0 deletions
...@@ -173,6 +173,32 @@ function add0(m) { ...@@ -173,6 +173,32 @@ function add0(m) {
return m < 10 ? '0' + m + "" : m + "" return m < 10 ? '0' + m + "" : m + ""
} }
function layerOpen(){
var self = this;
var arg = arguments;
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .65,
area: ['10rem', ''],
closeBtn: 0,
content: $('.'+arg[0]),
end: function() {
if(arg[1]==undefined){
flag1 = true;
} else {
self['flag'+arg[1]] = true;
}
if(arg.length>2 && typeof arg[2] == 'function'){
arg[2].apply(self,arg);
}
}
})
}
//多語言 //多語言
var langList = [ var langList = [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment