@@ -4,14 +4,23 @@ console.groupEnd();
44/*
55 * 适用于宝鸡中学的考试科目列表
66 */
7- today . gone22 = parseInt ( ( Date . now ( ) - new Date ( 2022 , 5 , 9 ) ) / 864E5 ) ;
8- today . cee24 = parseInt ( ( new Date ( 2024 , 5 , 8 ) - Date . now ( ) ) / 864E5 ) ;
9- exam [ "2022-05-14" ] = function ( ) {
10- slogan . $main = today . cee22 + "天后 峰顶相会" ;
11- $ ( "晚修" , today . date , "22:30" , "23:30" ) ;
12- return today . date + "临时" ;
7+
8+ let specialDate = {
9+ gone22 : parseInt ( ( Date . now ( ) - new Date ( 2022 , 5 , 9 ) ) / 864E5 ) ,
10+ cee24 : parseInt ( ( new Date ( 2024 , 5 , 8 ) - Date . now ( ) ) / 864E5 ) ,
11+ }
12+
13+
14+ exams [ "2022-05-14" ] = {
15+ title : "临时考练" ,
16+ mainSlogan : `${ specialDate . cee22 } 天后 峰顶相会` ,
17+ schedule ( ) {
18+ $ ( "考练" , today . date , "22:30" , "23:30" ) ;
19+ }
1320} ;
14- exam [ 23 ] = function ( ) {
21+
22+ exams [ 23 ] = function ( ) {
23+ subject . type = "23届走了" ;
1524 slogan . $main = "留好照片 因为我们就要出发" ;
1625 slogan . $sub = [
1726 "1025天前,2020年8月13日,我拿到了录取通知书。" ,
@@ -35,10 +44,10 @@ exam[23] = function () {
3544 "今天是2023年6月4日,我们也即将要离开了。" ,
3645 "我和宝中的故事,未完待续。" ,
3746 ] ;
38- return "23届走了" ;
3947}
40- exam [ 24 ] = function ( ) {
41- slogan . $main = "距离高考" + today . cee24 + "天" ;
48+ exams [ 24 ] = function ( ) {
49+ subject . type = "高三日常" ;
50+ slogan . $main = `距离高考${ specialDate . cee24 } 天` ;
4251 subject . $admit = 2 ;
4352 // 夏季作息时间,上午竟然要上五节课
4453 // 秋季作息时间竟然也是
@@ -51,7 +60,7 @@ exam[24] = function () {
5160 $ ( "第3节" , today . date , "09:50" , "10:30" ) ;
5261 $ ( "第4节" , today . date , "10:40" , "11:20" ) ;
5362 $ ( "第5节" , today . date , "11:30" , "12:10" ) ;
54- if ( today . summer ) {
63+ if ( today . isSummer ) {
5564 $ ( "第6节" , today . date , "14:25" , "15:05" , null , null , 5 ) ;
5665 $ ( "第7节" , today . date , "15:15" , "15:55" ) ;
5766 $ ( "第8节" , today . date , "16:10" , "16:50" , null , null , 7 ) ;
@@ -71,29 +80,29 @@ exam[24] = function () {
7180 $ ( "晚三" , today . date , "20:40" , "22:10" , null , null , 7 ) ;
7281 $ ( "晚修" , today . date , "22:20" , "23:30" ) ;
7382 }
74- return "高三日常" ;
7583}
76- exam [ 241 ] = function ( ) {
84+ exams [ 241 ] = function ( ) {
85+ subject . type = "高三理科" ;
7786 slogan . $sub = [ "高二第一学期期末暨模块结业考试(理科):请以实际铃声为准。" ] ;
7887 $ ( "数学" , "2023-01-29" , "14:00" , "16:00" ) ;
7988 $ ( "化学" , "2023-01-29" , "16:30" , "18:10" ) ;
8089 $ ( "语文" , "2023-01-30" , "07:40" , "10:10" ) ;
8190 $ ( "生物" , "2023-01-30" , "10:40" , "12:20" ) ;
8291 $ ( "英语" , "2023-01-30" , "14:00" , "16:00" ) ;
8392 $ ( "物理" , "2023-01-30" , "16:30" , "18:00" ) ;
84- return "高三理科" ;
8593} ;
86- exam [ 242 ] = function ( ) {
94+ exams [ 242 ] = function ( ) {
95+ subject . type = "高三文科" ;
8796 slogan . $sub = [ "高二第一学期期末暨模块结业考试(文科):请以实际铃声为准。" ] ;
8897 $ ( "数学" , "2023-01-29" , "14:00" , "16:00" ) ;
8998 $ ( "历史" , "2023-01-29" , "16:30" , "18:10" ) ;
9099 $ ( "语文" , "2023-01-30" , "07:40" , "10:10" ) ;
91100 $ ( "地理" , "2023-01-30" , "10:40" , "12:20" ) ;
92101 $ ( "英语" , "2023-01-30" , "14:00" , "16:00" ) ;
93102 $ ( "政治" , "2023-01-30" , "16:30" , "18:00" ) ;
94- return "高三文科" ;
95103} ;
96- exam [ 251 ] = function ( ) {
104+ exams [ 251 ] = function ( ) {
105+ subject . type = "高二物理" ;
97106 slogan . $sub = [ "高二第一学期期中考试:请以实际铃声为准。" ] ;
98107 $ ( "语文" , "2023-11-10" , "07:40" , "10:10" ) ;
99108 $ ( "化学" , "2023-11-10" , "10:40" , "12:10" ) ;
@@ -103,9 +112,9 @@ exam[251] = function () {
103112 $ ( "生物" , "2023-11-11" , "10:30" , "12:00" ) ;
104113 $ ( "物理" , "2023-11-11" , "14:00" , "15:30" ) ;
105114 $ ( "政治" , "2023-11-11" , "16:00" , "17:30" ) ;
106- return "高二物理" ;
107115} ;
108- exam [ 252 ] = function ( ) {
116+ exams [ 252 ] = function ( ) {
117+ subject . type = "高二历史" ;
109118 slogan . $sub = [ "高二第一学期期中考试:请以实际铃声为准。" ] ;
110119 $ ( "语文" , "2023-11-10" , "07:40" , "10:10" ) ;
111120 $ ( "化学" , "2023-11-10" , "10:40" , "12:10" ) ;
@@ -115,9 +124,9 @@ exam[252] = function () {
115124 $ ( "生物" , "2023-11-11" , "10:30" , "12:00" ) ;
116125 $ ( "历史" , "2023-11-11" , "14:00" , "15:30" ) ;
117126 $ ( "政治" , "2023-11-11" , "16:00" , "17:30" ) ;
118- return "高二历史" ;
119127} ;
120- exam [ 261 ] = function ( ) {
128+ exams [ 261 ] = function ( ) {
129+ subject . type = "高一" ;
121130 slogan . $sub = [ "高一第一学期期中考试:请以实际铃声为准。" ] ;
122131 $ ( "语文" , "2023-11-10" , "08:00" , "10:00" ) ;
123132 $ ( "生物" , "2023-11-10" , "10:30" , "12:00" ) ;
@@ -127,5 +136,4 @@ exam[261] = function () {
127136 $ ( "化学" , "2023-11-11" , "10:30" , "12:00" ) ;
128137 $ ( "物理" , "2023-11-11" , "14:00" , "15:30" ) ;
129138 $ ( "地理" , "2023-11-11" , "16:00" , "17:00" ) ;
130- return "高一" ;
131139} ;
0 commit comments