Skip to content

Commit

Permalink
add: ad, algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
TRHX committed Feb 11, 2024
1 parent 134c316 commit ef46bc0
Show file tree
Hide file tree
Showing 21 changed files with 440 additions and 107 deletions.
10 changes: 6 additions & 4 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ module.exports = {
},
]
},
{ text: '报错处理', link: '/pages/error-handling/' },
{ text: '悟空风控', link: '/pages/goku/' },
{ text: '赞助', link: '/pages/sponsor/' },
],
sidebarDepth: 3, // 侧边栏显示深度,默认1,最大2(显示到h3标题)
Expand All @@ -252,9 +252,11 @@ module.exports = {
searchMaxSuggestions: 10, // 搜索结果显示最大数
lastUpdated: '上次更新', // 更新的时间,及前缀文字 string | boolean (取值为git提交时间)

// docsDir: 'docs', // 编辑的文件夹
// editLinks: true, // 编辑链接
// editLinkText: '编辑',
docsRepo: "TRHX/SpiderApi",
docsBranch: 'main',
docsDir: 'docs', // 编辑的文件夹
editLinks: true, // 编辑链接
editLinkText: '帮助我们改善此页',

// 以下配置是Vdoing主题改动的和新增的配置
sidebar: { mode: 'structuring', collapsable: false }, // 侧边栏 'structuring' | { mode: 'structuring', collapsable: Boolean} | 'auto' | 自定义 温馨提示:目录页数据依赖于结构化的侧边栏数据,如果你不设置为'structuring',将无法使用目录页
Expand Down
108 changes: 56 additions & 52 deletions docs/.vuepress/config/htmlModules.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,61 +19,65 @@
*/


// module.exports = {
// // 万维广告
// pageT: `
// <div class="wwads-cn wwads-horizontal page-wwads" data-id="136"></div>
// <style>
// .page-wwads{
// width:100%!important;
// min-height: 0;
// margin: 0;
// }
// .page-wwads .wwads-img img{
// width:80px!important;
// }
// .page-wwads .wwads-poweredby{
// width: 40px;
// position: absolute;
// right: 25px;
// bottom: 3px;
// }
// .wwads-content .wwads-text, .page-wwads .wwads-text{
// height: 100%;
// padding-top: 5px;
// display: block;
// }
// </style>
// `,
// // 赞助商广告
// // sidebarT: `
// // <a href="http://apifox.cn/a103xugaoyi" target="_blank">
// // <img src="https://cdn.staticaly.com/gh/xugaoyi/blog-gitalk-comment@master/img/431669861564_.2470ykdcpbds.jpg" alt="npm" class="no-zoom" style="width: 100%;border-radius: 2px;">
// // <p style="text-align: center;margin: 0;color: #999;font-size: 12px;">(进入注册为作者充电)</p>
// // </a>`,
module.exports = {
// 万维广告
// pageT: `
// <div class="wwads-cn wwads-horizontal page-wwads" data-id="136"></div>
// <style>
// .page-wwads{
// width:100%!important;
// min-height: 0;
// margin: 0;
// }
// .page-wwads .wwads-img img{
// width:80px!important;
// }
// .page-wwads .wwads-poweredby{
// width: 40px;
// position: absolute;
// right: 25px;
// bottom: 3px;
// }
// .wwads-content .wwads-text, .page-wwads .wwads-text{
// height: 100%;
// padding-top: 5px;
// display: block;
// }
// </style>
// `,
// 赞助商广告
sidebarT: `
<img src="https://liteflow.cc/img/donate/chicheng-banner.png" alt="test" class="no-zoom" style="width: 100%;border-radius: 10px;">
<!--<p style="text-align: center;margin: 0;color: #999;font-size: 12px;">(进入注册为作者充电)</p>-->`,

// pageB: `
// <a href="http://apifox.cn/a103xugaoyi" target="_blank">
// <img src="https://jsd.cdn.zzko.cn/gh/xugaoyi/blog-gitalk-comment@master/img/431669861564_.2470ykdcpbds.jpg" alt="test" class="no-zoom" style="width: 100%;border-radius: 10px;">
// <!--<p style="text-align: center;margin: 0;color: #999;font-size: 12px;">(进入注册为作者充电)</p>-->
// </a>
// `,

// // windowRB: `
// // <div class="wwads-cn wwads-vertical windowRB" data-id="136" style="max-width:160px;
// // min-width: auto;min-height:auto;"></div>
// // <style>
// // .windowRB{ padding: 0;}
// // .windowRB .wwads-img{margin-top: 10px;}
// // .windowRB .wwads-content{margin: 0 10px 10px 10px;}
// // .custom-html-window-rb .close-but{
// // display: none;
// // }
// // </style>
// // `
// }
// windowRB: `
// <div class="wwads-cn wwads-vertical windowRB" data-id="136" style="max-width:160px;
// min-width: auto;min-height:auto;"></div>
// <style>
// .windowRB{ padding: 0;}
// .windowRB .wwads-img{margin-top: 10px;}
// .windowRB .wwads-content{margin: 0 10px 10px 10px;}
// .custom-html-window-rb .close-but{
// display: none;
// }
// </style>
// `
}


// module.exports = {
// homeSidebarB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// sidebarT: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// sidebarB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// pageT: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// pageB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// windowLB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// windowRB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试</div>`,
// homeSidebarB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试A</div>`,
// sidebarT: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试B</div>`,
// sidebarB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试C</div>`,
// pageT: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试D</div>`,
// pageB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试E</div>`,
// windowLB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试F</div>`,
// windowRB: `<div style="width:100%;height:100px;color:#fff;background: #eee;">自定义模块测试G</div>`,
// }
Binary file added docs/.vuepress/public/img/ad@1160x200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/img/ad@1200x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/img/ad@1344x360.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file removed docs/.vuepress/public/img/bg.jpeg
Binary file not shown.
Binary file removed docs/.vuepress/public/img/bg.jpg
Binary file not shown.
Binary file added docs/.vuepress/public/img/goku.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/.vuepress/public/img/more.png
Binary file not shown.
Binary file removed docs/.vuepress/public/img/other.png
Binary file not shown.
Binary file removed docs/.vuepress/public/img/panda-waving.png
Binary file not shown.
Binary file removed docs/.vuepress/public/img/python.png
Binary file not shown.
Binary file removed docs/.vuepress/public/img/ui.png
Binary file not shown.
Binary file removed docs/.vuepress/public/img/web.png
Binary file not shown.
46 changes: 42 additions & 4 deletions docs/.vuepress/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,56 @@ iframe
src: url(https://cdn.itbob.cn/font/IMGUltraSharp.woff2) format("woff2"),url(https://cdn.itbob.cn/font/IMGUltraSharp.woff2) format("woff")
}

@font-face {
font-family "BigerOver";
src url("https://cdn.itbob.cn/font/BigerOver.ttf")
}

@font-face {
font-family "EarthOrbiterBold";
src url("https://cdn.itbob.cn/font/EarthOrbiterBold.otf")
}

@font-face {
font-family "Eurofighter";
src url("https://cdn.itbob.cn/font/Eurofighter.otf")
}

@font-face {
font-family "ForeignAlienBold";
src url("https://cdn.itbob.cn/font/ForeignAlienBold.otf")
}

@font-face {
font-family "RobotReaversItalic";
src url("https://cdn.itbob.cn/font/RobotReaversItalic.ttf")
}

@font-face {
font-family "ZeroPrime";
src url("https://cdn.itbob.cn/font/ZeroPrime.otf")
}

@font-face {
font-family "jiangcheng";
src url("https://cdn.itbob.cn/font/jiangcheng.ttf")
}

#main-title
font-family: "IMG Ultra Sharp" !important
font-family: "Eurofighter", "IMG Ultra Sharp", sans-serif !important
font-size: 4.0rem !important

.home-h2
font-family: "360shouhu", sans-serif !important

h1
font-family: "360shouhu" !important
font-family: "jiangcheng", "360shouhu", sans-serif !important

h2
font-family: "360shouhu" !important
font-family: "jiangcheng", "360shouhu", sans-serif !important

.navbar .site-name
font-family: "360shouhu" !important
font-family: "360shouhu", sans-serif !important

.home-wrapper .banner .banner-conent .feature a h2
font-size: 1.8rem !important
Loading

0 comments on commit ef46bc0

Please sign in to comment.