From f224c62b9e4693adb6d67b6df231bad26f8ea481 Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Tue, 8 Nov 2016 10:50:15 +0800 Subject: [PATCH] =?UTF-8?q?added=20=E6=96=B0=E5=A2=9E=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/admin/static/js/template.js | 1 + public/admin/static/js/template/table.js | 28 ++++++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/public/admin/static/js/template.js b/public/admin/static/js/template.js index 7461904..26f5dc2 100644 --- a/public/admin/static/js/template.js +++ b/public/admin/static/js/template.js @@ -90,6 +90,7 @@ function refresh( url ) { if( data.data.tempType == 'table' ){ $.getScript('/static/js/template/table.js', function (){ $('#content').html($.buildTable(data.data)); + $('#tableBox').hide().fadeIn(800); }); } }else{ diff --git a/public/admin/static/js/template/table.js b/public/admin/static/js/template/table.js index ac3cf74..867e7cc 100644 --- a/public/admin/static/js/template/table.js +++ b/public/admin/static/js/template/table.js @@ -3,7 +3,7 @@ */ (function ($) { $.buildTable = function ( tableObj ) { - var tableHtml = '