From c34cf74765248c5ccb543e1568c9018bf77fc8e7 Mon Sep 17 00:00:00 2001 From: czy0729 <402731062@qq.com> Date: Fri, 27 Sep 2024 23:33:14 +0800 Subject: [PATCH] - publish v8.14.0 --- README.MD | 23 +++++++++++-------- app.json | 4 ++-- packages/ios/package.json | 3 ++- .../word-cloud/component/subject/index.tsx | 23 +++++++++++-------- .../word-cloud/component/subject/styles.ts | 3 ++- .../word-cloud/component/topic/index.tsx | 22 +++++++++++------- .../word-cloud/component/topic/styles.ts | 3 ++- web/CHANGELOG.MD | 19 +++++++++++++++ 8 files changed, 68 insertions(+), 32 deletions(-) diff --git a/README.MD b/README.MD index a7cf8ae3d..6d6675bb9 100755 --- a/README.MD +++ b/README.MD @@ -59,21 +59,24 @@ iOS 和安卓都做了兼容,并最大限度保持一致 # 版本 -## 8.13.0 - 2024/09/02 +## 8.14.0 - 2024/09/27 -### 优化 +### 新增 -- [x] [条目] 进一步优化了关联等条目的类型猜测 -- [x] [帖子] 主楼的贴贴按钮常驻,减少布局跳动 -- [x] [帖子] 楼层中图片当不自动加载时,改成现实文字,点击外部打开 -- [x] 若干性能优化,不详 +- [x] [词云] 新增功能,支持条目、帖子,点击词语能快速查看对应吐槽(实验性,未来会继续开发) + +### 新增 + +- [x] [条目] 关联系列、单行本等栏目添加一个整合列表页面(方便一览封面) +- [x] [条目] 优化了剧照的匹配逻辑(提高正确匹配率,不保证绝对正确) +- [x] [目录编辑] 优化了可用性,重新验证了可用性 +- [x] [找漫画] 功能迭代,更新了数据 +- [x] [bilibili、豆瓣同步] 优化了匹配逻辑,重新验证了可用性 ### 修复 -- [x] 修复了在手机虚拟按钮模式下,底部分页器看不全的问题 -- [x] [超展开] 修复右侧菜单点击穿透问题 -- [x] [小组] 修复了小组标题消失的问题 -- [x] [进度] 修复了网格布局没有实现设置「一直显示放送时间」的问题 +- [x] 因主站网页结构变化,修复条目获取发布年份失败的问题。(这个问题影响所有需要年份的功能,涉及所有之前版本,建议看见马上更新) +- [x] [条目] 章节长度支持到 1300 [所有更新 CHANGELOG](https://github.com/czy0729/Bangumi/blob/master/web/CHANGELOG.MD) diff --git a/app.json b/app.json index 51ff1b90c..3a07951db 100755 --- a/app.json +++ b/app.json @@ -1,9 +1,9 @@ { "expo": { "description": "A React Native App for https://bgm.tv, tinygrail plugin 5.1.0", - "version": "8.13.2", + "version": "8.14.0", "android": { - "versionCode": 813020, + "versionCode": 814000, "package": "com.czy0729.bangumi", "adaptiveIcon": { "foregroundImage": "./src/assets/images/foreground.png", diff --git a/packages/ios/package.json b/packages/ios/package.json index 21f2b1317..5adca62ae 100755 --- a/packages/ios/package.json +++ b/packages/ios/package.json @@ -22,6 +22,7 @@ "@types/react": "17.0.2", "define-properties": "1.2.0", "htmlparser2": "^3.9.0", + "react-native-reanimated": "3.10.0", "react-native-safe-area-view": "1.1.1" }, "dependencies": { @@ -97,7 +98,7 @@ "react-native-pager-view": "6.3.0", "react-native-popable": "^0.4.3", "react-native-realtimeblurview": "^1.1.3", - "react-native-reanimated": "^3.10.0", + "react-native-reanimated": "3.10.0", "react-native-render-html": "4.1.1", "react-native-restart": "0.0.14", "react-native-safe-area-context": "4.10.1", diff --git a/src/screens/discovery/word-cloud/component/subject/index.tsx b/src/screens/discovery/word-cloud/component/subject/index.tsx index afd518a5f..45b1b0b3e 100644 --- a/src/screens/discovery/word-cloud/component/subject/index.tsx +++ b/src/screens/discovery/word-cloud/component/subject/index.tsx @@ -2,7 +2,7 @@ * @Author: czy0729 * @Date: 2024-09-27 02:45:02 * @Last Modified by: czy0729 - * @Last Modified time: 2024-09-27 19:55:54 + * @Last Modified time: 2024-09-27 22:52:23 */ import React from 'react' import { View } from 'react-native' @@ -10,7 +10,7 @@ import { BLURVIEW_TINT_DARK, Cover, Flex, Text } from '@components' import { BlurView, Rank, Stars } from '@_' import { _ } from '@stores' import { obc } from '@utils/decorators' -import { IMG_HEIGHT_SM, IMG_WIDTH_SM } from '@constants' +import { IMG_HEIGHT_SM, IMG_WIDTH_SM, IOS } from '@constants' import { Ctx } from '../../types' import { memoStyles } from './styles' @@ -20,13 +20,18 @@ function Subject(_props, { $ }: Ctx) { const styles = memoStyles() const top = $.subject.name_cn || $.subject.name const bottom = $.subject.name + + const Component = IOS ? BlurView : View + const passProps: any = { + style: styles.container + } + if (IOS) { + passProps.tint = BLURVIEW_TINT_DARK + passProps.intensity = 64 + } + return ( - + - + ) } diff --git a/src/screens/discovery/word-cloud/component/subject/styles.ts b/src/screens/discovery/word-cloud/component/subject/styles.ts index ac7f7d68c..bbc8fa741 100644 --- a/src/screens/discovery/word-cloud/component/subject/styles.ts +++ b/src/screens/discovery/word-cloud/component/subject/styles.ts @@ -2,7 +2,7 @@ * @Author: czy0729 * @Date: 2024-09-27 02:45:24 * @Last Modified by: czy0729 - * @Last Modified time: 2024-09-27 16:30:02 + * @Last Modified time: 2024-09-27 22:51:21 */ import { _ } from '@stores' import { IMG_HEIGHT_SM } from '@constants' @@ -12,6 +12,7 @@ export const memoStyles = _.memoStyles(() => ({ padding: _.sm, marginTop: _.headerHeight - _.sm, marginBottom: _.sm, + backgroundColor: _.ios('transparent', 'rgba(0, 0, 0, 0.32)'), borderRadius: _.radiusMd, overflow: 'hidden' }, diff --git a/src/screens/discovery/word-cloud/component/topic/index.tsx b/src/screens/discovery/word-cloud/component/topic/index.tsx index 7de2fd03b..99b46e31d 100644 --- a/src/screens/discovery/word-cloud/component/topic/index.tsx +++ b/src/screens/discovery/word-cloud/component/topic/index.tsx @@ -2,13 +2,15 @@ * @Author: czy0729 * @Date: 2024-09-27 19:27:38 * @Last Modified by: czy0729 - * @Last Modified time: 2024-09-27 22:18:12 + * @Last Modified time: 2024-09-27 22:52:49 */ import React from 'react' +import { View } from 'react-native' import { BLURVIEW_TINT_DARK, Cover, Flex, Text } from '@components' import { BlurView } from '@_' import { _ } from '@stores' import { obc } from '@utils/decorators' +import { IOS } from '@constants' import { Ctx } from '../../types' import { memoStyles } from './styles' @@ -20,13 +22,17 @@ function Topic(_props, { $ }: Ctx) { const bottom = [$.topic.time || $.topic.group, `${$.total} 回复`] .filter(item => !!item) .join(' · ') + + const Component = IOS ? BlurView : View + const passProps: any = { + style: styles.container + } + if (IOS) { + passProps.tint = BLURVIEW_TINT_DARK + passProps.intensity = 64 + } return ( - + - + ) } diff --git a/src/screens/discovery/word-cloud/component/topic/styles.ts b/src/screens/discovery/word-cloud/component/topic/styles.ts index 34057d866..f6db90085 100644 --- a/src/screens/discovery/word-cloud/component/topic/styles.ts +++ b/src/screens/discovery/word-cloud/component/topic/styles.ts @@ -2,7 +2,7 @@ * @Author: czy0729 * @Date: 2024-09-27 02:45:24 * @Last Modified by: czy0729 - * @Last Modified time: 2024-09-27 22:18:31 + * @Last Modified time: 2024-09-27 22:51:45 */ import { _ } from '@stores' @@ -11,6 +11,7 @@ export const memoStyles = _.memoStyles(() => ({ padding: _.sm, marginTop: _.headerHeight - _.sm, marginBottom: _.sm, + backgroundColor: _.ios('transparent', 'rgba(0, 0, 0, 0.32)'), borderRadius: _.radiusMd, overflow: 'hidden' }, diff --git a/web/CHANGELOG.MD b/web/CHANGELOG.MD index 7a3cea558..88d343886 100755 --- a/web/CHANGELOG.MD +++ b/web/CHANGELOG.MD @@ -1,5 +1,24 @@ # CHANGELOG +## 8.14.0 - 2024/09/27 + +### 新增 + +- [x] [词云] 新增功能,支持条目、帖子,点击词语能快速查看对应吐槽(实验性,未来会继续开发) + +### 新增 + +- [x] [条目] 关联系列、单行本等栏目添加一个整合列表页面(方便一览封面) +- [x] [条目] 优化了剧照的匹配逻辑(提高正确匹配率,不保证绝对正确) +- [x] [目录编辑] 优化了可用性,重新验证了可用性 +- [x] [找漫画] 功能迭代,更新了数据 +- [x] [bilibili、豆瓣同步] 优化了匹配逻辑,重新验证了可用性 + +### 修复 + +- [x] 因主站网页结构变化,修复条目获取发布年份失败的问题。(这个问题影响所有需要年份的功能,涉及所有之前版本,建议看见马上更新) +- [x] [条目] 章节长度支持到 1300 + ## 8.13.0 - 2024/09/02 ### 优化