diff --git a/src/config.json b/src/config.json index 84f3a4911a..17053bec22 100644 --- a/src/config.json +++ b/src/config.json @@ -518,6 +518,7 @@ }, { "name": "Input", + "taro": true, "sort": 2, "cName": "输入框", "type": "component", @@ -548,6 +549,7 @@ }, { "version": "3.0.0", + "taro": true, "name": "Calendar", "type": "component", "cName": "日历", @@ -578,6 +580,7 @@ }, { "version": "3.0.0", + "taro": true, "name": "TextArea", "type": "component", "cName": "文本域", diff --git a/src/packages/__VUE/calendar/index.scss b/src/packages/__VUE/calendar/index.scss index 8941a21ebe..f98f0cd4e1 100644 --- a/src/packages/__VUE/calendar/index.scss +++ b/src/packages/__VUE/calendar/index.scss @@ -186,3 +186,6 @@ } } } +.nut-calendar-taro { + height: 65vh; +} diff --git a/src/packages/__VUE/calendar/index.taro.vue b/src/packages/__VUE/calendar/index.taro.vue new file mode 100644 index 0000000000..d9f11370be --- /dev/null +++ b/src/packages/__VUE/calendar/index.taro.vue @@ -0,0 +1,129 @@ + + + + diff --git a/src/packages/__VUE/calendaritem/index.scss b/src/packages/__VUE/calendaritem/index.scss index 146ce6aeca..077b42e629 100644 --- a/src/packages/__VUE/calendaritem/index.scss +++ b/src/packages/__VUE/calendaritem/index.scss @@ -190,3 +190,6 @@ } } } +.nut-calendar-taro { + height: 65vh; +} diff --git a/src/packages/__VUE/calendaritem/index.vue b/src/packages/__VUE/calendaritem/index.vue index 62b30c97ac..35de50c0da 100644 --- a/src/packages/__VUE/calendaritem/index.vue +++ b/src/packages/__VUE/calendaritem/index.vue @@ -1,6 +1,6 @@ + + + diff --git a/src/packages/__VUE/textarea/index.scss b/src/packages/__VUE/textarea/index.scss index 128b1431f5..65915bb5dd 100644 --- a/src/packages/__VUE/textarea/index.scss +++ b/src/packages/__VUE/textarea/index.scss @@ -1,6 +1,7 @@ .nut-textarea { position: relative; width: 100%; + box-sizing: border-box; display: flex; background: $white; font-size: $textarea-font; diff --git a/src/packages/__VUE/textarea/index.taro.vue b/src/packages/__VUE/textarea/index.taro.vue new file mode 100644 index 0000000000..fb5dff503f --- /dev/null +++ b/src/packages/__VUE/textarea/index.taro.vue @@ -0,0 +1,132 @@ +