Não pode escolher mais do que 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.
 
 
 
 

120 linhas
5.2 KiB

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>专区首页 - 原创专区 - {$kx.config.sitename}</title>
  6. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/author/css/style.css"/>
  7. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  8. <meta name="author" content="www.ptcms.com">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  10. <meta name="renderer" content="webkit">
  11. <meta name="viewport" content="width=device-width" />
  12. <meta name="applicable-device" content="pc">
  13. <meta http-equiv="Cache-Control" content="no-siteapp" />
  14. <meta http-equiv="Cache-Control" content="no-transform" />
  15. <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
  16. <style>
  17. .right .user{
  18. height: 226px;
  19. background-color: #fff;
  20. padding: 0 20px;
  21. }
  22. .right .user .info,
  23. .right .user .stat{
  24. height:95px;
  25. }
  26. .right .user .info{
  27. padding-top: 15px;
  28. }
  29. .right .user .info img{
  30. width:60px;
  31. height:60px;
  32. background:#DBDBDB;
  33. border-radius:50%;
  34. margin-left: 40px;
  35. margin-top: 15px;
  36. }
  37. .right .user .stat li{
  38. margin-top: 20px;
  39. width: 24%;
  40. }
  41. .right .user .stat li:not(:last-child){
  42. border-right: 1px solid #ededed;
  43. }
  44. </style>
  45. </head>
  46. <body>
  47. {include file="/author/system/header"}
  48. <div class="body">
  49. {include file="/author/system/left"}
  50. <div class="right">
  51. <div class="user bg-white">
  52. <div class="info w100">
  53. <a href="{link=user.info.index}">
  54. <img class="fl" src="{$authorinfo.user.avatar}" alt="{$authorinfo.name}">
  55. </a>
  56. <div class="fl pt20 pl20" style="width:80%;">
  57. <span class="size20 color32 bold">{$authorinfo.name}{=$authorinfo.status == \App\Model\Author\Author::STATUS_PENDING?'<span class="color92"> (审核中)</span>':($authorinfo.status == \App\Model\Author\Author::STATUS_PASS?'':'<span class="color-red"> (异常)</span>')}</span>
  58. <p>尊敬的作者您好,今天是{=date('Y年m月d日')},您已累计创作{=(new DateTime())->setTimestamp($authorinfo.data.create_time)->diff((new DateTime()))->format('%a')+1}天,祝您在创作的道路上越走越远~</p>
  59. </div>
  60. </div>
  61. <ul class="stat text-center border w100">
  62. <li class="inline-block">
  63. <!-- <a href="{link=author.novel.index}">-->
  64. <p class="color2 size24">{$authorinfo.stat.novel} <span class="color92 size14">本</span></p>
  65. <span class="color0">我的作品</span>
  66. <!-- </a>-->
  67. </li>
  68. <li class="inline-block">
  69. <a href="{link=author.stat.index}">
  70. <p class="color2 size24">{=number_format($authorinfo.stat.words/10000,'4','.','')} <span class="color92 size14">万字</span></p>
  71. <span class="color0">累计字数</span>
  72. </a>
  73. </li>
  74. <li class="inline-block">
  75. <a href="{link=author.stat.index}">
  76. <p class="color2 size24">{$authorinfo.stat.mark} <span class="color92 size14">万人</span></p>
  77. <span class="color0">累计收藏</span>
  78. </a>
  79. </li>
  80. <li class="inline-block">
  81. <a href="{link=author.stat.index}">
  82. <p class="color2 size24">{$authorinfo.stat.allvisit} <span class="color92 size14">万次</span></p>
  83. <span class="color0">总计访问</span>
  84. </a>
  85. </li>
  86. </ul>
  87. </div>
  88. <style>
  89. .news ul li::before {
  90. float: left;
  91. content: "●";
  92. color: #e9e9e9;
  93. display: inline-block;
  94. width: 15px;
  95. margin-left: 10px;
  96. }
  97. .news ul li:not(:first-child){
  98. border-top: 1px solid #e9e9e9;
  99. }
  100. </style>
  101. <div class="news bg-white mt10 p20" style="min-height: 475px;">
  102. <img class="ml20" src="{$kx.config.resurl}/template/kxwebno1/author/images/icon-novel.png" alt="专题新闻" style="transform:translateY(5px);">
  103. <span class="ml10 color0 size16" style="line-height: 20px">专题新闻</span>
  104. <ul class="border mt20">
  105. {block method="news.list" name=list num=10}
  106. {loop}
  107. <li class="p15">
  108. <a href="{link=news.detail newsid=$loop.id}" title="{$loop.title}" target="_blank">
  109. <span class="fl compulsory-row-one color0" style="width: 80%">[{$loop.category.name}] {$loop.title}</span>&nbsp;
  110. <span class="fr colore9">2019-01-02 15:30</span>
  111. </a>
  112. </li>
  113. {/loop}
  114. </ul>
  115. </div>
  116. </div>
  117. </div>
  118. {include file="/author/system/footer"}
  119. </body>
  120. </html>