浏览代码

管理后台

dgf 8 年之前
父节点
当前提交
df000135d4

+ 1 - 1
ApabiReader1.7.8/apabiReader.html

@@ -19,7 +19,7 @@
             <p>适用系统:Android 2.2及以上</p>
             <p>文件大小:9.64MB</p>
             <p id="load">
-                <a href="http://gw.apabi.com/download/product/ApabiReaderforAndroid/ApabiReader1.7.8.apk"><img border="0" src="djxz.jpg" alt="下载文件"></a>
+                <a href="http://www.apabi.cn/download/product/ApabiReaderforAndroid/ApabiReader1.7.8.apk"><img border="0" src="djxz.jpg" alt="下载文件"></a>
             </p>
         </div>
     </div>

文件差异内容过多而无法显示
+ 1 - 0
dist/webManger12346/app-0e2212e8ab.css


文件差异内容过多而无法显示
+ 0 - 1
dist/webManger12346/app-2eea846b6d.css


文件差异内容过多而无法显示
+ 1 - 0
dist/webManger12346/app-83bd71ae1b.js


文件差异内容过多而无法显示
+ 0 - 1
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-2eea846b6d.css">
+    <link rel="stylesheet" href="app-0e2212e8ab.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-90cd0bba46.js"></script>
+    <script src="app-83bd71ae1b.js"></script>
 </head>
 
 <body ng-app="app">

+ 18 - 1
webManger12346/src/js/controller/webController.js

@@ -3,5 +3,22 @@
 angular.module('app').controller('WebMangerController', ['$scope', function($scope) {
 
     //lxtalkClient.Invoke('{FB60F992-A0FD-47B3-AAA7-E80DF209C5A4}', '_Register', '', $scope);
-
+    $scope.currentPage = 1;
+    $scope.checkedTr = function($event) {
+        var activeClick = $($event.target);
+        var checked = activeClick[0].checked;
+        console.log(activeClick);
+        console.log(checked);
+        if (checked == true)
+            $(activeClick[0].parentElement.parentElement).addClass("activebcolor");
+        else if (checked == false)
+            $(activeClick[0].parentElement.parentElement).removeClass("activebcolor");
+    };
+    $scope.checkedTotal = function() {
+        console.log($scope.checkedtotal);
+        if ($scope.checkedtotal == true)
+            angular.element(".Tr").addClass("activebcolor");
+        else if ($scope.checkedtotal == false)
+            angular.element(".Tr").removeClass("activebcolor");
+    };
 }]);

+ 106 - 12
webManger12346/src/less/app.main.less

@@ -12,8 +12,8 @@
 }
 
 .fade-in-right-big.ng-enter {
-  -webkit-animation: fadeInRightBig 0.5s;
-          animation: fadeInRightBig 0.5s;
+  -webkit-animation: fadeInRightBig 5s;
+          animation: fadeInRightBig 5s;
 }
 
 .fade-in-right-big.ng-leave {
@@ -105,13 +105,13 @@ body{
         }
         .nav-pills {
             float: right;
-            margin: 7px 60px 7px 0px;
+            margin: 8px 60px 8px 0px;
             padding:  0px 10px;
             >li>a {
             background-color: #4F5661;
             line-height: normal;
-            font-size: 16px;
             font-weight: normal;
+            font-size: 14px;
             color: #FFF;
             text-decoration: none;
             i {
@@ -167,7 +167,7 @@ body{
     }
     content {
         flex: 1;
-        min-width: 762px;
+        min-width: 812px;
         margin-left: 200px;
         background-color: #FFF;
         border-left: 1px solid #eee;
@@ -190,7 +190,7 @@ body{
                         color: #666;
                     }
                     >input {
-                        width: 250px;
+                        width: 300px;
                         margin: 13px 30px;
                         padding-left: 25px; 
                         background: #eee;
@@ -207,7 +207,7 @@ body{
                         height: 24px;
                         width: 100px;
                         margin-right: 10px;
-                        padding: 2px 4px;
+                        padding: 5px;
                         font-size: 12px;
                         background: #5bc0de;
                         border: #5bc0de;
@@ -222,10 +222,16 @@ body{
                             background-color: #439BB2;
                             border-color: #439BB2;
                         }
+                        >span {
+                            float: right;
+                            margin-left: -10px;
+                            margin-right: 15px;
+                            margin-top: -2px;
+                        }
                     }
                 }
                 .glyphicon-refresh {
-                    margin:8px 30px 0px 0px;
+                    margin:9px 30px 0px 0px;
                     float: right;
                     font-size:14px;
                     height: 30px;
@@ -240,15 +246,106 @@ body{
                     }
                 }
             }
+            #form1 {
+                margin: 10px auto 70px;
+                line-height: normal;
+                white-space: nowrap; /* 自适应宽度,不换行*/
+                overflow: hidden;
+                font-family: "微软雅黑","宋体";
+                font-size: 12px;
+                .checkbox-t {
+                    margin-top: 13px;
+                    margin-left: -3px;
+                }
+                #header {
+                    tr {
+                        line-height: 24px;
+                        font-size: 14px;
+                        color: #444;
+                    }
+                }
+                #content {
+                    tr {
+                        line-height: 32px;
+                    }
+                    >tbody>tr:hover >td>input {
+                            overflow: hidden;
+                            background: #EEE;
+                    }
+                    >tbody>tr:hover {
+                            overflow: hidden;
+                            background: #EEE;
+                    }
+                    .activebcolor {
+                            overflow: hidden;
+                            background: #EEE;
+                            >td>input {
+                                overflow: hidden;
+                                background: #EEE;
+                        }
+                    }
+                    .button-control {
+                        margin-top: -4px;
+                        .btn {
+                            line-height: normal;
+                            height: 24px;
+                            width: 50px;
+                            margin-right: 10px;
+                            padding: 2px 5px;
+                            font-size: 12px;
+                        }
+                        .btn-primary{
+                            width: 75px;
+                            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;
+                            }
+                        }
+                        .btn-danger{
+                            &:hover,&:focus {
+                                outline: none;
+                                background: #D9534F;
+                                border: #D9534F;
+                            }
+                            &:active, .open>.dropdown-toggle.btn-primary{
+                                border: none;
+                                outline: none;
+                                background-color: #A5403E;
+                                border-color: #A5403E;
+                            }
+                        }
+                    }
+                }
+                td>input {
+                    border: none;
+                    outline: none;
+                    color: #666;
+                    background: #FFF;
+                    width: 95%;
+                    white-space: nowrap;
+                    overflow: hidden;
+                    text-overflow: ellipsis;
+                }
+            }
         }
     }
 }
 .foot {
     width: 100%;
     min-height: 50px;
-    min-width: 762px;
+    min-width: 750px;
     line-height: normal;
     text-align: center;
+    color: #666;
     #paginationTab {
         margin-left: 200px;
         margin-top: -50px;
@@ -278,7 +375,4 @@ body{
             }
         }
     }
-    >p {
-        border-top: 1px solid #eee;
-    }
 }

+ 73 - 5
webManger12346/src/templates/mangerWeb.html

@@ -15,8 +15,8 @@
     </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>
+            <li role="presentation" class="active"><a href="#suggestions" aria-controls="home" role="tab" data-toggle="tab">投诉建议</a></li>
+            <li role="presentation"><a href="#managers" aria-controls="home" role="tab" data-toggle="tab">人员管理</a></li>
         </ul>
     </div>
     <content>
@@ -28,8 +28,75 @@
                 </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>
+                    <button type="button" class="btn btn-primary glyphicon glyphicon-file"><span>新建问题</span></button>
+                    <button type="button" class="btn btn-primary glyphicon glyphicon-plus"><span>添加人员</span></button>
+                </div>
+            </div>
+            <div class="tab-content">
+                <div role="tabpanel" class="tab-pane active" id="suggestions">
+                    <form id="form1">
+                        <!-- Table -->
+                        <table id="header">
+                            <thead>
+                                <tr>
+                                    <th style="min-width:30px;">
+                                        <input style="margin-left:5px;margin-top:8px;" type="checkbox" ng-click="checkedTotal()" ng-model="checkedtotal">
+                                    </th>
+                                    <th style="min-width:50px;">序号</th>
+                                    <th style="min-width:150px">创建时间</th>
+                                    <th style="width:450px">问题描述</th>
+                                    <th style="width:200px">提交人</th>
+                                    <th style="width:360px;padding-left:20px;">操作</th>
+                                </tr>
+                            </thead>
+                        </table>
+                        <div style="border-top:solid 1px #ddd;margin:5px auto;"></div>
+                        <table id="content">
+                            <thead>
+                                <tr>
+                                    <th style="min-width:30px;"></th>
+                                    <th style="min-width:50px;"></th>
+                                    <th style="min-width:150px"></th>
+                                    <th style="width:450px"></th>
+                                    <th style="width:200px"></th>
+                                    <th style="width:360px;padding-left:20px;"></th>
+                                </tr>
+                            </thead>
+                            <tbody>
+                                <tr class="Tr">
+                                    <td><input class="checkbox-t" type="checkbox" ng-checked="checkedtotal" ng-click="checkedTr($event)"></td>
+                                    <td style="text-align:center;padding-right:16px;"> {{ ($index + 1)+(currentPage-1)*10 }} </td>
+                                    <td>2017-08-16 11:11:11</td>
+                                    <td><input type="text" readonly="readonly" value="丽水市万赛软件科技有限公司维护号丽水市万赛软件科技有限公司维护号"></td>
+                                    <td><input type="text" readonly="readonly" value="丽水市万赛软件科技有限公司维护号丽水市万赛软件科技有限公司维护号"></td>
+                                    <td style="padding-left:20px;">
+                                        <div class="button-control">
+                                            <button type="button" class="btn btn-primary">查看详细</button>
+                                            <button type="button" class="btn btn-danger">删除</button>
+                                        </div>
+                                    </td>
+                                </tr>
+                                <tr class="Tr">
+                                    <td><input class="checkbox-t" type="checkbox" ng-checked="checkedtotal" ng-click="checkedTr($event)"></td>
+                                    <td style="text-align:center;padding-right:16px;"> {{ ($index + 1)+(currentPage-1)*10 }} </td>
+                                    <td>2017-08-16 11:11:11</td>
+                                    <td><input type="text" readonly="readonly" value="丽水市万赛软件科技有限公司维护号丽水市万赛软件科技有限公司维护号"></td>
+                                    <td><input type="text" readonly="readonly" value="丽水市万赛软件科技有限公司维护号丽水市万赛软件科技有限公司维护号"></td>
+                                    <td style="padding-left:20px;">
+                                        <div class="button-control">
+                                            <button type="button" class="btn btn-primary">查看详细</button>
+                                            <button type="button" class="btn btn-danger">删除</button>
+                                        </div>
+                                    </td>
+                                </tr>
+                            </tbody>
+                        </table>
+                    </form>
+                </div>
+                <div role="tabpanel" class="tab-pane" id="managers">
+                    <form id="form2">
+
+                    </form>
                 </div>
             </div>
         </div>
@@ -39,6 +106,7 @@
             <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>
+        <div style="border-top:solid 1px #eee;margin:0px auto 15px;"></div>
+        <p>Copyright © 2007-2017 | 浙江万赛软件科技有限公司</p>
     </footer>
 </div>