feat: award
This commit is contained in:
@@ -30,6 +30,40 @@
|
||||
<% } else { %>
|
||||
<%- post.content %>
|
||||
<% } %>
|
||||
<!-- 打赏 -->
|
||||
<% if ((theme.reward_type === 2 || (theme.reward_type === 1 && post.reward)) && !index){ %>
|
||||
<div class="page-reward">
|
||||
<a href="javascript:void(0);" class="page-reward-btn tooltip-top" target="_self">
|
||||
<div class="tooltip tooltip-east">
|
||||
<span class="tooltip-item">
|
||||
赏
|
||||
</span>
|
||||
<span class="tooltip-content">
|
||||
<span class="tooltip-text">
|
||||
<span class="tooltip-inner">
|
||||
<p class="reward-p"><i class="icon icon-quo-left"></i><%= theme.reward_wording%><i
|
||||
class="icon icon-quo-right"></i></p>
|
||||
<div class="reward-box">
|
||||
<% if(theme.alipay) {%>
|
||||
<div class="reward-box-item">
|
||||
<img class="reward-img" src="<%- url_for(theme.alipay) %>">
|
||||
<span class="reward-type">支付宝</span>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if(theme.weixin) {%>
|
||||
<div class="reward-box-item">
|
||||
<img class="reward-img" src="<%- url_for(theme.weixin) %>">
|
||||
<span class="reward-type">微信</span>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
<footer class="article-footer">
|
||||
<a data-url="<%- post.permalink %>" data-id="<%= post._id %>"
|
||||
|
Reference in New Issue
Block a user