diff --git a/.vscode/settings.json b/.vscode/settings.json
index 7e00b2430..70123a0dd 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -100,6 +100,7 @@
"Vuex",
"Wasm",
"watchlater",
+ "webfullscreen",
"woff",
"xmlhttp"
],
diff --git a/README.md b/README.md
index 43157e282..54c3e4332 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+
+
diff --git a/registry/lib/components/feeds/extend-live/LiveList.vue b/registry/lib/components/feeds/extend-live/LiveList.vue
index f60cb2325..3895f3342 100644
--- a/registry/lib/components/feeds/extend-live/LiveList.vue
+++ b/registry/lib/components/feeds/extend-live/LiveList.vue
@@ -38,7 +38,7 @@
- {{ item.title }}
+ {{ decodeTitle(item.title) }}
{{ item.uname }}
@@ -52,6 +52,12 @@
import { VIcon, TextBox, DpiImage, VEmpty, VLoading } from '@/ui'
import { getJsonWithCredentials, responsiveGetPages } from '@/core/ajax'
+const decodeTitle = (title: string) => {
+ const textArea = document.createElement('textarea')
+ textArea.innerHTML = title
+ return textArea.value
+}
+
interface LiveInfo {
cover: string
face: string
@@ -98,6 +104,7 @@ export default Vue.extend({
this.refresh()
},
methods: {
+ decodeTitle,
async refresh() {
try {
this.items = []
diff --git a/registry/lib/components/feeds/full-content/full-content.scss b/registry/lib/components/feeds/full-content/full-content.scss
index 000c8a17a..23a8861c4 100644
--- a/registry/lib/components/feeds/full-content/full-content.scss
+++ b/registry/lib/components/feeds/full-content/full-content.scss
@@ -1,4 +1,4 @@
-.bili-dyn-content,
+.dyn-card-opus__summary:first-child,
.card .main-content {
.bili-rich-text__action,
.expand-btn,
diff --git a/registry/lib/components/feeds/full-content/index.md b/registry/lib/components/feeds/full-content/index.md
new file mode 100644
index 000000000..3668c6a84
--- /dev/null
+++ b/registry/lib/components/feeds/full-content/index.md
@@ -0,0 +1 @@
+不管内容多长, 总是完全展开动态的内容. (专栏不算)
diff --git a/registry/lib/components/feeds/full-content/index.ts b/registry/lib/components/feeds/full-content/index.ts
index 2aae4dc58..98cb7cc83 100644
--- a/registry/lib/components/feeds/full-content/index.ts
+++ b/registry/lib/components/feeds/full-content/index.ts
@@ -1,13 +1,16 @@
import { defineComponentMetadata } from '@/components/define'
-import { toggleStyle } from '@/components/styled-component'
import { feedsUrlsWithoutDetail } from '@/core/utils/urls'
export const component = defineComponentMetadata({
- ...toggleStyle('fullFeedsContent', () => import('./full-content.scss')),
+ name: 'fullFeedsContent',
+ instantStyles: [
+ {
+ name: 'full-feeds-content',
+ style: () => import('./full-content.scss'),
+ },
+ ],
displayName: '展开动态内容',
- description: {
- 'zh-CN': '不管内容多长, 总是完全展开动态的内容.',
- },
tags: [componentsTags.style, componentsTags.feeds],
urlInclude: feedsUrlsWithoutDetail,
+ entry: none,
})
diff --git a/registry/lib/components/style/custom-navbar/entry.ts b/registry/lib/components/style/custom-navbar/entry.ts
index d6dc4fa10..3646458d0 100644
--- a/registry/lib/components/style/custom-navbar/entry.ts
+++ b/registry/lib/components/style/custom-navbar/entry.ts
@@ -43,6 +43,10 @@ export const entry: ComponentEntry = async ({ metadata: { name } }) => {
true,
)
}
+ // https://github.com/the1812/Bilibili-Evolved/issues/4459
+ if (matchUrlPattern('https://www.bilibili.com/account/history')) {
+ document.body.classList.add('history-page')
+ }
const CustomNavbar = await import('./CustomNavbar.vue')
const customNavbar: Vue & {
styles: string[]
diff --git a/registry/lib/components/style/custom-navbar/hide-original.scss b/registry/lib/components/style/custom-navbar/hide-original.scss
index 66522684c..9a970c9f6 100644
--- a/registry/lib/components/style/custom-navbar/hide-original.scss
+++ b/registry/lib/components/style/custom-navbar/hide-original.scss
@@ -32,10 +32,13 @@ li.nav-item[report-id="playpage_dynamic"] .i-frame,
height: var(--navbar-height) !important;
}
#message-navbar,
-#biliMainHeader:not(.z-top-container),
+body:not(.history-page) #biliMainHeader:not(.z-top-container),
.z-top-container:not(#biliMainHeader) {
max-height: var(--navbar-height) !important;
}
+body.history-page #biliMainHeader:not(.z-top-container) {
+ height: auto;
+}
.link-top-container#tab-container {
top: var(--navbar-height) !important;
}
diff --git a/registry/lib/components/style/custom-navbar/history/NavbarHistory.vue b/registry/lib/components/style/custom-navbar/history/NavbarHistory.vue
index c2042fb00..a2c2afcbc 100644
--- a/registry/lib/components/style/custom-navbar/history/NavbarHistory.vue
+++ b/registry/lib/components/style/custom-navbar/history/NavbarHistory.vue
@@ -106,7 +106,7 @@