Skip to content

Commit

Permalink
feat(update): ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
JCAlways committed Oct 27, 2023
1 parent d319653 commit 6b13477
Show file tree
Hide file tree
Showing 17 changed files with 206 additions and 190 deletions.
2 changes: 1 addition & 1 deletion _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ footer:
enable: true
since: 2019
# custom_text: <a href="https://beian.miit.gov.cn/#/Integrated/index"><span>京ICP备19044601号</span></a>
custom_text: <a style="display:flex;justify-content:center" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral">本网站由<img style="width:50px;display:inline-block;" src="https://x1.haoxianggroup.cn/static/ypy_logo.png" ></img>提供CDN/云存储服务</a>
custom_text: <a style="display:flex;justify-content:center" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral">本网站由<img style="width:56px;display:inline-block;" src="https://x1.haoxianggroup.cn/static/ypy_logo.png" ></img>提供CDN/云存储服务</a>

copyright: true # Copyright of theme and framework

Expand Down
30 changes: 0 additions & 30 deletions index.html

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"hexo-renderer-pug": "^3.0.0",
"hexo-renderer-stylus": "^3.0.0",
"hexo-server": "^3.0.0",
"hexo-theme-butterfly": "^4.9.0",
"hexo-theme-butterfly": "^4.10.0",
"hexo-theme-landscape": "^1.0.0",
"hexo-wordcount": "^6.0.1"
}
Expand Down
8 changes: 4 additions & 4 deletions source/_data/link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
- class_name: 我的作品
class_desc:
link_list:
- name: 浩翔控股集团官网
- name: 浩翔集团官网
link: https://www.haoxianggroup.cn
avatar: https://x1.haoxianggroup.cn/static/favicon.ico
descr: 浩翔控股集团官网
- name: 浩翔控股集团内部办公系统
- name: 内部办公系统
link: https://oa.haoxianggroup.cn
avatar: https://x1.haoxianggroup.cn/static/favicon.ico
descr: 浩翔控股集团内部办公系统
- name: 浩翔控股集团地产销售系统
- name: 地产销售系统
link: https://oa.haoxianggroup.cn
avatar: https://x1.haoxianggroup.cn/static/favicon.ico
descr: 浩翔控股集团地产销售系统
- name: 浩翔控股集团财务系统
- name: 财务系统
link: https://oa.haoxianggroup.cn
avatar: https://x1.haoxianggroup.cn/static/favicon.ico
descr: 浩翔控股集团财务系统
Expand Down
5 changes: 3 additions & 2 deletions source/_posts/20220903nr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Nprogress使用教程
date: 2022-09-03
updated:
updated:
tags:
categories:
keywords:
Expand All @@ -18,6 +18,7 @@ npm install nprogress
```

# 使用

```TypeScript
import "nprogress/nprogress.css";
import NProgress from "nprogress";
Expand All @@ -26,4 +27,4 @@ NProgress.configure({ showSpinner: false });
NProgress.start();
// 隐藏进度条
NProgress.done();
```
```
7 changes: 5 additions & 2 deletions source/_posts/20220903sg.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: Fingerprintjs使用教程
date: 2022-09-03
updated:
updated:
tags:
- Fingerprintjs
categories:
- 验证类
keywords:
description: 为方便用户访问本博客内容,提供文章导航服务,请选择对应的文章进行浏览!
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
Expand All @@ -18,6 +20,7 @@ npm i @fingerprintjs/fingerprintjs
```

# 使用

```TypeScript
import FingerprintJS from "@fingerprintjs/fingerprintjs";

Expand All @@ -30,4 +33,4 @@ const getFingerPrintID = async () => {
setTimeout(() => {
console.log(await getFingerPrintID())
}, 1000);
```
```
9 changes: 6 additions & 3 deletions source/_posts/20220905ap.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
---
title: Vue3使用高德地图
date: 2022-09-05
updated:
updated:
tags:
- 高德地图
categories:
- 地图类
keywords:
description: 为方便用户访问本博客内容,提供文章导航服务,请选择对应的文章进行浏览!
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
---

[官方文档](https://lbs.amap.com/api/jsapi-v2/guide/webcli/map-vue1)

# 安装Loader
# 安装 Loader

```bash
npm i @amap/amap-jsapi-loader
```

# 使用

```typescript
<!-- MyMap.vue -->
<template>
Expand Down Expand Up @@ -79,4 +82,4 @@ onMounted(() => {
height: 800px;
}
</style>
```
```
8 changes: 6 additions & 2 deletions source/_posts/20220909px.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
title: vue.draggable vue3-拖拽排序组件
date: 2022-09-09
updated:
updated:
tags:
- Element-Plus
- 拖拽
categories:
- 使用文档
keywords:
description: 为方便用户访问本博客内容,提供文章导航服务,请选择对应的文章进行浏览!
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
Expand All @@ -20,6 +23,7 @@ npm i -S vuedraggable@next
```

# 使用

```TypeScript
<template>
<draggable
Expand Down Expand Up @@ -50,4 +54,4 @@ const onEnd = () => {};
onMounted(() => {});
</script>
<style lang="less" scoped></style>
```
```
6 changes: 3 additions & 3 deletions source/_posts/20220915up.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Vue3 El-upload 开启上传文件夹功能
date: 2022-09-15
updated:
updated:
tags:
categories:
keywords:
description:
description:
cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-COVER.png
---

Expand Down Expand Up @@ -51,4 +51,4 @@ onMounted(() => {
});
</script>
<style lang="less" scoped></style>
```
```
26 changes: 15 additions & 11 deletions source/_posts/20221010bg.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: WPS WEB Office 前端使用教程
date: 2022-10-10
updated:
updated:
tags: weboffice
categories:
keywords:
Expand All @@ -11,28 +11,32 @@ cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-C

# 相关链接

- [WPS开放平台](https://open.wps.cn/)
- [WebOffice文档](https://wwo.wps.cn/docs/)
- [JS-SDK下载](https://wwo.wps.cn/docs/update-log/jssdk/)
- [WPS 开放平台](https://open.wps.cn/)
- [WebOffice 文档](https://wwo.wps.cn/docs/)
- [JS-SDK 下载](https://wwo.wps.cn/docs/update-log/jssdk/)


# 下载JS-SDK
# 下载 JS-SDK

在使用之前,请先下载最新版本的 js-sdk 代码。

# 引用JS-SDK
# 引用 JS-SDK

- 非模块化

```html
<script src="web-office-sdk.umd.js"></script>
```

- CommonJS 规范

```js
let WebOfficeSDK = require('./web-office-sdk.cjs.js');
let WebOfficeSDK = require("./web-office-sdk.cjs.js");
```

- 非模块化

```ts
import WebOfficeSDK from './web-office-sdk.es.js';
import WebOfficeSDK from "./web-office-sdk.es.js";
```

# 使用
Expand All @@ -53,7 +57,7 @@ const init = async () => {
});
wps.setToken({
token: token,
timeout: 10000,
timeout: 10000,
});
};
onMounted(() => {
Expand All @@ -71,4 +75,4 @@ onMounted(() => {
}
}
</style>
```
```
10 changes: 7 additions & 3 deletions source/_posts/20221021ov.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 利用 kkFileView 实现在线预览文件
date: 2022-10-21
updated:
updated:
tags:
categories:
keywords:
Expand All @@ -11,7 +11,7 @@ cover: https://cdn.jsdelivr.net/gh/jerryc127/CDN/img/Hexo-Built-in-Tag-Plugins-C

[官方文档](https://kkfileview.keking.cn/zh-cn/index.html)

# Docker容器环境运行
# Docker 容器环境运行

```bash
# 拉取镜像
Expand All @@ -22,8 +22,12 @@ docker run -it -p 8012:8012 keking/kkfileview
```

# 前端使用

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/base64.min.js"></script>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/[email protected]/base64.min.js"
></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)));
Expand Down
Loading

0 comments on commit 6b13477

Please sign in to comment.