Skip to content

Commit

Permalink
- publish v7.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed May 19, 2023
1 parent c298cc8 commit 8583ed6
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 76 deletions.
12 changes: 6 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,21 @@ Bangumi 是用于管理追番进度(不限于动漫、音乐、日剧、游戏

# 版本

## v7.13.0 - 2023/04/29
## v7.14.0 - 2023/05/19

### 新增

- [x] [发现] 实装了网页版的 Dollars
- [x] [帖子] 新增了可以上一步/下一步观看楼层的功能 (实验性)

### 优化

- [x] [人物] 合作块
- [x] [条目] 优化了预览图匹配的逻辑
- [x] [设置] CDN 模块改名为图片,并删除失效功能相关代码
- [x] [UX] 收藏框还原网页版中我的标签功能块 (对于某些喜欢自己定义标签规则的用户来说很有用)
- [x] [时光机] 可以设置使用分页代替下拉加载更多
- [x] [设置] 画面设置选项卡中,用户头像可以设置加速 (实验性,会员功能)

### 修复

- [x] [条目] 修复了书籍更新章节后无任何反馈的问题
- [x] [UI] 修复了安卓13下按钮点击错误渲染阴影的问题

[CHANGELOGS](https://github.com/czy0729/Bangumi/blob/master/web/CHANGELOG.MD)

Expand Down
4 changes: 2 additions & 2 deletions src/screens/rakuen/topic/bottom/extra/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const memoStyles = _.memoStyles(() => ({
},
btn: {
width: _.window.width / 3,
height: _.ios(64, 48),
paddingBottom: _.ios(20, 0)
height: _.platforms(64, 48, 48, 48, 48),
paddingBottom: _.platforms(20, 0, 0, 0, 0)
}
}))
47 changes: 3 additions & 44 deletions src/screens/rakuen/topic/bottom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
* @Last Modified time: 2023-05-17 21:21:40
*/
import React from 'react'
import { View } from 'react-native'
import { FixedTextarea, Touchable, Flex, Text, Iconfont } from '@components'
import { _, rakuenStore } from '@stores'
import { FixedTextarea, Flex, Text } from '@components'
import { appNavigate } from '@utils'
import { obc } from '@utils/decorators'
import { Ctx } from '../types'
import Extra from './extra'
import { memoStyles } from './styles'

const MARKS = ['+1', 'mark', '(bgm38)'] as const
Expand Down Expand Up @@ -41,54 +40,14 @@ function Bottom({ fixedTextareaRef, onDirect }, { $, navigation }: Ctx) {

if (!$.isWebLogin || $.isLimit) return null

const { switchSlider } = rakuenStore.setting
const extraComponent = (
<>
<View style={styles.fixedLeft}>
<Touchable
useRN
onPress={() => onDirect(switchSlider ? true : false)}
onLongPress={() => onDirect(switchSlider ? true : false, 20)}
>
<Flex style={styles.btn} justify='center'>
<Iconfont
style={_.mr.md}
name={switchSlider ? 'md-navigate-next' : 'md-navigate-before'}
size={24}
/>
</Flex>
</Touchable>
</View>
<View style={styles.fixedCenter} pointerEvents='none'>
<Flex style={styles.btn} justify='center'>
<Iconfont name='md-edit' size={15} />
</Flex>
</View>
<View style={styles.fixedRight}>
<Touchable
useRN
onPress={() => onDirect(switchSlider ? false : true)}
onLongPress={() => onDirect(switchSlider ? false : true, 20)}
>
<Flex style={styles.btn} justify='center'>
<Iconfont
style={_.ml.md}
name={switchSlider ? 'md-navigate-before' : 'md-navigate-next'}
size={24}
/>
</Flex>
</Touchable>
</View>
</>
)
return (
<FixedTextarea
ref={fixedTextareaRef}
placeholder={placeholder ? placeholder : undefined}
value={value}
source
marks={MARKS}
extraComponent={extraComponent}
extraComponent={<Extra onDirect={onDirect} />}
onChange={$.onChange}
onClose={$.closeFixedTextarea}
onSubmit={$.doSubmit}
Expand Down
24 changes: 0 additions & 24 deletions src/screens/rakuen/topic/bottom/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,5 @@ export const memoStyles = _.memoStyles(() => ({
: {
elevation: 8
})
},
fixedLeft: {
position: 'absolute',
zIndex: 1002,
left: 0,
bottom: 0,
paddingRight: _.md
},
fixedCenter: {
position: 'absolute',
zIndex: 1001,
left: _.window.width / 3,
bottom: 0
},
fixedRight: {
position: 'absolute',
zIndex: 1002,
right: 0,
bottom: 0
},
btn: {
width: _.window.width / 3,
height: _.ios(64, 48),
paddingBottom: _.ios(20, 0)
}
}))
16 changes: 16 additions & 0 deletions web/CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# CHANGELOG

## v7.14.0 - 2023/05/19

### 新增

- [x] [帖子] 新增了可以上一步/下一步观看楼层的功能 (实验性)

### 优化

- [x] [UX] 收藏框还原网页版中我的标签功能块 (对于某些喜欢自己定义标签规则的用户来说很有用)
- [x] [时光机] 可以设置使用分页代替下拉加载更多
- [x] [设置] 画面设置选项卡中,用户头像可以设置加速 (实验性,会员功能)

### 修复

- [x] [UI] 修复了安卓13下按钮点击错误渲染阴影的问题

## v7.13.0 - 2023/04/29

### 新增
Expand Down

0 comments on commit 8583ed6

Please sign in to comment.