mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-02 07:36:37 +00:00
作家专区新增稿费收入查询(订阅明细+稿费汇总)
This commit is contained in:
@ -29,8 +29,9 @@
|
||||
|
||||
<ul class="log_list">
|
||||
<li><a class="link_1 on" href="/author/index.html">小说管理</a></li>
|
||||
<li><a class="link_1 " href="/author/author_income_detail.html">稿费收入</a></li>
|
||||
<!--<li><a class="link_1 " href="/user/userinfo.html">批量小说爬取</a></li>
|
||||
<li><a class="link_4 " href="/user/favorites.html">单本小说爬取</a></li>-->
|
||||
<li><a class="link_4 " href="/user/favorites.html">单本小说爬取</a></li>-->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
@ -57,9 +58,11 @@
|
||||
<li><span id="LabErr"></span></li>
|
||||
<b>章节名:</b>
|
||||
<li><input type="text" id="bookIndex" name="bookIndex" class="s_input" ></li>
|
||||
<b>章节内容:</b>
|
||||
<b>章节内容:</b><li id="contentLi">
|
||||
<textarea name="bookContent" rows="30" cols="80" id="bookContent"
|
||||
class="textarea"></textarea>
|
||||
class="textarea"></textarea></li>
|
||||
|
||||
|
||||
<li style="margin-top: 10px"><input type="button" onclick="addBookContent()" name="btnRegister" value="提交"
|
||||
id="btnRegister" class="btn_red">
|
||||
|
||||
@ -115,6 +118,13 @@
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
var bookStatus = getSearchString("bookStatus");
|
||||
if(bookStatus == 1){
|
||||
$("#contentLi").after("<b>是否收费:</b>\n" +
|
||||
" <li><input type=\"radio\" name=\"isVip\" value=\"0\" checked >免费\n" +
|
||||
" <input type=\"radio\" name=\"isVip\" value=\"1\" >收费</li><br/>");
|
||||
}
|
||||
|
||||
|
||||
var lock = false;
|
||||
function addBookContent() {
|
||||
@ -143,12 +153,19 @@
|
||||
}
|
||||
|
||||
|
||||
var isVip = 0;
|
||||
if(bookStatus == 1){
|
||||
|
||||
isVip = $("input:checked[name=isVip]").val();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/author/addBookContent",
|
||||
data: {'bookId':bookId,'indexName':indexName,'content':content},
|
||||
data: {'bookId':bookId,'indexName':indexName,'content':content,'isVip':isVip},
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
if (data.code == 200) {
|
||||
|
Reference in New Issue
Block a user