mirror of
https://github.com/zhaoolee/ChineseBQB.git
synced 2026-01-12 13:44:56 +08:00
zhaoolee commit
This commit is contained in:
4
build.js
4
build.js
@@ -233,7 +233,7 @@ class ReadmeContents {
|
||||
|
||||
// 定义标题行
|
||||
|
||||
let title_row = `${"\n\n"}| Example(示例) | 链接(Entrance link) | ${"\n"}| :---: | :---: |${"\n"}`;
|
||||
let title_row = `${"\n\n"}| Example(示例) | 链接(Entrance link) | 下载地址 | ${"\n"}| :---: | :---: | :---: |${"\n"}`;
|
||||
|
||||
// 定义单行数据 图片样式/链接样式
|
||||
let all_row_data = "";
|
||||
@@ -254,7 +254,7 @@ class ReadmeContents {
|
||||
for (let n = (this.state.readme_contents_info.length) - 1; n > -1; n--) {
|
||||
let dir_name = [...(this.state.readme_contents_info[n].readme_contents_info_href.split("/"))].reverse()[1];
|
||||
console.log(dir_name);
|
||||
let data_row = `| <img height='100px' style='height:100px;' src='${this.state.readme_contents_info[n].readme_contents_info_img}' /> | [${dir_name}(已收录${this.state.readme_contents_info[n].images_number}张)](${this.state.readme_contents_info[n].readme_contents_info_href}) |${"\n"}`;
|
||||
let data_row = `| <img height='100px' style='height:100px;' src='${this.state.readme_contents_info[n].readme_contents_info_img}' /> | [${dir_name}(已收录${this.state.readme_contents_info[n].images_number}张)](${this.state.readme_contents_info[n].readme_contents_info_href}) | [下载地址](https://www.v2fy.com/asset/0i/ChineseBQB/${dir_name}.zip) |${"\n"}`;
|
||||
all_row_data += data_row;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user