diff --git a/application/admin/view/default/pluginsadmin/index.html b/application/admin/view/default/pluginsadmin/index.html index 7dbb4e404..58b9af335 100755 --- a/application/admin/view/default/pluginsadmin/index.html +++ b/application/admin/view/default/pluginsadmin/index.html @@ -46,9 +46,9 @@ {{/if}} - + - + diff --git a/public/static/admin/default/js/pluginsadmin.js b/public/static/admin/default/js/pluginsadmin.js index f93adab2b..759121da5 100644 --- a/public/static/admin/default/js/pluginsadmin.js +++ b/public/static/admin/default/js/pluginsadmin.js @@ -8,6 +8,17 @@ $(function() $modal.modal('open'); }); + // 插件设置事件 + $('.plugins-set-event').on('click', function() + { + if($(this).parents('.am-gallery-item').hasClass('am-active')) + { + Prompt('请先点击勾勾启用'); + } else { + window.location.href = $(this).data('set-url'); + } + }); + // 拖拽 $('.content ul.am-gallery-bordered').dragsort({ dragSelector: 'button.submit-move', placeHolderTemplate: '
  • '});