Add most-viewed block

This commit is contained in:
the1812 2020-03-31 22:57:19 +08:00
parent 844ee404a5
commit 5920e33baa
8 changed files with 19 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -85,7 +85,7 @@
"favorites-redirect.min.js": "70D6ECCE0402AA76387D2A3288C1148C60CC88D5378B7A2BDC813F3F78E4EE84",
"feeds-apis.min.js": "FB079652CED58A4442B95D407955E9E5207E9434DE2BA0019AD52F9C35B92FBD",
"feeds-filter.min.js": "B0C6884958870914F6583C4BA86936C3E7A24E27570B1837BAB69F0611EA8FDD",
"feeds-filter-card.vue.min.js": "117F4F87550F7F9990AB2A0E06989AEE06F0A24AB9CD397BA6EBF6EE07303077",
"feeds-filter-card.vue.min.js": "4FEC614D0D054A0219F0A38DBB68300B11325736F62B0B48BBAF32E34B6EF104",
"feeds-translate.min.css": "704EF1AAE13C4F7D33244E0EC30069AE449C4DBA0310E94C6A6B6ECC33570E5E",
"feeds-translate.min.js": "3BFACEC337137ABA7EA27184A03F42523DE24F96596BA14AD16A012749D919B1",
"feeds-translate-providers.min.js": "DD3B48C051ED1CD89AB79B2563723B2639D8737EF2194136D63ABAA8D4B64F6C",

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -55,7 +55,7 @@ const sideCards: { [id: number]: SideCardType } = {
},
1: {
className: 'following-tags',
displayName: '关注的话题'
displayName: '话题'
},
2: {
className: 'notice',
@ -64,11 +64,15 @@ const sideCards: { [id: number]: SideCardType } = {
3: {
className: 'live',
displayName: '正在直播'
}
},
// 4: {
// className: 'trending-tags',
// displayName: ''
// }
5: {
className: 'most-viewed',
displayName: '关注栏',
},
}
const sideBlock = 'feeds-filter-side-block-'
export default {
@ -252,6 +256,11 @@ body.enable-feeds-filter:not(.disable-feeds-filter) {
display: none !important;
}
}
&.#{$side-block}-most-viewed {
.card-list .most-viewed-panel {
display: none !important;
}
}
.feed-card .card.pattern-block {
display: none !important;
}