Commit f63ca3f7e73cdf3d402e3a33f1b6d48fb15a5e07
1 parent
161b02bc
丹阳分支
Showing
36 changed files
with
541 additions
and
389 deletions
js/ajax.js
1 | 1 | var jsajax = jsajax || {}; |
2 | -jsajax.appID = 'wx1e9001e5940605b1';//'wxe98c8ee886986377'; | |
3 | -//任你停wx1e9001e5940605b1 | |
2 | +jsajax.appID = 'wxb207fd26449b20bc';//'wxe98c8ee886986377'; | |
3 | +//任你2停wx1e9001e5940605b1 | |
4 | 4 | //丹阳通wxb207fd26449b20bc |
5 | 5 | //获取openid |
6 | 6 | jsajax.getopenid = function (code,fn) { |
... | ... | @@ -116,7 +116,7 @@ jsajax.setcss = function(strpath){ |
116 | 116 | }; |
117 | 117 | |
118 | 118 | /* 默认请求*/ |
119 | -jsajax.defaultReq=function(url, data, successfn,errorfn) { | |
119 | +jsajax.defaultReq=function(url, data, successfn) { | |
120 | 120 | data = (data==null || data=="" || typeof(data)=="undefined")? {"date": new Date().getTime()} : data; |
121 | 121 | $.ajax({ |
122 | 122 | type: "post", |
... | ... | @@ -129,11 +129,8 @@ jsajax.defaultReq=function(url, data, successfn,errorfn) { |
129 | 129 | successfn(d); |
130 | 130 | }, |
131 | 131 | error: function(e){ |
132 | - //alert(JSON.stringify(e)); | |
132 | + //alert(JSON.stringify(e)); | |
133 | 133 | console.log(JSON.stringify(e)); |
134 | - if (typeof (errorfn) != "undefined") { | |
135 | - errorfn(JSON.stringify(e)); | |
136 | - } | |
137 | 134 | }, |
138 | 135 | complete:function (e) {} |
139 | 136 | }); | ... | ... |
js/url.js
1 | 1 | var mUrl = mUrl || {}; |
2 | - | |
3 | -//songcxa 15801541129 | |
4 | -mUrl.testtoken = "a49e4835f5184f0fb5d0aba2a30bca8b"; | |
5 | -mUrl.testdeviceInfo = "868869021179618";//android | |
2 | +/* | |
3 | + @songcxa | |
4 | + @2018/10/8 | |
5 | + @PC端测试使用 | |
6 | +*/ | |
7 | +mUrl.testtoken = "21f2ee47e3a34f93838b37fce4bbeba6";//用户登录tocken | |
8 | +mUrl.testdeviceInfo = "868869021179618";//当前用户设备号 | |
9 | +//谢建朋 | |
10 | +//mUrl.testtoken = "1935117c009c4efb9cee2ea9e68db42d"; | |
11 | +//mUrl.testdeviceInfo = "866822033228388"; | |
12 | +//曹郎鹏 | |
13 | +//mUrl.testtoken = "7551e008856e4a388d7ae8e91e1c6c55"; | |
14 | +//mUrl.testdeviceInfo = "99575C3E-3F7F-4521-B6FB-AEDD26350ACA";//IOS | |
15 | +//END | |
6 | 16 | |
7 | 17 | /*获取设置openid start*/ |
8 | 18 | mUrl.GetOpenid = function(){ |
... | ... | @@ -86,8 +96,12 @@ mUrl.getJx = function(){ |
86 | 96 | } |
87 | 97 | |
88 | 98 | /*end*/ |
99 | +//测试环境 | |
100 | +//var cepath = 'http://39.98.54.240:8090'; | |
101 | +//正式环境 | |
102 | +var cepath = 'http://app.api.dyszt.com:8090'; | |
89 | 103 | |
90 | -var cepath = 'http://39.98.54.240:8090';//http://pay.service.renniting.cn//http://39.98.54.240:8090//http://app.api.dyszt.com:8090//var cepath = 'http://app.api.dyszt.com:8090';//https://pay.service.rnting.com//'http://47.96.41.38:8090'; | |
104 | +//https://pay.service.rnting.com//'http://47.96.41.38:8090'; | |
91 | 105 | /*----------------------------------------------登录登出绑定手机号 start*/ |
92 | 106 | //发送验证码 |
93 | 107 | mUrl.sendRandCode = cepath + '/user/sendverificode';//webPath + '/binding/sendRandCode'+mUrl.getCommonParam(); |
... | ... | @@ -104,7 +118,7 @@ mUrl.tcgettoken =cepath+'/wxPublicUser/getTokenByOpenId'; |
104 | 118 | mUrl.tcpaysuccess = cepath+'/query/Issued';//目前暂时不用//无用 |
105 | 119 | //mUrl.tcwxpay = cepath+ '/weixinPublicPay/unifiedOrder'; |
106 | 120 | mUrl.tcwxpay = cepath+ '/weixinpay/publicUnifiedOrder';//修改 添加字段 |
107 | - mUrl.SelectCar = cepath +'/user/queryUserCars';//车辆信息查询(查看是否绑定车牌号)无用 | |
121 | + mUrl.SelectCar = cepath +'/user/queryUserCars';////车辆信息查询(查看是否绑定车牌号)无用 | |
108 | 122 | mUrl.SelectOrder = cepath +'/query/queryOrderByCarNumbers';//查询订单 (查询待支付订单)//无用 |
109 | 123 | |
110 | 124 | /*----------------------支付页面所需接口 end*/ |
... | ... | @@ -155,10 +169,13 @@ mUrl.loginOut = cepath+'/user/logout';//退出登录 //个人信息目前无用 |
155 | 169 | mUrl.deleteaddress = cepath+'/invoice/deleteCustMailingAddressInfoByID';//删除一条邮寄地址 |
156 | 170 | mUrl.checkAddress = cepath+'/invoice/queryCustMailingAddressInfoById';//'/invoice/queryCustrMailingAddressInfoById';//根据id查询出地址详情信息 |
157 | 171 | |
158 | -//mUrl.vipkpList = cepath+'/invoice/queryVipCardTicketList';//获取会员卡开票列表[old] | |
159 | - mUrl.vipkpList = cepath + '/invoice/queryRntPayOrderForInvoice';//获取会员卡开票列表[new] | |
160 | - mUrl.kaipaioHistory = cepath + '/invoice/insertCustInvoiceHisInfo';//•记录客户开发票历史信息及开票历史详情信息 | |
161 | - mUrl.queryAppOrgs = cepath + '/appOrg/queryAppOrgs';//获取区域列表songcxa | |
172 | +mUrl.vipkpList = cepath+'/invoice/queryVipCardTicketList';//获取会员卡开票列表 | |
173 | +//mUrl.vipkpList = cepath+'/invoice/queryRntPayOrderForInvoice';//获取会员卡开票列表 | |
174 | +//开票列表songcx 2018-10-8 | |
175 | +mUrl.vipkpList2 = cepath + '/invoice/queryRntPayOrderForInvoice';//获取开票列表 | |
176 | +mUrl.kaipaioHistory2 = cepath + '/invoice/openTicketForCustInvoiceHisInfo';//确认提交开票 | |
177 | + | |
178 | + mUrl.kaipaioHistory = cepath+'/invoice/insertCustInvoiceHisInfo';//•记录客户开发票历史信息及开票历史详情信息 | |
162 | 179 | |
163 | 180 | mUrl.gethistorylist = cepath+'/invoice/queryCustInvoiceHistoryList';//获取所有的历史接口 |
164 | 181 | ... | ... |
more/.DS_Store
No preview for this file type
more/VipCardtwo/Vipcard.html
... | ... | @@ -118,7 +118,7 @@ |
118 | 118 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
119 | 119 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1));/*linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1));*/ |
120 | 120 | } |
121 | - .mylistdata .list{ | |
121 | + /*.mylistdata .list{ | |
122 | 122 | float: left; |
123 | 123 | position: relative; |
124 | 124 | width: 100%; |
... | ... | @@ -129,13 +129,13 @@ |
129 | 129 | border-radius: 8px; |
130 | 130 | background: url(imgs/shuiyy.png)no-repeat center center; |
131 | 131 | background-size: 90% !important; |
132 | - } | |
133 | - .mylistdata .list .cardstype{ | |
132 | + }*/ | |
133 | + /*.mylistdata .list .cardstype{ | |
134 | 134 | padding: 0; |
135 | 135 | margin-bottom: 59.3px; |
136 | 136 | background: url(imgs/ztesy.png)no-repeat top right ; |
137 | 137 | background-size: 61px !important; |
138 | - } | |
138 | + }*/ | |
139 | 139 | .mylistdata .list .cardstype li{ |
140 | 140 | padding:0 4px; |
141 | 141 | padding-left: 0; | ... | ... |
more/VipCardtwo/css/Vipcard.html
... | ... | @@ -118,7 +118,7 @@ |
118 | 118 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
119 | 119 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1));/*linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1));*/ |
120 | 120 | } |
121 | - .mylistdata .list{ | |
121 | + /*.mylistdata .list{ | |
122 | 122 | float: left; |
123 | 123 | position: relative; |
124 | 124 | width: 100%; |
... | ... | @@ -129,13 +129,13 @@ |
129 | 129 | border-radius: 8px; |
130 | 130 | background: url(imgs/shuiyy.png)no-repeat center center; |
131 | 131 | background-size: 90% !important; |
132 | - } | |
133 | - .mylistdata .list .cardstype{ | |
132 | + }*/ | |
133 | + /*.mylistdata .list .cardstype{ | |
134 | 134 | padding: 0; |
135 | 135 | margin-bottom: 59.3px; |
136 | 136 | background: url(imgs/ztesy.png)no-repeat top right ; |
137 | 137 | background-size: 61px !important; |
138 | - } | |
138 | + }*/ | |
139 | 139 | .mylistdata .list .cardstype li{ |
140 | 140 | padding:0 4px; |
141 | 141 | padding-left: 0; | ... | ... |
more/VipCardtwo/css/minec.html
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | background: -webkit-linear-gradient(-45deg, #bd5ebe, #fc7493); |
66 | 66 | background: linear-gradient(-45deg, #bd5ebe, #fc7493); |
67 | 67 | } |
68 | - .mineclist .list{ | |
68 | + /*.mineclist .list{ | |
69 | 69 | float: left; |
70 | 70 | position: relative; |
71 | 71 | width: 100%; |
... | ... | @@ -76,7 +76,7 @@ |
76 | 76 | border-radius: 8px; |
77 | 77 | background: url(imgs/shuiyy.png)no-repeat center center; |
78 | 78 | background-size: 90% !important; |
79 | - } | |
79 | + }*/ | |
80 | 80 | .mineclist .list>span{ |
81 | 81 | position: absolute; |
82 | 82 | right: 0; |
... | ... | @@ -88,12 +88,12 @@ |
88 | 88 | text-align: center; |
89 | 89 | color: #fff; |
90 | 90 | } |
91 | - .mineclist .list .cardstype{ | |
91 | + /*.mineclist .list .cardstype{ | |
92 | 92 | padding: 0; |
93 | 93 | margin-bottom: 20.3px; |
94 | 94 | background: url(imgs/ztesy.png)no-repeat top right ; |
95 | 95 | background-size: 61px !important; |
96 | - } | |
96 | + }*/ | |
97 | 97 | .mineclist .list .cardstype li{ |
98 | 98 | padding-right: 8px; |
99 | 99 | padding-left: 0; | ... | ... |
more/VipCardtwo/css/searchVip.html
... | ... | @@ -124,7 +124,7 @@ |
124 | 124 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
125 | 125 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1));/*linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1));*/ |
126 | 126 | } |
127 | - .mylistdata .list{ | |
127 | + /*.mylistdata .list{ | |
128 | 128 | float: left; |
129 | 129 | position: relative; |
130 | 130 | width: 100%; |
... | ... | @@ -135,7 +135,7 @@ |
135 | 135 | border-radius: 8px; |
136 | 136 | background: url(imgs/shuiyy.png)no-repeat center center; |
137 | 137 | background-size: 90% !important; |
138 | - } | |
138 | + }*/ | |
139 | 139 | .mylistdata .list .cardstype{ |
140 | 140 | padding: 0; |
141 | 141 | margin-bottom: 59.3px; | ... | ... |
more/VipCardtwo/css/vcard.html
... | ... | @@ -47,7 +47,7 @@ |
47 | 47 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
48 | 48 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1)); |
49 | 49 | } |
50 | - .list{ | |
50 | + /*.list{ | |
51 | 51 | float: left; |
52 | 52 | position: relative; |
53 | 53 | width: 100%; |
... | ... | @@ -58,13 +58,13 @@ |
58 | 58 | border-radius: 8px; |
59 | 59 | background: url(imgs/shuiyy.png)no-repeat center center; |
60 | 60 | background-size: 90% !important; |
61 | - } | |
62 | - .list .cardstype{ | |
61 | + }*/ | |
62 | + /*.list .cardstype{ | |
63 | 63 | padding: 0; |
64 | 64 | margin-bottom: 59.3px; |
65 | 65 | background: url(imgs/ztesy.png)no-repeat top right ; |
66 | 66 | background-size: 61px !important; |
67 | - } | |
67 | + }*/ | |
68 | 68 | .list .cardstype li{ |
69 | 69 | padding:0 4px; |
70 | 70 | padding-left: 0; | ... | ... |
more/VipCardtwo/css/vipcardpay.html
... | ... | @@ -674,7 +674,7 @@ |
674 | 674 | var orderId = datas.orderId; |
675 | 675 | var apporwx = mUrl.getApporWX(); |
676 | 676 | if(apporwx=='wx'){ |
677 | - var src = 'http://wxgzh.renniting.cn/wechatwuxi/Threewf/WEB-INF/pages/elsepages/cards_pages/confirmp.html?orderId='+orderId+"&orderFee="+orderFee+"&carNumber="+carNumber+"&startDate="+startd+"&endDate="+endDate+"&optType=1&openid="+func.openid+"&token="+func.token+"&"; | |
677 | + var src = 'http://wxgzh.rnting.com/ceshi/wechatthree/Threewf/WEB-INF/pages/elsepages/cards_pages/confirmp.html?orderId='+orderId+"&orderFee="+orderFee+"&carNumber="+carNumber+"&startDate="+startd+"&endDate="+endDate+"&optType=1&openid="+func.openid+"&token="+func.token+"&"; | |
678 | 678 | //window.location.assign(encodeURI(src)); |
679 | 679 | }else{ |
680 | 680 | isAndroidorios(function(data){ | ... | ... |
more/VipCardtwo/minec.html
... | ... | @@ -75,7 +75,7 @@ |
75 | 75 | padding: 11px; |
76 | 76 | box-sizing: border-box; |
77 | 77 | border-radius: 8px; |
78 | - background: url(imgs/shuiyy.png)no-repeat center center; | |
78 | + background: url(imgs/shuiyy11.png)no-repeat center center; | |
79 | 79 | background-size: 90% !important; |
80 | 80 | } |
81 | 81 | .mineclist .list>span{ |
... | ... | @@ -92,7 +92,7 @@ |
92 | 92 | .mineclist .list .cardstype{ |
93 | 93 | padding: 0; |
94 | 94 | margin-bottom: 20.3px; |
95 | - background: url(imgs/ztesy.png)no-repeat top right ; | |
95 | + background: url(imgs/ztesy9.png)no-repeat top right ; | |
96 | 96 | background-size: 61px !important; |
97 | 97 | } |
98 | 98 | .mineclist .list .cardstype li{ |
... | ... | @@ -153,8 +153,10 @@ |
153 | 153 | </style> |
154 | 154 | <body onclick=""> |
155 | 155 | <div class="minectop"> |
156 | - <i class="icon iconfont" onclick="javascript:window.history.go(-1)"></i> | |
157 | - </div> | |
156 | + <i class="icon iconfont" onclick="vipback()"></i> | |
157 | + | |
158 | +<!-- <i class="icon iconfont" onclick="javascript:window.history.go(-1)"></i> | |
159 | +--> </div> | |
158 | 160 | <div class="mineclist"> |
159 | 161 | <!--<div class="oned"> |
160 | 162 | <div class="list"> |
... | ... | @@ -185,8 +187,13 @@ |
185 | 187 | <script src="../../js/ajax.js"></script> |
186 | 188 | <script> |
187 | 189 | $(function(){ |
190 | + | |
191 | + //初始化 | |
192 | + initlist(); | |
188 | 193 | //获取数据 |
189 | - var apporwx = mUrl.getApporWX(); | |
194 | + var apporwx = mUrl.getApporWX(); | |
195 | + //songcxa测试 | |
196 | + //var apporwx = "wx"; | |
190 | 197 | if(apporwx){ |
191 | 198 | if(apporwx=='wx'){ |
192 | 199 | getMyParkCardInfo(); |
... | ... | @@ -209,8 +216,11 @@ |
209 | 216 | |
210 | 217 | //div.setAttribute('data-parkAddr',parkAddr);//停车场位置 |
211 | 218 | //若不在此判断token则下个页面就没有选择车牌 |
212 | - if(token&&token!='null'&&token!=''){ | |
213 | - var href = 'vipbuyedpay.html';//'vipbuyedpay.html'; | |
219 | + if (token && token != 'null' && token != '') { | |
220 | + //改前是[续费]vipbuyedpay.html | |
221 | + //var href = 'myVipCardInfo.html';//'vipbuyedpay.html'; | |
222 | + //改后是[详情]vipDetail.html | |
223 | + var href = 'vipDetail.html'; | |
214 | 224 | var datasrc = '?custCardNo='+custCardNo; |
215 | 225 | //var datasrc = '?plNo='+plNo+'&cardNo='+cardNo+'&cardprice='+danjia+'&cardType='+cardType+'&carType='+carType+'&carNumber='+carNumber+'&cardCouponsId='+cardCouponsId+'&optType=2&expDate='+expDate+'&parkname='+parkname+'&effDate='+effDate+'&'; |
216 | 226 | window.location.assign(encodeURI(href+datasrc)); |
... | ... | @@ -243,6 +253,105 @@ |
243 | 253 | } |
244 | 254 | }); |
245 | 255 | } |
256 | + //app点击返回按钮调用该函数 | |
257 | + function vipback(){ | |
258 | + var s = mUrl.getApporWX(); | |
259 | + console.log("调用返回函数 "+s); | |
260 | + | |
261 | + if(s=='android'){ | |
262 | + JSInterface.Vback(); | |
263 | + }else if(s=='ios'){ | |
264 | + window.webkit.messageHandlers.Vback.postMessage(null); | |
265 | + }else if(s=='wx'){ | |
266 | + var src = document.referrer; | |
267 | + if(src&&src.length>5){ | |
268 | + window.history.go(-1); | |
269 | + }else{ | |
270 | + if(typeof(WeixinJSBridge)!="undefined"){ | |
271 | + WeixinJSBridge.call('closeWindow'); | |
272 | + }else{ | |
273 | + if (navigator.userAgent.indexOf("MSIE") > 0) { | |
274 | + if (navigator.userAgent.indexOf("MSIE 6.0") > 0) { | |
275 | + window.opener = null; window.close(); | |
276 | + } | |
277 | + else { | |
278 | + window.open('', '_top'); window.top.close(); | |
279 | + } | |
280 | + } | |
281 | + else if (navigator.userAgent.indexOf("Firefox") > 0) { | |
282 | + window.location.href = 'about:blank '; | |
283 | + } | |
284 | + else { | |
285 | + window.opener = null; | |
286 | + window.open('', '_self', ''); | |
287 | + window.close(); | |
288 | + } | |
289 | + } | |
290 | + } | |
291 | + } | |
292 | + } | |
293 | + | |
294 | + | |
295 | + //初始化界面数据 | |
296 | + function initlist(){ | |
297 | + //若为微信回去微信中的用户信息 | |
298 | + | |
299 | + var getcode = location.href; | |
300 | + var datacoded = getcode.split('?')[1]; | |
301 | + var openid = mUrl.GetOpenid(); | |
302 | + if(openid&&openid!=''&&openid!='null'&&openid!='undefined'){ | |
303 | + var pt = 'wx';mUrl.setApporWX(pt); | |
304 | + gett(openid); | |
305 | + }else{ | |
306 | + if(datacoded&&datacoded!=''){ | |
307 | + var datacode = datacoded.split('&')[0].split('=')[1]; | |
308 | + if(datacoded.split('&')[0].split('=')[0]=='code'){ | |
309 | + console.log('1'); | |
310 | + var pt = 'wx';mUrl.setApporWX(pt); | |
311 | + jsajax.getopenid(datacode,function(openid){ | |
312 | + console.log('1'+openid); | |
313 | + gett(openid); | |
314 | + });//获取openid token | |
315 | + }else{ | |
316 | + console.log('2'); | |
317 | + var openid = mUrl.GetOpenid(); | |
318 | + if(openid&&openid!=''&&openid!='null'&&openid!='undefined'){ | |
319 | + var pt = 'wx';mUrl.setApporWX(pt); | |
320 | + gett(openid); | |
321 | + } | |
322 | + } | |
323 | + }else{ | |
324 | + isAndroidorios(function(data){ | |
325 | + console.log('huoqu '+data); | |
326 | + var sx = mUrl.getApporWX(); | |
327 | + if(sx!='wx'){ | |
328 | + console.log('执行不是微信的'); | |
329 | + mUrl.setApporWX(data); | |
330 | + } | |
331 | + console.log("微信还是app"+mUrl.getApporWX()); | |
332 | + }); | |
333 | + } | |
334 | + } | |
335 | +// setTimeout(function(){ | |
336 | +// var sx = mUrl.getApporWX(); | |
337 | +// if(sx=='wx'){ | |
338 | +// var lonlat = sessionStorage.getItem('lonandlat'); | |
339 | +// if(lonlat&&lonlat!=''){ | |
340 | +// var slonlat = JSON.parse(lonlat); | |
341 | +// if(slonlat.lon&&slonlat.lon!=''){getParkInfoList(lonlat)}else{ | |
342 | +// func.getLocation(); | |
343 | +// } | |
344 | +// }else{ | |
345 | +// func.getLocation(); | |
346 | +// } | |
347 | +// } | |
348 | +// var openid = mUrl.GetOpenid(); | |
349 | +// | |
350 | +// console.log('openid'+openid); | |
351 | +// },200); | |
352 | + | |
353 | + } | |
354 | + | |
246 | 355 | |
247 | 356 | //获取用户购买会员卡 |
248 | 357 | function getMyParkCardInfo() { |
... | ... | @@ -335,7 +444,7 @@ |
335 | 444 | +'<div class="parksname">'+carstr+cardtstr+'</div>' |
336 | 445 | /*+'<div class="parksaddr">'+parkAddr+'</div>'*/ |
337 | 446 | +'</div>' |
338 | - +'<div class="enddate">有效期:<span>'+expDate+'</span></div>' | |
447 | + +'<div class="enddate">有效期至:<span>'+expDate+'</span></div>' | |
339 | 448 | +'</div>'; |
340 | 449 | $('.mineclist').append(div); |
341 | 450 | } | ... | ... |
more/VipCardtwo/searchVip.html
... | ... | @@ -124,7 +124,7 @@ |
124 | 124 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
125 | 125 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1));/*linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1));*/ |
126 | 126 | } |
127 | - .mylistdata .list{ | |
127 | + /*.mylistdata .list{ | |
128 | 128 | float: left; |
129 | 129 | position: relative; |
130 | 130 | width: 100%; |
... | ... | @@ -135,13 +135,13 @@ |
135 | 135 | border-radius: 8px; |
136 | 136 | background: url(imgs/shuiyy.png)no-repeat center center; |
137 | 137 | background-size: 90% !important; |
138 | - } | |
139 | - .mylistdata .list .cardstype{ | |
138 | + }*/ | |
139 | + /*.mylistdata .list .cardstype{ | |
140 | 140 | padding: 0; |
141 | 141 | margin-bottom: 59.3px; |
142 | 142 | background: url(imgs/ztesy.png)no-repeat top right ; |
143 | 143 | background-size: 61px !important; |
144 | - } | |
144 | + }*/ | |
145 | 145 | .mylistdata .list .cardstype li{ |
146 | 146 | padding:0 4px; |
147 | 147 | padding-left: 0; | ... | ... |
more/VipCardtwo/vcard.html
... | ... | @@ -47,7 +47,7 @@ |
47 | 47 | background: -webkit-linear-gradient(-45deg, rgba(252,116,147,1),rgba(185,92,193,1)); |
48 | 48 | background: linear-gradient(-45deg, rgba(185,92,193,1),rgba(252,116,147,1)); |
49 | 49 | } |
50 | - .list{ | |
50 | + /*.list{ | |
51 | 51 | float: left; |
52 | 52 | position: relative; |
53 | 53 | width: 100%; |
... | ... | @@ -58,13 +58,13 @@ |
58 | 58 | border-radius: 8px; |
59 | 59 | background: url(imgs/shuiyy.png)no-repeat center center; |
60 | 60 | background-size: 90% !important; |
61 | - } | |
62 | - .list .cardstype{ | |
61 | + }*/ | |
62 | + /*.list .cardstype{ | |
63 | 63 | padding: 0; |
64 | 64 | margin-bottom: 59.3px; |
65 | 65 | background: url(imgs/ztesy.png)no-repeat top right ; |
66 | 66 | background-size: 61px !important; |
67 | - } | |
67 | + }*/ | |
68 | 68 | .list .cardstype li{ |
69 | 69 | padding:0 4px; |
70 | 70 | padding-left: 0; | ... | ... |
more/VipCardtwo/vippay.html
... | ... | @@ -478,7 +478,7 @@ |
478 | 478 | if(apporwx=='wx'){ |
479 | 479 | var src = '../../pay/confirmxc.html?orderId='+orderId+"&orderFee="+orderFee+"&carNumber="+carNumber+"&startDate="+startd+"&endDate="+endDate+"&optType=1&openid="+func.openid+"&token="+func.token+"&"; |
480 | 480 | window.location.assign(encodeURI(src)); |
481 | - /*var src = 'http://wxgzh.renniting.cn/ceshi/wechatthree/Threewf/WEB-INF/pages/elsepages/cards_pages/confirmxz.html?orderId='+orderId+"&orderFee="+orderFee+"&carNumber="+carNumber+"&startDate="+startd+"&endDate="+endDate+"&optType=1&openid="+func.openid+"&token="+func.token+"&"; | |
481 | + /*var src = 'http://wxgzh.rnting.com/ceshi/wechatthree/Threewf/WEB-INF/pages/elsepages/cards_pages/confirmxz.html?orderId='+orderId+"&orderFee="+orderFee+"&carNumber="+carNumber+"&startDate="+startd+"&endDate="+endDate+"&optType=1&openid="+func.openid+"&token="+func.token+"&"; | |
482 | 482 | window.location.assign(encodeURI(src));*/ |
483 | 483 | }else{ |
484 | 484 | isAndroidorios(function(data){ | ... | ... |
more/fanxtc/bf/fxone.html
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | <img src="imgs/bg.png" class="fobg"/> |
44 | 44 | <img src="imgs/yu.png" class="foyu"/> |
45 | 45 | </div> |
46 | - <p style="text-align: center;color: #fff;">未找到车辆位置,请确认已驶入任你停停车场</p> | |
46 | + <p style="text-align: center;color: #fff;">未找到车辆位置,请确认已驶入丹阳行停车场</p> | |
47 | 47 | </body> |
48 | 48 | </html> |
49 | 49 | <script src="../../js/jquery-3.2.1.min.js"></script> | ... | ... |
more/fanxtc/fxone.html
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | <img src="imgs/bg.png" class="fobg"/> |
46 | 46 | <img src="imgs/yu.png" class="foyu"/> |
47 | 47 | </div> |
48 | - <p style="text-align: center;color: #fff;">未找到车辆位置,请确认已驶入任你停停车场</p> | |
48 | + <p style="text-align: center;color: #fff;">未找到车辆位置,请确认已驶入丹阳行停车场</p> | |
49 | 49 | </body> |
50 | 50 | </html> |
51 | 51 | <script src="../../js/jquery-3.2.1.min.js"></script> | ... | ... |
more/self/.DS_Store
No preview for this file type
more/self/Vehiclemanagement/EditCar.html
... | ... | @@ -30,25 +30,6 @@ |
30 | 30 | .dialog{ |
31 | 31 | |
32 | 32 | } |
33 | - | |
34 | - .clapninfo{ | |
35 | - position: absolute; | |
36 | - bottom: 200px; | |
37 | - left: 10px; | |
38 | - } | |
39 | - | |
40 | - .clapninfo1{ | |
41 | - position: absolute; | |
42 | - bottom: 200px; | |
43 | - left: 10px; | |
44 | - } | |
45 | - | |
46 | - .clapninfo2{ | |
47 | - position: absolute; | |
48 | - bottom: 200px; | |
49 | - left: 10px; | |
50 | - } | |
51 | - | |
52 | 33 | .carbd li{ |
53 | 34 | /*width: 100%;*/ |
54 | 35 | padding: 10px; |
... | ... | @@ -91,8 +72,8 @@ |
91 | 72 | </style> |
92 | 73 | <body> |
93 | 74 | <div> |
94 | -<!-- <p class="clapninfo" style="color: #fff;padding: 10px;">每人最多可以绑定三个车牌</p> | |
95 | ---> <ul class="carbd row"> | |
75 | + <p style="color: #fff;padding: 10px;">每人最多可以绑定三个车牌</p> | |
76 | + <ul class="carbd row"> | |
96 | 77 | <!--<li class="col-xs-4">1</li> |
97 | 78 | <li class="col-xs-4">2</li> |
98 | 79 | <li class="col-xs-4">3</li>--> |
... | ... | @@ -112,17 +93,6 @@ |
112 | 93 | <div class="libottom">添加车辆</div> |
113 | 94 | </li>--> |
114 | 95 | </ul> |
115 | - | |
116 | - | |
117 | - <div class="clapninfo" style="color: #fff;padding: 10px;"> | |
118 | - | |
119 | - 友情提示:<br /> | |
120 | - 1) 每个账号可绑定3个车牌,未经车主同意,不得擅自绑定他人车牌,如因私自绑定他人车牌所产生的后果由责任人自行承担。<br /> | |
121 | - 2) 账号绑定3个车牌的功能,是为方便1个账号可以为3辆车购买月租卡或付停车费,并非1卡共享2或3个车位,如需添加辅牌,请联系车场运营管理方。<br /> | |
122 | - | |
123 | - </div> | |
124 | - | |
125 | - | |
126 | 96 | <div class="btn"></div> |
127 | 97 | </div> |
128 | 98 | <div></div> | ... | ... |
more/self/fapiao/Billinghistory/BhistoryInfo.html
... | ... | @@ -82,7 +82,8 @@ |
82 | 82 | </table> |
83 | 83 | </div> |
84 | 84 | <div class="fpinfo bder97 beizhu" style="display: none;"> |
85 | - <p class="">一张发票,含<span id="fpinfocishu"></span>次余额充值</p> | |
85 | + <!--<p class="">一张发票,含<span id="fpinfocishu"></span>次余额充值</p>--> | |
86 | + <p class="">详情:</p> | |
86 | 87 | <ul class="fplist"> |
87 | 88 | <!--<li>2017/11/11 12:12:2充值600.00元</li> |
88 | 89 | <li>2017/11/11 12:12:2充值600.00元</li>--> |
... | ... | @@ -222,9 +223,10 @@ |
222 | 223 | var createDate = cIHisD[k].createDate; |
223 | 224 | orderDate = new Date(orderDate).toLocaleString(); |
224 | 225 | |
226 | + var _orderActFee = cIHisD[k].orderActFee; | |
225 | 227 | li.setAttribute('data-id',id); |
226 | 228 | li.setAttribute('data-orderId',orderId); |
227 | - li.innerHTML = (k+1)+'、'+orderDate+"充值"+jsajax.fenToYuan(orderTotalFee)+"元"; | |
229 | + li.innerHTML = (k + 1) + '、' + orderDate + "支付" + jsajax.fenToYuan(_orderActFee) + "元"; | |
228 | 230 | /*if(orderType=='1'){chongztype = '停车订单';} |
229 | 231 | else if(orderType=='2'){chongztype = '年卡订单';} |
230 | 232 | else if(orderType=='3'){chongztype = '月卡订单';} | ... | ... |
more/self/fapiao/Billinghistory/Ticketopeningrules.html
... | ... | @@ -29,10 +29,10 @@ |
29 | 29 | <body> |
30 | 30 | <p class="rulestopp">开票规则</p> |
31 | 31 | <p> |
32 | - 1.线上发票申领暂时不支持电子发票,请您选择开具纸质发票,任你停将在3个工作日内为你安排发票打印并寄出。 | |
32 | + 1.线上发票申领暂时不支持电子发票,请您选择开具纸质发票,丹阳行将在3个工作日内为你安排发票打印并寄出。 | |
33 | 33 | </p> |
34 | 34 | <p> |
35 | - 2.根据相关政策规定,发片内容仅支持开具“停车服务费”。 | |
35 | + 2.根据相关政策规定,发票内容仅支持开具“停车服务费”。 | |
36 | 36 | </p> |
37 | 37 | <p> |
38 | 38 | 3.停车消费中,各种形式的折扣券金额不支持开具发票。 |
... | ... | @@ -44,16 +44,16 @@ |
44 | 44 | 5.如您开具的增值税普通发票用于企业报销,根据国家税务相关政策要求请填写纳税人识别号;如您的单位是非企业性质或您要求开具个人名义抬头,您可以选择“个人/非企业单位”的开票选项,则无需填写纳税人识别号。 |
45 | 45 | </p> |
46 | 46 | <p> |
47 | - 6.您每次提交申请的纸质发票金额累计满200元时由任你停包邮;单次申请不满200元时您可以选择在线支付快递费,任你停将为您开具内容为”服务费”的发票,您也可以选择收到发票后自行支付快递费给快递公司,快递费发票请您向及时快递公司索要。暂不支持港、澳、台地区邮寄。 | |
47 | + 6.您每次提交申请的纸质发票金额累计满200元时由丹阳行包邮;单次申请不满200元时您可以选择在线支付快递费,丹阳行将为您开具内容为”服务费”的发票,您也可以选择收到发票后自行支付快递费给快递公司,快递费发票请您向及时快递公司索要。暂不支持港、澳、台地区邮寄。 | |
48 | 48 | </p> |
49 | 49 | <p> |
50 | - 7. 如您错填发票抬头信息需要进行修改,请您及时联系任你停客服人员为您处理;如果发票已经寄出,还请您收到发票后立即跟客服人员联系。 | |
50 | + 7. 如您错填发票抬头信息需要进行修改,请您及时联系丹阳行客服人员为您处理;如果发票已经寄出,还请您收到发票后立即跟客服人员联系。 | |
51 | 51 | </p> |
52 | 52 | <p> |
53 | 53 | 8.因您个人填写发票信息和快递信息有误等原因产生的发票退票及重寄的往来费用,需由您本人自行承担。 |
54 | 54 | </p> |
55 | 55 | <p> |
56 | - 9. 任你停客服电话为400-690-0899。 | |
56 | + 9. 丹阳行客服电话为0511-86903456。 | |
57 | 57 | </p> |
58 | 58 | |
59 | 59 | </body> | ... | ... |
more/self/fapiao/Billinghistory/kaipiao/Viptjf.html
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | - <title>会员卡开票</title> | |
5 | + <title>开票</title> | |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
7 | 7 | <meta name="format-detection" content="telephone=no" /> |
8 | 8 | <meta name="format-detection" content="email=no" /> |
... | ... | @@ -28,6 +28,9 @@ |
28 | 28 | border: 1px solid #f5a623; |
29 | 29 | color: #f5a623; |
30 | 30 | } |
31 | + .viplist li, .resultsd .dcheck { | |
32 | + cursor: pointer; | |
33 | + } | |
31 | 34 | </style> |
32 | 35 | <body> |
33 | 36 | <p id="tipt" style="text-align: right;padding: 20px 10px 0;margin-bottom: -17px;font-size: 13px;" onclick="">开票金额说明</p> |
... | ... | @@ -37,42 +40,42 @@ |
37 | 40 | <p>暂无记录</p> |
38 | 41 | </div> |
39 | 42 | </div> |
40 | - <ul class="viplist"> | |
41 | - <!--<li data-checked="0" data-id="1" data-carnum='苏B' data-money="900.00"> | |
42 | - <p>2017/02/12 11:11:11</p> | |
43 | - <table> | |
44 | - <tr> | |
45 | - <td rowspan="7"> | |
46 | - <span class="dcheck" data-name=""> | |
47 | - <i class="icon iconfont"></i> | |
48 | - </span> | |
49 | - </td> | |
50 | - <td>卡 类 型 :<span>蓝牌包月卡</span></td> | |
51 | - <td rowspan="7"> | |
52 | - <span class="vipmonrynum">900.00</span>元 | |
53 | - </td> | |
54 | - </tr> | |
55 | - <tr> | |
56 | - <td>绑定车牌:<span>苏B12345</span></td> | |
57 | - </tr> | |
58 | - <tr> | |
59 | - <td>单 价:<span>100.00元</span></td> | |
60 | - </tr> | |
61 | - <tr> | |
62 | - <td>购买数量:<span>10个月</span></td> | |
63 | - </tr> | |
64 | - <tr> | |
65 | - <td>优惠活动:<span>9折</span></td> | |
66 | - </tr> | |
67 | - <tr> | |
68 | - <td>优惠金额:<span>-100.00元</span></td> | |
69 | - </tr> | |
70 | - <tr> | |
71 | - <td>实付金额:<span>900.00元(微信)</span></td> | |
72 | - </tr> | |
73 | - </table> | |
74 | - </li>--> | |
75 | - </ul> | |
43 | + <ul class="viplist kpDefaultColor"> | |
44 | + <!--<li data-checked="0" data-id="1" data-carnum='苏B' data-money="900.00"> | |
45 | + <p>2017/02/12 11:11:11</p> | |
46 | + <table> | |
47 | + <tr> | |
48 | + <td rowspan="7"> | |
49 | + <span class="dcheck" data-name=""> | |
50 | + <i class="icon iconfont"></i> | |
51 | + </span> | |
52 | + </td> | |
53 | + <td>卡 类 型 :<span>蓝牌包月卡</span></td> | |
54 | + <td rowspan="7"> | |
55 | + <span class="vipmonrynum">900.00</span>元 | |
56 | + </td> | |
57 | + </tr> | |
58 | + <tr> | |
59 | + <td>绑定车牌:<span>苏B12345</span></td> | |
60 | + </tr> | |
61 | + <tr> | |
62 | + <td>单 价:<span>100.00元</span></td> | |
63 | + </tr> | |
64 | + <tr> | |
65 | + <td>购买数量:<span>10个月</span></td> | |
66 | + </tr> | |
67 | + <tr> | |
68 | + <td>优惠活动:<span>9折</span></td> | |
69 | + </tr> | |
70 | + <tr> | |
71 | + <td>优惠金额:<span>-100.00元</span></td> | |
72 | + </tr> | |
73 | + <tr> | |
74 | + <td>实付金额:<span>900.00元(微信)</span></td> | |
75 | + </tr> | |
76 | + </table> | |
77 | + </li>--> | |
78 | + </ul> | |
76 | 79 | <div class="resultsd container-fluid row" style="display: none;"> |
77 | 80 | <div class="col-xs-9"> |
78 | 81 | <p style="padding: 5px 0;"> |
... | ... | @@ -83,7 +86,7 @@ |
83 | 86 | </p> |
84 | 87 | <p> |
85 | 88 | <span id="vipnums">0</span>个会员卡 |
86 | - 共<span id="totalm">0.00</span>元(满200可申请) | |
89 | + 共<span id="totalm">0.00</span>元(满500可申请) | |
87 | 90 | </p> |
88 | 91 | </div> |
89 | 92 | <div class="col-xs-3"> |
... | ... | @@ -132,7 +135,8 @@ |
132 | 135 | <script> |
133 | 136 | var func = { |
134 | 137 | index:'', |
135 | - jixing:'' | |
138 | + jixing: '', | |
139 | + tmpPayOrderList: []//临时开票列表 | |
136 | 140 | } |
137 | 141 | function isAndroid_ios(){ |
138 | 142 | var u = navigator.userAgent, app = navigator.appVersion; |
... | ... | @@ -143,6 +147,12 @@ |
143 | 147 | func.jixing = 'ios'; |
144 | 148 | } |
145 | 149 | } |
150 | + window.onpageshow=function(e){ | |
151 | + var a=e||window.event; | |
152 | + if(a.persisted){ | |
153 | + window.location.reload(); | |
154 | + } | |
155 | + } | |
146 | 156 | $(function(){ |
147 | 157 | isAndroid_ios(); |
148 | 158 | if(func.jixing=='android'){ |
... | ... | @@ -228,7 +238,14 @@ |
228 | 238 | id:id, |
229 | 239 | carnumer:carnumer |
230 | 240 | } |
231 | - orderids.push(id); | |
241 | + var tmpObj = null; | |
242 | + $.each(func.tmpPayOrderList, function (i, v) { | |
243 | + if (id == v.rltOrderId) { | |
244 | + tmpObj = v; | |
245 | + return false; | |
246 | + } | |
247 | + }); | |
248 | + orderids.push(tmpObj); | |
232 | 249 | datas.push(obj); |
233 | 250 | } |
234 | 251 | }); |
... | ... | @@ -277,7 +294,7 @@ |
277 | 294 | //vipnums totalm |
278 | 295 | $('#vipnums').text(lend); |
279 | 296 | $('#totalm').text(allm); |
280 | - if(lend>0&&allm>=0.01){ | |
297 | + if(lend>0&&allm>=500){ | |
281 | 298 | $('#nextbtn').removeAttr('disabled'); |
282 | 299 | $('#nextbtn').removeClass('disabled'); |
283 | 300 | }else{ |
... | ... | @@ -310,93 +327,188 @@ |
310 | 327 | } |
311 | 328 | console.log('数据 '+JSON.stringify(jsond)); |
312 | 329 | jsajax.defaultReq( |
313 | - mUrl.vipkpList, | |
330 | + mUrl.vipkpList2, | |
314 | 331 | JSON.stringify(jsond), |
315 | - function(data){ | |
332 | + function (data) { | |
333 | + getViplistCallBack(data); | |
316 | 334 | //alert(JSON.stringify(data)); |
317 | - console.log(JSON.stringify(data)); | |
318 | - if(data.code==0){ | |
319 | - var datas = data.data;// | |
320 | - document.querySelector('.viplist').innerHTML = ''; | |
321 | - if(datas&&datas.length>0){ | |
322 | - //tipnull | |
323 | - $('.resultsd').css('display','block'); | |
324 | - for(var i=0;i<datas.length;i++){ | |
325 | - var li = document.createElement('li'); | |
326 | - var cardAmount = datas[i].cardAmount;//单价 | |
327 | - var buyNum = datas[i].buyNum;//购买数量 | |
328 | - var cardTotalAmount = datas[i].cardTotalAmount;//实付 | |
329 | - var orderId = datas[i].orderId;//订单id | |
330 | - var cardTypeName = datas[i].cardTypeName;//卡类型名称 | |
331 | - var cardType = datas[i].cardType;//卡类型 | |
332 | - var discount = datas[i].discount;//优惠折扣 | |
333 | - var discountAmount = datas[i].discountAmount;//优惠金额 | |
334 | - var carNumber = datas[i].carNumber;//车牌 | |
335 | - var createDate = datas[i].createDate;//购买时间 | |
336 | - createDate = new Date(createDate).toLocaleString(); | |
337 | - cardAmount = jsajax.fenToYuan(cardAmount);// | |
338 | - cardTotalAmount = jsajax.fenToYuan(cardTotalAmount); | |
339 | - discountAmount==0?discountAmount='0元':discountAmount="-"+jsajax.fenToYuan(discountAmount)+'元'; | |
335 | + //console.log(JSON.stringify(data)); | |
336 | + //if(data.code==0){ | |
337 | + // var datas = data.data;// | |
338 | + // document.querySelector('.viplist').innerHTML = ''; | |
339 | + // if(datas&&datas.length>0){ | |
340 | + // //tipnull | |
341 | + // $('.resultsd').css('display','block'); | |
342 | + // for(var i=0;i<datas.length;i++){ | |
343 | + // var li = document.createElement('li'); | |
344 | + // var cardAmount = datas[i].cardAmount;//单价 | |
345 | + // var buyNum = datas[i].buyNum;//购买数量 | |
346 | + // var cardTotalAmount = datas[i].cardTotalAmount;//实付 | |
347 | + // var orderId = datas[i].orderId;//订单id | |
348 | + // var cardTypeName = datas[i].cardTypeName;//卡类型名称 | |
349 | + // var cardType = datas[i].cardType;//卡类型 | |
350 | + // var discount = datas[i].discount;//优惠折扣 | |
351 | + // var discountAmount = datas[i].discountAmount;//优惠金额 | |
352 | + // var carNumber = datas[i].carNumber;//车牌 | |
353 | + // var createDate = datas[i].createDate;//购买时间 | |
354 | + // createDate = new Date(createDate).toLocaleString(); | |
355 | + // cardAmount = jsajax.fenToYuan(cardAmount);// | |
356 | + // cardTotalAmount = jsajax.fenToYuan(cardTotalAmount); | |
357 | + // discountAmount==0?discountAmount='0元':discountAmount="-"+jsajax.fenToYuan(discountAmount)+'元'; | |
340 | 358 | |
341 | 359 | |
342 | - li.setAttribute('data-checked','0');// | |
343 | - li.setAttribute('data-cardAmount',cardAmount);//单价 | |
344 | - li.setAttribute('data-buyNum',buyNum);//购买数量 | |
345 | - li.setAttribute('data-cardTotalAmount',cardTotalAmount);//实付 | |
346 | - li.setAttribute('data-orderId',orderId);//订单id | |
347 | - li.setAttribute('data-cardTypeName',cardTypeName);//卡类型名称 | |
348 | - li.setAttribute('data-cardType',cardType);//卡类型 | |
349 | - li.setAttribute('data-discount',discount);//优惠折扣 | |
350 | - li.setAttribute('data-discountAmount',discountAmount);//优惠金额 | |
351 | - li.setAttribute('data-carNumber',carNumber);//购买数量 | |
352 | - li.setAttribute('data-createDate',createDate);//购买时间 | |
353 | - li.setAttribute('onclick','');//购买时间 | |
354 | - li.innerHTML = '<p>'+createDate+'</p>' | |
355 | - +'<table>' | |
356 | - +'<tr>' | |
357 | - +'<td rowspan="7">' | |
358 | - +'<span class="dcheck" data-name="">' | |
359 | - +'<i class="icon iconfont"></i>' | |
360 | - +'</span>' | |
361 | - +'</td>' | |
362 | - +'<td>卡 类 型 :<span>'+cardTypeName+'</span></td>' | |
363 | - +'<td rowspan="7">' | |
364 | - +'<span class="vipmonrynum">'+cardTotalAmount+'</span>元' | |
365 | - +'</td>' | |
366 | - +'</tr>' | |
367 | - +'<tr>' | |
368 | - +'<td>绑定车牌:<span>'+carNumber+'</span></td>' | |
369 | - +'</tr>' | |
370 | - +'<tr>' | |
371 | - +'<td>单 价:<span>'+cardAmount+'元</span></td>' | |
372 | - +'</tr>' | |
373 | - +'<tr>' | |
374 | - +'<td>购买数量:<span>'+buyNum+'</span></td>' | |
375 | - +'</tr>' | |
376 | - +'<tr>' | |
377 | - +'<td>优惠活动:<span>'+discount+'</span></td>' | |
378 | - +'</tr>' | |
379 | - +'<tr>' | |
380 | - +'<td>优惠金额:<span>'+discountAmount+'</span></td>' | |
381 | - +'</tr>' | |
382 | - +'<tr>' | |
383 | - +'<td>实付金额:<span>'+cardTotalAmount+'元</span></td>' | |
384 | - +'</tr>' | |
385 | - +'</table>'; | |
360 | + // li.setAttribute('data-checked','0');// | |
361 | + // li.setAttribute('data-cardAmount',cardAmount);//单价 | |
362 | + // li.setAttribute('data-buyNum',buyNum);//购买数量 | |
363 | + // li.setAttribute('data-cardTotalAmount',cardTotalAmount.replace(",",""));//实付 | |
364 | + // li.setAttribute('data-orderId',orderId);//订单id | |
365 | + // li.setAttribute('data-cardTypeName',cardTypeName);//卡类型名称 | |
366 | + // li.setAttribute('data-cardType',cardType);//卡类型 | |
367 | + // li.setAttribute('data-discount',discount);//优惠折扣 | |
368 | + // li.setAttribute('data-discountAmount',discountAmount);//优惠金额 | |
369 | + // li.setAttribute('data-carNumber',carNumber);//购买数量 | |
370 | + // li.setAttribute('data-createDate',createDate);//购买时间 | |
371 | + // li.setAttribute('onclick','');//购买时间 | |
372 | + // li.innerHTML = '<p>'+createDate+'</p>' | |
373 | + // +'<table>' | |
374 | + // +'<tr>' | |
375 | + // +'<td rowspan="7">' | |
376 | + // +'<span class="dcheck" data-name="">' | |
377 | + // +'<i class="icon iconfont"></i>' | |
378 | + // +'</span>' | |
379 | + // +'</td>' | |
380 | + // +'<td>卡 类 型 :<span>'+cardTypeName+'</span></td>' | |
381 | + // +'<td rowspan="7">' | |
382 | + // +'<span class="vipmonrynum">'+cardTotalAmount.replace(",","")+'</span>元' | |
383 | + // +'</td>' | |
384 | + // +'</tr>' | |
385 | + // +'<tr>' | |
386 | + // +'<td>绑定车牌:<span>'+carNumber+'</span></td>' | |
387 | + // +'</tr>' | |
388 | + // +'<tr>' | |
389 | + // +'<td>单 价:<span>'+cardAmount+'元</span></td>' | |
390 | + // +'</tr>' | |
391 | + // +'<tr>' | |
392 | + // +'<td>购买数量:<span>'+buyNum+'</span></td>' | |
393 | + // +'</tr>' | |
394 | + // +'<tr>' | |
395 | + // +'<td>优惠活动:<span>'+discount+'折</span></td>' | |
396 | + // +'</tr>' | |
397 | + // +'<tr>' | |
398 | + // +'<td>优惠金额:<span>'+discountAmount+'</span></td>' | |
399 | + // +'</tr>' | |
400 | + // +'<tr>' | |
401 | + // +'<td>实付金额:<span>'+cardTotalAmount+'元</span></td>' | |
402 | + // +'</tr>' | |
403 | + // +'</table>'; | |
386 | 404 | |
387 | - document.querySelector('.viplist').appendChild(li); | |
388 | - } | |
389 | - }else{ | |
390 | - $('.tipnull').css('display','block'); | |
391 | - $('.resultsd').css('display','none'); | |
392 | - } | |
393 | - }else{ | |
394 | - document.querySelector('.viplist').innerHTML = ''; | |
395 | - $('.tipnull').css('display','block'); | |
396 | - $('.resultsd').css('display','none'); | |
397 | - } | |
405 | + // document.querySelector('.viplist').appendChild(li); | |
406 | + // } | |
407 | + // }else{ | |
408 | + // $('.tipnull').css('display','block'); | |
409 | + // $('.resultsd').css('display','none'); | |
410 | + // } | |
411 | + //}else{ | |
412 | + // document.querySelector('.viplist').innerHTML = ''; | |
413 | + // $('.tipnull').css('display','block'); | |
414 | + // $('.resultsd').css('display','none'); | |
415 | + //} | |
398 | 416 | } |
399 | 417 | ); |
400 | 418 | |
401 | 419 | } |
420 | + //格式化返回值 | |
421 | + function getViplistCallBack(data) { | |
422 | + if (data.code == 0) { | |
423 | + var datas = data.data;// | |
424 | + func.tmpPayOrderList = datas; | |
425 | + document.querySelector('.viplist').innerHTML = ''; | |
426 | + if (datas && datas.length > 0) { | |
427 | + //tipnull | |
428 | + $('.resultsd').css('display', 'block'); | |
429 | + for (var i = 0; i < datas.length; i++) { | |
430 | + var li = document.createElement('li'); | |
431 | + //1 | |
432 | + //var cardAmount = datas[i].cardAmount;//单价 | |
433 | + //var buyNum = datas[i].buyNum;//购买数量 | |
434 | + //var cardTotalAmount = datas[i].cardTotalAmount;//实付 | |
435 | + //var orderId = datas[i].orderId;//订单id | |
436 | + //var cardTypeName = datas[i].cardTypeName;//卡类型名称 | |
437 | + //var cardType = datas[i].cardType;//卡类型 | |
438 | + //var discount = datas[i].discount;//优惠折扣 | |
439 | + //var discountAmount = datas[i].discountAmount;//优惠金额 | |
440 | + //var carNumber = datas[i].carNumber;//车牌 | |
441 | + //var createDate = datas[i].createDate;//购买时间 | |
442 | + //createDate = new Date(createDate).toLocaleString(); | |
443 | + //cardAmount = jsajax.fenToYuan(cardAmount);// | |
444 | + //cardTotalAmount = jsajax.fenToYuan(cardTotalAmount); | |
445 | + //discountAmount == 0 ? discountAmount = '0元' : discountAmount = "-" + jsajax.fenToYuan(discountAmount) + '元'; | |
446 | + | |
447 | + //2 | |
448 | + var _createDate = new Date(datas[i].createDate).toLocaleString();//创建时间 | |
449 | + var _payFinishTime = new Date(datas[i].payFinishTime).toLocaleString();//支付完成时间 | |
450 | + var _payOrderType = datas[i].payOrderType;//支付单类型[字典表:PAY_ORDER_TYPE]:101:停车付款单,102:停车预付单,103:停车补缴单;201:余额充值单,202:押金充值;301:会员卡购买单,302:会员卡续费. | |
451 | + var _rltOrderId = datas[i].rltOrderId;//关联订单id | |
452 | + var _plName = datas[i].plName == "" ? "--" : datas[i].plName;//停车场名称 | |
453 | + var _chepaiNum = datas[i].carNumber == "" ? "--" : datas[i].carNumber;//车牌号 | |
454 | + var _orderActFee = jsajax.fenToYuan(datas[i].orderActFee);//支付单实收 单位:分 | |
455 | + var _orderDicountFee = jsajax.fenToYuan(datas[i].orderDicountFee);//优惠金额 单位:分 | |
456 | + //debugger; | |
457 | + li.setAttribute('data-checked', '0');// | |
458 | + //li.setAttribute('data-cardAmount', cardAmount);//单价 | |
459 | + //li.setAttribute('data-buyNum', buyNum);//购买数量 | |
460 | + li.setAttribute('data-cardTotalAmount', _orderActFee.replace(",", ""));//实付 | |
461 | + li.setAttribute('data-cardType', _payOrderType);//支付单类型 | |
462 | + li.setAttribute('data-orderId', _rltOrderId);//关联订单id | |
463 | + //li.setAttribute('data-cardTypeName', cardTypeName);//卡类型名称 | |
464 | + //li.setAttribute('data-discount', discount);//优惠折扣 | |
465 | + //li.setAttribute('data-discountAmount', discountAmount);//优惠金额 | |
466 | + li.setAttribute('data-carNumber', _chepaiNum);//购买数量 | |
467 | + //li.setAttribute('data-createDate', createDate);//购买时间 | |
468 | + //li.setAttribute('onclick', '');//购买时间 | |
469 | + li.innerHTML = '<p>' + _createDate + '</p>' | |
470 | + + '<table>' | |
471 | + + '<tr>' | |
472 | + + '<td rowspan="7">' | |
473 | + + '<span class="dcheck" data-name="">' | |
474 | + + '<i class="icon iconfont"></i>' | |
475 | + + '</span>' | |
476 | + + '</td>' | |
477 | + + '<td>车 牌 号 :<span>' + _chepaiNum + '</span></td>' | |
478 | + + '<td rowspan="7">' | |
479 | + + '<span class="vipmonrynum">' + _orderActFee.replace(",", "") + '</span>元' | |
480 | + + '</td>' | |
481 | + + '</tr>' | |
482 | + //+ '<tr>' | |
483 | + // + '<td>停 车 场 :<span>' + _plName + '</span></td>' | |
484 | + //+ '</tr>' | |
485 | + //+ '<tr>' | |
486 | + // + '<td>单 价:<span>' + cardAmount + '元</span></td>' | |
487 | + //+ '</tr>' | |
488 | + //+ '<tr>' | |
489 | + // + '<td>购买数量:<span>' + buyNum + '</span></td>' | |
490 | + //+ '</tr>' | |
491 | + //+ '<tr>' | |
492 | + // + '<td>优惠活动:<span>' + discount + '折</span></td>' | |
493 | + //+ '</tr>' | |
494 | + + '<tr>' | |
495 | + + '<td>优惠金额:<span>' + _orderDicountFee + '</span></td>' | |
496 | + + '</tr>' | |
497 | + + '<tr>' | |
498 | + + '<td>实付金额:<span>' + _orderActFee + '元</span></td>' | |
499 | + + '</tr>' | |
500 | + + '</table>'; | |
501 | + | |
502 | + document.querySelector('.viplist').appendChild(li); | |
503 | + } | |
504 | + } else { | |
505 | + $('.tipnull').css('display', 'block'); | |
506 | + $('.resultsd').css('display', 'none'); | |
507 | + } | |
508 | + } else { | |
509 | + document.querySelector('.viplist').innerHTML = ''; | |
510 | + $('.tipnull').css('display', 'block'); | |
511 | + $('.resultsd').css('display', 'none'); | |
512 | + } | |
513 | + } | |
402 | 514 | </script> | ... | ... |
more/self/fapiao/Invoiceapplication.html
... | ... | @@ -27,11 +27,10 @@ |
27 | 27 | background: #fff; |
28 | 28 | padding:20px 10px; |
29 | 29 | box-sizing: border-box; |
30 | - text-align:center; | |
31 | 30 | } |
32 | 31 | .invoice a,.invoice a:active{ |
33 | 32 | display: inline-block; |
34 | - width: 33%; | |
33 | + width: 100%; | |
35 | 34 | font-size: 14px; |
36 | 35 | text-align: center; |
37 | 36 | color: #000; |
... | ... | @@ -77,8 +76,11 @@ |
77 | 76 | </style> |
78 | 77 | <body> |
79 | 78 | <div class="invoice"> |
80 | - <!--<a class="" onclick="toast()"> | |
81 | - <div> | |
79 | +<!-- <a class="" onclick="toast()"> | |
80 | +--> | |
81 | + <!--<a class="" href="kaipiao/Viptjf.html"> | |
82 | + | |
83 | + <div> | |
82 | 84 | <img src="imgs/yue.png" /> |
83 | 85 | </div> |
84 | 86 | <span>余额开票</span> |
... | ... | @@ -87,10 +89,12 @@ |
87 | 89 | <div> |
88 | 90 | <img src="imgs/huiyuan.png" /> |
89 | 91 | </div> |
90 | - <span>会员卡开票</span> | |
92 | + <span>发票申领</span> | |
91 | 93 | </a> |
92 | - <!--<a class="" onclick="toast()"> | |
93 | - <div> | |
94 | +<!-- <a class="" onclick="toast()"> | |
95 | +--> | |
96 | + <!--<a class="" href="kaipiao/Viptjf.html"> | |
97 | + <div> | |
94 | 98 | <img src="imgs/linting.png" /> |
95 | 99 | </div> |
96 | 100 | <span>临停开票</span> | ... | ... |
more/self/fapiao/Ticketopeningrules.html
... | ... | @@ -28,12 +28,12 @@ |
28 | 28 | </style> |
29 | 29 | <body> |
30 | 30 | <p class="rulestopp">开票规则</p> |
31 | - <p>尊敬的用户,欢迎阅读任你停发票申领开票规则,本规则阐述的条款和条件适用于您使用任你停发票申领所提供的服务。</p> | |
31 | + <p>尊敬的用户,欢迎阅读丹阳行发票申领开票规则,本规则阐述的条款和条件适用于您使用丹阳行发票申领所提供的服务。</p> | |
32 | 32 | <p> |
33 | - 1.线上发票申领暂时不支持电子发票,请您选择开具纸质发票,任你停将在一个月内为你安排发票打印并寄出。 | |
33 | + 1.线上发票申领暂时不支持电子发票,请您选择开具纸质发票,丹阳行将在一个月内为你安排发票打印并寄出。 | |
34 | 34 | </p> |
35 | 35 | <p> |
36 | - 2.根据相关政策规定,发片内容仅支持开具“停车服务费”。 | |
36 | + 2.根据相关政策规定,发票内容仅支持开具“停车服务费”。 | |
37 | 37 | </p> |
38 | 38 | <p> |
39 | 39 | 3.停车消费中,各种形式的折扣券金额不支持开具发票。 |
... | ... | @@ -48,13 +48,13 @@ |
48 | 48 | 6.您每次提交申请的纸质发票可以选择快递到付或上门取票,到付发票自行支付快递费给快递公司,快递费发票请您及时向快递公司索要。暂不支持港、澳、台地区邮寄。 |
49 | 49 | </p> |
50 | 50 | <p> |
51 | - 7. 如您错填发票抬头信息需要进行修改,请您及时联系任你停客服人员为您处理;如果发票已经寄出,还请您收到发票后立即跟客服人员联系。 | |
51 | + 7. 如您错填发票抬头信息需要进行修改,请您及时联系丹阳行客服人员为您处理;如果发票已经寄出,还请您收到发票后立即跟客服人员联系。 | |
52 | 52 | </p> |
53 | 53 | <p> |
54 | 54 | 8.因您个人填写发票信息和快递信息有误等原因产生的发票退票及重寄的往来费用,需由您本人自行承担。 |
55 | 55 | </p> |
56 | 56 | <p> |
57 | - 9. 任你停客服电话为400-690-0899。 | |
57 | + 9. 丹阳行客服电话为0511-86903456。 | |
58 | 58 | </p> |
59 | 59 | |
60 | 60 | </body> | ... | ... |
more/self/fapiao/kaipiao/Viptjf.html
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | - <title>会员卡开票</title> | |
5 | + <title>开票</title> | |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
7 | 7 | <meta name="format-detection" content="telephone=no" /> |
8 | 8 | <meta name="format-detection" content="email=no" /> |
... | ... | @@ -28,31 +28,8 @@ |
28 | 28 | border: 1px solid #f5a623; |
29 | 29 | color: #f5a623; |
30 | 30 | } |
31 | - .viplist li, .resultsd .dcheck { | |
32 | - cursor: pointer; | |
33 | - } | |
34 | - .selRegionBox { | |
35 | - padding: 10px 10px 0 10px; | |
36 | - text-align:center; | |
37 | - } | |
38 | - | |
39 | - .selCity { | |
40 | - height: 38px; | |
41 | - line-height: 1.3; | |
42 | - border: 1px solid #e6e6e6; | |
43 | - border-radius: 2px; | |
44 | - color: #999; | |
45 | - width: 100%; | |
46 | - outline: none; | |
47 | - cursor: pointer; | |
48 | - } | |
49 | 31 | </style> |
50 | 32 | <body> |
51 | - <div class="selRegionBox"> | |
52 | - <select name="city" lay-verify="" class="selCity" id="selCity"> | |
53 | - <option value="0" selected>数据加载中</option> | |
54 | - </select> | |
55 | - </div> | |
56 | 33 | <p id="tipt" style="text-align: right;padding: 20px 10px 0;margin-bottom: -17px;font-size: 13px;" onclick="">开票金额说明</p> |
57 | 34 | <div class="tipnull" style="display: none;"> |
58 | 35 | <div class="nullimg"> |
... | ... | @@ -60,42 +37,42 @@ |
60 | 37 | <p>暂无记录</p> |
61 | 38 | </div> |
62 | 39 | </div> |
63 | - <ul class="viplist"> | |
64 | - <!--<li data-checked="0" data-id="1" data-carnum='苏B' data-money="900.00"> | |
65 | - <p>2017/02/12 11:11:11</p> | |
66 | - <table> | |
67 | - <tr> | |
68 | - <td rowspan="7"> | |
69 | - <span class="dcheck" data-name=""> | |
70 | - <i class="icon iconfont"></i> | |
71 | - </span> | |
72 | - </td> | |
73 | - <td>卡 类 型 :<span>蓝牌包月卡</span></td> | |
74 | - <td rowspan="7"> | |
75 | - <span class="vipmonrynum">900.00</span>元 | |
76 | - </td> | |
77 | - </tr> | |
78 | - <tr> | |
79 | - <td>绑定车牌:<span>苏B12345</span></td> | |
80 | - </tr> | |
81 | - <tr> | |
82 | - <td>单 价:<span>100.00元</span></td> | |
83 | - </tr> | |
84 | - <tr> | |
85 | - <td>购买数量:<span>10个月</span></td> | |
86 | - </tr> | |
87 | - <tr> | |
88 | - <td>优惠活动:<span>9折</span></td> | |
89 | - </tr> | |
90 | - <tr> | |
91 | - <td>优惠金额:<span>-100.00元</span></td> | |
92 | - </tr> | |
93 | - <tr> | |
94 | - <td>实付金额:<span>900.00元(微信)</span></td> | |
95 | - </tr> | |
96 | - </table> | |
97 | - </li>--> | |
98 | - </ul> | |
40 | + <ul class="viplist kpDefaultColor"> | |
41 | + <!--<li data-checked="0" data-id="1" data-carnum='苏B' data-money="900.00"> | |
42 | + <p>2017/02/12 11:11:11</p> | |
43 | + <table> | |
44 | + <tr> | |
45 | + <td rowspan="7"> | |
46 | + <span class="dcheck" data-name=""> | |
47 | + <i class="icon iconfont"></i> | |
48 | + </span> | |
49 | + </td> | |
50 | + <td>卡 类 型 :<span>蓝牌包月卡</span></td> | |
51 | + <td rowspan="7"> | |
52 | + <span class="vipmonrynum">900.00</span>元 | |
53 | + </td> | |
54 | + </tr> | |
55 | + <tr> | |
56 | + <td>绑定车牌:<span>苏B12345</span></td> | |
57 | + </tr> | |
58 | + <tr> | |
59 | + <td>单 价:<span>100.00元</span></td> | |
60 | + </tr> | |
61 | + <tr> | |
62 | + <td>购买数量:<span>10个月</span></td> | |
63 | + </tr> | |
64 | + <tr> | |
65 | + <td>优惠活动:<span>9折</span></td> | |
66 | + </tr> | |
67 | + <tr> | |
68 | + <td>优惠金额:<span>-100.00元</span></td> | |
69 | + </tr> | |
70 | + <tr> | |
71 | + <td>实付金额:<span>900.00元(微信)</span></td> | |
72 | + </tr> | |
73 | + </table> | |
74 | + </li>--> | |
75 | + </ul> | |
99 | 76 | <div class="resultsd container-fluid row" style="display: none;"> |
100 | 77 | <div class="col-xs-9"> |
101 | 78 | <p style="padding: 5px 0;"> |
... | ... | @@ -155,7 +132,8 @@ |
155 | 132 | <script> |
156 | 133 | var func = { |
157 | 134 | index:'', |
158 | - jixing:'' | |
135 | + jixing: '', | |
136 | + tmpPayOrderList: []//临时开票列表 | |
159 | 137 | } |
160 | 138 | function isAndroid_ios(){ |
161 | 139 | var u = navigator.userAgent, app = navigator.appVersion; |
... | ... | @@ -179,17 +157,7 @@ |
179 | 157 | }else{ |
180 | 158 | jsajax.setcss("css/Viptjf3.css"); |
181 | 159 | } |
182 | - //getViplist(); | |
183 | - /*songcxa*/ | |
184 | - //选择区域 | |
185 | - getRegion(); | |
186 | - $('#selCity').on("change", function (ev) { | |
187 | - var val = $(this).val(); | |
188 | - console.log("orgId:" + val); | |
189 | - if (val !=0) { | |
190 | - getViplist(val); | |
191 | - } | |
192 | - }); | |
160 | + getViplist(); | |
193 | 161 | //点击开票说明 |
194 | 162 | $('body').on('click','#tipt',function(){ |
195 | 163 | func.index = layer.open({ |
... | ... | @@ -267,7 +235,14 @@ |
267 | 235 | id:id, |
268 | 236 | carnumer:carnumer |
269 | 237 | } |
270 | - orderids.push(id); | |
238 | + var tmpObj = null; | |
239 | + $.each(func.tmpPayOrderList, function (i, v) { | |
240 | + if (id == v.rltOrderId) { | |
241 | + tmpObj = v; | |
242 | + return false; | |
243 | + } | |
244 | + }); | |
245 | + orderids.push(tmpObj); | |
271 | 246 | datas.push(obj); |
272 | 247 | } |
273 | 248 | }); |
... | ... | @@ -327,18 +302,18 @@ |
327 | 302 | } |
328 | 303 | |
329 | 304 | //获取会员卡开票列表 |
330 | - function getViplist(orgId) { | |
305 | + function getViplist(){ | |
331 | 306 | var salt = jsajax.salt(32); |
332 | 307 | var token = mUrl.GetToken(); |
333 | 308 | var deviceInfo = mUrl.getDevice(); |
334 | - var _orgId = orgId; | |
309 | + var defaultOrgId=10003;//默认orgId【10003】丹阳行 | |
335 | 310 | var sortd = [ |
336 | 311 | {keyname:'app_id',value:'0eca8f5373ca4866aec2f8e9d9367104'}, |
337 | 312 | {keyname:'deviceInfo',value:deviceInfo}, |
338 | 313 | {keyname:'salt',value:salt}, |
339 | 314 | {keyname:'sign_type',value:'md5'}, |
340 | 315 | { keyname: 'token', value: token }, |
341 | - { keyname: 'orgId', value: _orgId }, | |
316 | + { keyname: 'orgId', value: defaultOrgId },//添加默认orgId【10003】丹阳行 | |
342 | 317 | ]; |
343 | 318 | var mdsign = jsajax.getsign(sortd); |
344 | 319 | var jsond = { |
... | ... | @@ -348,17 +323,16 @@ |
348 | 323 | sign:mdsign, |
349 | 324 | sign_type:'md5', |
350 | 325 | token: token, |
351 | - orgId: _orgId | |
326 | + orgId: defaultOrgId | |
352 | 327 | } |
353 | - console.log('数据 ' + JSON.stringify(jsond)); | |
354 | - document.querySelector('.viplist').innerHTML = ''; | |
328 | + console.log('数据 '+JSON.stringify(jsond)); | |
355 | 329 | jsajax.defaultReq( |
356 | - mUrl.vipkpList, | |
330 | + mUrl.vipkpList2, | |
357 | 331 | JSON.stringify(jsond), |
358 | - function(data){ | |
359 | - //alert(JSON.stringify(data)); | |
360 | - console.log(JSON.stringify(data)); | |
332 | + function (data) { | |
361 | 333 | getViplistCallBack(data); |
334 | + //alert(JSON.stringify(data)); | |
335 | + //console.log(JSON.stringify(data)); | |
362 | 336 | //if(data.code==0){ |
363 | 337 | // var datas = data.data;// |
364 | 338 | // document.querySelector('.viplist').innerHTML = ''; |
... | ... | @@ -443,18 +417,33 @@ |
443 | 417 | ); |
444 | 418 | |
445 | 419 | } |
446 | - //格式化返回值 | |
420 | + //格式化返回值 | |
447 | 421 | function getViplistCallBack(data) { |
448 | 422 | if (data.code == 0) { |
449 | 423 | var datas = data.data;// |
450 | 424 | func.tmpPayOrderList = datas; |
451 | - //document.querySelector('.viplist').innerHTML = ''; | |
425 | + document.querySelector('.viplist').innerHTML = ''; | |
452 | 426 | if (datas && datas.length > 0) { |
453 | 427 | //tipnull |
454 | - $('.tipnull').css('display', 'none'); | |
455 | 428 | $('.resultsd').css('display', 'block'); |
456 | 429 | for (var i = 0; i < datas.length; i++) { |
457 | 430 | var li = document.createElement('li'); |
431 | + //1 | |
432 | + //var cardAmount = datas[i].cardAmount;//单价 | |
433 | + //var buyNum = datas[i].buyNum;//购买数量 | |
434 | + //var cardTotalAmount = datas[i].cardTotalAmount;//实付 | |
435 | + //var orderId = datas[i].orderId;//订单id | |
436 | + //var cardTypeName = datas[i].cardTypeName;//卡类型名称 | |
437 | + //var cardType = datas[i].cardType;//卡类型 | |
438 | + //var discount = datas[i].discount;//优惠折扣 | |
439 | + //var discountAmount = datas[i].discountAmount;//优惠金额 | |
440 | + //var carNumber = datas[i].carNumber;//车牌 | |
441 | + //var createDate = datas[i].createDate;//购买时间 | |
442 | + //createDate = new Date(createDate).toLocaleString(); | |
443 | + //cardAmount = jsajax.fenToYuan(cardAmount);// | |
444 | + //cardTotalAmount = jsajax.fenToYuan(cardTotalAmount); | |
445 | + //discountAmount == 0 ? discountAmount = '0元' : discountAmount = "-" + jsajax.fenToYuan(discountAmount) + '元'; | |
446 | + | |
458 | 447 | //2 |
459 | 448 | var _createDate = new Date(datas[i].createDate).toLocaleString();//创建时间 |
460 | 449 | var _payFinishTime = new Date(datas[i].payFinishTime).toLocaleString();//支付完成时间 |
... | ... | @@ -522,59 +511,4 @@ |
522 | 511 | $('.resultsd').css('display', 'none'); |
523 | 512 | } |
524 | 513 | } |
525 | - | |
526 | - //获取区域下拉选项 | |
527 | - function getRegion() { | |
528 | - $('#selCity').empty(); | |
529 | - var salt = jsajax.salt(32); | |
530 | - var token = mUrl.GetToken(); | |
531 | - var deviceInfo = mUrl.getDevice(); | |
532 | - var sortd = [ | |
533 | - { keyname: 'app_id', value: '0eca8f5373ca4866aec2f8e9d9367104' }, | |
534 | - { keyname: 'deviceInfo', value: deviceInfo }, | |
535 | - { keyname: 'salt', value: salt }, | |
536 | - { keyname: 'sign_type', value: 'md5' }, | |
537 | - { keyname: 'token', value: token } | |
538 | - ]; | |
539 | - var mdsign = jsajax.getsign(sortd); | |
540 | - var jsond = { | |
541 | - app_id: '0eca8f5373ca4866aec2f8e9d9367104', | |
542 | - deviceInfo: deviceInfo, | |
543 | - salt: salt, | |
544 | - sign: mdsign, | |
545 | - sign_type: 'md5', | |
546 | - token: token | |
547 | - } | |
548 | - console.log('数据 ' + JSON.stringify(jsond)); | |
549 | - | |
550 | - jsajax.defaultReq( | |
551 | - mUrl.queryAppOrgs, | |
552 | - JSON.stringify(jsond), | |
553 | - function (data) { | |
554 | - //alert(JSON.stringify(data)); | |
555 | - console.log(JSON.stringify(data)); | |
556 | - if (data.code == 0) { | |
557 | - setRegionOption(data.data); | |
558 | - } else { | |
559 | - $("#selCity").prepend("<option value='0'>暂无数据</option>"); | |
560 | - } | |
561 | - }, function (err) { | |
562 | - $("#selCity").prepend("<option value='0'>暂无数据</option>"); | |
563 | - console.log(err); | |
564 | - } | |
565 | - ); | |
566 | - } | |
567 | - function setRegionOption(arr) { | |
568 | - var selCity = $("#selCity"); | |
569 | - if (arr.length > 0) { | |
570 | - for (var i = 0; i < arr.length; i++) { | |
571 | - var tmpObj = arr[i]; | |
572 | - selCity.append("<option value='" + tmpObj.orgId + "'>" + tmpObj.orgName + "</option>"); | |
573 | - } | |
574 | - //搜索改组织下的发票列表[默认值] | |
575 | - getViplist(arr[0].orgId); | |
576 | - } else { | |
577 | - selCity.prepend("<option value='0'>暂无数据</option>"); | |
578 | - } | |
579 | - } | |
580 | 514 | </script> | ... | ... |
more/self/fapiao/kaipiao/css/Viptjf.css
... | ... | @@ -3,7 +3,7 @@ body{ |
3 | 3 | height: auto; |
4 | 4 | } |
5 | 5 | .viplist{ |
6 | - margin-bottom: 80px; | |
6 | + /*margin-bottom: 80px;*/ | |
7 | 7 | /*padding-bottom: 80px;*/ |
8 | 8 | } |
9 | 9 | .viplist li{ |
... | ... | @@ -129,4 +129,8 @@ body{ |
129 | 129 | } |
130 | 130 | .layui-layer-ico { |
131 | 131 | display: none !important; |
132 | - } | |
133 | 132 | \ No newline at end of file |
133 | + } | |
134 | + | |
135 | +.kpDefaultColor { | |
136 | +color:#4c4c4c; | |
137 | +} | |
134 | 138 | \ No newline at end of file | ... | ... |
more/self/fapiao/kaipiao/tjfapiao.html
... | ... | @@ -416,7 +416,8 @@ |
416 | 416 | //{keyname:'sign',value:''}, |
417 | 417 | {keyname:'token',value:token}, |
418 | 418 | //{keyname:'recipients',value:recipients} |
419 | - {keyname:'orderIds',value:orderIds}, | |
419 | + //{keyname:'orderIds',value:orderIds}, | |
420 | + { keyname: 'orderList', value: orderIds }, | |
420 | 421 | {keyname:'invoiceTotalFee',value:invoiceTotalFee},// |
421 | 422 | {keyname:'invoiceState',value:'1'}, |
422 | 423 | |
... | ... | @@ -437,7 +438,8 @@ |
437 | 438 | salt:salt, |
438 | 439 | sign_type:'md5', |
439 | 440 | token:token, |
440 | - orderIds:orderIds, | |
441 | + //orderIds: orderIds, | |
442 | + orderList: orderIds,//songcxa_2018-10-9新增 | |
441 | 443 | invoiceState:'1', |
442 | 444 | invoiceType:invoiceType, |
443 | 445 | applyDate:applyDate, |
... | ... | @@ -473,7 +475,8 @@ |
473 | 475 | console.log('数据1 '+JSON.stringify(sortd)); |
474 | 476 | console.log('数据 '+JSON.stringify(jsond)); |
475 | 477 | jsajax.defaultReq( |
476 | - mUrl.kaipaioHistory, | |
478 | + //mUrl.kaipaioHistory, | |
479 | + mUrl.kaipaioHistory2, | |
477 | 480 | JSON.stringify(jsond), |
478 | 481 | function(data){ |
479 | 482 | console.log('返回 '+JSON.stringify(data)); | ... | ... |
more/self/self.html
... | ... | @@ -97,7 +97,7 @@ |
97 | 97 | <p class="sjhbing" style="height: 25px;text-align: right;"> |
98 | 98 | <span style="display: none;text-align: right;padding-right: 10px;box-sizing: border-box;"> |
99 | 99 | <a href="../../commonp/binding.html"> |
100 | - 绑定任你停账号使用更多功能 | |
100 | + 绑定丹阳行账号使用更多功能 | |
101 | 101 | <i class="icon iconfont"></i> |
102 | 102 | </a> |
103 | 103 | </span> |
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | <span><img src="fapiao/imgs/selfcar.png"/></span>车辆管理 |
114 | 114 | <i class="icon iconfont"></i> |
115 | 115 | </li> |
116 | - <li data-href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1e9001e5940605b1&redirect_uri=http://wxgzh.renniting.cn/wechatwuxi/Threewf/WEB-INF/pages/mylist.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect" data-token='0'> | |
116 | + <li data-href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1e9001e5940605b1&redirect_uri=http://wxgzh.rnting.com/ceshi/wechatthree/Threewf/WEB-INF/pages/mylist.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect" data-token='0'> | |
117 | 117 | <span><img src="fapiao/imgs/vip.png"/></span>会员卡 |
118 | 118 | <i class="icon iconfont"></i> |
119 | 119 | </li> | ... | ... |
more/self/self2.html
... | ... | @@ -753,9 +753,9 @@ |
753 | 753 | $('#photo').attr('src',headPicUrl); |
754 | 754 | }else { |
755 | 755 | var radom = Math.floor(Math.random()*3); |
756 | - if(radom=='0'||radom==0){$('#photo').attr('src','http://wxgzh.renniting.cn/wechatwuxi/Threewfx/more/self/imgs/toux/one.png');} | |
757 | - if(radom=='1'||radom==1){$('#photo').attr('src','http://wxgzh.renniting.cn/wechatwuxi/Threewfx/more/self/imgs/toux/zero.png');} | |
758 | - if(radom=='2'||radom==2){$('#photo').attr('src','http://wxgzh.renniting.cn/wechatwuxi/Threewfx/more/self/imgs/toux/two.png');} | |
756 | + if(radom=='0'||radom==0){$('#photo').attr('src','http://wxgzh.rnting.com/ceshi/wechatthree/Threewfx/more/self/imgs/toux/one.png');} | |
757 | + if(radom=='1'||radom==1){$('#photo').attr('src','http://wxgzh.rnting.com/ceshi/wechatthree/Threewfx/more/self/imgs/toux/zero.png');} | |
758 | + if(radom=='2'||radom==2){$('#photo').attr('src','http://wxgzh.rnting.com/ceshi/wechatthree/Threewfx/more/self/imgs/toux/two.png');} | |
759 | 759 | //if(phonelast=) |
760 | 760 | } |
761 | 761 | //alert($('#photo').attr('src')); | ... | ... |
more/share/share.html
... | ... | @@ -349,7 +349,7 @@ |
349 | 349 | <div> |
350 | 350 | <p>1、优惠券新老用户同享</p> |
351 | 351 | <p>2、优惠券不可与其他优惠叠加使用</p> |
352 | - <p>3、优惠券仅限在任你停最新客户端下单且选择在线支付时使用</p> | |
352 | + <p>3、优惠券仅限在丹阳行最新客户端下单且选择在线支付时使用</p> | |
353 | 353 | <p>4、仅限在线支付使用,且车主手机号、领取红包时输入的手机号和账号对应的手机号需为同一个手机号</p> |
354 | 354 | <p>5、其他未尽事宜,请咨询客服</p> |
355 | 355 | <p>6、本活动与Apple Inc无关</p> |
... | ... | @@ -361,7 +361,7 @@ |
361 | 361 | <script src="../../js/bootstrap/bootstrap.js"></script> |
362 | 362 | <script src="../../js/layui/layui/layui.js"></script> |
363 | 363 | <script src="../../js/md5.min.js"></script> |
364 | -<script src="http://wxgzh.renniting.cn/wechatwuxi/Threewf/js/url.js"></script> | |
364 | +<script src="http://wxgzh.rnting.com/ceshi/wechatthree/Threewf/js/url.js"></script> | |
365 | 365 | <script src="../../js/ajax.js"></script> |
366 | 366 | <script> |
367 | 367 | /* mUrl.yearjudge = cepath+'/yearActivity/judgeGetCouponOrScore';//判断当前用户今天是否已经领取积分或者卡劵 | ... | ... |
nearStop/js/tcyd.js
... | ... | @@ -71,7 +71,7 @@ function wktrnt(name,juli,positiona){ |
71 | 71 | +'<div class="col-xs-4">停车诱导</div><div class="col-xs-4">' |
72 | 72 | +'<span class="tipseconds"><span style="color: #f00;">10s</span>后自动进入导航</span>' |
73 | 73 | +'</div> </div> <div class="hhbcontent row"> <div class="col-xs-12">' |
74 | - +'<div>'+name+'</div><p>(因暂未开通任你停,数据可能不准确)</p>' | |
74 | + +'<div>'+name+'</div><p>(因暂未开通丹阳行,数据可能不准确)</p>' | |
75 | 75 | +'</div> <div class="col-xs-4"> <img src="imgs/a23.png" /> </div> <div class="col-xs-4"> <img src="imgs/a1x.png" />' |
76 | 76 | +'<div style="padding-top: 8px;">距您'+juli+'km</div>' |
77 | 77 | +'</div> <div class="col-xs-4"> <div>空闲</div> <span style="display: inline-block;padding-top: 8px;">空位</span>' | ... | ... |
nearStop/list.html
... | ... | @@ -249,7 +249,7 @@ |
249 | 249 | //potop = idleberths; |
250 | 250 | kt = '<span> 当前车位数: <span style="color: #00ff00;">'+idleberths+'</span> / <span>'+totalberths+'</span> </span>'; |
251 | 251 | }else{ |
252 | - kt = '<span class="flan"> 暂未开通任你停</span>'; | |
252 | + kt = '<span class="flan"> 暂未开通丹阳行</span>'; | |
253 | 253 | } |
254 | 254 | |
255 | 255 | ... | ... |
nearStop/map.html
... | ... | @@ -694,7 +694,7 @@ |
694 | 694 | //console.log(totalberths+" "+idleberths+" "+yt); |
695 | 695 | }else{ |
696 | 696 | $(".onepark").attr('data-status','0'); |
697 | - $(".lnum").html('<span class="flan">暂未开通任你停</span>'); | |
697 | + $(".lnum").html('<span class="flan">暂未开通丹阳行</span>'); | |
698 | 698 | } |
699 | 699 | $("#laddre").text(address); |
700 | 700 | ... | ... |
nearStop/new_file.html
... | ... | @@ -187,7 +187,7 @@ overflow: hidden; |
187 | 187 | <div class="hhbcontent row"> |
188 | 188 | <div class="col-xs-12"> |
189 | 189 | <div>中国传感网创新园停车场</div> |
190 | - <p>(因暂未开通任你停,数据可能不准确)</p> | |
190 | + <p>(因暂未开通丹阳行,数据可能不准确)</p> | |
191 | 191 | </div> |
192 | 192 | <div class="col-xs-4"> |
193 | 193 | <img src="imgs/a23.png" /> |
... | ... | @@ -235,7 +235,7 @@ overflow: hidden; |
235 | 235 | <div class="hhbcontent row"> |
236 | 236 | <div class="col-xs-12"> |
237 | 237 | <div>中国传感网创新园停车场</div> |
238 | - <p class="katrnt" style="display: none;">(因暂未开通任你停,数据可能不准确)</p> | |
238 | + <p class="katrnt" style="display: none;">(因暂未开通丹阳行,数据可能不准确)</p> | |
239 | 239 | </div> |
240 | 240 | <div class="col-xs-4"> |
241 | 241 | <img src="imgs/a23.png" /> | ... | ... |
nearStop/newmap1.html
... | ... | @@ -807,7 +807,7 @@ |
807 | 807 | //console.log(totalberths+" "+idleberths+" "+yt); |
808 | 808 | }else{ |
809 | 809 | $(".onepark").attr('data-status','0'); |
810 | - //$(".lnum").html('<span class="flan">暂未开通任你停</span>'); | |
810 | + //$(".lnum").html('<span class="flan">暂未开通丹阳行</span>'); | |
811 | 811 | } |
812 | 812 | $("#laddre").text(address); |
813 | 813 | ... | ... |
nearStop/parklist.html
... | ... | @@ -311,7 +311,7 @@ |
311 | 311 | kt = '<span> 当前车位数: <span style="color: #00ff00;">'+idleberths+'</span> / <span>'+totalberths+'</span> </span>'; |
312 | 312 | div.setAttribute('data-status','1'); |
313 | 313 | }else{ |
314 | - kt = '<span class="flan"> 暂未开通任你停</span>'; | |
314 | + kt = '<span class="flan"> 暂未开通丹阳行</span>'; | |
315 | 315 | div.setAttribute('data-status','0'); |
316 | 316 | } |
317 | 317 | ... | ... |
nearStop/parklistbf.html
... | ... | @@ -311,7 +311,7 @@ |
311 | 311 | kt = '<span> 当前车位数: <span style="color: #00ff00;">'+idleberths+'</span> / <span>'+totalberths+'</span> </span>'; |
312 | 312 | div.setAttribute('data-status','1'); |
313 | 313 | }else{ |
314 | - kt = '<span class="flan"> 暂未开通任你停</span>'; | |
314 | + kt = '<span class="flan"> 暂未开通丹阳行</span>'; | |
315 | 315 | div.setAttribute('data-status','0'); |
316 | 316 | } |
317 | 317 | ... | ... |
pay/confirmxc.html
... | ... | @@ -261,7 +261,7 @@ |
261 | 261 | jsondata, |
262 | 262 | function (res) { |
263 | 263 | if(res.code=='0'){ |
264 | - window.location.href = 'http://wxgzh.renniting.cn/wechatwuxi/Threewfx/more/xinban/minec.html';//mUrl.myParkCardView; | |
264 | + window.location.href = 'http://wxgzh.rnting.com/ceshi/wechatthree/Threewfx/more/xinban/minec.html';//mUrl.myParkCardView; | |
265 | 265 | }else{} |
266 | 266 | } |
267 | 267 | ); | ... | ... |