lanzi68yang@163.com 8 years ago
parent
commit
92eeccf244

+ 6 - 0
lszw12345/src/js/controller/serviceController.js

@@ -0,0 +1,6 @@
+'use strict';
+
+angular.module('app').controller('ServiceController', ['$scope', 'messageService', function($scope, messageService) {
+    //lxtalkClient.Invoke('{FB60F992-A0FD-47B3-AAA7-E80DF209C5A4}', '_Register', '', $scope);
+
+}]);

+ 2 - 2
lszw12345/src/js/router.js

@@ -6,7 +6,7 @@ angular.module('app').run(['$rootScope', '$state', '$stateParams',
     }
 ]).config(['$stateProvider', '$urlRouterProvider',
     function($stateProvider, $urlRouterProvider) {
-        $urlRouterProvider.otherwise('/webChat/detail'); //
+        $urlRouterProvider.otherwise('/home'); //
         $stateProvider.state('home', {
                 url: '/home',
                 templateUrl: 'templates/home.html',
@@ -20,7 +20,7 @@ angular.module('app').run(['$rootScope', '$state', '$stateParams',
             .state('webChat.service', {
                 url: '/service',
                 templateUrl: 'templates/service.html',
-                controller: 'WebController'
+                controller: 'ServiceController'
             })
             .state('webChat.maxOne', {
                 url: '/maxOne',

+ 24 - 1
lszw12345/src/less/app.main.less

@@ -27,4 +27,27 @@ body{
     background-color: #FFF;
     font-family: "Arial","Microsoft YaHei","宋体",sans-serif;
     width: 100%;
-}
+}
+
+.header {
+    position: fixed;
+    top: 0%;
+    z-index: 1000;
+    width: 100%;
+    height: 40px;
+    padding-top: 9px;
+    font-size: 15px;
+    color: #FFF;
+    text-align: center;
+    background-color: #3FA1E6;
+    .glyphicon-arrow-left {
+        float: left;
+        margin-left: 10px;
+        margin-top: 2px;
+    }
+    .glyphicon-home {
+        float: right;
+        margin-right: 10px;
+        margin-top: 2px;
+    }
+  }

+ 1 - 22
lszw12345/src/less/app.service.less

@@ -1,27 +1,6 @@
 
           .service-content{
-            .header {
-                position: fixed;
-                top: 0%;
-                z-index: 1000;
-                width: 100%;
-                height: 40px;
-                padding-top: 9px;
-                font-size: 15px;
-                color: #FFF;
-                text-align: center;
-                background-color: #3FA1E6;
-                .glyphicon-arrow-left {
-                    float: left;
-                    margin-left: 10px;
-                    margin-top: 2px;
-                }
-                .glyphicon-home {
-                    float: right;
-                    margin-right: 10px;
-                    margin-top: 2px;
-                }
-              }
+    
              margin-top: 45px;
              overflow-y: auto ;
              overflow-x: hidden;