change.html 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. <form class="layui-form layui-card" action="{:sysuri()}" data-auto="true" method="post" autocomplete="off">
  2. <div class="layui-card-body padding-left-40">
  3. <div class="layui-textarea border-0 font-s14 layui-bg-gray padding-top-20 padding-left-20">
  4. <div class="layui-row margin-bottom-15">
  5. <div class="layui-col-xs6">模块名称:<b class="color-green">{$module.name}</b></div>
  6. <div class="layui-col-xs6">开发作者:<b class="color-green">{$module.author}</b></div>
  7. </div>
  8. <div class="layui-row margin-bottom-15">
  9. <div class="layui-col-xs6">最新版本:<b class="color-green">{$module.version}</b></div>
  10. <div class="layui-col-xs6">{if isset($current.version)}已安装版本:<b class="color-green">{$current.version}</b>{/if}</div>
  11. </div>
  12. <div class="margin-bottom-15">模块描述:{$module.content}</div>
  13. </div>
  14. <ul class="layui-timeline margin-top-30 margin-bottom-30" style="max-height:400px;overflow:auto">
  15. {foreach $module.change as $version=>$change}
  16. <li class="layui-timeline-item">
  17. {if isset($current.version) and $current.version eq $version}
  18. <i class="layui-icon layui-timeline-axis">&#xe756;</i>
  19. {else}
  20. <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
  21. {/if}
  22. <div class="layui-timeline-content layui-text">
  23. <h3 class="layui-timeline-title">
  24. 版本号 {$version} <span class="margin-left-10 font-s13 color-desc">{$change.version|default=''}</span>
  25. </h3>
  26. {$change.content|default=''|raw}
  27. </div>
  28. </li>
  29. {/foreach}
  30. <li class="layui-timeline-item"></li>
  31. </ul>
  32. </div>
  33. </form>