index.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="divport" content="width=device-width, initial-scale=1.0">
  7. <link rel="stylesheet" href="/assets/frontend/recharge/reset.css">
  8. <link rel="stylesheet" href="/assets/frontend/recharge/icon.css">
  9. <title>充值</title>
  10. <style>
  11. .page {
  12. height: 100vh;
  13. }
  14. .content{
  15. padding-top: 0.10rem;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. height: 100%;
  20. margin:0 auto;
  21. width: 8.00rem;
  22. background-color: #f8f8f8;
  23. }
  24. .phone-wrap {
  25. width: 7.50rem;
  26. padding:0 0.15rem 0.15rem;
  27. }
  28. .phone-item {
  29. width: 100%;
  30. height: 0.35rem;
  31. border-bottom: 1px solid #F1F1F1;
  32. justify-content: space-between;
  33. }
  34. .phone-item input {
  35. flex:1;
  36. font-size: 0.14rem;
  37. background-color: #f8f8f8;
  38. }
  39. .phone-item .phone-nick{
  40. color:#999999;
  41. font-size: 0.13rem;
  42. }
  43. .recharge-wrap {
  44. width: 7.50rem;
  45. padding: 0.15rem;
  46. padding-top: 0rpx;
  47. padding-bottom: 0rpx;
  48. }
  49. .recharge-title {
  50. font-size: 0.16rem;
  51. font-weight: bold;
  52. }
  53. .exchange-section {
  54. margin-top: 0.10rem;
  55. display: flex;
  56. flex-wrap: wrap;
  57. /* justify-content: space-between; */
  58. }
  59. .exchange-box {
  60. width: 1.25rem;
  61. height: 0.71rem;
  62. border: 0.01rem solid #7D73DC;
  63. border-radius: 0.10rem;
  64. margin-bottom: 0.15rem;
  65. color: #999999;
  66. align-items: center;
  67. justify-content: center;
  68. cursor: pointer;
  69. margin-right: 0.40rem;
  70. }
  71. .exchange-box:nth-child(4n){
  72. margin-right: 0;
  73. }
  74. .exchange-top {
  75. display: flex;
  76. align-items: center;
  77. }
  78. .exchange-pic {
  79. height: auto;
  80. width: 0.18rem;
  81. margin-right: 0.07rem;
  82. }
  83. .diamonds-num {
  84. font-size: 0.16rem;
  85. color: #261A00;
  86. }
  87. /* .actvie {
  88. color: #FFFFFF;
  89. } */
  90. .diamonds-name {
  91. font-size: 0.12rem;
  92. margin-left: 0.04rem;
  93. }
  94. .exchange-price {
  95. font-size: 0.12rem;
  96. margin-top: 0.10rem;
  97. }
  98. .current {
  99. background: linear-gradient(90deg, #629CFF, #7870F1);
  100. box-shadow: 0px 3px 5px 0px rgba(126, 114, 220, 0.59);
  101. color: #FFFFFF !important;
  102. }
  103. .current .diamonds-num{
  104. color: #FFFFFF;
  105. }
  106. .mode-wrap{
  107. width: 7.50rem;
  108. height: 1.15rem;
  109. padding: 0.15rem;
  110. padding-top:0rpx;
  111. }
  112. .mode-wrap .mode-title{
  113. font-size: 0.16rem;
  114. font-weight: bold;
  115. }
  116. .mode-item{
  117. width: 7.50rem;
  118. height: 0.20rem;
  119. justify-content: space-between;
  120. margin-top: 0.10rem;
  121. }
  122. .mode-left{
  123. font-size: 0.14rem;
  124. }
  125. .mode-left .zicon-weixin{
  126. font-size: 0.27rem;
  127. color: #46BB36;
  128. margin-right: 0.07rem;
  129. }
  130. .mode-left .zicon-alipay{
  131. color:#02A9F1;
  132. font-size: 0.27rem;
  133. margin-right: 0.07rem;
  134. }
  135. .zicon-xuanze{
  136. font-size: 0.20rem;
  137. color: #46BB36;
  138. }
  139. .zicon-xuanze1{
  140. font-size: 0.20rem;
  141. }
  142. .mode-tips{
  143. width: 7.50rem;
  144. align-items: flex-start;
  145. margin-top: 0.20rem;
  146. }
  147. .mode-tips .zicon-tishi{
  148. font-size: 0.14rem;
  149. color: #FFCE00;
  150. margin-top: 8rpx;
  151. }
  152. .mode-tips .mode-txt{
  153. /* width: 2.25rem; */
  154. margin-left: 0.05rem;
  155. color: #999999;
  156. font-size: 0.12rem;
  157. }
  158. .recharge-btn{
  159. width: 2.90rem;
  160. height: 0.40rem;
  161. background: #EEEEEE;
  162. border-radius: 0.20rem;
  163. margin: 0.50rem auto 0.10rem;
  164. font-size: 0.15rem;
  165. font-family: PingFang SC;
  166. font-weight: 500;
  167. cursor: pointer;
  168. }
  169. .recharge-btn.active{
  170. background: linear-gradient(90deg, #629CFF, #7870F1);
  171. color: #FFFFFF;
  172. }
  173. </style>
  174. <script>
  175. !(function(win, doc) {
  176. function setFontSize() {
  177. var docEl = doc.documentElement;
  178. var winWidth = docEl.clientWidth;
  179. doc.documentElement.style.fontSize = (winWidth / 1920) * 100 + "px";
  180. }
  181. var userAgent = navigator.userAgent;
  182. win.addEventListener("resize", function() {
  183. if (navigator.userAgent !== userAgent) {
  184. location.reload();
  185. }
  186. });
  187. setFontSize();
  188. })(window, document);
  189. </script>
  190. </head>
  191. <body>
  192. <div class="page">
  193. <div class="content">
  194. <form method="post" action="/index/recharge/recharge_pc">
  195. <div class="phone-wrap row">
  196. <div class="phone-item row">
  197. <input type="text" name="mobile" placeholder="请输入注册手机号" autofocus="true"/>
  198. <!--<span class="phone-nick" >昵称: 李大娃</span>-->
  199. </div>
  200. </div>
  201. <div class="recharge-wrap">
  202. <div class="recharge-title">充值金额</div>
  203. <select name="rc_id" class="exchange-section">
  204. {volist name='conf_list' id='vo'}
  205. <option value="{$vo.id}">充¥{$vo.money}得{$vo.gold}金币</option>
  206. {/volist}
  207. </select>
  208. <!--<div class="exchange-section">
  209. &lt;!&ndash; current为激活状态 @click="clickBox(index)"&ndash;&gt;
  210. <div class="exchange-box column current" >
  211. <div class="exchange-top">
  212. <img class="exchange-pic" src="/assets/frontend/recharge/images/b-b.png"></img>
  213. <div class="diamonds-num" >1000</div>
  214. <div class="diamonds-name">金币</div>
  215. </div>
  216. <div class="exchange-price">¥100.00</div>
  217. </div>
  218. <div class="exchange-box column" >
  219. <div class="exchange-top">
  220. <img class="exchange-pic" src="/assets/frontend/recharge/images/b-b.png"></img>
  221. <div class="diamonds-num actvie" >3000</div>
  222. <div class="diamonds-name">金币</div>
  223. </div>
  224. <div class="exchange-price">¥300.00</div>
  225. </div>
  226. <div class="exchange-box column" >
  227. <div class="exchange-top">
  228. <img class="exchange-pic" src="/assets/frontend/recharge/images/b-b.png"></img>
  229. <div class="diamonds-num actvie" >5000</div>
  230. <div class="diamonds-name">金币</div>
  231. </div>
  232. <div class="exchange-price">¥500.00</div>
  233. </div>
  234. </div>-->
  235. </div>
  236. <div class="mode-wrap">
  237. <div class="mode-title">充值方式</div>
  238. <!--
  239. <div class="mode-item row">
  240. <div class="mode-left row">
  241. <div class="zicon zicon-weixin"></div>
  242. <div>微信充值</div>
  243. </div>
  244. <div class="zicon zicon-xuanze"></div>
  245. </div>
  246. -->
  247. <div class="mode-item row">
  248. <div class="mode-left row">
  249. <div class="zicon zicon-alipay"></div>
  250. <div>支付宝充值</div>
  251. </div>
  252. <!-- <div class="zicon" :class="choosed ? 'zicon-xuanze' : 'zicon-xuanze1'" @click="changeIcon"></div> -->
  253. <div class="zicon zicon-xuanze"></div>
  254. </div>
  255. <div class="mode-tips row">
  256. <div class="zicon zicon-tishi"></div>
  257. <div class="mode-txt">说明:充值前请确认您已满18周岁,金币充值成功后无法退款,不可提现。</div>
  258. </div>
  259. </div>
  260. <input type="submit" class="recharge-btn center active" value="立即充值" />
  261. <!--<div class="recharge-btn center active">立即充值</div>-->
  262. </form>
  263. </div>
  264. </div>
  265. </body>
  266. </html>