dynCodePay.html 5.91 KB
<!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=0.11"></script>
    <script src="js/dynCodePay.js?v=0.11"></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;
        }
        .paySuccess{
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 100px;
            font-size: 20px;
            color: #fff;
            background: rgba(0,0,0,.7);
            position: fixed;
            top:0;
            left: 0;
            display: none;
        }
    </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"></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">选择支付方式</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: 5px;margin-top:5px; color: #3385ff; font-size: 14px; "></section>-->
    <div class="paySuccess" id="paySuccess">支付成功,请立即离场</div>
</body>

</html>