排行榜页面显示问题修复

This commit is contained in:
xiongxiaoyang 2020-10-25 20:27:24 +08:00
parent 70f04bd37c
commit ee2a0f514f
5 changed files with 24 additions and 5 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>novel</artifactId>
<groupId>com.java2nb</groupId>
<version>2.6.2</version>
<version>2.6.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>novel</artifactId>
<groupId>com.java2nb</groupId>
<version>2.6.2</version>
<version>2.6.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>novel</artifactId>
<groupId>com.java2nb</groupId>
<version>2.6.2</version>
<version>2.6.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -22,7 +22,7 @@
<div class="book_tit">
<div class="fl">
<h3 class="font26 mt5 mb5">点击榜</h3>
<h3 class="font26 mt5 mb5" id="rankName">点击榜</h3>
</div>
<a class="fr"></a>
</div>
@ -123,6 +123,25 @@
layer.alert('网络异常');
}
})
switch (rankType) {
case 0 : {
$("#rankName").html("点击榜");
break;
}
case 1 : {
$("#rankName").html("新书榜");
break;
}
case 2 : {
$("#rankName").html("更新榜");
break;
}
case 3 : {
$("#rankName").html("评论榜");
break;
}
}
}
</script>

View File

@ -5,7 +5,7 @@
<groupId>com.java2nb</groupId>
<artifactId>novel</artifactId>
<version>2.6.2</version>
<version>2.6.4</version>
<modules>
<module>novel-common</module>
<module>novel-front</module>