recharge.ejs 4.5 KB
<!DOCTYPE html>
<html>
  <head>
    <title> 企飞</title>
    <meta http-equiv="X-UA-Compatible" content="IE=7"> 
    <meta http-equiv="content-type" content="text/html;charset=UTF-8"> 
    <style type="text/css">
      .mask_form{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
      }

      .spinner {
        margin: 280px auto 100px auto;
        width: 40px;
        height: 40px;
        position: relative;
      }

      .cube1, .cube2 {
        background-color: #fff;
        width: 15px;
        height: 15px;
        position: absolute;
        top: 0;
        left: 0;
        
        -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
        animation: sk-cubemove 1.8s infinite ease-in-out;
      }

      .cube2 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
      }

      @-webkit-keyframes sk-cubemove {
        25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
        50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
        75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
        100% { -webkit-transform: rotate(-360deg) }
      }

      @keyframes sk-cubemove {
        25% { 
          transform: translateX(42px) rotate(-90deg) scale(0.5);
          -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
        } 50% { 
          transform: translateX(42px) translateY(42px) rotate(-179deg);
          -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
        } 50.1% { 
          transform: translateX(42px) translateY(42px) rotate(-180deg);
          -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
        } 75% { 
          transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
          -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        } 100% { 
          transform: rotate(-360deg);
          -webkit-transform: rotate(-360deg);
        }
      }
      .loading_message{
        color: #fff;
        width: 130px;
        text-align: left;
        position: absolute;
        top: 65px;
      }
    </style>   
    <script type="text/javascript" src="/js/jquery-1.9.1.js"></script>  
  </head>
  <body >
      <div class="mask_form"> 
        <form id="recharge_form" action="<%=recharge.lianlian_recharge_url%>" method="post">
          <input type="hidden" id="frms_client_chnl" name="frms_client_chnl" value="<%=recharge.frms_client_chnl%>"/>
          <input type="hidden" id="version" name="version" value="<%=recharge.version%>"/>
          <input type="hidden" id="platform" name="platform" value="<%=recharge.platform%>" />
          <input type="hidden" id="oid_partner" name="oid_partner" value="<%=recharge.oid_partner%>" />
          <input type="hidden" id="timestamp" name="timestamp" value="<%=recharge.timestamp%>" />
          <input type="hidden" id="userreq_ip" name="userreq_ip" value="<%=recharge.userreq_ip%>" />
          <input type="hidden" id="sign_type" name="sign_type" value="<%=recharge.sign_type%>" />
          <input type="hidden" id="sign" name="sign" value="<%=recharge.sign%>" />
          <input type="hidden" id="user_login" name="user_login" value="<%=recharge.user_login%>"  />
          <input type="hidden" id="busi_partner" name="busi_partner" value="<%=recharge.busi_partner%>"  />
          <input type="hidden" id="no_order" name="no_order" value="<%=recharge.no_order%>"  />
          <input type="hidden" id="dt_order" name="dt_order" value="<%=recharge.dt_order%>"  />
          <input type="hidden" id="name_goods" name="name_goods" value="<%=recharge.name_goods%>"  />
          <input type="hidden" id="money_order" name="money_order" value="<%=recharge.money_order%>"  />
          <!--<input type="hidden" id="info_order" name="info_order" value="<%=recharge.info_order%>"  />-->
          <input type="hidden" id="notify_url" name="notify_url" value="<%=recharge.notify_url%>"  />
          <input type="hidden" id="url_return" name="url_return" value="<%=recharge.url_return%>"  /> 
        </form>
        <div class="spinner">
          <div class="cube1"></div>
          <div class="cube2"></div>
          <div class="loading_message">处理中...</div>
        </div>
      </div>
      <script type="text/javascript">
          setTimeout(function(){
           $('#recharge_form').submit();
          },300) 
      </script>  
  </body>
</html>