123456789101112131415161718192021222324252627 |
- <% if (versionList.length > 0) { %>
- <div class="modal fade" id="version" data-backdrop="static">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title">升级说明</h5>
- </div>
- <div class="modal-body">
- <div class="modal-height-500" style="overflow-y:auto">
- <% for (const version of versionList) { %>
- <div class="card mt-2">
- <div class="card-body">
- <h4><%- version.name %></h4>
- <p class="card-text"><%= moment(version.create_time * 1000).format('YYYY-MM-DD') %></p>
- <p class="card-text"><%- version.content %></p>
- </div>
- </div>
- <% } %>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">关闭</button>
- </div>
- </div>
- </div>
- </div>
- <% } %>
|