diff --git a/billCodePay.html b/billCodePay.html index 202147a..fa39a3d 100644 --- a/billCodePay.html +++ b/billCodePay.html @@ -13,10 +13,10 @@ - + - - + + - + + 订单获取成功,请您尽快完成支付,剩余时间: ¥0.00 diff --git a/config.js b/config.js index 1535797..8399dec 100644 --- a/config.js +++ b/config.js @@ -6,12 +6,10 @@ window.webAppH5 = {}; //微信appID -var appWxID = "wx1e9001e5940605b1";//wx945eccc8163fd75b +var appWxID = "wx945eccc8163fd75b"; /*服务器地址*/ -//var webAppRoot = "http://39.98.54.240:8090"; -var webAppRoot = "http://pay.service.renniting.cn/v1"; - +var webAppRoot = "http://pay.service.renniting.cn/v1";//http://39.98.54.240:8090"; //"http://39.98.54.240:8090"; //微信支付结果回调地址 var webAppPayResult = "http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/page/wxpayResult.html"; @@ -25,7 +23,7 @@ webAppH5.comParams = { token: '666' } -//小票扫码支付参数codeType[0静态码、1小票二维码、2动态二维码] +//小票扫码支付参数 webAppH5.dynCode = {//卫岗固定参数 direction: 1, codeType: 1, @@ -38,7 +36,7 @@ webAppH5.comServer = "/keyTopQrCodeInOutPark/noCarQRcodeInOutPark"; //缴费-微信 webAppH5.wxPayServer = "/weixinpay/publicUnifiedOrder"; -//微信获取openID +//缴费-微信 webAppH5.wxGetOpenIdServer = "/weixinPublicPay/getOpenIdByCode"; //缴费-支付宝 @@ -79,7 +77,7 @@ webAppH5.aliPayServer = "/alipay/aliH5Pay"; //小票二维码出场 //http://39.98.54.240/codepay/index.html?appid=0&lotId=1&payConfigId=2&receiptNo=3 -//http://localhost:1260/codepay/index.html?appid=0&lotId=3504&payConfigId=2&receiptNo=3& +//http://localhost:1260/codepay/index.html?appid=0&lotId=1&payConfigId=2&receiptNo=3 //首页 @@ -97,22 +95,5 @@ webAppH5.aliPayServer = "/alipay/aliH5Pay"; //http://localhost:1260/pay.html?orderId=101526715300086198272&parkName=%E9%9D%99%E9%9B%85%E5%9C%B0%E4%B8%8A&parkCode=B1504020C7&inparktime=2018-12-24%2010%3A58%3A24&outtime=2018-12-24%2011%3A05%3A10&staytime=420&due=70&paid=0&orderTotalFee=70&orderFee=7&discountFee=63&plateno=%E8%92%99DTK366&outPayOrderNo=B1504020C720181224110510813DTK366-172192102&appOrderTimeout=%E8%AF%B7%E5%9C%A8%E6%94%AF%E4%BB%98%E5%AE%8C%E6%88%9010%E5%88%86%E9%92%9F%E5%86%85%E5%87%BA%E5%9C%BA%EF%BC%8C%E5%A6%82%E8%B6%85%E6%97%B6%E6%9C%AA%E5%87%BA%E5%9C%BA%EF%BC%8C%E4%BC%9A%E7%BB%A7%E7%BB%AD%E8%AE%A1%E8%B4%B9%E3%80%82&discountDesc=1%E6%8A%98%E4%BC%98%E6%83%A0&queryOrderInfo=%7B%22app_id%22%3A%221%22%2C%22carNumber%22%3A%22%E8%92%99DTK366%22%2C%22channelId%22%3A%22172192102%22%2C%22codeType%22%3A0%2C%22deviceInfo%22%3A%223%22%2C%22direction%22%3A1%2C%22parkingId%22%3A%22B1504020C7%22%2C%22plNo%22%3A%22B1504020C7%22%2C%22salt%22%3A%222%22%2C%22sign%22%3A%224%22%2C%22sign_type%22%3A%22md5%22%2C%22terminalSource%22%3A%227%22%2C%22token%22%3A%22666%22%7D&needPay=true -/*正式环境前缀*/ -//http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay - -/*类型1: -lotId -->parkingId -receiptNo --> carNumber 车牌号 -direction 固定 1 -codeType 固定 1 -terminalSource 固定 7 -channelId 固定 小票二维码 -*/ -//http://localhost:1260/dynCodePay.html?appid=0&lotId=3504&payConfigId=2&receiptNo=%E8%92%99D9203C -//http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/index.html?appid=0&lotId=3504&payConfigId=2&receiptNo=%E8%92%99D9203C - -//http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/index.html?appid=0&lotId=3504&payConfigId=2&receiptNo=蒙D871R2 -/*类型2:codeType2动态二维码正式环境地址前缀*/ -//http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/index.html?codeType=2&isNeedPay=1&orderId=001&parkName=万达停车场&parkCode=a001&inparktime=2018-12-26 00:00:00&outtime=2018-12-26 10:00:00&staytime=360&orderFee=100&plateno=蒙DY2408 diff --git a/css/index.css b/css/index.css index 267edb3..0df20a1 100644 --- a/css/index.css +++ b/css/index.css @@ -33,11 +33,20 @@ body { } .flexBoxRow { display: flex; + display: -webkit-flex; justify-content: left; flex-direction:row; align-items:center; width:100%; } +.flexBoxRow_column { + display: flex; + display: -webkit-flex; + justify-content: left; + flex-direction:column; + align-items:center; + width:100%; +} .carNumBox { font-size:1.4rem; font-weight:bold; @@ -169,4 +178,17 @@ body { transition: all 0.2s ease; transform: scale(1, 1); display: inline-block; -} \ No newline at end of file +} + +.headTip { + display:none;text-align: center; + background-color:rgba(253, 201, 11, 0.95); + width: 100%; + line-height:25px; +} +.headTip > span:first-child { + +} +.headTip > span:last-child { + color:red;font-size: 1.6rem; +} diff --git a/doc.txt b/doc.txt index 85e3650..1968c65 100644 --- a/doc.txt +++ b/doc.txt @@ -1,5 +1,20 @@ -git -http://192.168.1.195:9998/web_developers/codepay.git +http://132.232.101.107/webApp/paywxali/index.html + +http://132.232.101.107/webApp/paywxali/demo.html +жϵǰֻŻ֧ + + + + +ź֧ӿڷܽ +https://blog.csdn.net/yufeng005/article/details/54583467 + + + +ajax֧ +https://www.cnblogs.com/junjieok/p/4538580.html + + //ӿĵ- @@ -37,40 +52,15 @@ http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172 http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData +//serverͨ--12 +//--֧У +http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/page/out6.html?plNo=B1504020C7&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData -˵ -̨֧formֱ֧ -֧鷳1Ҫ֧Ŀ¼2ȡcode3ȡopenid4ȡ5֧ JSAPI֧ - -pay.htmlУ鶩ڷ - -//СƱ̶ -[billCodePay.htmlɨά룬ֽ] -Ӧϵ -lotId -->parkingId ͣ -receiptNo --> carNumber ƺ -direction ̶ 1 -codeType ̶ 1 -terminalSource ̶ 7 -channelId ̶ СƱά - - -//̬ά[dynCodePay.html] -String qrcodeType;//2-̬ά -private Boolean isNeedPay=true; -private String orderId;// -private String parkName;//ͣ -private String parkCode;//ͣ -private String inparktime;//ʱ ʽyyyy-MM-dd HH:mm:ss -private String outtime;//ʱ ʽyyyy-MM-dd HH:mm:ss -private String staytime;//ͣʱ1 -private String orderFee;//γʵӦȥۿۣŻȯ֮Ӧ -private String plateno;// ƺ - -?codeType=2&isNeedPay=1&orderId=001&parkName=ͣ&parkCode=a001&inparktime=2018-12-26 00:00:00&outtime=2018-12-26 10:00:00&staytime=1&orderFee=100&plateno=DY2408 - - -//̬άԣ:101527546939039301632 ƣD11111 Բ -http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/dynCodePay.html?codeType=2&isNeedPay=1&orderId=101527546939039301632&parkName=%E4%B8%87%E8%BE%BE%E5%81%9C%E8%BD%A6%E5%9C%BA&parkCode=a001&inparktime=2018-12-26%2000%3A00%3A00&outtime=2018-12-26%2010%3A00%3A00&staytime=360&orderFee=100&plateno=%E8%92%99DY2408 +//̬-ǮurlУûУ +http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/dynCodePay6.html?codeType=2&isNeedPay=1&orderId=101527546939039301632&parkName=%E4%B8%87%E8%BE%BE%E5%81%9C%E8%BD%A6%E5%9C%BA&parkCode=a001&inparktime=2018-12-26%2000%3A00%3A00&outtime=2018-12-26%2010%3A00%3A00&staytime=360&orderFee=100&plateno=%E8%92%99DY2408 +// +http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/pay.html?orderId=101536977652977254400&parkName=%E9%9D%99%E9%9B%85%E5%B0%81%E9%97%AD%E8%BD%A6%E5%9C%BA&parkCode=B1504020C7&inparktime=2019-01-21%2018%3A37%3A26&outtime=2019-01-22%2012%3A01%3A48&staytime=62640&due=1100&paid=0&orderTotalFee=1100&orderFee=990&discountFee=110&plateno=%E8%92%99DJF612&outPayOrderNo=B1504020C720190122120148594DJF612-172198243&appOrderTimeout=%E8%AF%B7%E5%9C%A8%E6%94%AF%E4%BB%98%E5%AE%8C%E6%88%9010%E5%88%86%E9%92%9F%E5%86%85%E5%87%BA%E5%9C%BA%EF%BC%8C%E5%A6%82%E8%B6%85%E6%97%B6%E6%9C%AA%E5%87%BA%E5%9C%BA%EF%BC%8C%E4%BC%9A%E7%BB%A7%E7%BB%AD%E8%AE%A1%E8%B4%B9%E3%80%82&discountDesc=9%E6%8A%98%E4%BC%98%E6%83%A0&queryOrderInfo=%7B%22app_id%22%3A%221%22%2C%22carNumber%22%3A%22%E8%92%99DJF612%22%2C%22channelId%22%3A%22172198243%22%2C%22codeType%22%3A0%2C%22deviceInfo%22%3A%223%22%2C%22direction%22%3A1%2C%22expireDate%22%3A%22expireDate%22%2C%22extendData%22%3A%22extendData%22%2C%22parkingId%22%3A%223504%22%2C%22plNo%22%3A%22B1504020C7%22%2C%22salt%22%3A%222%22%2C%22sign%22%3A%224%22%2C%22sign_type%22%3A%22md5%22%2C%22terminalSource%22%3A%227%22%2C%22token%22%3A%22666%22%7D&needPay=true +//̬ +http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/dynCodePay.html?codeType=2&isNeedPay=1&orderId=101536977652977254400&parkName=%E4%B8%87%E8%BE%BE%E5%81%9C%E8%BD%A6%E5%9C%BA&parkCode=a001&inparktime=2018-12-26%2000%3A00%3A00&outtime=2018-12-26%2010%3A00%3A00&staytime=360&orderFee=100&plateno=%E8%92%99D3C187 \ No newline at end of file diff --git a/dynCodePay.html b/dynCodePay.html index 2bf8d43..af8a374 100644 --- a/dynCodePay.html +++ b/dynCodePay.html @@ -13,10 +13,10 @@ - - - - + + + + - +