فهرست منبع

feat: 修改日历样式

huangzhichao 1 سال پیش
والد
کامیت
a7aa7ecef7
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 5 1
      src/plugin/components/calendar/index.scss
  2. 1 1
      src/plugin/components/calendar/index.tsx

+ 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>
   )