柒零 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;