docs: mark bt and podcast routes

This commit is contained in:
DIYgod
2019-04-23 14:47:34 +08:00
parent b3fa77b8c7
commit 8855bee45b
3 changed files with 18 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="routeBlock" :id="path">
<h4 class="name">{{name}} <Badge text="反爬严格" type="warn" v-if="crawlerBadge"/> <Author :uid=author />
<h4 class="name">{{name}} <Badge text="支持 BT" type="tip" v-if="supportBT"/> <Badge text="支持播客" type="tip" v-if="supportPodcast"/> <Author :uid=author /> <Badge text="反爬严格" type="warn" v-if="crawlerBadge"/>
<a :href="'#'+path" aria-hidden="true" class="header-anchor">#</a>
</h4>
<p class="example">
@@ -48,6 +48,14 @@ export default {
crawlerBadge: {
type: String,
default: null
},
supportBT: {
type: String,
default: null
},
supportPodcast: {
type: String,
default: null
}
},
methods: {
@@ -67,4 +75,7 @@ li.params p {
.routeBlock {
margin: 1rem 0 2rem;
}
#app .page .badge.tip {
background-color: #FFD6A6;
}
</style>

View File

@@ -20,7 +20,7 @@
<Route name="歌手专辑" author="metowolf" example="/ncm/artist/2116" path="/ncm/artist/:id" :paramsDesc="[' 歌手 id, 可在歌手详情页 URL 中找到']"/>
<Route name="电台节目" author="magic-akari" example="/ncm/djradio/347317067" path="/ncm/djradio/:id" :paramsDesc="['节目 id, 可在电台节目页 URL 中找到']"/>
<Route name="电台节目" author="magic-akari" example="/ncm/djradio/347317067" path="/ncm/djradio/:id" :paramsDesc="['节目 id, 可在电台节目页 URL 中找到']"/ supportPodcast="1">
## 爱奇艺
@@ -32,7 +32,7 @@
## 喜马拉雅
<Route name="专辑(支持泛用型播客订阅)" author="lengthmin jjeejj" example="/ximalaya/album/299146" path="/ximalaya/album/:id/:all?" :paramsDesc="['专辑 id, 可在对应专辑页面的 URL 中找到','是否需要获取全部节目,默认不获取,填入该字段则视为获取']">
<Route name="专辑" author="lengthmin jjeejj" example="/ximalaya/album/299146" path="/ximalaya/album/:id/:all?" :paramsDesc="['专辑 id, 可在对应专辑页面的 URL 中找到','是否需要获取全部节目,默认不获取,填入该字段则视为获取']" supportPodcast="1">
::: warning 注意
专辑 id 是跟在**分类拼音**后的那个 id, 不要输成某集的 id 了
@@ -108,7 +108,7 @@
## 电影天堂
<Route name="新片精品" author="imgss" example="/dytt" path="/dytt"/>
<Route name="新片精品" author="imgss" example="/dytt" path="/dytt" supportBT="1"/>
## rs05 人生 05 电影
@@ -137,7 +137,7 @@
:::
<Route name="影视" author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id对应影视的 URL 中找到,为空时输出最近更新']"/>
<Route name="影视" author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id对应影视的 URL 中找到,为空时输出最近更新']" supportBT="1"/>
## Sankaku Complex
@@ -188,7 +188,7 @@
| ------ | ------ | ------ | ------ | ------ | ------ |
| 剧情片 | 战争片 | 国产剧 | 港台剧 | 日韩剧 | 欧美剧 |
<Route name="资源" author="SettingDust" example="/mp4ba/1" path="/mp4ba/:param" :paramsDesc="['类型/关键字']"/>
<Route name="资源" author="SettingDust" example="/mp4ba/1" path="/mp4ba/:param" :paramsDesc="['类型/关键字']" supportBT="1"/>
## 中国高清网

View File

@@ -420,7 +420,7 @@ type 为 all 时category 参数不支持 cost 和 free
## 播客 IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
<Route name="IBC岩手放送IBCラジオ イヤーマイッタマイッタ" author="fengkx" example="/maitta" path="/maitta" />
<Route name="IBC岩手放送IBCラジオ イヤーマイッタマイッタ" author="fengkx" example="/maitta" path="/maitta" supportPodcast="1" />
## 博客: 敬维