From a005c8cf1b1d9235dcb943df75ed5083c9ec4f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 8 May 2023 19:07:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20laydate=20=E8=8A=82?= =?UTF-8?q?=E5=81=87=E6=97=A5=E5=92=8C=E8=A1=A5=E7=8F=AD=E6=97=A5=E6=A0=87?= =?UTF-8?q?=E6=B3=A8=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/laydate/examples/mark.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/laydate/examples/mark.md b/docs/laydate/examples/mark.md index 5e7f1dd9..1a19d1f0 100644 --- a/docs/laydate/examples/mark.md +++ b/docs/laydate/examples/mark.md @@ -55,12 +55,11 @@ layui.use(function(){ // 节假日和补班日标注 laydate.render({ elem: '#ID-laydate-holidays', - value: '2022-5-21', + value: '2023-05-08', holidays: [ // v2.7.3 新增 - // 2022 年的节假日,可参见国家每年公布的法定节假日安排 - ['2022-1-1', '2022-1-2', '2022-1-3', '2022-1-31', '2022-2-1', '2022-2-2', '2022-2-3', '2022-2-4', '2022-2-5', '2022-2-6', '2022-4-3', '2022-4-4', '2022-4-5', '2022-4-30', '2022-5-1', '2022-5-2', '2022-5-3', '2022-5-4', '2022-6-3', '2022-6-4', '2022-6-5', '2022-9-10', '2022-9-11', '2022-9-12', '2022-10-1', '2022-10-2', '2022-10-3', '2022-10-4', '2022-10-5', '2022-10-6', '2022-10-7'], - // 2022 年的补班日 - ['2022-1-29', '2022-1-30', '2022-4-2', '2022-4-24', '2022-5-7', '2022-10-8', '2022-10-9'] + ['2022-12-31', '2023-1-1', '2023-1-2', '2023-1-21', '2023-1-22', '2023-1-23', '2023-1-24', '2023-1-25', '2023-1-26', '2023-1-27', '2023-4-5', '2023-4-29', '2023-4-30', '2023-5-1', '2023-5-2', '2023-5-3', '2023-6-22', '2023-6-23', '2023-6-24', '2023-9-29', '2023-9-30', '2023-10-1', '2023-10-2', '2023-10-3', '2023-10-4', '2023-10-5', '2023-10-6'], + // 2023 年的补班日 + ['2023-1-28', '2023-1-29', '2023-4-23', '2023-5-6', '2023-6-25', '2023-10-7', '2023-10-8'] ] }); }); From d019d91eb013828257c9ff61eab34c129dd0c3fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 8 May 2023 19:08:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20homepage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 81b6820f..f4aabdc0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "type": "git", "url": "git+ssh://git@github.com/layui/layui.git" }, - "homepage": "https://github.com/layui/layui/", + "homepage": "https://layui.dev", "devDependencies": { "gulp": "^4.0.2", "gulp-uglify": "^3.0.2",