admin
2020-11-10 e130e13ef0cc4a827aa2c8d9e47d619a4cea40d0
js/admin-creat.js
@@ -128,6 +128,7 @@
               screen: { 
                  show: false, // 是否显示
                  list: [], // 可选列表
                  btns:[],//按钮列表
                  touch: function () {}, // 事件触发
                  // 展开 / 收起 点击
                  action_show: function () { $(".admin-header-screen").toggleClass("displayNone"); },
@@ -148,6 +149,9 @@
                     var thisScreen = vm_header.resultGet();
                     vm_header.screen.touch(thisScreen.screen);
                  },
                  action_btnClick:function(item){
                     item.actionClick();
                  }
               },
            },
            // 额外方法
@@ -293,6 +297,7 @@
         if (typeof(objC.show)!="undefined") { vm_header.screen.show = objC.show; }
         if (typeof(objC.list)!="undefined") { vm_header.screen.list = objC.list; }
         if (typeof(objC.touch)!="undefined") { vm_header.screen.touch = objC.touch; }
         if (typeof(objC.btns)!="undefined") { vm_header.screen.btns = objC.btns; }
      },
   },