fix view content

This commit is contained in:
chiu 2021-11-22 03:20:57 +00:00
parent 7c73b4bc24
commit 76867812ed
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
<% data = action_data %> <% data = action_data %>
<% if data["view_count"].to_i > 0 %>
<div class="view_count pull-right"> <div class="view_count pull-right">
<i class="fa fa-eye"><%= data["view-count-head"] %>:</i> <i class="fa fa-eye"><%= data["view-count-head"] %>:</i>
<span class="view-count"><%= data["view_count"] %></span> <span class="view-count"><%= data["view_count"] %></span>
</div> </div>
<% end %>
<style> <style>
h3.page-module-title br { h3.page-module-title br {
display: none; display: none;