yangc 8 лет назад
Родитель
Сommit
378d75a317

+ 19 - 0
src/main/webapp/resources/css/pinganPay/pinganPay.css

@@ -9,6 +9,25 @@
     background: #fff;
 }
 
+.pingan-pay {
+    background-color: #f5f8fe;
+}
+.pingan-pay .pay-recharge-header {
+    background-color: #fff;
+    border: 1px solid #4290f7;
+    margin-bottom: 18px;
+}
+.pingan-pay .pay-recharge-header p{
+    height: 36px;
+    line-height: 36px;
+    margin: 0 0 0 87px;
+    font-size: 14px;
+}
+.pingan-pay .pay-recharge-header p .green-text {
+    color: #21bf01;
+    font-weight: bold;
+}
+
 .pingan-pay .card-info {
     display: inline-block;
     width: 263px;

+ 5 - 2
src/main/webapp/resources/js/pinganPay/app.js

@@ -21,15 +21,18 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
 		$stateProvider.state('recharge', angularAMD.route({
 			url: '/recharge',
 			templateUrl: 'static/view/pinganPay/forstore/recharge.html',
-			title: '充值-优软商城',
 			controllerUrl: 'app/controllers/forstore/recharge_ctrl',
 			controller: 'rechargeCtrl'
 		})).state('pay_result', angularAMD.route({
 			url: '/pay_result',
 			templateUrl: 'static/view/pinganPay/forstore/result.html',
-			title: '充值结果-优软商城',
 			controllerUrl: 'app/controllers/forstore/pay_result_ctrl',
 			controller: 'payResultCtrl'
+		})).state('bind_card', angularAMD.route({
+			url: '/bind_card',
+			templateUrl: 'static/view/pinganPay/forstore/bindCard.html',
+			controllerUrl: 'app/controllers/forstore/bind_card_ctrl',
+			controller: 'bindCardCtrl'
 		}));
 	}]);
 

+ 6 - 0
src/main/webapp/resources/js/pinganPay/controllers/forstore/bind_card_ctrl.js

@@ -0,0 +1,6 @@
+define([ 'app/app' ], function(app) {
+    'use strict';
+    app.register.controller('bindCardCtrl', ['$scope', '$rootScope', 'toaster', function ($scope, $rootScope, toaster ) {
+    }]);
+
+});

+ 1 - 0
src/main/webapp/resources/view/pinganPay/forstore/bindCard.html

@@ -0,0 +1 @@
+<div>绑卡页面</div>

+ 0 - 18
src/main/webapp/resources/view/pinganPay/forstore/recharge.html

@@ -1,22 +1,4 @@
 <style>
-    .pay-recharge {
-        background-color: #f5f8fe;
-    }
-    .pay-recharge .pay-recharge-header {
-        background-color: #fff;
-        border: 1px solid #4290f7;
-        margin-bottom: 18px;
-    }
-    .pay-recharge .pay-recharge-header p{
-        height: 36px;
-        line-height: 36px;
-        margin: 0 0 0 87px;
-        font-size: 14px;
-    }
-    .pay-recharge .pay-recharge-header p .green-text {
-        color: #21bf01;
-        font-weight: bold;
-    }
     .pay-recharge .pay-recharge-content {
         background-color: #fff;
         border: 1px solid #4290f7;