/*** Created by A.J on 2021/1/27.*/$(document).ready(function(){$("#upload").uploadify({auto:!0,fileTypeExts:"*.zip",multi:!1,formData:{verification:$("#verification").text()},fileSizeLimit:99999,buttonText:$("#buttonText").text(),showUploadedPercent:!0,showUploadedSize:!1,removeTimeout:3,uploader:"uploadtheme",onUploadComplete:function(t,e){"ok"==e?location.reload():$.alert({title:$("#chucuo").text(),content:e,confirmButton:$("#queding").text()})}}),$(".deltheme").click(function(){var t=$(this).data("name");$.confirm({title:$("#quedingshanchu").text(),content:t+" "+$("#bukehuifu").text(),confirmButton:$("#jixu").text(),cancelButton:$("#quxiao").text(),confirm:function(){$.post("deltheme",{name:t,verification:$("#verification").text()},function(t){"ok"==t?location.reload():$.alert({title:$("#chucuo").text(),content:t,confirmButton:$("#queding").text()})})}})})});