增加了后台小组管理的功能

This commit is contained in:
virusdefender
2015-08-11 19:15:25 +08:00
parent 5d3fcb5e29
commit 6c59a15c1f
9 changed files with 485 additions and 0 deletions

View File

@@ -24,11 +24,17 @@ define("admin", ["jquery", "avalon"], function ($, avalon) {
var vm = avalon.define({
$id: "admin",
template_url: "template/" + hash + ".html",
group_id: -1,
hide_loading: function () {
$("#loading-gif").hide();
}
});
vm.$watch("showGroupDetailPage", function(group_id){
vm.group_id = group_id;
vm.template_url = "template/group/group_detail.html";
});
avalon.scan();
li_active("#li-" + hash.replace("/", "-"));