AngualrJs 最新 文件图片上传教程5:Client-css Client-config

来源:互联网 发布:js push json 编辑:程序博客网 时间:2024/05/29 16:14
baseinfomanage.css
/*模态窗口*/.baseinfomanage-modal {    margin: 10px;}/*表格*/.baseinfomanage-grid {    height: 740px;}.person-profile-picture {   max-height: 250px;   min-height: 250px;}.women-photo-picture {   max-height: 200px;   min-height: 200px;}
baseinfomanage.client.menus.js
(function () {  'use strict';  angular    .module('baseinfomanage')    .run(menuConfig);  menuConfig.$inject = ['menuService'];  function menuConfig(menuService) {    menuService.addMenuItem('sidemenu', {      title: '基础信息管理',      state: 'baseinfomanage',      type: 'dropdown',      roles: ['*'],      position: 0    });    // Add the dropdown list item    menuService.addSubMenuItem('sidemenu', 'baseinfomanage', {      title: '妇联信息管理',      state: 'womenInformationManagement',      roles: ['*']    });  }}());

baseinfomanage.client.routes.js
(function () {  'use strict';  angular    .module('baseinfomanage.routes')    .config(routeConfig);  routeConfig.$inject = ['$stateProvider'];  function routeConfig($stateProvider) {    $stateProvider      .state('baseinfomanage', {        abstract: true,        url: '/baseinfomanage',        template: '<ui-view/>'      })      .state('womenInformationManagement', {        url: '/womenInformationManagement',        templateUrl: '/modules/baseinfomanage/client/views/womeninformationmanagement-curdtable.client.view.html',        controller: 'WomenInformationManagementCURDTableController',        controllerAs: 'vm',        data: {          pageTitle: '妇联活动管理'        }      });  }}());