排行榜页面显示问题修复

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> <parent>
<artifactId>novel</artifactId> <artifactId>novel</artifactId>
<groupId>com.java2nb</groupId> <groupId>com.java2nb</groupId>
<version>2.6.2</version> <version>2.6.4</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

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

View File

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

View File

@ -22,7 +22,7 @@
<div class="book_tit"> <div class="book_tit">
<div class="fl"> <div class="fl">
<h3 class="font26 mt5 mb5">点击榜</h3> <h3 class="font26 mt5 mb5" id="rankName">点击榜</h3>
</div> </div>
<a class="fr"></a> <a class="fr"></a>
</div> </div>
@ -123,6 +123,25 @@
layer.alert('网络异常'); 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> </script>

View File

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