Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

191 lignes
9.7 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>
  9. .btn-sign {
  10. background-color: #ff5555;
  11. color: #fff;
  12. width: 0.6rem;
  13. height: 0.17rem;
  14. border-radius: 0.1rem;
  15. text-align: center;
  16. vertical-align: top;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div class="w100">
  22. <div class="w100 bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
  23. <img src="{$kx.config.resurl}/template/kxmobileno1/images/return.png" class="pt-return">
  24. <div class="size18 bold color37">个人中心</div>
  25. <div>
  26. <img src="{$kx.config.resurl}/template/kxmobileno1/images/ellipsis.png" class="mr5 pt-ellipsis">
  27. </div>
  28. <div class="pt5 pb5 pt-tip">
  29. <a href="{link=index.index}" class="block color1 text-center pt-tip-item" title="{$kx.config.sitename}">前往首页</a>
  30. <a href="{link=novel.search.index}" class="block color1 text-center pt-tip-item">搜索小说</a>
  31. </div>
  32. </div>
  33. <div class="flex-wrp bg-white flex-cell flex-center bold ptb20">
  34. <img src="{$userinfo.avatar}" class="pt-avatar">
  35. <div class="size16 color7 pt10 pb10">
  36. {block method=user.isvip userid=$userinfo.id name=$isvip}
  37. <a href="{link=user.vip.index}">
  38. <img src="{$kx.config.resurl}/template/kxmobileno1/images/vip{=$isvip?'_active':''}.png" alt="超级会员" style="position: absolute;margin-left: -40px;height: 16px;margin-top: 2px">
  39. </a>
  40. {=$userinfo.nickname?:$userinfo.name}
  41. </div>
  42. <div class="size12 color4">
  43. <a href="{link=user.info.index}">编辑资料</a>
  44. </div>
  45. </div>
  46. <div class="bg-white ptb10 text-center" style="height: .8rem;">
  47. <a class="inline-block fl h100 border-r" style="width:25%" href="{link=user.invite.index}">
  48. <p class="size21 color32 bold">{$userinfo.data.invite_reg_num}</p>
  49. <span class="size14">邀请</span>
  50. </a>
  51. <a href="{link=user.ticket.index}">
  52. <div class="inline-block fl h100 border-r" style="width:25%">
  53. <p class="size21 color32 bold">{$userinfo.assets.surplus_ticket}</p>
  54. <span class="size14">{$kx.config.user.ticket_caption}</span>
  55. </div>
  56. </a>
  57. <a href="{link=user.assets.index}">
  58. <div class="inline-block fl h100 border-r" style="width:25%">
  59. <p class="size21 color32 bold">{$userinfo.assets.balance}</p>
  60. <span class="size14">{$kx.config.user.money_caption}</span>
  61. </div>
  62. </a>
  63. <div class="inline-block fl h100" style="width:24%">
  64. <a href="{link=user.pay.recharge}">
  65. <img src="{$kx.config.resurl}/template/kxmobileno1/images/recharge.png" alt="去充值" style="width: .3rem;height: .3rem">
  66. <p class="color2 size14">去充值</p>
  67. </a>
  68. </div>
  69. </div>
  70. <div class="bg-white mb10 ptb10" style="height: .4rem;">
  71. <img class="pl20" style="width: .18rem" src="{$kx.config.resurl}/template/kxmobileno1/images/vip2.png" alt="超级会员">
  72. <img style="width: .6rem" src="{$kx.config.resurl}/template/kxmobileno1/images/super_vip.png" alt="超级会员">
  73. <a class="fr mr20 size14" href="{link=user.vip.index}">前往开通 ></a>
  74. </div>
  75. <div class="bg-white mb10 pt-list">
  76. <a class="flex-wrp flex-align-center flex-between w100 mb25" href="{link=user.mark.index}">
  77. <div class="flex-wrp flex-align-center">
  78. <img src="{$kx.config.resurl}/template/kxmobileno1/images/my_bookrack_hover.png" class="mr10 pt-list-icon">
  79. <span class="size14 lh100 color7">我的书架</span>
  80. </div>
  81. {block method=mark.num userid=$userinfo.id name=$marknum}
  82. <div class="size12 color4">已收藏 {$marknum} 本</div>
  83. </a>
  84. <a class="flex-wrp flex-align-center flex-between w100 mb25" href="{link=user.history.index}">
  85. <div class="flex-wrp flex-align-center">
  86. <img src="{$kx.config.resurl}/template/kxmobileno1/images/history.png" class="mr10 pt-list-icon">
  87. <span class="size14 lh100 color7">我阅读过</span>
  88. </div>
  89. {block method=mark.num userid=$userinfo.id type=history name=$historynum}
  90. <div class="size12 color4">历史阅读 {$historynum} 本</div>
  91. </a>
  92. <a class="flex-wrp flex-align-center flex-between w100" href="{link=user.booklist.index}">
  93. <div class="flex-wrp flex-align-center">
  94. <img src="{$kx.config.resurl}/template/kxmobileno1/images/mark_hover.png" class="mr10 pt-list-icon">
  95. <span class="size14 lh100 color7">我的书单</span>
  96. </div>
  97. {block method=booklist.count userid=$userinfo.id type='mark' name=$marknum}
  98. {block method=booklist.count userid=$userinfo.id type='create' name=$createnum}
  99. <div class="size12 color4">创建 {$createnum} / 收藏 {$marknum}</div>
  100. </a>
  101. </div>
  102. <div class="bg-white mb10 pt-list">
  103. <a href="{link=user.vote.index}">
  104. <div class="flex-wrp flex-align-center flex-between w100 mb25">
  105. <div class="flex-wrp flex-align-center">
  106. <img src="{$kx.config.resurl}/template/kxmobileno1/images/recomment.png" class="mr10 pt-list-icon">
  107. <span class="size14 lh100 color7">我的推荐</span>
  108. </div>
  109. <div class="size12 color4">推荐了 {$userinfo.data.vote_num} 本好书</div>
  110. </div>
  111. </a>
  112. <a href="{link=user.comment.publish}">
  113. <div class="flex-wrp flex-align-center flex-between w100 mb25">
  114. <div class="flex-wrp flex-align-center">
  115. <img src="{$kx.config.resurl}/template/kxmobileno1/images/comment.png" class="mr10 pt-list-icon">
  116. <span class="size14 lh100 color7">我评论过</span>
  117. </div>
  118. <div class="size12 color4">共评论了 {$userinfo.data.comment_num} 条</div>
  119. </div>
  120. </a>
  121. {block method="sign" name=signlist userid=$userinfo.id num=1}
  122. <a href="{link=user.sign.index}">
  123. <div class="flex-wrp flex-align-center flex-between w100 mb25">
  124. <div class="flex-wrp flex-align-center">
  125. <img src="{$kx.config.resurl}/template/kxmobileno1/images/sign.png" class="mr10 pt-list-icon">
  126. <span class="size14 lh100 color7">我的签到</span>
  127. </div>
  128. {if empty($signlist[0]['date']) || $signlist[0]['date'] != date('Ymd')}
  129. <button class="btn-sign">未签到</button>
  130. {else}
  131. {if !empty($signlist[0]['num'])}
  132. <div class="size12 color4">连续签到 {$signlist[0]['num']} 次</div>
  133. {/if}
  134. {/if}
  135. </div>
  136. </a>
  137. <a href="{link=user.invite.index}">
  138. <div class="flex-wrp flex-align-center flex-between w100 mb25">
  139. <div class="flex-wrp flex-align-center">
  140. <img src="{$kx.config.resurl}/template/kxmobileno1/images/invite.png" class="mr10 pt-list-icon">
  141. <span class="size14 lh100 color7">我的邀请</span>
  142. </div>
  143. <div class="size12 color4">邀请了 {=$userinfo.data.invite_reg_num+$userinfo.data.invite_visit_num} 个用户</div>
  144. </div>
  145. </a>
  146. <a href="{link=user.star.index}">
  147. <div class="flex-wrp flex-align-center flex-between w100">
  148. <div class="flex-wrp flex-align-center">
  149. <img src="{$kx.config.resurl}/template/kxmobileno1/images/rank_collect.png" class="mr10 pt-list-icon">
  150. <span class="size14 lh100 color7">我的评分</span>
  151. </div>
  152. <div class="size12 color4">对 {$userinfo.data.star_num} 本书进行了评分</div>
  153. </div>
  154. </a>
  155. </div>
  156. <div class="bg-white mb10 pt-list">
  157. <a href="{link=page.detail key=about}">
  158. <div class="flex-wrp flex-align-center flex-between w100 mb25">
  159. <div class="flex-wrp flex-align-center">
  160. <img src="{$kx.config.resurl}/template/kxmobileno1/images/about_us.png" class="mr10 pt-list-icon">
  161. <span class="size14 lh100 color7">关于我们</span>
  162. </div>
  163. <!-- <div class="size12 color4">已收藏 6 本</div> -->
  164. </div>
  165. </a>
  166. <div class="flex-wrp flex-align-center flex-between w100">
  167. <div class="flex-wrp flex-align-center">
  168. <img src="{$kx.config.resurl}/template/kxmobileno1/images/message_feedback.png" class="mr10 pt-list-icon">
  169. <span class="size14 lh100 color7">留言反馈</span>
  170. </div>
  171. <!-- <div class="size12 color4">已收藏 6 本</div> -->
  172. </div>
  173. </div>
  174. <div class="mb10 pt-list">
  175. <a class="pt-login-btn block" style="width:90vw;color:#fff" href="{link=user.auth.logout}">退出登录</a>
  176. </div>
  177. </div>
  178. <!-- 底部版权 -->
  179. {include file="/system/footer"}
  180. <script>var __ADD_SIGN = '{link=user.sign.do}';</script>
  181. <script src="{$kx.config.resurl}/template/kxmobileno1/js/layer/mobile/layer.js"></script>
  182. <script src="{$kx.config.resurl}/template/kxmobileno1/js/userindex.js"></script>
  183. </body>
  184. </html>