Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

109 linhas
6.8 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>{$tkd.title|parseTpl}</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. </head>
  21. <body class="bg-f27">
  22. <div class="relative w100 bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
  23. {if $kx.get.subscribe}
  24. <span class="color32 bold size16 select-all">全选</span>
  25. <div class="size16 bold color37">{$novel.name}</div>
  26. <span class="pt-return" style="width:.32rem">取消</span>
  27. {else}
  28. <img src="{$kx.config.resurl}/template/kxmobileno1/images/return.png" class="pt-return">
  29. <div class="size18 bold color37">{$novel.name}</div>
  30. <div>
  31. <img src="{$kx.config.resurl}/template/kxmobileno1/images/ellipsis.png" class="mr5 pt-ellipsis">
  32. </div>
  33. <div class="pt5 pb5 pt-tip">
  34. <a href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}" class="block color1 text-center pt-tip-item" title="{$novel.name}">回到书页</a>
  35. <a href="{link=index.index}" class="block color1 text-center pt-tip-item" title="{$kx.config.sitename}">前往首页</a>
  36. <a href="{link=novel.search.index}" class="block color1 text-center pt-tip-item">搜索小说</a>
  37. <a href="{link=user.mark.index}" class="block color1 text-center pt-tip-item" rel="nofollow">我的书架</a>
  38. <a href="{link=user.index.index}" class="block color1 text-center pt-tip-item" rel="nofollow">个人中心</a>
  39. </div>
  40. {/if}
  41. </div>
  42. <style>
  43. </style>
  44. <!-- 内容 -->
  45. {block method=novel.charge novelid=$novel.id name=$charge}
  46. {~$charge = $userinfo.vip_expire_time < time()?$charge.words_money:$charge.words_vip_money}
  47. <div class="bg-white plr15 {=$kx.get.subscribe?'subscribe':''}" data-words_money="{$charge}">
  48. <div class="w100 ptb10 border-b size14 color4">
  49. <span class="mr10 inline-block" style="height:.25rem;line-height:.25rem">{$novel.is_over|default="连载中",'已完结'}</span>
  50. {if !$kx.get.subscribe}<span class="inline-block" style="height:.25rem;line-height:.25rem"> 共{$last.id}章</span>{/if}
  51. <div class="fr inline-block">
  52. {if $sort=='desc'}
  53. <a class="flex-wrp flex-center pt-antitone" href="{link=novel.novel.dir novelid=$novel.id pinyin=$novel.pinyin sort='asc' subscribe=$kx.get.subscribe}">
  54. <span class="size14 color2">倒序</span>
  55. </a>
  56. {else}
  57. <a class="flex-wrp flex-center pt-antitone" href="{link=novel.novel.dir novelid=$novel.id pinyin=$novel.pinyin sort='desc' subscribe=$kx.get.subscribe}">
  58. <span class="size14 color2">正序</span>
  59. </a>
  60. {/if}
  61. </div>
  62. </div>
  63. {block method=chapter.list novelid=$novel.id page=$paginate.current name=$list sort=$sort}
  64. {loop}
  65. {if $kx.get.subscribe}
  66. {~if($loop.type!=\App\Model\Novel\Chapter::TYPE_TOLL)continue;}
  67. {~if($novel.type == App\Model\Novel\Novel::TYPE_VIP_FREE && $userinfo.vip_expire_time > time())continue;}
  68. {block method="chapter.issubscribe" userid=$userinfo.id novelid=$novel.id chapterid=$loop.chapterid name=$issubscribe}
  69. {~if($issubscribe)continue;}
  70. {/if}
  71. {block method=chapter.calculatePriceByPrice wordsnum=$loop.words price=$charge name=$price}
  72. <div class="border-b chapter-list">
  73. <input type="checkbox" value="{$loop.chapterid}" data-price="{$price}" id="chapter_{$loop.chapterid}">
  74. <label class="pl30" for="chapter_{$loop.chapterid}">
  75. <a title="{$loop.name}" class="w100 flex-wrp flex-align-center flex-between pt10 pb10" {if !$kx.get.subscribe} href="{link=novel.chapter.read novelid=$novel.id pinyin=$novel.pinyin chapterid=$loop.chapterid}"{/if}>
  76. <div class="flex-wrp"><span class="mr15 size12 color62">{$loop.name}</span></div>
  77. {if $novel.type == App\Model\Novel\Novel::TYPE_TOLL || $novel.type == App\Model\Novel\Novel::TYPE_VIP_FREE && $userinfo.vip_expire_time < time()}
  78. {if $loop.type == App\Model\Novel\Chapter::TYPE_TOLL}
  79. {block method="chapter.issubscribe" userid=$userinfo.id novelid=$novel.id chapterid=$loop.chapterid name=$issubscribe}
  80. {if !$issubscribe}
  81. <img src="{$kx.config.resurl}/template/kxmobileno1/images/icon_lock.png" class="pt-arrow-right">
  82. {/if}
  83. {/if}
  84. {elseif $novel.type == App\Model\Novel\Novel::TYPE_VIP_FREE && $userinfo.vip_expire_time > time()}
  85. <span class="size12">会员免费</span>
  86. {/if}
  87. <span class="pt-arrow-right size12">{=$price}{$kx.config.user.money_caption}</span>
  88. </a>
  89. </label>
  90. </div>
  91. {/loop}
  92. {if $kx.get.subscribe}
  93. <div class="bottom bg-white w100">
  94. <div class="fl pt10 pl20">
  95. <div class="color32 size14">已选择 <span class="selected_num">0</span> 章/<span class="selected_money">0</span>{$kx.config.user.money_caption}</div>
  96. <div class="size12">当前余额 <span class="color2 total">{=$userinfo.assets.balance?:0}</span> 金币</div>
  97. </div>
  98. <button class="color1 bg-red fr ptb10 plr25 mt15 mb15 mr15">立即订阅</button>
  99. </div>
  100. {/if}
  101. </div>
  102. <!-- 底部版权 -->
  103. {include file="/system/footer"}
  104. <script>var __NOVEL_ID = '{$novel.id}', __RECHARGE_URL = '{link=user.pay.recharge}',__SUBSCRIBE_URL = '{link=novel.novel.subscribe}';</script>
  105. <script src="{$kx.config.resurl}/template/kxmobileno1/js/layer/mobile/layer.js"></script>
  106. <script src="{$kx.config.resurl}/template/kxmobileno1/js/dir.js"></script>
  107. </body>
  108. </html>