pay.html
6.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<meta name="google" value="notranslate">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="css/index.css?v=0.1">
<script src="config.js?v=0.1"></script>
<script src="js/common.js?v=1.11"></script>
<!--<script src="js/jweixin-1.0.0.js?v=0.1"></script>-->
<script src="js/pay.js?v=0.120"></script>
<!--<script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.min.js"></script>-->
<!--<script src="config.js"></script>-->
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>订单支付</title>
<style>
.discountBox{
border: 0;
outline: 0;
width: calc(100% - 120px);
height:28px;
line-height: 28px;
padding-left: 10px;
background:rgba(240,244,245,1);
border-radius:4px;
display: inline-block;
float: left;
color: #8a8a8a;
font-size: 14px;
}
.discountBox:focus{
border: 0;
outline: 0;
}
.discountBtn{
display: inline-block;
float: right;
border: none;
outline: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
border: 1px solid #75CBBE;
border-radius:25px ;
padding: 4px 20px;
font-size: 14px;
color: #75CBBE;
background: #fff;
}
.discount-tip{
padding-top: 10px;
font-size: 14px;
color: #EB453B;
}
</style>
</head>
<body>
<!--<noscript>-->
<!--You need to enable JavaScript to run this app.-->
<!--</noscript>-->
<header id="header" class="flexBoxRow panelBgColor">
<div class="headerBox">
<div class="carNumBox"><span></span><span id="carNum"></span></div>
<div class="moneyBox"><span>¥</span><span id="sumMoney">0.00</span></div>
</div>
</header>
<section id="payDetail" class="panelBgColor marginTop">
<div><span>车场名称:</span><span id="parkName"></span><a id="linkPayDetail">详情+</a> </div>
<div><span>停车时长:</span><span id="staytime"></span></div>
<div><span>进场时间:</span><span id="inparktime"></span></div>
<div><span>停车总费用:</span><span id="due"></span></div>
<div><span>已支付金额:</span><span id="paid"></span></div>
<div><span>优惠金额:</span><span id="discountFee"></span><span id="discountDesc"></span></div>
<div><span>订单编号: </span><span id="orderNum">1234567890</span> </div>
</section>
<div class="row marginTop">
<div style="overflow: hidden">
<input class="discountBox" id="discountBox" type="text" placeholder="请输入优惠券编号" maxlength="20">
<button class="discountBtn" id="discountBtn">兑换</button>
</div>
<div class="discount-tip" id="discountTip"></div>
</div>
<section id="section" class="marginTop">
<div class="flexBoxRow" >
<span class="payWayTitle" style="padding-left: 10px;">选择支付方式</span> <span class="orderTime colorGray">出场时间: <span id="outtime"></span></span>
</div>
<div class="row marginTop">
<!--AliPay-->
<div class="flexBoxRow" id="rowAliPay">
<img class="payIcon" src="img/aliPay.png" />
<span class="marginLeft">支付宝支付</span>
<label for="aliPay" class="radio">
<span class="radio-bg"></span>
<input type="radio" name="radioPayWay" id="aliPay" value="支付宝" checked="checked" />
<span class="radio-on"></span>
</label>
</div>
<hr class="splitLine marginTop" id="splitLine" />
<!--WxPay-->
<div class="flexBoxRow marginTop" id="rowWxPay">
<img class="payIcon" src="img/wxPay.png" />
<span class="marginLeft">微信支付</span>
<label for="wxPay" class="radio">
<span class="radio-bg"></span>
<input type="radio" name="radioPayWay" id="wxPay" value="微信" />
<span class="radio-on"></span>
</label>
</div>
</div>
</section>
<footer id="footer" class="flexBoxRow marginTop">
<div class="btnOK" id="btnPayOK">确定支付</div>
<img src="img/loading.gif" id="loading" style="display: none;" />
</footer>
<section id="payTip" style="padding: 10px;margin-top:5px; color: #3385ff; font-size: 14px; "></section>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>