選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

78 行
3.8 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" name="viewport"
  5. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
  6. <title>超级VIP - {$kx.config.sitename}</title>
  7. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxmobileno1/css/global.css"/>
  8. <script src="{$kx.config.resurl}/template/kxmobileno1/js/flexible.min.js"></script>
  9. </head>
  10. <body>
  11. <div class="w100">
  12. <div class="w100 bg-red flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
  13. <img src="{$kx.config.resurl}/template/kxmobileno1/images/return-white2.png" class="pt-return">
  14. <div class="size18 color1">超级VIP</div>
  15. <div></div>
  16. </div>
  17. <div class="bg-red color1 pt10 pl20">
  18. <img src="{$userinfo.avatar}" alt="{=$userinfo.nickname?:$userinfo.name}" class="pt-avatar">
  19. <div class="inline-block pl10" style="position: absolute; margin-top: 7px;">
  20. {block method=user.isvip userid=$userinfo.id name=$isvip}
  21. {if $isvip}
  22. <h1 class="size16">尊敬的VIP会员您好</h1>
  23. <p class="size14">您的VIP于{$userinfo.vip_expire_time|date='Y-m-d'}日到期,请您及时续费,以便给您带来不便</p>
  24. {else}
  25. <h1 class="size16">尊敬的用户您好</h1>
  26. <p class="size14">您还未开通超级VIP</p>
  27. {/if}
  28. </div>
  29. </div>
  30. <div class="bg-red bold pt20 mb10">
  31. <div class="bg-white" style="border-radius:20px 20px 0 0;padding: 20px;">
  32. <h1 class="size18 color32 mb10">开通超级VIP</h1>
  33. <ul class="pt-vip-recharge-list">
  34. {section loop=$kx.config.vip.list item=$loop}
  35. <li data-price="{$i.index}">
  36. <p class="mt10">&yen;<span class="size24">{$i.index}</span></p>
  37. <span class="size14">({$loop.name})</span>
  38. </li>
  39. {/section}
  40. </ul>
  41. <p class="color62 size14 mt10 mb20">选择支付方式</p>
  42. <ul class="pt-pay-platform" style="margin-bottom: .5rem">
  43. <li class="flex-wrp flex-align-center mb20" data-platform="2">
  44. <img src="{$kx.config.resurl}/template/kxmobileno1/images/wx.png" class="mr10" style="height: .22rem;width:.22rem">
  45. <span class="size14 lh100 color7">微信</span>
  46. </li>
  47. <li class="flex-wrp flex-align-center active" data-platform="1">
  48. <img src="{$kx.config.resurl}/template/kxmobileno1/images/alipay.png" class="mr10" style="height: .22rem;width:.22rem">
  49. <span class="size14 lh100 color7">支付宝</span>
  50. </li>
  51. </ul>
  52. <button class="pt-login-btn color1 mt10 pt-submit" style="width:90vw;border-radius: 40px;">立即支付</button>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- 底部版权 -->
  57. {include file="/system/footer"}
  58. <script src="{$kx.config.resurl}/template/kxmobileno1/js/layer/mobile/layer.js"></script>
  59. <script>
  60. $('.pt-vip-recharge-list li,.pt-pay-platform li').click(function () {
  61. $(this).addClass('active').siblings().removeClass('active');
  62. });
  63. $('.pt-submit').click(function () {
  64. var platform = $('.pt-pay-platform .active'),price = $('.pt-vip-recharge-list .active');
  65. if (!price.length){
  66. return layer.open({content: '请选择开通时长',skin: 'msg',time: 2});
  67. }
  68. if (!platform.length){
  69. return layer.open({content: '请选择支付方式',skin: 'msg',time: 2});
  70. }
  71. if (platform.length === 1 && price.length === 1) {
  72. window.location.href = '{link=user.pay.unifiedOrder method=1 type=2}&type_info=' + price.data('price') + '&platform=' + platform.data('platform')
  73. }
  74. });
  75. </script>
  76. </body>
  77. </html>