diff --git a/src/components/MusicAddModal/ListItem.tsx b/src/components/MusicAddModal/ListItem.tsx index 98f7177..aa69f3b 100644 --- a/src/components/MusicAddModal/ListItem.tsx +++ b/src/components/MusicAddModal/ListItem.tsx @@ -43,7 +43,7 @@ export const styles = createStyle({ // backgroundColor: 'rgba(0,0,0,0.2)', }, button: { - height: 34, + height: 36, paddingLeft: 10, paddingRight: 10, marginRight: 10, diff --git a/src/components/MusicMultiAddModal/ListItem.tsx b/src/components/MusicMultiAddModal/ListItem.tsx index f85f525..3ae7549 100644 --- a/src/components/MusicMultiAddModal/ListItem.tsx +++ b/src/components/MusicMultiAddModal/ListItem.tsx @@ -35,7 +35,7 @@ export const styles = createStyle({ paddingRight: 13, }, button: { - height: 34, + height: 36, paddingLeft: 10, paddingRight: 10, marginRight: 10, diff --git a/src/components/OnlineList/ListItem.tsx b/src/components/OnlineList/ListItem.tsx index 836fdc0..85927c4 100644 --- a/src/components/OnlineList/ListItem.tsx +++ b/src/components/OnlineList/ListItem.tsx @@ -55,7 +55,7 @@ export default memo(({ item, index, showSource, onPress, onLongPress, onShowMenu return ( { onPress(item, index) }} onLongPress={() => { onLongPress(item, index) }}> - {index + 1} + {index + 1} {item.name} diff --git a/src/components/common/Menu.tsx b/src/components/common/Menu.tsx index 1338115..ef85fad 100644 --- a/src/components/common/Menu.tsx +++ b/src/components/common/Menu.tsx @@ -9,7 +9,7 @@ import { useTheme } from '@/store/theme/hook' import Text from './Text' import { scaleSizeH, scaleSizeW } from '@/utils/pixelRatio' -const menuItemHeight = scaleSizeH(38) +const menuItemHeight = scaleSizeH(40) const menuItemWidth = scaleSizeW(100) export interface Position { w: number, h: number, x: number, y: number, menuWidth?: number, menuHeight?: number } diff --git a/src/screens/Home/Views/Mylist/MusicList/ListItem.tsx b/src/screens/Home/Views/Mylist/MusicList/ListItem.tsx index 5f71f57..e37d2eb 100644 --- a/src/screens/Home/Views/Mylist/MusicList/ListItem.tsx +++ b/src/screens/Home/Views/Mylist/MusicList/ListItem.tsx @@ -43,7 +43,7 @@ export default memo(({ item, index, activeIndex, onPress, onShowMenu, onLongPres { active ? - : {index + 1} + : {index + 1} } {/* */} diff --git a/src/screens/Home/Views/Search/SearchTypeSelector.tsx b/src/screens/Home/Views/Search/SearchTypeSelector.tsx index 66b9601..08aea16 100644 --- a/src/screens/Home/Views/Search/SearchTypeSelector.tsx +++ b/src/screens/Home/Views/Search/SearchTypeSelector.tsx @@ -7,6 +7,7 @@ import { useI18n } from '@/lang' import Text from '@/components/common/Text' import { useTheme } from '@/store/theme/hook' import { getSearchSetting } from '@/utils/data' +import { BorderWidths } from '@/theme' const SEARCH_TYPE_LIST = [ 'music', @@ -38,7 +39,7 @@ export default () => { { list.map(t => ( { handleTypeChange(t.id) }} key={t.id}> - {t.label} + {t.label} )) } @@ -59,6 +60,8 @@ const styles = createStyle({ // height: 38, // lineHeight: 38, justifyContent: 'center', + paddingLeft: 8, + paddingRight: 8, // width: 80, // backgroundColor: 'rgba(0,0,0,0.1)', }, @@ -66,10 +69,12 @@ const styles = createStyle({ // height: 38, // lineHeight: 38, textAlign: 'center', - paddingLeft: 10, - paddingRight: 10, + paddingLeft: 2, + paddingRight: 2, // paddingTop: 10, - // paddingBottom: 10, + paddingTop: 2, + paddingBottom: 2, + borderBottomWidth: BorderWidths.normal3, // width: 80, }, })