|
@@ -26,6 +26,12 @@
|
|
|
</block>
|
|
|
</swiper>
|
|
|
</list-item>
|
|
|
+ <list-item type="entrance">
|
|
|
+ <div class="entrance_block">
|
|
|
+ <image src="https://cdn-novel.iycdm.com/quickapp/activity/rank_banner.png" @click="jump('Leaderboard')"></image>
|
|
|
+ <image src="https://cdn-novel.iycdm.com/quickapp/activity/cate_banner.png" @click="jump('Category')"></image>
|
|
|
+ </div>
|
|
|
+ </list-item>
|
|
|
<block for="bookObj in list">
|
|
|
<list-item type="simple" class="book-list__wrap" if="$idx % 2 === 0">
|
|
|
<div class="book-list__title">
|
|
@@ -114,7 +120,12 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- async getCityListByTabChange(index=1) {
|
|
|
+ jump(page) {
|
|
|
+ router.push({
|
|
|
+ uri: '/views/' + page,
|
|
|
+ })
|
|
|
+ },
|
|
|
+ async getCityListByTabChange(index = 1) {
|
|
|
await storage.set({ key: "sex", value: index || 0 });
|
|
|
let sex = index ? "female" : "male";
|
|
|
let ret = await getHomeList(sex);
|
|
@@ -130,6 +141,16 @@ export default {
|
|
|
background-color: #fff;
|
|
|
flex-direction: column;
|
|
|
|
|
|
+ .entrance_block {
|
|
|
+ width: 100%;
|
|
|
+ padding: 30px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ image {
|
|
|
+ width: 330px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.type-bar {
|
|
|
background-color: #fff;
|
|
|
|