Browse Source

充值结果页

yangc 8 years ago
parent
commit
d9bd65ee14

BIN
src/main/webapp/resources/img/pingan/success.png


+ 6 - 0
src/main/webapp/resources/js/pinganPay/app.js

@@ -24,6 +24,12 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
 			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'
 		}));
 	}]);
 

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

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

+ 58 - 0
src/main/webapp/resources/view/pinganPay/forstore/result.html

@@ -0,0 +1,58 @@
+<style>
+    .pay-result {
+        padding-top: 16px;
+    }
+    .pay-result > p {
+        margin: 0 0 0 45px;
+        font-size: 14px;
+    }
+    .pay-result .result-content {
+        margin-top: 72px;
+        text-align: center;
+    }
+    .pay-result .result-content h1 {
+        font-size: 18px;
+        color: #fd4e4e;
+        margin-top: 25px;
+    }
+    .pay-result .result-content h2 {
+        font-size: 14px;
+        color: #333;
+        margin-top: 8px;
+    }
+    .pay-result .result-content h3 {
+        font-size: 14px;
+        color: #666;
+        margin-top: 31px;
+    }
+    .pay-result .result-content h3 span:first-child {
+        margin-right: 30px;
+    }
+    .pay-result .result-content div {
+        margin-top: 48px;
+    }
+    .pay-result .result-content div a {
+        font-size: 14px;
+        color: #333;
+    }
+    .pay-result .result-content div a.active {
+        color: #4290f7;
+    }
+</style>
+<div class="pay-result">
+    <p>账户:深圳市又软科技is大的飒飒发&nbsp;&nbsp;&nbsp;按时发</p>
+    <div class="result-content">
+        <img src="static/img/pingan/success.png" alt="">
+        <h1>恭喜您成功充值&nbsp;12214元</h1>
+        <h2>账户余额:123123元</h2>
+        <h3>
+            <span>资金流水号 23234234123132</span>
+            <span>充值时间 2017-12-12 11:11:11</span>
+        </h3>
+        <div>
+            <a href="">返回</a>&nbsp;&nbsp;
+            <a href="" class="active">商城首页</a>&nbsp;|
+            <a href="" class="active">支付中心</a>
+        </div>
+    </div>
+</div>