PageSourceSearch

https://diskmirror.lingyuzhao.top/30/Binary/Article_Files_CY-Web/js/conf/index_config.js

js lingyuzhao.top collected 2026-10-06 13:17:58 UTC 2,592 bytes, 60 lines download raw bytes

1// 首页加载相关的配置
2const index_config = {
3    // 网站的标题 TODO 这里您可以修改
4    title: 'CY-Web',
5    // 没有文章的时候要展示什么 TODO 这里的展示内容您可以修改!
6    welcome: `您现在可以写些文章啦,点击这里前往写文章界面!!!`,
7    // 文章的大图要展示的图片 TODO 这里您可以修改
8    bigImageUrl: 'image/bigImage.jpg',
9    // 网站的欢迎按钮块点击之后的函数 一般是打开到写文章界面或文章管理界面
10    welcome_click: function () {
11        window.open('https://www.lingyuzhao.top/?/linkController=/articleController&link=-65188883&mark=topic')
12    },
13    // 您要对接的专题的名称 TODO 这里您可以修改
14    topic: 'CY-Web',
15    // 每一次请求多少篇文章 TODO 这里您可以修改
16    count: 32,
17    // 布局结构 这里是个列表 代表布局,例如下面 第一行一个文章 第二行两个文章 第三行两个文章 第四行三个文章
18    layer_list: [1, 2, 2, 3],
19    // 盘镜服务器地址(有些资源需要通过盘镜下载)
20    diskMirror_url: 'https://www.lingyuzhao.top/DiskMirrorBackEnd/',
21    // 盘镜服务器需要的 SK 可以不设置
22    diskMirror_sk: undefined,
23    // 设置您的盘镜所在的域
24    domain: '.lingyuzhao.top'
25};
26
27// 导航相关配置
28index_config.nav = {
29    // 管理博文按钮的索引位置,需要和 buttonList 相对应!
30    manager_index: 1,
31    // 这里每个大括号包裹的就是一个导航按钮 buttonName 就是按钮显示的文字 clickFun 就是按钮被点击之后的操作
32    buttonList: [
33        {
34            buttonName: ' 主页',
35            clickFun: () => window.open('https://diskmirror.lingyuzhao.top/30/Binary/Article_Files_CY-Web/index.html')
36        },
37        {
38            buttonName: ' 管理博文',
39            clickFun: index_config.welcome_click
40        },
41        {
42            buttonName: ' 文章编辑器',
43            clickFun: () => window.open('ArticleWriter.html')
44        },
45        {
46            buttonName: ' 关于',
47            clickFun: () => window.open('ArticleReading.html?path=/opt/web/LS-Web/user_space/CY-Web30/trends/38498944/trends_text.txt')
48        }
49    ]
50}
51
52// 背景色方案相关的配置
53index_config.css = {
54    // 主页全局风格文件 目前支持 您也可以使用您写好的外部css链接
55    // index_322b29.css
56    // index_ece7e4.css
57    // index_ffd6ee.css
58    // index_333338.css
59    'CY-Web-index-css': 'css/index_333338.css'
60}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.