柒零 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) {
     getBottomInfo(type) {
       if (this.data.type === 'range') {
       if (this.data.type === 'range') {
         if (type === 'start') {
         if (type === 'start') {
-          return '入住';
+          return '开始';
         }
         }
         if (type === 'end') {
         if (type === 'end') {
-          return '离店';
+          return '结束';
         }
         }
         if (type === 'start-end') {
         if (type === 'start-end') {
-          return '入住/离店';
+          return '开始/结束';
         }
         }
       }
       }
     },
     },

+ 3 - 3
subpages/sleepReport/sleepReport.js

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