feat(route): add 大连理工大学盘锦校区教学事务办公室 (#9509)
This commit is contained in:
@@ -663,6 +663,22 @@ pageClass: routes
|
||||
|
||||
</Route>
|
||||
|
||||
### 盘锦校区教务教学事务办公室
|
||||
|
||||
<Route author="nczitzk" example="/dut/pjteach" path="/dut/pjteach/:category?" :paramsDesc="['分类,见下表,默认为 [**新闻快递**](http://pjteach.dlut.edu.cn/index/xwkd.htm)']">
|
||||
|
||||
| 新闻快递 | 重要通知 | 教学文件 | 常见问题 | 选课与考试 |
|
||||
| ---- | ---- | ---- | ---- | ----- |
|
||||
| xwkd | zytz | jxwj | cjwt | xkyks |
|
||||
|
||||
::: tip 提示
|
||||
|
||||
表格仅呈现了部分分类栏目,更多分类栏目参见 [大连理工大学盘锦校区教务教学事务办公室](http://pjteach.dlut.edu.cn),并按照上方 [**通用**](#da-lian-li-gong-da-xue-tong-yong) 规则订阅。
|
||||
|
||||
:::
|
||||
|
||||
</Route>
|
||||
|
||||
### 国际合作与交流处(港澳台办)
|
||||
|
||||
<Route author="beautyyuyanli nczitzk" example="/dut/dutdice" path="/dut/dutdice/:category?" :paramsDesc="['分类,见下表,默认为 [**新闻速递**](http://dutdice.dlut.edu.cn/xwsd/xxxw.htm)']">
|
||||
|
||||
@@ -23,6 +23,10 @@ module.exports = {
|
||||
// 默认 -> 通知公告 http://eda.dlut.edu.cn/tzgg/tzgg.htm
|
||||
eda: 'tzgg/tzgg',
|
||||
|
||||
// 盘锦校区教务教学事务办公室:http://pjteach.dlut.edu.cn
|
||||
// 默认 -> 新闻快递 http://pjteach.dlut.edu.cn/index/xwkd.htm
|
||||
pjteach: 'index/xwkd',
|
||||
|
||||
// 国际合作与交流处(港澳台办):http://dutdice.dlut.edu.cn
|
||||
// 默认 -> 新闻速递 http://dutdice.dlut.edu.cn/xwsd/xxxw.htm
|
||||
dutdice: 'xwsd/xxxw',
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
$('.Next, .rjxw_left, .pb_sys_common').remove();
|
||||
|
||||
let items = $('.txt, .itemlist, .wall, .list, .list01, .ny_list, .rjxw_right, .rj_yjs_con, .c_hzjl_list1')
|
||||
let items = $('.txt, .itemlist, .wall, .list, .list01, .ny_list, .rjxw_right, .rj_yjs_con, .c_hzjl_list1, .winstyle67894')
|
||||
.find('a')
|
||||
.slice(0, ctx.query.limit ? parseInt(ctx.query.limit) : 50)
|
||||
.toArray()
|
||||
|
||||
@@ -5,6 +5,7 @@ module.exports = {
|
||||
'/gs/:category?': ['nczitzk'],
|
||||
'/ssdut/:category?': ['nczitzk'],
|
||||
'/eda/:category?': ['nczitzk'],
|
||||
'/pjteach/:category?': ['nczitzk'],
|
||||
'/dutdice/:category?': ['beautyyuyanli', 'nczitzk'],
|
||||
'/tycgzx/:category?': ['beatyyuyanli', 'nczitzk'],
|
||||
};
|
||||
|
||||
+16
-8
@@ -6,7 +6,7 @@ module.exports = {
|
||||
title: '新闻网',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-xin-wen-wang',
|
||||
source: ['/'],
|
||||
target: '/dut/news/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
perdep: [
|
||||
@@ -14,7 +14,7 @@ module.exports = {
|
||||
title: '人事处',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-ren-shi-chu',
|
||||
source: ['/'],
|
||||
target: '/dut/perdep/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
teach: [
|
||||
@@ -22,7 +22,7 @@ module.exports = {
|
||||
title: '教务处',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-jiao-wu-chu',
|
||||
source: ['/'],
|
||||
target: '/dut/teach/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
gs: [
|
||||
@@ -30,7 +30,7 @@ module.exports = {
|
||||
title: '研究生院',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-yan-jiu-sheng-yuan',
|
||||
source: ['/'],
|
||||
target: '/dut/gs/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
ssdut: [
|
||||
@@ -38,7 +38,7 @@ module.exports = {
|
||||
title: '软件学院',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-ruan-jian-xue-yuan',
|
||||
source: ['/'],
|
||||
target: '/dut/ssdut/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
eda: [
|
||||
@@ -46,7 +46,15 @@ module.exports = {
|
||||
title: '开发区校区',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-kai-fa-qu-xiao-qu',
|
||||
source: ['/'],
|
||||
target: '/dut/eda/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
pjteach: [
|
||||
{
|
||||
title: '盘锦校区教务教学事务办公室',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-pan-jin-xiao-qu-jiao-wu-jiao-xue-shi-wu-ban-gong-shi',
|
||||
source: ['/'],
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
dutdice: [
|
||||
@@ -54,7 +62,7 @@ module.exports = {
|
||||
title: '国际合作与交流处(港澳台办)',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-guo-ji-he-zuo-yu-jiao-liu-chu-gang-ao-tai-ban',
|
||||
source: ['/'],
|
||||
target: '/dut/dutdice/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
tycgzx: [
|
||||
@@ -62,7 +70,7 @@ module.exports = {
|
||||
title: '体育场馆中心',
|
||||
docs: 'https://docs.rsshub.app/university.html#da-lian-li-gong-da-xue-ti-yu-chang-guan-zhong-xin',
|
||||
source: ['/'],
|
||||
target: '/dut/tycgzx/:category?',
|
||||
target: (params, url) => `/dut/${url.match(/:\/\/[\w\d]+\./)[1]}/${url.match(/\.cn\/(.*)\.htm/)[1]}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -35,6 +35,13 @@ module.exports = {
|
||||
tzgg: 'tzgg/tzgg',
|
||||
xqxw: 'xqxw/xqxw',
|
||||
},
|
||||
pjteach: {
|
||||
xwkd: 'index/xwkd',
|
||||
zytz: 'index/zytz',
|
||||
xkyks: 'index/xkyks',
|
||||
jxwj: 'index/jxwj',
|
||||
cjwt: 'index/cjwt',
|
||||
},
|
||||
dutdice: {
|
||||
jstz: 'tzgg/jstz',
|
||||
xstong_zhi: 'tzgg/xstong_zhi',
|
||||
|
||||
Reference in New Issue
Block a user