one.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. {extend name="layout/layout" /}
  2. {block name="title"}VIP优惠{/block}
  3. {block name="css"}
  4. <!-- 这里引入css -->
  5. <link href="{:asset('/css/frontend/common.css')}" rel="stylesheet" type="text/css">
  6. <link href="{:asset('/css/frontend/classify.css')}" rel="stylesheet" type="text/css">
  7. <link href="{:asset('/css/frontend/pay.css')}" rel="stylesheet" type="text/css">
  8. <style type="text/css">
  9. html,
  10. body {
  11. background-color: #000000;
  12. }
  13. .js_loading strong{
  14. padding: .1rem .1rem .1rem .8rem;
  15. position:fixed;
  16. top:50%;
  17. left: .6rem;
  18. right: .6rem;
  19. z-index: 199;
  20. margin: -.3rem auto;
  21. height: .7rem;
  22. font-size:.16rem;
  23. color:#fff;
  24. line-height: .5rem;
  25. background:rgba(0,0,0,0.7) url({:asset('/img/frontend/icon/oval.svg')}) no-repeat .2rem center;
  26. background-size: .4rem .4rem;
  27. box-sizing: border-box;
  28. border-radius: .08rem;
  29. }
  30. .js_loading{
  31. display: none;
  32. position: fixed;
  33. left: 0;
  34. right: 0;
  35. top: 0;
  36. bottom: 0;
  37. z-index: 100;
  38. background-color: rgba(0,0,0,.3);
  39. }
  40. /*弹出框*/
  41. .bind_alert_box{
  42. display: none;
  43. position:fixed;
  44. left:0;
  45. top:0;
  46. right:0;
  47. bottom:0;
  48. padding:20px 0;
  49. overflow:hidden;
  50. background-color:rgba(0,0,0,0.5);
  51. text-align:center;
  52. font-size:0;
  53. z-index:3000;
  54. }
  55. .bind_alert_main,
  56. .bind_alert_height{
  57. display:inline-block;
  58. *display:inline;
  59. *zoom:1;
  60. vertical-align:middle;
  61. }
  62. .bind_alert_height{
  63. height:100%;
  64. overflow:hidden;
  65. width:1px;
  66. margin-left:-10px;
  67. }
  68. .bind_alert_main{
  69. overflow:hidden;
  70. width:240px;
  71. background-color:#fff;
  72. border-radius:6px;
  73. font-size:14px;
  74. -moz-box-shadow:0 0 10px 0px rgba(0,0,0,0.3);
  75. -webkit-box-shadow:0 0 10px 0px rgba(0,0,0,0.3);
  76. box-shadow:0 0 10px 0px rgba(0,0,0,0.3);
  77. }
  78. .bind_alert_off{
  79. float: right;
  80. width: 26px;
  81. height: 26px;
  82. background:#fff url(/assets/img/frontend/icon/cha_icon_2.png) no-repeat center center;
  83. background-size: 13px 13px;
  84. border-radius: 26px;
  85. margin: 0 0 10px;
  86. }
  87. .alert_tit{
  88. margin: 20px 40px;
  89. text-align:center;
  90. overflow:hidden;
  91. }
  92. .alert_tit_clear{
  93. margin:5px 5px 0 0;
  94. float:right;
  95. width:30px;
  96. height:30px;
  97. background:url(/images/icons/cha_icon_2.png) no-repeat center center;
  98. background-size:18px auto;
  99. }
  100. .alert_tit h2{
  101. margin:0 40px;
  102. overflow:hidden;
  103. height:40px;
  104. font-size:16px;
  105. color:#808080;
  106. text-align:center;
  107. line-height:40px;
  108. }
  109. .alert_tit h3{
  110. margin-top:10px;
  111. padding-left:22px;
  112. display:inline-block;
  113. *display:inline;
  114. *zoom:1;
  115. overflow:hidden;
  116. height:30px;
  117. background:url(/images/icons/warning_icon_2.png) no-repeat 0 center;
  118. background-size:18px auto;
  119. font-size:16px;
  120. color:#333;
  121. text-align:center;
  122. line-height:30px;
  123. }
  124. .alert_text{
  125. padding:10px;
  126. }
  127. .alert_txt_c{
  128. font-size:14px;
  129. color:#808080;
  130. text-align:left;
  131. line-height:20px;
  132. }
  133. .alert_but_box{
  134. border-top:1px solid #d8d8d8;
  135. overflow:hidden;
  136. }
  137. .alert_but_box a{
  138. display:block;
  139. box-sizing:border-box;
  140. }
  141. .alert_but_1{
  142. height:46px;
  143. font-size:15px;
  144. color:#77a4ff;
  145. text-align:center;
  146. line-height:46px;
  147. }
  148. .v_top_bg{
  149. overflow: hidden;
  150. }
  151. .v_top_bg img{
  152. display: block;
  153. width: 100%;
  154. height: auto;
  155. }
  156. .v_text_box{
  157. margin-bottom: .3rem;
  158. overflow: hidden;
  159. height:.54rem;
  160. text-align: center;
  161. font-size: 0;
  162. }
  163. .v_text_box span{
  164. padding: 0 .16rem;
  165. overflow: hidden;
  166. display: inline-block;
  167. *display: inline;
  168. *zoom:1;
  169. height: .52rem;
  170. font-size: .18rem;
  171. color: #ecceaf;
  172. line-height: .52rem;
  173. border:.01rem solid #ecceaf;
  174. border-radius:.05rem;
  175. -ms-border-radius:.05rem;
  176. -moz-border-radius:.05rem;
  177. -webkit-border-radius:.05rem;
  178. -o-border-radius:.05rem;
  179. }
  180. .re_but_box .v_pay_but{
  181. margin: 0 auto .2rem;
  182. display: block;
  183. height: .45rem;
  184. width: 2.8rem;
  185. background: url({:asset('/img/frontend/vip_pay_banner/one_but.png')}) no-repeat 0 0;
  186. background-size: 2.8rem .45rem;
  187. }
  188. .v_pay_txt{
  189. margin-bottom: .3rem;
  190. overflow: hidden;
  191. height: .2rem;
  192. text-align: center;
  193. font-size: .13rem;
  194. color: rgba(230,191,152,.7);
  195. line-height: .2rem;
  196. }
  197. .re_but_box{
  198. padding: 0;
  199. }
  200. .a_pop_up{
  201. display:none;
  202. position: fixed;
  203. left: 0;
  204. top: 0;
  205. right: 0;
  206. bottom: 0;
  207. background-color: rgba(0,0,0,.8);
  208. white-space: nowrap;
  209. text-align: center;
  210. }
  211. .a_pop_up_box,
  212. .a_pop_jgb{
  213. overflow: hidden;
  214. display: inline-block;
  215. vertical-align: middle;
  216. white-space: normal;
  217. }
  218. .a_pop_jgb{
  219. margin-left: -1px;
  220. height: 100%;
  221. width: 1px;
  222. }
  223. .a_pop_up_box{
  224. min-width: 2.6rem;
  225. padding: .3rem .2rem;
  226. background-color: #fff;
  227. border-radius: .1rem;
  228. box-sizing: border-box;
  229. }
  230. .a_pop_up_box strong{
  231. display: block;
  232. text-align: center;
  233. font-size: .18rem;
  234. color: #414141;
  235. line-height: .3rem;
  236. }
  237. .a_pop_up_box span{
  238. display: block;
  239. text-align: center;
  240. font-size: .13rem;
  241. color: #414141;
  242. line-height: .3rem;
  243. }
  244. .a_pop_up_box a{
  245. display: block;
  246. margin: .1rem .2rem;
  247. background-color: #ff2f10;
  248. font-size: .14rem;
  249. color: #fff;
  250. line-height: .4rem;
  251. border-radius: .06rem;
  252. }
  253. </style>
  254. <style>
  255. .dialoge_bg { position: fixed; left:0; top:0; right:0; right:0; width:100%; height:100%; background:rgba(0,0,0,0.6); z-index: 1; display: none}
  256. .dialoge_main_div {position: fixed; top:50%; left:50%; margin:-1.655rem 0 0 -1.5125rem; width:3.025rem; height:3.31rem; z-index: 2;}
  257. .dialoge_main_div .h3 {position:absolute; top:0; left:0; width:100%; height:0.46rem; background:url({:asset('/img/frontend/recharge/pop-tit-bk.png')}) no-repeat center; background-size:2.725rem;
  258. padding-top:.16rem;
  259. font-size:0.175rem;
  260. font-family:PingFang-SC-Bold,PingFang-SC;
  261. font-weight:bold;
  262. color:rgba(81,61,61,1);
  263. text-align: center;
  264. z-index: 3;
  265. }
  266. .dialoge_main { position: relative; margin-top:.395rem;padding-top:.28rem; width:3.025rem; height:2.17rem; background:#fff; border-radius:0.115rem; text-align: center;}
  267. .suc_ico { margin:0 auto; width:.96rem;}
  268. .suc_p1 {font-size:.125rem;font-family:PingFangSC-Regular,PingFang SC;color:rgba(184,190,204,1);line-height:.18rem;text-align: center;}
  269. .dialoge_main .suc_btn_look {
  270. position:absolute; left:50%; bottom:.19rem; margin-left:-1.2375rem;
  271. display:block; width:2.475rem;height:.365rem;line-height:.365rem;background:rgba(255,180,115,1);border-radius:.18rem;color:#fff;}
  272. .suc_close { position: absolute; left:50%; bottom:0.02rem; margin-left:-0.13rem; width:.26rem;}
  273. .suc_close img {width:.26rem;}
  274. </style>
  275. {/block}
  276. {block name="zepto"}
  277. <!-- 这是zepto插件 -->
  278. {/block}
  279. {block name="menu"}{/block}
  280. {block name="main"}
  281. <div class="v_top_bg"><img src="{:asset('/img/frontend/vip_pay_banner/one_bg_v1.png')}" /></div>
  282. <div class="v_text_box"><span>{$goods_info['desc'] ?? ''}</span></div>
  283. <div class="re_but_box">
  284. <a href="javascript:;" class="v_pay_but" data-money="{$goods_info['money']}" data-business_line="{$business_line}" data-goods-id="{$goods_info['id']}" data-goods-category="{$goods_info['category_id']}"></a>
  285. </div>
  286. <p class="v_pay_txt">VIP属于虚拟商品,一经购买不得退款</p>
  287. <input type="hidden" value="{$recent_url}" class="js_recent_url">
  288. <div class="bind_alert_box" id="clear_alert_box">
  289. <div class="bind_alert_main">
  290. <a href="javascript:;" class="bind_alert_off"></a>
  291. <div class="alert_tit">
  292. <h2>充值成功</h2>
  293. </div>
  294. <div class="alert_but_box">
  295. <a href="javascript:;" class="alert_but_1">去看书</a>
  296. </div>
  297. </div>
  298. <div class="bind_alert_height"></div>
  299. </div>
  300. <div class="dialoge_bg">
  301. <div class="dialoge_main_div">
  302. <h3 class="h3">已充值成功</h3>
  303. <div class="dialoge_main">
  304. <img class="suc_ico" src="{:asset('/img/frontend/recharge/pic-delayed.png')}">
  305. <p class="suc_p1">书币到账可能存在短暂延迟,<br>请稍后刷新继续阅读!</p>
  306. <a class="suc_btn_look" style="background:#FFB473;" href="javascript:;">去看书</a>
  307. </div>
  308. <a class="suc_close" href="javascript:;"><img src="{:asset('/img/frontend/recharge/close.png')}"></a>
  309. </div>
  310. </div>
  311. <div class="js_loading"><strong>正在加载</strong></div>
  312. <div class="a_pop_up" {notempty name="$isend"}style="display:block;"{/notempty}>
  313. <div class="a_pop_up_box">
  314. <strong>活动已结束</strong>
  315. <span>敬请期待下次活动</span>
  316. <a href="{$recent_url}">去看书</a>
  317. </div>
  318. <div class="a_pop_jgb"></div>
  319. </div>
  320. {/block}
  321. {block name="js"}
  322. <script>
  323. </script>
  324. <script type="text/javascript" src="{:asset('/js/frontend/recharge/pay.js')}"></script>
  325. {/block}