diff --git a/templates/admin/click.php b/templates/admin/click.php
index 8a580aa..3e27086 100755
--- a/templates/admin/click.php
+++ b/templates/admin/click.php
@@ -21,6 +21,10 @@
padding-top:1em;
padding-bottom:1em;
}
+ #menu{
+ width:100%;
+ background-color: #343a40!important;
+ }
-
-
+
diff --git a/templates/admin/static/embed.js b/templates/admin/static/embed.js
index 58c79c4..7ec3e73 100755
--- a/templates/admin/static/embed.js
+++ b/templates/admin/static/embed.js
@@ -452,15 +452,18 @@ layui.use(['element','table','layer','form','upload','iconHhysFa'], function(){
//保存站点设置
form.on('submit(set_transition_page)', function(data){
+ var index = layer.load(1);
$.post('/index.php?c=api&method=set_transition_page',data.field,function(data,status){
if(data.code == 0) {
+ layer.closeAll('loading');
layer.msg(data.data, {icon: 1});
}
else{
+ layer.closeAll('loading');
layer.msg(data.err_msg, {icon: 5});
}
});
- console.log(data.field) //当前容器的全部表单字段,名值对形式:{name: value}
+ //console.log(data.field) //当前容器的全部表单字段,名值对形式:{name: value}
return false; //阻止表单跳转。如果需要表单跳转,去掉这段即可。
});