柒零 1 년 전
부모
커밋
1babb92042
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 3
      @vant/weapp/calendar/components/month/index.js
  2. 3 3
      subpages/sleepReport/sleepReport.js

+ 3 - 3
@vant/weapp/calendar/components/month/index.js

@@ -143,13 +143,13 @@ VantComponent({
     getBottomInfo(type) {
       if (this.data.type === 'range') {
         if (type === 'start') {
-          return '入住';
+          return '开始';
         }
         if (type === 'end') {
-          return '离店';
+          return '结束';
         }
         if (type === 'start-end') {
-          return '入住/离店';
+          return '开始/结束';
         }
       }
     },

+ 3 - 3
subpages/sleepReport/sleepReport.js

@@ -27,12 +27,12 @@ Page({
       }
 
       if (day.type === 'start') {
-        day.bottomInfo = '入住';
+        day.bottomInfo = '开始';
       } else if (day.type === 'end') {
-        day.bottomInfo = '离店';
+        day.bottomInfo = '结束';
       }
       // else if (day.type === 'start-end') {
-      //   return '入住/离店';
+      //   return '开始/结束';
       // }
 
       return day;