Skip to content

Commit e87a77e

Browse files
author
hy
committed
优化日历视图和更改错别字
1 parent 2a5626e commit e87a77e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

packages/core/src/Calendar/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ const styles = StyleSheet.create({
298298
},
299299
calendarWeekdays: {
300300
flexDirection: 'row',
301-
justifyContent: 'space-between',
301+
justifyContent: 'space-around',
302302
alignItems: 'center',
303303
paddingHorizontal: MainWidth < 1000 ? MainWidth / 7 - 33 : MainWidth / 30,
304-
paddingTop: 10,
304+
paddingTop: 12,
305305
},
306306
calendarWedText: {
307307
color: '#616161',
@@ -312,10 +312,10 @@ const styles = StyleSheet.create({
312312
},
313313
weekDay: {
314314
flexDirection: 'row',
315-
paddingHorizontal: 2,
315+
paddingHorizontal: 22,
316316
},
317317
dateBase: {
318-
marginHorizontal: 2,
318+
marginHorizontal: 8,
319319
width: MainWidth < 1000 ? MainWidth / 7 - 4.5 : MainWidth / 14,
320320
height: MainHeight < 300 ? MainWidth / 7 - 4.5 : MainWidth / 14,
321321
...Platform.select({
@@ -327,15 +327,15 @@ const styles = StyleSheet.create({
327327
},
328328
currentMonth: {
329329
backgroundColor: '#329BCB',
330-
borderRadius: 50,
330+
borderRadius: 60,
331331
},
332332
selectMonth: {
333333
borderWidth: 1,
334334
borderColor: '#329BCB',
335-
borderRadius: 50,
335+
borderRadius: 60,
336336
},
337337
otherMonth: {
338-
borderRadius: 50,
338+
borderRadius: 60,
339339
},
340340
dayText: {
341341
textAlign: 'center',

packages/core/src/SearchBar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SearchBar 模糊搜素组件
1+
SearchBar 模糊搜索组件
22
---
33

44
### 基础示例

website/src/routes/menus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const componentMenus: MenuData[] = [
2828
{ path: '/components/segmentedcontrol', name: 'SegmentedControl 分段器' },
2929
{ path: '/components/slider', name: 'Slider 滑块输入条' },
3030
{ path: '/components/switch', name: 'Switch 开关' },
31-
{ path: '/components/searchbar', name: 'SearchBar 模糊搜素组件' },
31+
{ path: '/components/searchbar', name: 'SearchBar 模糊搜索组件' },
3232
{ divider: true, name: 'Data Display' },
3333
{ path: '/components/avatar', name: 'Avatar 头像' },
3434
{ path: '/components/badge', name: 'Badge 标记' },

0 commit comments

Comments
 (0)