index.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?php
  2. /* *
  3. * 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
  4. */
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html>
  8. <head>
  9. <title>我爱云易支付免签约即时到账交易接口</title>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <style>
  12. *{
  13. margin:0;
  14. padding:0;
  15. }
  16. ul,ol{
  17. list-style:none;
  18. }
  19. .title{
  20. color: #ADADAD;
  21. font-size: 14px;
  22. font-weight: bold;
  23. padding: 8px 16px 5px 10px;
  24. }
  25. .hidden{
  26. display:none;
  27. }
  28. .new-btn-login-sp{
  29. border:1px solid #D74C00;
  30. padding:1px;
  31. display:inline-block;
  32. }
  33. .new-btn-login{
  34. background-color: #ff8c00;
  35. color: #FFFFFF;
  36. font-weight: bold;
  37. border: medium none;
  38. width:82px;
  39. height:28px;
  40. }
  41. .new-btn-login:hover{
  42. background-color: #ffa300;
  43. width: 82px;
  44. color: #FFFFFF;
  45. font-weight: bold;
  46. height: 28px;
  47. }
  48. .bank-list{
  49. overflow:hidden;
  50. margin-top:5px;
  51. }
  52. .bank-list li{
  53. float:left;
  54. width:153px;
  55. margin-bottom:5px;
  56. }
  57. #main{
  58. width:750px;
  59. margin:0 auto;
  60. font-size:14px;
  61. font-family:'宋体';
  62. }
  63. #logo{
  64. background-color: transparent;
  65. background-image: url("images/new-btn-fixed.png");
  66. border: medium none;
  67. background-position:0 0;
  68. width:166px;
  69. height:35px;
  70. float:left;
  71. }
  72. .red-star{
  73. color:#f00;
  74. width:10px;
  75. display:inline-block;
  76. }
  77. .null-star{
  78. color:#fff;
  79. }
  80. .content{
  81. margin-top:5px;
  82. }
  83. .content dt{
  84. width:160px;
  85. display:inline-block;
  86. text-align:right;
  87. float:left;
  88. }
  89. .content dd{
  90. margin-left:100px;
  91. margin-bottom:5px;
  92. }
  93. #foot{
  94. margin-top:10px;
  95. }
  96. .foot-ul li {
  97. text-align:center;
  98. }
  99. .note-help {
  100. color: #999999;
  101. font-size: 12px;
  102. line-height: 130%;
  103. padding-left: 3px;
  104. }
  105. .cashier-nav {
  106. font-size: 14px;
  107. margin: 15px 0 10px;
  108. text-align: left;
  109. height:30px;
  110. border-bottom:solid 2px #CFD2D7;
  111. }
  112. .cashier-nav ol li {
  113. float: left;
  114. }
  115. .cashier-nav li.current {
  116. color: #AB4400;
  117. font-weight: bold;
  118. }
  119. .cashier-nav li.last {
  120. clear:right;
  121. }
  122. .alipay_link {
  123. text-align:right;
  124. }
  125. .alipay_link a:link{
  126. text-decoration:none;
  127. color:#8D8D8D;
  128. }
  129. .alipay_link a:visited{
  130. text-decoration:none;
  131. color:#8D8D8D;
  132. }
  133. </style>
  134. </head>
  135. <body text=#000000 bgColor=#ffffff leftMargin=0 topMargin=4>
  136. <div id="main">
  137. <div id="head">
  138. <dl class="alipay_link">
  139. <a target="_blank" href="http://pay.cccyun.cc/"><span>免签约申请地址</span></a>
  140. </dl>
  141. <span class="title">我爱云易支付免签约即时到账</span>
  142. </div>
  143. <div class="cashier-nav">
  144. <ol>
  145. <li class="current">1、确认信息 →</li>
  146. <li>2、点击确认 →</li>
  147. <li class="last">3、确认完成</li>
  148. </ol>
  149. </div>
  150. <form name=alipayment action=epayapi.php method=post target="_blank">
  151. <div id="body" style="clear:left">
  152. <dl class="content">
  153. <dt>商户订单号:</dt>
  154. <dd>
  155. <span class="null-star">*</span>
  156. <input size="30" name="WIDout_trade_no" value="<?php echo date("YmdHis").mt_rand(100,999); ?>"/>
  157. <span>商户网站订单系统中唯一订单号,必填
  158. </span>
  159. </dd>
  160. <dt>商品名称:</dt>
  161. <dd>
  162. <span class="null-star">*</span>
  163. <input size="30" name="WIDsubject" value="测试商品"/>
  164. <span>必填
  165. </span>
  166. </dd>
  167. <dt>付款金额:</dt>
  168. <dd>
  169. <span class="null-star">*</span>
  170. <input size="30" name="WIDtotal_fee" value="0.01"/>
  171. <span>必填
  172. </span>
  173. </dd>
  174. <dt>支付方式:</dt>
  175. <dd>
  176. <label><input type="radio" name="type" value="alipay" checked="">支付宝</label>&nbsp; <label><input type="radio" name="type" value="qqpay">QQ钱包</label>&nbsp;<label><input type="radio" name="type" value="wxpay">微信支付</label>&nbsp;<label><input type="radio" name="type" value="tenpay">财付通</label>
  177. </dd>
  178. <dt></dt>
  179. <dd>
  180. <span class="new-btn-login-sp">
  181. <button class="new-btn-login" type="submit" style="text-align:center;">确 认</button>
  182. </span>
  183. </dd>
  184. </dl>
  185. </div>
  186. </form>
  187. <div id="foot">
  188. <ul class="foot-ul">
  189. <li><font class="note-help">如果您点击“确认”按钮,即表示您同意该次的执行操作。 </font></li>
  190. <li>
  191. </li>
  192. </ul>
  193. </div>
  194. </div>
  195. </body>
  196. </html>