小说章节定价规则自定义

This commit is contained in:
xiongxiaoyang
2020-11-22 17:15:20 +08:00
parent cd11854eff
commit 31aa3192fd
11 changed files with 140 additions and 66 deletions

View File

@ -57,3 +57,11 @@ author:
share-proportion: 0.7
#兑换比率(人民币)
exchange-proportion: 0.01
#小说章节定价规则
book:
price:
#字数
word-count: 1000
#价值(屋币)
value: 5

View File

@ -116,7 +116,7 @@
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAX4WEeZOhVYVmRzc9paH9JSy/08L4LdXX0bnEtd0tA2crFh4MPja1O/9L0Y0B5Q7Mkw2OnJlkYmOh3/iyqfPkkn99UiP/cCDJ38/2cPKg8P57VHEmkKJr8/tJbwExBtkfhGxxoA1kMIQUaw59BH5iPe">
</div>
<ul class="order_list">
<li>价格:<span class="red">10屋币(1元=100屋币)</span></li>
<li>价格:<span class="red" th:text="${bookIndex.bookPrice}+'屋币(1元=100屋币)'"></span></li>
<li id="panelPay" class="btns"><a class="btn_red" href="javascript:buyBookIndex()" >购买</a></li>
</ul>

View File

@ -238,7 +238,7 @@
<div class="Readarea ReadAjax_content screen_container"
style="color: rgb(0, 0, 0); font-size: 10px;background-color: #fff" th:if="${needBuy}">
<h5>此章为VIP章节需要订阅后才能继续阅读</h5>
价格:<span style="color: red">10屋币(1元=100屋币)</span><br/>
价格:<span style="color: red" th:text="${bookIndex.bookPrice}+'屋币(1元=100屋币)'"></span><br/>
<a href="javascript:buyBookIndex()" type="button" class="layui-btn layui-btn-sm layui-btn-radius">购买</a>
</div>