柒零 1 year ago
parent
commit
1babb92042

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