소스 검색

管理后台

dgf 8 년 전
부모
커밋
da9c993480

BIN
common.rar


+ 26 - 24
common/app.bootstrap.less

@@ -30,32 +30,34 @@
   }
 }
 
-.nav, .nav-pills {
-  font-size: 13px;
-  font-weight: 600;
-  > li {
-    > a {
-      &:hover,
-      &:focus,
-      &:active {
-        background-color: @brand-primary;
-        color: #fff;
-      }
-      background-color: #FFF;
-      color: @brand-primary;
-      text-align: center;
-      padding: 5px 10px;
-    }   
-  }
-  > li.active {
-    > a {
-      background-color: @brand-primary;
-      color: #fff;
-      &:hover,
-      &:focus,
-      &:active {
+.nav-pills {
+  &.diy {
+    font-size: 13px;
+    font-weight: 600;
+    > li {
+      > a {
+        &:hover,
+        &:focus,
+        &:active {
+          background-color: @brand-primary;
+          color: #fff;
+        }
+        background-color: #FFF;
+        color: @brand-primary;
+        text-align: center;
+        padding: 5px 10px;
+      }   
+    }
+    > li.active {
+      > a {
         background-color: @brand-primary;
         color: #fff;
+        &:hover,
+        &:focus,
+        &:active {
+          background-color: @brand-primary;
+          color: #fff;
+        }
       }
     }
   }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/webManger12346/app-00e25ef11e.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/webManger12346/app-2eea846b6d.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/webManger12346/app-5d8cdff570.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/webManger12346/app-90cd0bba46.js


+ 2 - 2
dist/webManger12346/index.html

@@ -8,7 +8,7 @@
     <!-- 新 Bootstrap 核心 CSS 文件 -->
     <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css">
     <link rel="stylesheet" href="../bower_components/animate.css/animate.min.css">
-    <link rel="stylesheet" href="app-5d8cdff570.css">
+    <link rel="stylesheet" href="app-2eea846b6d.css">
 
     <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
     <!--<script src="js/jquery.min.js"></script>-->
@@ -21,7 +21,7 @@
     <script src="../bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
     <script src="../bower_components/angular-animate/angular-animate.min.js"></script>
 
-    <script src="app-00e25ef11e.js"></script>
+    <script src="app-90cd0bba46.js"></script>
 </head>
 
 <body ng-app="app">

BIN
web12345.rar


+ 1 - 1
webManger12346/src/js/router.js

@@ -5,7 +5,7 @@ angular.module('app').run(['$rootScope', '$state', '$stateParams',
     }
 ]).config(['$stateProvider', '$urlRouterProvider',
     function($stateProvider, $urlRouterProvider) {
-        $urlRouterProvider.otherwise('/login'); //
+        $urlRouterProvider.otherwise('/mangerWeb'); //
         $stateProvider.state('login', {
                 url: '/login',
                 templateUrl: 'templates/login.html',

+ 209 - 1
webManger12346/src/less/app.main.less

@@ -21,7 +21,8 @@
           animation: fadeOutLeftBig 1s;
 }*/
 body{
-    background-color: #F5F5F5;
+    background-color: #FFF;
+    overflow-x: hidden;
 }
 .login {
   width: 100%;
@@ -32,6 +33,9 @@ body{
     margin: 100px auto;
     text-align: center;
     vertical-align: middle;
+    >p {
+      margin-bottom: 20px;
+    }
     >input {
       width: 80%;
       margin: 10px auto 12px;
@@ -50,6 +54,7 @@ body{
     >a {
       text-align: left;
       text-decoration: none;
+      color: #666;
       >p {
         margin-left: 10%;
       }
@@ -74,3 +79,206 @@ body{
     }
   }
 }
+
+.webManger {
+    width:100%;
+    height: 100%;
+    display: flex;
+    min-height: 100vh;
+    flex-direction: column;
+    margin: 0px auto;
+    background: #FFF;
+    font-size: 12px;
+    font-family: "微软雅黑","宋体";
+    .head{
+        width: 100%;
+        height: 45px;
+        min-width: 762px;
+        background-color: #4F5661;
+        box-shadow: 0px 1px 1px #ccc;
+        >span {
+          float: left;
+          margin: 12px 0px 12px 20px;
+          line-height: normal;
+          font-size: 16px;
+          color: #FFF;
+        }
+        .nav-pills {
+            float: right;
+            margin: 7px 60px 7px 0px;
+            padding:  0px 10px;
+            >li>a {
+            background-color: #4F5661;
+            line-height: normal;
+            font-size: 16px;
+            font-weight: normal;
+            color: #FFF;
+            text-decoration: none;
+            i {
+                  font-size: 12px;
+            }
+            }
+            .dropdown-menu {
+                border-radius: 0px;
+                border: none;
+                outline: none;
+                a:hover {
+                    color: #009EE0;
+                }
+            }
+        }
+    }
+    #leftList {
+        position: absolute;
+        top: 45px;
+        width: 180px;
+        .nav-pills {
+            margin: 10px 10px 0px 20px;
+            &.diy {
+                font-size: 14px;
+                font-family: "微软雅黑","宋体";
+                font-weight: normal;
+                > li {
+                    > a {
+                        background-color: #FFF;
+                        border: 1px solid #e6e6e6;
+                        color: #777;
+                        padding: 5px 20px;
+                        margin-bottom: 20px;
+                        border-radius: 15px;
+                        text-align: left;
+                        &:hover,
+                        &:active {
+                        color: #009688;
+                        background-color:#eee;
+                        }
+                    }   
+                }
+                > li.active {
+                    > a {
+                        background-color:#eee;
+                        border: 1px solid #e6e6e6;
+                        color: #009688;
+                        text-align: right;
+                    }
+                }
+            }
+        }
+    }
+    content {
+        flex: 1;
+        min-width: 762px;
+        margin-left: 200px;
+        background-color: #FFF;
+        border-left: 1px solid #eee;
+        #media {
+            overflow-y: auto;
+            width: 100%;
+            .title {
+                width: 100%;
+                min-height: 50px;
+                border-bottom: 1px solid #eee;
+                white-space: nowrap;
+                overflow: hidden;
+                .input-search{
+                    float: left;
+                    position: relative;
+                    >span {
+                        position: absolute;
+                        top: 19px;
+                        left: 38px;
+                        color: #666;
+                    }
+                    >input {
+                        width: 250px;
+                        margin: 13px 30px;
+                        padding-left: 25px; 
+                        background: #eee;
+                        &:focus {
+                            background: #FFF;
+                        }
+                    }
+                }
+                .button-add{
+                    float: right;
+                    margin: 13px 160px 13px 0px;
+                    .btn-primary{
+                        line-height: normal;
+                        height: 24px;
+                        width: 100px;
+                        margin-right: 10px;
+                        padding: 2px 4px;
+                        font-size: 12px;
+                        background: #5bc0de;
+                        border: #5bc0de;
+                        &:hover,&:focus {
+                            outline: none;
+                            background: #5bc0de;
+                            border: #5bc0de;
+                        }
+                        &:active, .open>.dropdown-toggle.btn-primary{
+                            border: none;
+                            outline: none;
+                            background-color: #439BB2;
+                            border-color: #439BB2;
+                        }
+                    }
+                }
+                .glyphicon-refresh {
+                    margin:8px 30px 0px 0px;
+                    float: right;
+                    font-size:14px;
+                    height: 30px;
+                    width: 36px;
+                    border-radius: 4px;
+                    color: white;
+                    background: #3CB371;
+                    border: none;
+                    outline: none;
+                    &:hover{
+                        background: #2E8B57;
+                    }
+                }
+            }
+        }
+    }
+}
+.foot {
+    width: 100%;
+    min-height: 50px;
+    min-width: 762px;
+    line-height: normal;
+    text-align: center;
+    #paginationTab {
+        margin-left: 200px;
+        margin-top: -50px;
+        height: 50px;
+        text-align: center;
+        >span {
+            float: left;
+            margin: 18px 0px 0px 10px;
+        }
+        >ul {
+            margin: 8px;
+        }
+        .pagination-sm {
+            li >a {
+                color: #009EE0;
+            }
+            li.active >a {
+                color: #FFF;
+                border: 1px solid #5bc0de;
+                background: #5bc0de;
+            }
+            li.disabled >a{
+                color: #888;
+                &:focus{
+                    outline: none;
+                }
+            }
+        }
+    }
+    >p {
+        border-top: 1px solid #eee;
+    }
+}

+ 44 - 0
webManger12346/src/templates/mangerWeb.html

@@ -0,0 +1,44 @@
+<div class="webManger">
+    <header class="head">
+        <span>12345政务服务管理后台</span>
+        <ul class="nav nav-pills diy">
+            <li role="presentation" class="dropdown">
+                <a class="dropdown-toggle" data-toggle="dropdown" href="#">
+                admin【管理员】<i class="glyphicon glyphicon-menu-down"></i>
+                </a>
+                <ul class="dropdown-menu">
+                    <li style="border-bottom: 1px solid #eee;"><a href="#">修改密码</a></li>
+                    <li><a href="#">退出</a></li>
+                </ul>
+            </li>
+        </ul>
+    </header>
+    <div id="leftList">
+        <ul class="nav nav-pills diy nav-stacked">
+            <li role="presentation" class="active"><a href="#">投诉建议</a></li>
+            <li role="presentation"><a href="#">人员管理</a></li>
+        </ul>
+    </div>
+    <content>
+        <div id="media">
+            <div class="title">
+                <div class="input-search">
+                    <span class="glyphicon glyphicon-search"></span>
+                    <input type="text" class="form-control input-sm" placeholder="搜索关键字. . ." ng-model="searchName">
+                </div>
+                <button type="button" class="glyphicon glyphicon-refresh" title="刷新" ng-click="onRefresh($event)"></button>
+                <div class="button-add">
+                    <button type="button" class="btn btn-primary">新建问题</button>
+                    <button type="button" class="btn btn-primary">添加人员</button>
+                </div>
+            </div>
+        </div>
+    </content>
+    <footer class="foot">
+        <div id="paginationTab">
+            <span>共{{0+totalItems}}条数据</span>
+            <ul uib-pagination boundary-links="true" total-items="totalItems" ng-model="currentPage" class="pagination-sm" max-size="maxSize" force-ellipses="true" previous-text="上页" next-text="下页" first-text="首页" last-text="尾页"></ul>
+        </div>
+        <p>浙江万赛软件科技有限公司</p>
+    </footer>
+</div>