diff --git a/public/static/admin.js b/public/static/admin.js
index c947243a7..47e90cc19 100644
--- a/public/static/admin.js
+++ b/public/static/admin.js
@@ -749,13 +749,15 @@ $(function () {
});
$.loadQueue = function (code) {
layer.open({
- type: 1, title: false, area: [500, 270], anim: 2, shadeClose: false, content: '' +
- '
' +
- '
' +
+ type: 1, title: false, area: ['560px', '315px'], anim: 2, shadeClose: false, content: '' +
+ '
' +
+ '
' +
'
' +
+ '
' +
+ ' ' +
'
' +
- '
' +
'
'
});
var scripts = {};
@@ -767,11 +769,15 @@ $(function () {
this.$percent = that.$box.find('.layui-progress div');
this.setState = function (status, message) {
if (message.indexOf('javascript:') === 0) {
- } else if (status === 1 || (status === 2 && message.indexOf('>>>') > -1)) {
+ } else if (status === 1) {
that.$title.html('
' + message + '');
that.$percent.addClass('layui-bg-blue').removeClass('layui-bg-green layui-bg-red');
} else if (status === 2) {
- that.$title.html('
正在处理:' + message);
+ if (message.indexOf('>>>') > -1) {
+ that.$title.html('
' + message + '');
+ } else {
+ that.$title.html('
正在处理:' + message);
+ }
that.$percent.addClass('layui-bg-blue').removeClass('layui-bg-green layui-bg-red');
} else if (status === 3) {
that.$title.html('
' + message + '');