You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

108 lines
5.1 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
  5. <title>我的邀请 - 用户中心 - {$kx.config.sitename}</title>
  6. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxmobileno1/css/global.css"/>
  7. <script src="{$kx.config.resurl}/template/kxmobileno1/js/flexible.min.js"></script>
  8. <style>.layui-m-layercont{padding: 10px !important;}</style>
  9. </head>
  10. <body class="bg-f27">
  11. <div class="relative w100 bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
  12. <img src="{$kx.config.resurl}/template/kxmobileno1/images/return.png" class="pt-return">
  13. <div class="size18 bold color37">我的邀请</div>
  14. <div>
  15. <img src="{$kx.config.resurl}/template/kxmobileno1/images/ellipsis.png" class="mr5 pt-ellipsis">
  16. </div>
  17. <div class="pt5 pb5 pt-tip">
  18. <a href="{link=index.index}" class="block color1 text-center pt-tip-item" title="{$kx.config.sitename}">前往首页</a>
  19. <a href="{link=user.index.index}" class="block color1 text-center pt-tip-item" rel="nofollow">个人中心</a>
  20. <a href="javascript:void(0);" class="block color1 text-center pt-tip-item share">分享邀请</a>
  21. </div>
  22. </div>
  23. <!-- 星标置顶 -->
  24. <div class="w100 bg-white lh100 mt10 pt-stick" style="margin-bottom: .56rem;">
  25. {block method="pagination" name="paginate" page=$page limit=$pagesize count=$userinfo.data.invite_reg_num maxpage=50 section=3}
  26. {block method="user.inviteList" name=invitelist userid=$userinfo.id}
  27. <div class="pt-stick-cont">
  28. {if $invitelist}
  29. {loop=$invitelist}
  30. <div class="flex-wrp pt-stick-item" data-novel-id="{$loop.novel.id}">
  31. <div class="flex-item flex-wrp flex-cell flex-between pt5">
  32. <div class="flex-wrp flex-between pt5">
  33. <div class="size14 color7">类型:{$loop.type|default="注册","访问"}</div>
  34. <div class="size14 color7">{$loop.type|default="用户","IP"}:<span class="color2">{$loop.ext}</span></div>
  35. </div>
  36. <div class="size12 compulsory-row-one lh130 color4 pt5">
  37. {$kx.config.user.exp_caption}奖励:{$loop.exp}<span class="plr15">|</span>
  38. {$kx.config.user.point_caption}奖励:{$loop.point}
  39. </div>
  40. <div class="flex-wrp pt5">
  41. <div class="color5 size12">时间:{$loop.datetime|date="Y-m-d H:i:s"}</div>
  42. </div>
  43. </div>
  44. </div>
  45. {/loop}
  46. {else}
  47. <div class="flex-wrp pt-stick-item" data-novel-id="{$loop.novel.id}">
  48. 您暂时还没有邀请到小伙伴哦
  49. </div>
  50. {/if}
  51. </div>
  52. {if $paginate.total > 1}
  53. <div class="flex-wrp flex-between bg-white ptb15 plr15 mt10">
  54. {if $paginate.first != $paginate.current}
  55. <div class="flex-wrp flex-around flex-center pt-page4">
  56. <a href="{link=user.invite.index page=$paginate.first}">
  57. <span class="size14 color2">首页</span>
  58. </a>
  59. </div>
  60. {/if}
  61. {if $paginate.prev}
  62. <div class="flex-wrp flex-around flex-center pt-page4">
  63. <a href="{link=user.invite.index page=$paginate.prev}">
  64. <span class="size14 color2">上一页</span>
  65. </a>
  66. </div>
  67. {/if}
  68. {if $paginate.next}
  69. <div class="flex-wrp flex-around flex-center pt-page4">
  70. <a href="{link=user.invite.index page=$paginate.next}">
  71. <span class="size14 color2">下一页</span>
  72. </a>
  73. </div>
  74. {/if}
  75. {if $paginate.last != $paginate.current}
  76. <div class="flex-wrp flex-around flex-center pt-page4">
  77. <a href="{link=user.invite.index page=$paginate.last}">
  78. <span class="size14 color2">尾页</span>
  79. </a>
  80. </div>
  81. {/if}
  82. </div>
  83. {/if}
  84. </div>
  85. <!-- 底部版权 -->
  86. {include file="/system/footer"}
  87. <!-- 底部按钮 -->
  88. {include file="/system/footerbutton"}
  89. <script src="{$kx.config.resurl}/template/kxmobileno1/js/layer/mobile/layer.js"></script>
  90. <script>
  91. $('.share').click(function () {
  92. layer.open({
  93. title:['分享链接','background-color: #f55; color:#fff;'],
  94. content: '<input id="share-box" value="{$kx.config.siteurl}/?fr={$userinfo.id}" style="border:1px solid #f55;height: 24px;width: 100%;"/>',
  95. btn: ['复制', '取消'],
  96. yes: function(index){
  97. document.getElementById("share-box").select();
  98. document.execCommand("Copy");
  99. layer.open({content: '复制成功',skin: 'msg',time: 2});
  100. layer.close(index);
  101. }
  102. });
  103. });
  104. </script>
  105. </body>
  106. </html>