新增QQ打赏选项,以及具体打赏途径文字标注
This commit is contained in:
parent
93cd06a3ce
commit
856a07cc90
|
@ -1876,6 +1876,15 @@ spec:
|
||||||
label: 微信二维码
|
label: 微信二维码
|
||||||
value: ""
|
value: ""
|
||||||
help: "打赏用的微信收款二维码链接,不填不显示"
|
help: "打赏用的微信收款二维码链接,不填不显示"
|
||||||
|
|
||||||
|
|
||||||
|
- $formkit: attachment
|
||||||
|
# if: "$get(enable_donate).value === true"
|
||||||
|
name: qrcode_qq
|
||||||
|
label: QQ二维码
|
||||||
|
value: ""
|
||||||
|
help: "打赏用的QQ收款二维码链接,不填不显示"
|
||||||
|
|
||||||
- group: tags
|
- group: tags
|
||||||
label: 标签页
|
label: 标签页
|
||||||
formSchema:
|
formSchema:
|
||||||
|
|
|
@ -7,10 +7,19 @@
|
||||||
<ol class="joe_donate_list"
|
<ol class="joe_donate_list"
|
||||||
th:classappend="${theme.config.post.qrcode_zfb != '' && theme.config.post.qrcode_wx != '' ?'two':''}">
|
th:classappend="${theme.config.post.qrcode_zfb != '' && theme.config.post.qrcode_wx != '' ?'two':''}">
|
||||||
<th:block th:if="${theme.config.post.qrcode_zfb}">
|
<th:block th:if="${theme.config.post.qrcode_zfb}">
|
||||||
<li><img th:src="${theme.config.post.qrcode_zfb}" alt="qrcode alipay"/></li>
|
<li>
|
||||||
|
<p>支付宝打赏</p>
|
||||||
|
<img th:src="${theme.config.post.qrcode_zfb}" alt="qrcode alipay"/></li>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${theme.config.post.qrcode_wx}">
|
<th:block th:if="${theme.config.post.qrcode_wx}">
|
||||||
<li><img th:src="${theme.config.post.qrcode_wx}" alt="qrcode weixin"/></li>
|
<li>
|
||||||
|
<p>微信打赏</p>
|
||||||
|
<img th:src="${theme.config.post.qrcode_wx}" alt="qrcode weixin"/></li>
|
||||||
|
</th:block>
|
||||||
|
<th:block th:if="${theme.config.post.qrcode_qq}">
|
||||||
|
<li>
|
||||||
|
<p>QQ打赏</p>
|
||||||
|
<img th:src="${theme.config.post.qrcode_qq}" alt="qrcode qq"/></li>
|
||||||
</th:block>
|
</th:block>
|
||||||
</ol>
|
</ol>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
Loading…
Reference in New Issue