<!-- 版权样式默认 --> <th:block th:if="${#strings.equals(theme.config.post.copyrightsStyle, 'default')}"> <div class="post-tools" id="post-tools"> <div class="post-tools-left"> <!-- 打赏 --> <div th:if="${theme.config.aboutReward.reward.enable_reward_wz}" class="post-reward" onclick="AddRewardMask()"> <div class="reward-button button--animated" title="赞赏作者"><i class="haofont hao-icon-hand-heart-fill"></i> 打赏作者 </div> <div class="reward-main"> <ul class="reward-all"><span class="reward-title">感谢你赐予我前进的力量</span> <ul class="reward-group"> <li class="reward-item"><a th:href="@{${theme.config.aboutReward.reward.wxPay}}" target="_blank"> <img alt="微信" class="post-qr-code-img" th:src="${theme.config.aboutReward.reward.wxPay}"></a> <div class="post-qr-code-desc">微信</div> </li> <li class="reward-item"><a th:href="@{${theme.config.aboutReward.reward.alipay}}" target="_blank"><img alt="支付宝" class="post-qr-code-img" th:src="${theme.config.aboutReward.reward.alipay}"></a> <div class="post-qr-code-desc">支付宝</div> </li> </ul> <a class="reward-main-btn" th:href="@{${theme.config.aboutReward.reward.reward_md_url}}" target="_blank"> <div class="reward-text">赞赏者名单</div> <div class="reward-dec">因为你们的支持让我意识到写文章的价值🙏</div> </a> </ul> </div> </div> <!-- 说明 --> <div th:if="${theme.config.post.post_edit.enable_post_edit}" class="reward-link mode"><a class="reward-link-button" th:href="@{${theme.config.post.post_edit.post_edit_url}}"> <i class="haofont hao-icon-plant-fill"></i>运营模式与责任</a> </div> <!-- 分享 --> <div class="share-link mobile" th:if="${theme.config.post.share_right.mobile_edit}"> <div class="share-qrcode"> <div class="share-button" title="使用手机访问这篇文章"><i class="haofont hao-icon-qrcode"></i> </div> <div class="share-main"> <div class="share-main-all"> <div id="qrcode"></div> <div class="reward-dec">使用手机访问这篇文章</div> </div> </div> </div> </div> <div class="share-link weibo" th:if="${theme.config.post.share_right.weibo_edit}"> <a class="share-button" rel="noopener external nofollow noreferrer noopener" target="_blank" th:href="'https://service.weibo.com/share/share.php?title=' + ${post.spec.title}" title="分享到微博"> <i class="haofont hao-icon-weibo" style="font-size:22px"></i></a> </div> <div class="share-link copyurl" th:if="${theme.config.post.share_right.copyurl_edit}"> <div class="share-button" id="post-share-url" onclick="rm.copyPageUrl()" title="复制链接"><i class="haofont hao-icon-link"></i></div> </div> </div> <div class="post-tools-right"> <div class="tag_share"> <div class="post-meta__tag-list"> <a class="post-meta__tags" th:each="tag : ${post.tags}" th:href="@{${tag.status.permalink}}"> <span class="tags-punctuation">[[${tag.spec.displayName}]]</span> <span class="tagsPageCount" th:text="${tag.status.visiblePostCount}"></span> </a> </div> </div> </div> </div> <!-- 版权声明 --> <div class="post-copyright" th:with="copyrightUrl =${#annotations.get(post, 'copyrightUrl')}, copyrightEnable = ${not #strings.isEmpty(#annotations.get(post, 'copyrightEnable')) ? #annotations.get(post, 'copyrightEnable') == 'true' : theme.config.post.copyrights.enable}"> <div class="post-copyright__author" > <!-- 版权页 以及版权描述文字 --> <a th:if="${#strings.equals(#annotations.getOrDefault(post, 'copyrightType','original'),'original') && copyrightEnable}" class="post-copyright__original" th:href="@{${not #strings.isEmpty(copyrightUrl) ? copyrightUrl : not #strings.isEmpty(theme.config.post.copyrights.originalUrl) ? theme.config.post.copyrights.originalUrl : '#'}}" title="该文章为原创文章,注意版权协议">原创</a> <a th:if="${#strings.equals(#annotations.getOrDefault(post, 'copyrightType','original'),'reprint') && copyrightEnable}" class="post-copyright__original" th:href="@{${not #strings.isEmpty(copyrightUrl) ? copyrightUrl : not #strings.isEmpty(theme.config.post.copyrights.originalUrl) ? theme.config.post.copyrights.reprintUrl : '#'}}" title="该文章为转载文章,版权归原作者所有">转载</a> <a class="post-copyright-title" href="#"><span th:text="${post.spec.title}"></span></a> </div> <div class="post-copyright__type"> <span class="post-copyright-info" id="post-copyright-url"> <a href="javascript:window.location.href;">[[${post.spec.title}]]</a> </span> <button class="post-copyright-copybtn" onclick="rm.copyPageUrl()"> <i class="haofont hao-icon-paste"></i> </button> </div> <div class="post-copyright__notice" th:if="${copyrightEnable}"> <span class="post-copyright-info" th:utext="${#strings.equals(#annotations.getOrDefault(post, 'copyrightType','original'),'reprint') ? theme.config.post.copyrights.reprintContent : theme.config.post.copyrights.content}"> </span> </div> </div> <link rel="stylesheet" th:href="${assets_link + '/css/post-copyright.css' + theme_version}"> </th:block>