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.
 
 
 
 

117 lines
5.3 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. <meta name="keywords" content="{$tkd.keywords|parseTpl}">
  7. <meta name="description" content="{$tkd.description|parseTpl}">
  8. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxmobileno1/css/global.css"/>
  9. <script src="{$kx.config.resurl}/template/kxmobileno1/js/flexible.min.js"></script>
  10. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  11. <meta name="author" content="www.ptcms.com">
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  13. <meta name="renderer" content="webkit">
  14. <meta name="viewport" content="width=device-width" />
  15. <meta name="applicable-device" content="pc">
  16. <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
  17. <meta http-equiv="Cache-Control" content="no-siteapp" />
  18. <meta http-equiv="Cache-Control" content="no-transform" />
  19. <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
  20. <style>
  21. .pt-labs .active{
  22. color: #f55;
  23. }
  24. .pt-labs .active div{
  25. width: 24px;
  26. height: 3px;
  27. background-color: #f55;
  28. position: absolute;
  29. margin-top: 5px;
  30. margin-left: 9px;
  31. }
  32. .pt-popular-cont{
  33. display: none;
  34. }
  35. .pt-popular-cont.active{
  36. display: block;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <div class="w100 bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
  42. <img src="{$kx.config.resurl}/template/kxmobileno1/images/return.png" class="pt-return" onclick="window.history.back();">
  43. <div class="size14 bold color89 pt-labs">
  44. <div data-type="create" class="inline-block active mr30">已发布 <div></div></div>
  45. <div data-type="mark" class="inline-block">收藏夹 <div></div></div>
  46. </div>
  47. <div>
  48. <img src="{$kx.config.resurl}/template/kxmobileno1/images/ellipsis.png" class="mr5 pt-ellipsis">
  49. </div>
  50. <div class="pt5 pb5 pt-tip">
  51. <a href="{link=index.index}" class="block color1 text-center pt-tip-item" title="{$kx.config.sitename}">前往首页</a>
  52. <a href="{link=user.booklist.detail}" class="block color1 text-center pt-tip-item" title="{$novel.name}">创建书单</a>
  53. </div>
  54. </div>
  55. <div type="create" class="pt-popular-cont active">
  56. {block method=booklist.list userid=$userinfo.id name=list type=create status=all}
  57. {section loop=$list item=$loop}
  58. <a href="{link=detail id=$loop.id}">
  59. <div class="flex-wrp pt-popular-item">
  60. <img src="{$loop.cover}" class="mr15" alt="{$loop.title}">
  61. <div class="flex-item pt5">
  62. <div class="flex-wrp flex-between">
  63. <div class="size14">
  64. <span class="color7">{$loop.title}</span>
  65. </div>
  66. </div>
  67. <div class="size12 compulsory-row mb10 mt10 lh130 color4">
  68. {$loop.intro|showIntroLine}
  69. </div>
  70. <div class="size12">
  71. 书籍 <span class="color2 mr5">{$loop.num_novel}</span><span class="color3 mr5">/</span>
  72. 浏览 <span class="color2 mr5">{$loop.num_allvisit}</span><span class="color3 mr5">/</span>
  73. 收藏 <span class="color2">{$loop.num_mark}</span>
  74. </div>
  75. </div>
  76. </div>
  77. </a>
  78. {/section}
  79. </div>
  80. <div type="mark" class="pt-popular-cont">
  81. {block method=booklist.list userid=$userinfo.id name=list type=mark status=all}
  82. {section loop=$list item=$loop}
  83. <a href="{link=booklist.booklist.detail id=$loop.id}">
  84. <div class="flex-wrp pt-popular-item">
  85. <img src="{$loop.cover}" class="mr15" alt="{$loop.title}">
  86. <div class="flex-item pt5">
  87. <div class="flex-wrp flex-between">
  88. <div class="size14">
  89. <span class="color7">{$loop.title}</span>
  90. </div>
  91. </div>
  92. <div class="size12 compulsory-row mb10 mt10 lh130 color4">
  93. {$loop.intro|showIntroLine}
  94. </div>
  95. <div class="size12">
  96. 书籍 <span class="color2 mr5">{$loop.num_novel}</span><span class="color3 mr5">/</span>
  97. 浏览 <span class="color2 mr5">{$loop.num_allvisit}</span><span class="color3 mr5">/</span>
  98. 收藏 <span class="color2">{$loop.num_mark}</span>
  99. </div>
  100. </div>
  101. </div>
  102. </a>
  103. {/section}
  104. </div>
  105. <!-- 底部版权 -->
  106. {include file="/system/footer"}
  107. <script>
  108. $('.pt-labs > div').click(function () {
  109. $(this).siblings().removeClass('active');
  110. $(this).addClass('active');
  111. var type = $(this).data('type');
  112. $('.pt-popular-cont[type!='+type+']').removeClass('active');
  113. $('.pt-popular-cont[type='+type+']').addClass('active');
  114. });
  115. </script>
  116. </body>
  117. </html>