Skip to content

Commit

Permalink
feat(update doc): ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
JCAlways committed Nov 8, 2023
1 parent 6b13477 commit 152f3dd
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 64 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"server": "hexo server"
},
"hexo": {
"version": "6.3.0"
"version": "7.0.0"
},
"dependencies": {
"hexo": "^6.3.0",
"hexo": "^7.0.0",
"hexo-algolia": "^1.3.2",
"hexo-deployer-git": "^4.0.0",
"hexo-generator-archive": "^2.0.0",
Expand Down
4 changes: 4 additions & 0 deletions source/_data/link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
link: https://pan.zhangsifan.com
avatar: https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg
descr: 我的网盘集合
- name: 青龙面板
link: http://ql.zhangsifan.com
avatar: https://qn.whyour.cn/logo.png
descr: 青龙面板

- class_name: 技术支持
class_desc: 特别鸣谢
Expand Down
1 change: 1 addition & 0 deletions source/_posts/20220909px.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- 拖拽
categories:
- 使用文档
- Element Plus
keywords:
description: 为方便用户访问本博客内容,提供文章导航服务,请选择对应的文章进行浏览!
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
Expand Down
3 changes: 3 additions & 0 deletions source/_posts/20220915up.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ title: Vue3 El-upload 开启上传文件夹功能
date: 2022-09-15
updated:
tags:
- 文件上传
categories:
- 使用文档
- Element Plus
keywords:
description:
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
Expand Down
4 changes: 3 additions & 1 deletion source/_posts/20221010bg.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
title: WPS WEB Office 前端使用教程
date: 2022-10-10
updated:
tags: weboffice
tags:
- WPS Office
categories:
- Web Office
keywords:
description: 使用WPS WEB Office,可以在浏览器中打开WPS Office文档,并且可以在线编辑,保存,打印等操作,本文将介绍如何在前端使用WPS WEB Office.
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
Expand Down
20 changes: 15 additions & 5 deletions source/_posts/20221021ov.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ title: 利用 kkFileView 实现在线预览文件
date: 2022-10-21
updated:
tags:
- kkFileViews
- 在线预览
categories:
- Web Office
keywords:
description: 为方便用户访问本博客内容,提供文章导航服务,请选择对应的文章进行浏览!
description: kkFileView为文件文档在线预览解决方案,该项目使用流行的spring boot搭建,易上手和部署,基本支持主流办公文档的在线预览,如doc,docx,xls,xlsx,ppt,pptx,pdf,txt,zip,rar,图片,视频,音频等等
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
---

Expand All @@ -23,12 +26,19 @@ docker run -it -p 8012:8012 keking/kkfileview

# 前端使用

```html
```ts
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/[email protected]/base64.min.js"
></script>
></script>;

var url = 'http://127.0.0.1:8080/file/test.txt'; //要预览文件的访问地址
window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(previewUrl)));
const previewUrl = "http://127.0.0.1:8080/file/test.txt"; //要预览文件的访问地址
window.open(
"http://127.0.0.1:8012/onlinePreview?url=" +
encodeURIComponent(Base64.encode(previewUrl))
);
```

# 示例

<iframe src='http://office.haoxianggroup.cn' style="width:100%;height:1000px;" frameborder="0"></iframe>
6 changes: 6 additions & 0 deletions source/_posts/navs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-C
[GeeTest3.0 使用教程](/posts/20230330gt/)

[GeeTest4.0 使用教程](/posts/20230329gt/)

## web office 类

[WPS WEB Office 前端使用教程](/posts/20221010bg/)

[利用 kkFileView 实现在线预览文件](/posts/20221021ov)
117 changes: 61 additions & 56 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ abbrev@^1.1.1:
resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==

abbrev@^2.0.0:
version "2.0.0"
resolved "https://registry.npmmirror.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf"
integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==

accepts@~1.3.5:
version "1.3.8"
resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz"
Expand Down Expand Up @@ -189,7 +194,7 @@ binary-extensions@^2.0.0:
resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==

bluebird@^3.2.2, bluebird@^3.5.1, bluebird@^3.5.2, bluebird@^3.5.5, bluebird@^3.7.2:
bluebird@^3.5.1, bluebird@^3.5.2, bluebird@^3.5.5, bluebird@^3.7.2:
version "3.7.2"
resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
Expand Down Expand Up @@ -365,9 +370,9 @@ cssstyle@^2.3.0:
dependencies:
cssom "~0.3.6"

cuid@^2.1.4:
cuid@^2.1.8:
version "2.1.8"
resolved "https://registry.npmjs.org/cuid/-/cuid-2.1.8.tgz"
resolved "https://registry.npmmirror.com/cuid/-/cuid-2.1.8.tgz#cbb88f954171e0d5747606c0139fb65c5101eac0"
integrity sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==

data-urls@^3.0.2:
Expand Down Expand Up @@ -704,7 +709,7 @@ global@^4.3.2:
min-document "^2.19.0"
process "^0.11.10"

graceful-fs@^4.1.11, graceful-fs@^4.1.3, graceful-fs@^4.2.10:
graceful-fs@^4.1.11, graceful-fs@^4.2.10:
version "4.2.10"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz"
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
Expand Down Expand Up @@ -769,14 +774,14 @@ hexo-deployer-git@^4.0.0:
nunjucks "^3.2.3"
picocolors "^1.0.0"

hexo-front-matter@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-3.0.0.tgz"
integrity sha512-hSQTPUmB/BCe1BFYmXRkPyLk8rqbBqHCQq+rjwwOJuEfOADrFaVK2VPZb90tJzPyXE1xSxpgCxE/AZq0CyTVwg==
hexo-front-matter@^4.2.1:
version "4.2.1"
resolved "https://registry.npmmirror.com/hexo-front-matter/-/hexo-front-matter-4.2.1.tgz#c28ee74f66ab76c98fa73877b5ff7a9cc14161cc"
integrity sha512-sJJI0GNmejYiwBvgnGRKn5V3sbODB4dNPr8jyw2Qp0PRHr4Uuyv8iyxw6WfK3+T7yvzYvJOh+tZ7jnwr2BYARA==
dependencies:
js-yaml "^4.1.0"

hexo-fs@^3.0.1, hexo-fs@^3.1.0:
hexo-fs@^3.0.1:
version "3.1.0"
resolved "https://registry.npmjs.org/hexo-fs/-/hexo-fs-3.1.0.tgz"
integrity sha512-SfoDH7zlU9Iop+bAfEONXezbNIkpVX1QqjNCBYpapilZR+xVOCfTEdlNixanrKBbLGPb2fXqrdDBFgrKuiVGQQ==
Expand All @@ -786,7 +791,7 @@ hexo-fs@^3.0.1, hexo-fs@^3.1.0:
graceful-fs "^4.1.11"
hexo-util "^2.0.0"

hexo-fs@^4.0.0:
hexo-fs@^4.0.0, hexo-fs@^4.1.1:
version "4.1.1"
resolved "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-4.1.1.tgz#4a95d0d6b15eb7baf642ce54b8234fb32e5f032d"
integrity sha512-aDysNTyv8ElcerbFVbPLRXnYt+QDY6gAOZZ5DLbCxudY0Ywppqd+uZ03gZ2BDypIBvmNB27WYWYz76M+Yv/YXw==
Expand Down Expand Up @@ -846,12 +851,12 @@ hexo-generator-tag@^2.0.0:
dependencies:
hexo-pagination "3.0.0"

hexo-i18n@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/hexo-i18n/-/hexo-i18n-1.0.0.tgz"
integrity sha512-yw90JHr7ybUHN/QOkpHmlWJj1luVk5/v8CUU5NRA0n4TFp6av8NT7ujZ10GDawgnQEdMHnN5PUfAbNIVGR6axg==
hexo-i18n@^2.0.0:
version "2.0.0"
resolved "https://registry.npmmirror.com/hexo-i18n/-/hexo-i18n-2.0.0.tgz#ec7abc160ffef202524f3ff8076b85d5701c447b"
integrity sha512-dkUXecEtChaQMdTHN4WR13c8GwKqjbSOZPJS9qDqV6Ebnb77Wa/nQzWFckhP0dCps3a9lUQBd8hYGOMbOosiQQ==
dependencies:
sprintf-js "^1.0.3"
sprintf-js "^1.1.2"

hexo-log@^2.0.0:
version "2.0.0"
Expand All @@ -860,10 +865,10 @@ hexo-log@^2.0.0:
dependencies:
chalk "^4.0.0"

hexo-log@^3.0.0, hexo-log@^3.2.0:
version "3.2.0"
resolved "https://registry.npmjs.org/hexo-log/-/hexo-log-3.2.0.tgz"
integrity sha512-fk7jOW3hvKiAv4Q/d8UxaQlARwcv+5KjGcnxexUrqBqyWbMCLmw7jhMHTSRLNNQpaoTlF5ff+kQkPi4yhp9iag==
hexo-log@^4.0.1:
version "4.1.0"
resolved "https://registry.npmmirror.com/hexo-log/-/hexo-log-4.1.0.tgz#54b42c250335067b5c60b4137f501607454efda0"
integrity sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==
dependencies:
picocolors "^1.0.0"

Expand Down Expand Up @@ -945,7 +950,7 @@ hexo-util@^2.0.0, hexo-util@^2.1.0, hexo-util@^2.7.0:
prismjs "^1.17.1"
strip-indent "^3.0.0"

hexo-util@^3.1.0:
hexo-util@^3.0.1, hexo-util@^3.1.0:
version "3.1.0"
resolved "https://registry.npmmirror.com/hexo-util/-/hexo-util-3.1.0.tgz#0f2cfc907c91d3f9d69e119d7a521563617ceed2"
integrity sha512-LmztAhkJHQ59VHqz6AnvwEKiNA0pCBBI0qW08cCzjhnpGoqZ8tlGDwElzy7oTxCvMChkiqg5V8VflhdI8tHsGg==
Expand All @@ -963,24 +968,24 @@ hexo-wordcount@^6.0.1:
resolved "https://registry.npmjs.org/hexo-wordcount/-/hexo-wordcount-6.0.1.tgz"
integrity sha512-tbo2P9xRWEKQmRf7+XuPjx9It1MnaE26nA+EEb2DN39gK1x+26W7Nm4Iyp4AugQjBWYYDx7OLn4gp1WFxQpQew==

hexo@^6.3.0:
version "6.3.0"
resolved "https://registry.npmjs.org/hexo/-/hexo-6.3.0.tgz"
integrity sha512-4Jq+rWd8sYvR1YdIQyndN/9WboQ/Mqm6eax8CjrjO+ePFm2oMVafSOx9WEyJ42wcLOHjfyMfnlQhnUuNmJIpPg==
hexo@^7.0.0:
version "7.0.0"
resolved "https://registry.npmmirror.com/hexo/-/hexo-7.0.0.tgz#3e1fb70373478668ba7e091737052e436a44b263"
integrity sha512-3iRSYReDcYd+bdCrDYS53aFjR717M+eSwKVXdM1tF2QETi8urcwDdDDoD7Nm2E0trqN4oeoHJ7FoXbn2UsZxqw==
dependencies:
abbrev "^1.1.1"
abbrev "^2.0.0"
archy "^1.0.0"
bluebird "^3.7.2"
hexo-cli "^4.3.0"
hexo-front-matter "^3.0.0"
hexo-fs "^3.1.0"
hexo-i18n "^1.0.0"
hexo-log "^3.2.0"
hexo-util "^2.7.0"
hexo-front-matter "^4.2.1"
hexo-fs "^4.1.1"
hexo-i18n "^2.0.0"
hexo-log "^4.0.1"
hexo-util "^3.0.1"
js-yaml "^4.1.0"
js-yaml-js-types "^1.0.0"
micromatch "^4.0.4"
moize "^6.1.0"
moize "^6.1.6"
moment "^2.29.1"
moment-timezone "^0.5.34"
nunjucks "^3.2.3"
Expand All @@ -991,7 +996,7 @@ hexo@^6.3.0:
text-table "^0.2.0"
tildify "^2.0.0"
titlecase "^1.1.3"
warehouse "^4.0.2"
warehouse "^5.0.0"

highlight.js@^11.0.1:
version "11.6.0"
Expand Down Expand Up @@ -1266,10 +1271,10 @@ marked@^4.3.0:
resolved "https://registry.npmmirror.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3"
integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==

micro-memoize@^4.0.11:
version "4.0.11"
resolved "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.11.tgz"
integrity sha512-CjxsaYe4j43df32DtzzNCwanPqZjZDwuQAZilsCYpa2ZVtSPDjHXbTlR4gsEZRyO9/twHs0b7HLjvy/sowl7sA==
micro-memoize@^4.1.2:
version "4.1.2"
resolved "https://registry.npmmirror.com/micro-memoize/-/micro-memoize-4.1.2.tgz#ce719c1ba1e41592f1cd91c64c5f41dcbf135f36"
integrity sha512-+HzcV2H+rbSJzApgkj0NdTakkC+bnyeiUxgT6/m7mjcz1CmM22KYFKp+EVj1sWe4UYcnriJr5uqHQD/gMHLD+g==

micromatch@^4.0.2, micromatch@^4.0.4:
version "4.0.5"
Expand Down Expand Up @@ -1332,13 +1337,13 @@ minimist@^1.2.5:
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz"
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==

moize@^6.1.0:
version "6.1.3"
resolved "https://registry.npmjs.org/moize/-/moize-6.1.3.tgz"
integrity sha512-Cn+1T5Ypieeo46fn8X98V2gHj2VSRohVPjvT8BRvNANJJC3UOeege/G84xA/3S9c5qA4p9jOdSB1jfhumwe8qw==
moize@^6.1.6:
version "6.1.6"
resolved "https://registry.npmmirror.com/moize/-/moize-6.1.6.tgz#ac2e723e74b951875fe2c0c3433405c2b098c3e6"
integrity sha512-vSKdIUO61iCmTqhdoIDrqyrtp87nWZUmBPniNjO0fX49wEYmyDO4lvlnFXiGcaH1JLE/s/9HbiK4LSHsbiUY6Q==
dependencies:
fast-equals "^3.0.1"
micro-memoize "^4.0.11"
micro-memoize "^4.1.2"

moment-timezone@^0.5.34:
version "0.5.37"
Expand Down Expand Up @@ -1721,9 +1726,9 @@ resolve@^1.11.0, resolve@^1.15.1, resolve@^1.22.0:
path-parse "^1.0.7"
supports-preserve-symlinks-flag "^1.0.0"

rfdc@^1.1.4:
rfdc@^1.3.0:
version "1.3.0"
resolved "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz"
resolved "https://registry.npmmirror.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==

[email protected]:
Expand Down Expand Up @@ -1814,10 +1819,10 @@ source-map@~0.6.1:
resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==

sprintf-js@^1.0.3:
version "1.1.2"
resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz"
integrity sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==
sprintf-js@^1.1.2:
version "1.1.3"
resolved "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a"
integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==

[email protected]:
version "2.0.1"
Expand Down Expand Up @@ -2008,18 +2013,18 @@ w3c-xmlserializer@^3.0.0:
dependencies:
xml-name-validator "^4.0.0"

warehouse@^4.0.2:
version "4.0.2"
resolved "https://registry.npmjs.org/warehouse/-/warehouse-4.0.2.tgz"
integrity sha512-GixS7SolBGu81rnxYM6bScxdElLM97Jx/kr0a6B6PGBWFqvHeuWFj7QbgEX1YWZSxiJt/aR6dBVQKC/PvvihdQ==
warehouse@^5.0.0:
version "5.0.0"
resolved "https://registry.npmmirror.com/warehouse/-/warehouse-5.0.0.tgz#b3892ad133a517d8d235fa6b9aea8752b8db34d6"
integrity sha512-3NDCqIF1r83ermIM6QffsJPn9sYoNN/aohb87edraeE2NF57yjSd651f+G7tqOgg4SZuD2DgGmwekc8fTIdi2g==
dependencies:
bluebird "^3.2.2"
cuid "^2.1.4"
graceful-fs "^4.1.3"
hexo-log "^3.0.0"
bluebird "^3.7.2"
cuid "^2.1.8"
graceful-fs "^4.2.10"
hexo-log "^4.0.1"
is-plain-object "^5.0.0"
jsonparse "^1.3.1"
rfdc "^1.1.4"
rfdc "^1.3.0"
through2 "^4.0.2"

webidl-conversions@^7.0.0:
Expand Down

0 comments on commit 152f3dd

Please sign in to comment.