Explorar o código

feat: 修改日历样式

huangzhichao hai 1 ano
pai
achega
a7aa7ecef7

+ 5 - 1
src/plugin/components/calendar/index.scss

@@ -1,2 +1,6 @@
 	
-@import "~taro-ui/dist/style/components/calendar.scss";
+@import "~taro-ui/dist/style/components/calendar.scss";
+
+.calendar-container {
+  width: 100vw;
+}

+ 1 - 1
src/plugin/components/calendar/index.tsx

@@ -4,7 +4,7 @@ import './index.scss'
 
 function Index() {
   return (
-    <View>
+    <View className='calendar-container'>
       <AtCalendar />
     </View>
   )