Browse Source

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@845 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d

administrator 11 years ago
parent
commit
227bd5758a

+ 21 - 7
src/main/webapp/resources/css/serve.css

@@ -629,7 +629,7 @@ a {
 }
 
 .headerline {
-  	font-size: 24px;
+	font-size: 18px;
   	font-family: Microsoft YaHei,SimHei,Verdana;
   	font-weight: 500;
   	line-height: 22px;
@@ -638,7 +638,6 @@ a {
   	zoom: 1;
   	border-top: 1px solid #eee;
   	position: relative;
-  	font-size: 18px;
 }
 
 .headerline .content {
@@ -661,6 +660,21 @@ a {
   	z-index: 2;
 }
 
+.headerdiv {
+	font-size: 16px;
+  	font-family: Microsoft YaHei,SimHei,Verdana;
+  	font-weight: 600;
+  	text-transform: uppercase;
+	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
+  	line-height: 22px;
+  	padding: 15px;
+  	margin-bottom: 15px;
+  	clear: both;
+  	zoom: 1;
+  	border-bottom: 1px solid #eee;
+  	position: relative;
+}
+
 .simple-list {
 	padding: 15px 20px;
 }
@@ -848,11 +862,11 @@ a {
 }
 
 .slide .carousel-indicators li {
-  width: 14px;
-  height: 14px;
-  margin: 1px;
-  border-radius: 14px;
-  background-color: rgba(0,0,0,0.3);
+  	width: 14px;
+  	height: 14px;
+  	margin: 1px;
+  	border-radius: 14px;
+  	background-color: rgba(0,0,0,0.3);
 }
 
 .slide .carousel-caption {

BIN
src/main/webapp/resources/img/guide/2.1/4.png


BIN
src/main/webapp/resources/img/guide/2.2/1.png


BIN
src/main/webapp/resources/img/guide/2.2/2.png


+ 9 - 3
src/main/webapp/resources/js/serve/app.js

@@ -18,11 +18,12 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 			url : "/question",
 			templateUrl : "static/tpl/serve/question.html"
 		}).state('question.index', {
-			url : "",
+			url : "/",
 			templateUrl : "static/tpl/serve/question_index.html"
 		}).state('contact', {
 			url : "/contact",
-			templateUrl : "static/tpl/serve/contact.html"
+			templateUrl : "static/tpl/serve/contact.html",
+			controller: 'ContactCtrl'
 		}).state('sale', {
 			url : "/sale",
 			templateUrl : "static/tpl/serve/sale.html"
@@ -30,7 +31,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 			url : "/new",
 			templateUrl : "static/tpl/serve/new.html"
 		}).state('new.index', {
-			url : "",
+			url : "/",
 			templateUrl : "static/tpl/serve/new_index.html"
 		}).state('new.guide', {
 			url : "/:id",
@@ -64,6 +65,11 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 	});
 	app.controller('IndexCtrl', function($scope){
 		
+	});
+	app.controller('ContactCtrl', function($scope, toaster){
+		$scope.connect = function(type) {
+			toaster.pop('warning', '连接失败', '高峰期建议选择自助服务或问题反馈');
+		};
 	});
 	app.controller('GuideCtrl', function($scope, $stateParams, Guide) {
 		Guide.get($stateParams.id).then(function(data){

+ 5 - 5
src/main/webapp/resources/tpl/serve/contact.html

@@ -30,7 +30,7 @@
 					<div class="title">账户问题</div>
 					<div class="help">注册、登录、密码、信息修改等</div>
 					<div class="link">
-						<a class="btn btn-block btn-warning btn-sm">咨询一下</a>
+						<a class="btn btn-block btn-warning btn-sm" ng-click="connect('account')">咨询一下</a>
 					</div>
 				</div>
 			</div>
@@ -42,7 +42,7 @@
 					<div class="title">销售平台问题</div>
 					<div class="help">客户采购、客户变更、送货提醒等</div>
 					<div class="link">
-						<a class="btn btn-block btn-warning btn-sm">咨询一下</a>
+						<a class="btn btn-block btn-warning btn-sm" ng-click="connect('sale')">咨询一下</a>
 					</div>
 				</div>
 			</div>
@@ -54,7 +54,7 @@
 					<div class="title">品质相关问题</div>
 					<div class="help">不良品出库、MRB</div>
 					<div class="link">
-						<a class="btn btn-block btn-warning btn-sm">咨询一下</a>
+						<a class="btn btn-block btn-warning btn-sm" ng-click="connect('qc')">咨询一下</a>
 					</div>
 				</div>
 			</div>
@@ -66,7 +66,7 @@
 					<div class="title">对账问题</div>
 					<div class="help">客户发票</div>
 					<div class="link">
-						<a class="btn btn-block btn-warning btn-sm">咨询一下</a>
+						<a class="btn btn-block btn-warning btn-sm" ng-click="connect('fa')">咨询一下</a>
 					</div>
 				</div>
 			</div>
@@ -78,7 +78,7 @@
 					<div class="title">SAAS问题</div>
 					<div class="help">开通SAAS、绑定平台</div>
 					<div class="link">
-						<a class="btn btn-block btn-warning btn-sm">咨询一下</a>
+						<a class="btn btn-block btn-warning btn-sm" ng-click="connect('saas')">咨询一下</a>
 					</div>
 				</div>
 			</div>

+ 2 - 1
src/main/webapp/resources/tpl/serve/guide.html

@@ -6,6 +6,7 @@
 		<div class="carousel-caption">
 			<div class="text-default f14" ng-bind="::slide.text"></div>
 		</div>
-		</slide> </carousel>
+		</slide>
+		</carousel>
 	</div>
 </div>

+ 6 - 1
src/main/webapp/resources/tpl/serve/new_index.html

@@ -1,3 +1,8 @@
 <div class="new-container">
-	<div class=""></div>
+	<div class="headerdiv text-simple">
+		<div class="content"><i class="fa fa-child fa-fw fa-2x icon-left"></i>欢迎加入优软大家庭</div>
+	</div>
+	<div class="headerdiv text-simple">
+		<div class="content"><i class="fa fa-plane fa-fw fa-2x icon-left"></i>开启财富之路</div>
+	</div>
 </div>