tp6更新到最新版本

目录结构调整
This commit is contained in:
2019-09-12 23:57:10 +08:00
parent db04a9c4e5
commit 0b0d659c5e
31 changed files with 656 additions and 635 deletions

View File

@@ -0,0 +1,14 @@
$(function(){
})
function submitHandler(index, layero){
var url = '';
var data = {};
$.each($('form').serializeArray(), function(i, field) {
data[field.name] = field.value;
});
$.operate.submit(url, 'post', 'json', data, function(){
layer.close(index);
});
}

View File

@@ -220,7 +220,9 @@ $(function () {
$.page.createMenuItem($(this).attr('href'), $(this).html());
}else if(type == 'open'){
$.model.open($(this).text(), $(this).attr('href'));
}else if(type == 'msg'){}
}else if(type == 'msg'){
$.operate.get($(this).attr('href'))
}
})
$('span[data-action=scroll]').click(function(e){
@@ -249,4 +251,8 @@ $(function () {
}
})
}
if (self != top) {
parent.location.reload();
}
})