Files
mp-pilates/packages/shared/src/constants.js
2026-04-04 15:39:26 +08:00

20 lines
969 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WEEKDAY_LABELS = exports.DATE_SELECTOR_DAYS = exports.TIME_PERIODS = exports.SLOT_GENERATION_DAYS = exports.DEFAULT_SLOT_CAPACITY = exports.DEFAULT_CANCEL_HOURS_LIMIT = void 0;
/** 默认免费取消截止小时数 */
exports.DEFAULT_CANCEL_HOURS_LIMIT = 2;
/** 默认时段容量(私教 = 1 */
exports.DEFAULT_SLOT_CAPACITY = 1;
/** 自动生成时段的天数范围 */
exports.SLOT_GENERATION_DAYS = 14;
/** 时段筛选区间 */
exports.TIME_PERIODS = {
MORNING: { label: '上午', start: '06:00', end: '12:00' },
AFTERNOON: { label: '下午', start: '12:00', end: '18:00' },
EVENING: { label: '晚上', start: '18:00', end: '22:00' },
};
/** 日期选择器展示天数 */
exports.DATE_SELECTOR_DAYS = 7;
/** 星期映射 */
exports.WEEKDAY_LABELS = ['', '周一', '周二', '周三', '周四', '周五', '周六', '周日'];
//# sourceMappingURL=constants.js.map