소스 검색

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