|
@@ -172,7 +172,7 @@ layui.define('view', function(exports){
|
|
|
//右侧面板
|
|
|
,popupRight: function(options){
|
|
|
//layer.close(admin.popup.index);
|
|
|
- return admin.popup.index = layer.open($.extend({
|
|
|
+ return admingroup = admin.popup.index = layer.open($.extend({
|
|
|
type: 1
|
|
|
,id: 'LAY_adminPopupR'
|
|
|
,anim: -1
|
|
@@ -464,7 +464,17 @@ layui.define('view', function(exports){
|
|
|
admin.popupRight({
|
|
|
id: 'LAY_adminPopupMore'
|
|
|
,success: function(){
|
|
|
- view(this.id).render('system/more');
|
|
|
+ //view(this.id).render('system/more');
|
|
|
+ var nav = '';
|
|
|
+ $('.nav li').each(function(i) {
|
|
|
+ var self = $(this);
|
|
|
+ var name = self.html();
|
|
|
+ nav += '<div class="layui-card-header">'+name+'</div>';
|
|
|
+ })
|
|
|
+ var html = '<div class="layadmin-menu-list">';
|
|
|
+ html += nav;
|
|
|
+ html += '</div>';
|
|
|
+ $('#' + this.id).html(html);
|
|
|
}
|
|
|
});
|
|
|
}
|