Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求跨网段优化 #27

Open
wants to merge 220 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
596a415
更新版本
gedoor Mar 2, 2022
936542e
cover url编码
gedoor Mar 2, 2022
abbf6a5
更新版本
gedoor Mar 2, 2022
1109760
更新版本
gedoor Mar 2, 2022
4869f87
更新版本
gedoor Mar 2, 2022
463d3ef
fix:书架无书籍提示后端连接失败
Xwite Mar 2, 2022
3463467
Merge pull request #1 from Xwite/master
gedoor Mar 2, 2022
c029f7d
优化
gedoor Mar 2, 2022
6cfb2fe
优化
gedoor Mar 2, 2022
fb2ea14
优化
gedoor Mar 2, 2022
03df96f
优化
gedoor Mar 2, 2022
6c58d58
优化
gedoor Mar 2, 2022
c9f5c89
优化
gedoor Mar 2, 2022
23d3f35
优化
gedoor Mar 2, 2022
8def846
优化
gedoor Mar 2, 2022
d524b32
封面是dataURL时不代理图片
Xwite Mar 2, 2022
7b9551e
代理正文图片
Xwite Mar 2, 2022
4eedf67
fix:正则错误
Xwite Mar 2, 2022
3523cc7
改一下github链接
Xwite Mar 2, 2022
eb4c0d8
优化
gedoor Mar 2, 2022
99662f0
web正文图片代理
Xwite Mar 2, 2022
7b78687
Create releaseMaster.yml
Xwite Mar 2, 2022
b8c2a7d
fix:proxyImage not defined
Xwite Mar 2, 2022
ec97ab9
Merge pull request #2 from Xwite/master
gedoor Mar 2, 2022
2fbb978
优化
gedoor Mar 2, 2022
c8a2774
bookurl编码
Xwite Mar 2, 2022
8387a03
更新release api;更改workflow触发方式
Xwite Mar 2, 2022
5668ef0
优化
gedoor Mar 2, 2022
8e8a11c
Merge pull request #3 from Xwite/master
gedoor Mar 2, 2022
65158d6
正文图片居中
Xwite Mar 2, 2022
1318fbf
Merge pull request #4 from Xwite/master
gedoor Mar 3, 2022
762fcff
use encodeURIComponent
Xwite Mar 3, 2022
abb5863
test
Xwite Mar 3, 2022
dc7e0c0
Update releaseMaster.yml
Xwite Mar 3, 2022
c7b8d82
Update releaseMaster.yml
Xwite Mar 3, 2022
6545245
Merge pull request #5 from Xwite/master
gedoor Mar 3, 2022
9408bec
添加读取配置
gedoor Mar 3, 2022
c393f8f
添加 ajax 可配置
zsakvo Mar 3, 2022
a93697b
编译完成后push到legado
Xwite Mar 3, 2022
f7cb711
Merge branch 'master' into master
Xwite Mar 3, 2022
e2daf25
Merge pull request #6 from Xwite/master
gedoor Mar 3, 2022
1150ce3
Merge branch 'master' of https://github.com/gedoor/legado_web_bookshelf
zsakvo Mar 3, 2022
a37f842
fix:invalid name
Xwite Mar 3, 2022
0fc9ae9
Merge pull request #8 from Xwite/patch-2
gedoor Mar 3, 2022
2a674c1
优化
gedoor Mar 3, 2022
300ac92
测试自动push
gedoor Mar 3, 2022
71ce3df
Update releaseMaster.yml
Xwite Mar 3, 2022
f357d51
Update releaseMaster.yml
Xwite Mar 3, 2022
7d2201e
Update releaseMaster.yml
Xwite Mar 3, 2022
275f4c4
Merge pull request #9 from Xwite/patch-2
gedoor Mar 3, 2022
79c6eb1
添加读取配置
gedoor Mar 3, 2022
a93c254
优化
gedoor Mar 3, 2022
8b80596
格式化代码
gedoor Mar 3, 2022
32cb86a
添加读取配置
gedoor Mar 3, 2022
0962869
fix vuex
zsakvo Mar 3, 2022
c9cc858
添加读取配置
gedoor Mar 3, 2022
37a1a56
优化
gedoor Mar 4, 2022
59f7f75
优化
gedoor Mar 4, 2022
fa0179a
优化
gedoor Mar 4, 2022
5a2b475
优化
gedoor Mar 4, 2022
89cc33c
优化
gedoor Mar 4, 2022
d73302b
优化
gedoor Mar 4, 2022
9c0c033
ci:release nothing
Xwite Mar 4, 2022
b5240d9
feat:正文图片宽度和阅读宽度一致
Xwite Mar 4, 2022
895795a
Merge pull request #10 from Xwite/master
gedoor Mar 4, 2022
42b34a0
ci:fix path error
Xwite Mar 4, 2022
2cebc10
Merge pull request #11 from Xwite/master
gedoor Mar 4, 2022
d9309b5
ci:update release.yml
Xwite Mar 4, 2022
64f8178
feat:Lazyload images
Xwite Mar 6, 2022
5ad9eb3
ci:update release.yml
Xwite Mar 6, 2022
526d704
Merge branch 'gedoor:master' into master
Xwite Mar 6, 2022
8665c28
Merge pull request #12 from Xwite/master
gedoor Mar 6, 2022
2169d4d
fix:not import error.png & loading.gif
Xwite Mar 6, 2022
6a34caf
Merge pull request #13 from Xwite/master
gedoor Mar 6, 2022
c4450f2
feat:适配移动端
Xwite Mar 6, 2022
c59455e
Merge pull request #14 from Xwite/master
gedoor Mar 7, 2022
e5b23c6
fix:hide toolbar when read book
Xwite Mar 7, 2022
c8f2efe
fix:remove ununsed components
Xwite Mar 8, 2022
8c9a10d
fix:update img style
Xwite Mar 8, 2022
625dfcd
feat:可滑动上下章;阅读章节数也保存到sessionStorage里;添加书源正文错误提示
Xwite Mar 9, 2022
3fa8675
fix:页面位置判断必须等待内容渲染完成
Xwite Mar 10, 2022
98a1cc3
Merge pull request #15 from Xwite/master
gedoor Mar 10, 2022
dc04ebd
fix:懒加载封面会导致封面和书名错位
Xwite Mar 10, 2022
70a8a1c
Merge pull request #16 from Xwite/master
gedoor Mar 10, 2022
0db06da
fix:显示白条
Xwite Mar 13, 2022
3ece117
Merge pull request #17 from Xwite/master
gedoor Mar 13, 2022
4ca94b6
fix:显示白条
Xwite Mar 16, 2022
2e0c5e0
Merge pull request #18 from Xwite/master
gedoor Mar 16, 2022
fc5657c
格式化代码
gedoor Apr 1, 2022
cd4d87e
Merge remote-tracking branch 'origin/master'
gedoor Apr 1, 2022
e8319ad
修复左侧导航栏高度溢出的:bug:
taozhiyu Apr 20, 2022
808f5ff
修改仓库名
taozhiyu Apr 20, 2022
a5be49c
Merge pull request #19 from taozhiyu/master
gedoor Apr 20, 2022
7518fcd
feat:封面懒加载
Xwite May 8, 2022
c1540d9
feat:加载图片失败后再尝试从阅读获取图片
Xwite May 8, 2022
9fd0f04
Merge pull request #21 from Xwite/master
gedoor May 8, 2022
f0ab9b9
feat: 取消上下拉加载,原生实现无限滚动
Xwite May 15, 2022
6fd2663
feat: 提前加载
Xwite May 15, 2022
a395c7b
Merge pull request #22 from Xwite/master
gedoor May 15, 2022
74cf25a
添加保存进度
gedoor May 15, 2022
8a036af
添加保存进度
gedoor May 15, 2022
ae9a1b8
添加保存进度
gedoor May 15, 2022
bf11526
添加保存进度
gedoor May 15, 2022
6b06381
添加保存进度
gedoor May 15, 2022
b4321ef
feat: 添加debounce处理滚动监听
Xwite May 15, 2022
0951a35
feat: 添加上滑1/10距离顶部监听
Xwite May 15, 2022
637e353
feat: 防抖默认250ms
Xwite May 15, 2022
59cb231
feat: 暂时禁用上滑加载
Xwite May 15, 2022
d1163a4
Merge pull request #24 from Xwite/master
gedoor May 16, 2022
5b3b5c7
优化
gedoor May 16, 2022
da67806
优化
gedoor May 16, 2022
5aab1c6
优化
gedoor May 16, 2022
ad4a40e
feat: 滚动监听节流lodash-es
Xwite May 16, 2022
2d65a79
优化
gedoor May 16, 2022
739c323
feat: enable passive option
Xwite May 16, 2022
8f86cce
Merge branch 'master' into master
Xwite May 16, 2022
a67739e
Merge pull request #28 from Xwite/master
gedoor May 16, 2022
e84e642
chore: set index.html language to zh_CN
loosheng May 18, 2022
264dbd7
Merge pull request #29 from loosheng/patch-2
gedoor May 18, 2022
459b055
fix: Refresh the page to load two pages
loosheng May 23, 2022
44c00d4
Merge pull request #30 from loosheng/load-two-pages
gedoor May 23, 2022
224cbdd
fix: 预加载章节时保存进度
Xwite May 24, 2022
13f4846
feat: introduce IntersectionObserver for infinite scroll
Xwite May 24, 2022
cb0c423
feat: introduce IntersectionObserver for reading process
Xwite May 25, 2022
a88dfda
添加设置选项:无限加载
Netrvin May 25, 2022
ec458f4
Merge pull request #31 from Xwite/master
gedoor May 25, 2022
1d67735
Merge branch 'master' into master
Netrvin May 25, 2022
e63fe8d
Merge pull request #32 from Netrvin/master
gedoor May 25, 2022
f50b12f
fix: 移动端设置溢出
Xwite May 25, 2022
c6718a9
fix: document title do not match content
Xwite May 25, 2022
040826b
ci: use cache
Xwite May 25, 2022
64f3711
chore: update core-js to v3.22.7 & code style
Xwite May 25, 2022
75e1cb1
Merge pull request #33 from Xwite/master
gedoor May 25, 2022
296b81e
style: code style
Xwite May 25, 2022
5246be0
feat(infiniteScroll): preload chapter and refacte switch
Xwite May 26, 2022
09ae5e2
Merge pull request #34 from Xwite/master
gedoor May 26, 2022
8ac4843
ci: introduce dependabot
Xwite May 26, 2022
aca1874
chore(deps-dev): bump @vue/cli-plugin-router from 4.5.17 to 5.0.4
dependabot[bot] May 26, 2022
f100715
chore(deps-dev): bump prettier from 1.19.1 to 2.6.2
dependabot[bot] May 26, 2022
004f4ac
chore(deps): bump stylus from 0.54.8 to 0.57.0
dependabot[bot] May 26, 2022
f800be1
ci: format code when change
Xwite May 26, 2022
51c1344
style: format code
Xwite May 26, 2022
1a0b1e3
chore(deps): bump axios from 0.21.4 to 0.27.2
dependabot[bot] May 26, 2022
72fe897
chore(deps-dev): bump @vue/eslint-config-prettier from 5.1.0 to 6.0.0
dependabot[bot] May 26, 2022
9750b36
ci(dependabot): ignore vue stylus etc
Xwite May 26, 2022
fb15c20
Merge branch 'master' into master
Xwite May 26, 2022
4cd3390
ci(build): skip lint other fork code
Xwite May 26, 2022
1c998ab
chore(deps): bump axios from 0.21.4 to 0.27.2
dependabot[bot] May 26, 2022
6bd5d91
chore: compress pics
Xwite May 26, 2022
fe8b1da
Merge pull request #35 from Xwite/master
gedoor May 26, 2022
9243529
fix 无限加载选项在vuex中层级错误
Netrvin May 27, 2022
835f532
fix: config保存时机不一致
Netrvin May 27, 2022
0b6d21e
Merge pull request #36 from Netrvin/master
gedoor May 27, 2022
3f6461e
style: format code
gedoor May 27, 2022
5f0eccb
feat: 自定义字体UI初步实现
qianfanguojin Jul 5, 2022
e54a1a8
自定义字体功能基本完成
qianfanguojin Jul 5, 2022
cf15d3e
自定义字体功能完成
qianfanguojin Jul 6, 2022
297ee1d
Merge pull request #37 from qianfanguojin/master
gedoor Jul 6, 2022
b9f445e
style: format code
gedoor Jul 6, 2022
5013f5b
优化
gedoor Jul 7, 2022
716e5c7
style: format code
gedoor Jul 7, 2022
a954533
fix: 同名章节阅读进度更新错误
Netrvin Sep 15, 2022
37eb023
Merge pull request #38 from Netrvin/master
gedoor Sep 15, 2022
1c28466
style: format code
gedoor Sep 15, 2022
3e5e4b9
refactor: remove code
Xwite Sep 19, 2022
5c5cf77
Merge pull request #39 from Xwite/master
gedoor Sep 19, 2022
8988a3a
feat: search book on shelf
Xwite Sep 22, 2022
d8a7486
Merge pull request #40 from Xwite/master
Xwite Sep 22, 2022
77923b3
feat: search book on shelf (#41)
Xwite Sep 22, 2022
65415c6
Update build.yml
Xwite Sep 22, 2022
92ad0b3
check github-actions updates
Xwite Oct 20, 2022
1952643
Create build.yml
Xwite Oct 20, 2022
7e2eb41
chore(deps): bump actions/checkout from 2 to 3 (#48)
dependabot[bot] Oct 20, 2022
9db5903
chore(deps): bump stefanzweifel/git-auto-commit-action (#47)
dependabot[bot] Oct 20, 2022
9ceec07
chore(deps): bump actions/upload-artifact from 2 to 3 (#46)
dependabot[bot] Oct 20, 2022
ddb2895
chore(deps): bump axios from 0.27.2 to 1.1.3 (#45)
dependabot[bot] Oct 20, 2022
504593e
chore(deps): bump stefanzweifel/git-auto-commit-action (#50)
dependabot[bot] Oct 25, 2022
d59b839
chore(deps): bump stefanzweifel/git-auto-commit-action (#52)
dependabot[bot] Nov 13, 2022
9e2e6e1
fix: 图片链接含有,{}时自动替换链接
Xwite Nov 14, 2022
e93f1a1
图片链接含有,{}时自动 替换链接 (#54)
Xwite Nov 14, 2022
1c733ae
feat: 不限制阅读最大宽度(960)
Xwite Jan 15, 2023
5895ffe
chore(deps): bump stefanzweifel/git-auto-commit-action (#56)
dependabot[bot] Jan 15, 2023
ab676c5
feat: 文字段落内嵌图片不再设置样式
Xwite Jan 26, 2023
45f88e3
feat: 进度同步精确到chapterPos,返回到书架界面时保存进度到app
Xwite Jan 26, 2023
a504121
段落内嵌图片样式 (#59)
Xwite Jan 27, 2023
38a1264
修复内嵌多个图片的段落处理 (#60)
Xwite Jan 27, 2023
8be47f8
Update Content.vue
Xwite Jan 27, 2023
1c19a40
fix: 修复已读字数跳转和计算
Xwite Jan 28, 2023
7956ddb
feat: 优化页面标题更改和阅读进度计算
Xwite Jan 29, 2023
062eac1
Update build.yml
Xwite Jan 30, 2023
fe39423
fix: 渲染书籍页面前保存进度的post请求没有完成
Xwite Jan 30, 2023
3373a4f
fix: 渲染书籍页面前保存进度的post请求没有完成
Xwite Jan 30, 2023
115c20b
Update Chapter.vue
Xwite Jan 30, 2023
2df253a
fix: 渲染书籍页面前保存进度的post请求没有完成
Xwite Jan 30, 2023
dd4e5c6
Merge branch 'master' into master
Xwite Jan 30, 2023
f30a010
Merge pull request #65 from Xwite/master
Xwite Jan 30, 2023
66cbcce
fix: chapterIndex not changed
Xwite Jan 31, 2023
74f435a
update Ci and readme (#66)
Xwite Jan 31, 2023
63fad85
style: format code
Xwite Jan 31, 2023
427ff3f
fix typo
Xwite Jan 31, 2023
61e3b64
Update Chapter.vue
Xwite Jan 31, 2023
6998ea2
feat: 段落内嵌图片懒加载; VueLazyLoad启用IntersectionObserver
Xwite Jan 31, 2023
f059f53
style: format code
Xwite Jan 31, 2023
74c1de4
Update Index.vue
Xwite Feb 1, 2023
0082e55
章节序号变动时保存进度
Xwite Feb 8, 2023
eeea4e7
style: format code
Xwite Feb 8, 2023
11423c7
Update vuex.js
Xwite Feb 8, 2023
91967e5
style: format code
Xwite Feb 8, 2023
076662a
Update Chapter.vue
Xwite Feb 8, 2023
a4feab3
Update Chapter.vue
Xwite Feb 12, 2023
9433264
Update Chapter.vue
Xwite Feb 14, 2023
9cd0046
style: format code
Xwite Feb 14, 2023
dec3964
Update Chapter.vue
Xwite Feb 14, 2023
8138545
Update Chapter.vue
Xwite Feb 17, 2023
e1bc18f
[skip ci]
Xwite Mar 7, 2023
33f6f33
[skip ci]
Xwite Mar 7, 2023
f882f86
Create .browserslistrc
Xwite Mar 25, 2023
fa124f4
fix > node17 build error
Xwite Mar 26, 2023
4f158ed
Update README.md
Xwite Apr 8, 2023
9ace10d
disable workflow
Xwite Apr 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
> 1%
last 2 versions
not dead
3 changes: 3 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NODE_ENV=development
VUE_APP_BASE_URL=http://192.168.10.117
VUE_APP_PORT=1122
3 changes: 3 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NODE_ENV=production
VUE_APP_BASE_URL=
VUE_APP_PORT=
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "stylus*"
- dependency-name: "eslint*"
- dependency-name: "@vue/*"
- dependency-name: "vue/*"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: "daily"
67 changes: 67 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Build

on:
#push:
# branches:
# - master
#workflow_dispatch:

env:
UPSTREAM_REPOSITORY: gedoor/legado_web_bookshelf

jobs:
master:
runs-on: ubuntu-latest

steps:
- name: Checkout legado_web_bookshelf Project
uses: actions/checkout@v3

- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install Project
run: |
npm install

- name: Format code
if: ${{ github.repository == env.UPSTREAM_REPOSITORY }}
run: |
npm run-script lint

- name: push changes
if: ${{ github.repository == env.UPSTREAM_REPOSITORY }}
uses: stefanzweifel/[email protected]
with:
commit_message: 'style: format code'
file_pattern: src

- name: Build
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm run-script build

- name: Set Env
if: ${{ github.repository == env.UPSTREAM_REPOSITORY }}
shell: bash
run: |
version="v$(date -d "8 hour" -u +3.%y.%m%d%H)"
echo "APP_VER=$version" >> $GITHUB_ENV

- name: Push changes to legado
continue-on-error: true
if: ${{ github.repository == env.UPSTREAM_REPOSITORY }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git clone "https://gedoor:${{ secrets.ACTIONS_TOKEN }}@github.com/gedoor/legado" --depth 1
rm -rf legado/app/src/main/assets/web/bookshelf/*
mv -f $GITHUB_WORKSPACE/dist/* legado/app/src/main/assets/web/bookshelf/
cd legado
git add -A
git commit -m "web bookshelf: ${{ env.APP_VER }}"
git push
106 changes: 23 additions & 83 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,101 +1,41 @@
name: Merge And Release
name: Release

on: [workflow_dispatch, push]
on: [workflow_dispatch]


jobs:
master:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout web-yuedu3 Project
uses: actions/checkout@v2
with:
ref: master
path: master
- name: Checkout master
uses: actions/checkout@v3

- name: Checkout web-yuedu3 Project
uses: actions/checkout@v2
- uses: actions/cache@v3
with:
fetch-depth: 0
ref: slave
path: slave

- name: Build Master
working-directory: master
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Set Env
shell: bash
run: |
npm install
npm run-script build
zip -q -r master_dist.zip ./dist
version="v$(date -d "8 hour" -u +3.%y.%m%d%H)"
echo "VERSION=$version" >> $GITHUB_ENV

- name: Build Slave
working-directory: slave
- name: Build
run: |
git config --global user.name Robot
git config --global user.email [email protected]
git pull origin master --allow-unrelated-histories
git push origin slave
export NODE_OPTIONS=--openssl-legacy-provider
npm install
npm run-script build
zip -q -r slave_dist.zip ./dist
zip -q -r ${{github.ref_name}}_${{env.VERSION}}.zip ./dist

- name: Set Env
shell: bash
run: |
time="$(date -u -d '+8 hour' '+%Y.%m.%d')"
version="v${time}"
echo "APP_VER=$version" >> $GITHUB_ENV
tag_name=$(curl -s https://api.github.com/repos/Celeter/web-yuedu3/releases/latest|jq .tag_name -r)
echo "TAG_NAME=$tag_name" >> $GITHUB_ENV

- name: Create Release
if: ${{ env.TAG_NAME != env.APP_VER }}
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.APP_VER }}
release_name: ${{ env.APP_VER }}
name: ${{ env.VERSION }}
tag_name: ${{ env.VERSION }}
draft: false
prerelease: false

- name: Upload Release Asset Master
if: ${{ env.TAG_NAME != env.APP_VER }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/master/master_dist.zip
asset_name: master_${{ env.APP_VER }}.zip
asset_content_type: application/octet-stream

- name: Upload Release Asset Slave
if: ${{ env.TAG_NAME != env.APP_VER }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/slave/slave_dist.zip
asset_name: slave_${{ env.APP_VER }}.zip
asset_content_type: application/octet-stream

- name: Upload Master
if: ${{ env.TAG_NAME == env.APP_VER }}
uses: actions/upload-artifact@v2
with:
name: master_${{ env.APP_VER }}
path: ${{ github.workspace }}/master/dist
if-no-files-found: error

- name: Upload Slave
if: ${{ env.TAG_NAME == env.APP_VER }}
uses: actions/upload-artifact@v2
with:
name: slave_${{ env.APP_VER }}
path: ${{ github.workspace }}/slave/dist
if-no-files-found: error

files: ${{ github.workspace }}/*.zip

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ yarn-error.log*
dist*.zip

yarn.lock
/package-lock.json
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
vue3版本 https://github.com/gedoor/legado/tree/master/modules/web
***
# 「阅读3.0」 web 端(已打包进阅读3.0,不能设置IP)

本程序为「阅读3.0」的配套 web 端,需要保证手机和电脑在同一局域网内,然后手机端打开 web 服务。

在线地址 http://alanskycn.gitee.io/vip/reader/
~~在线地址 http://alanskycn.gitee.io/vip/reader/~~

## 具体实现

Expand All @@ -19,6 +21,10 @@

## 使用方法

> node版本大于17,先[设置环境变量NODE_OPTIONS](https://github.com/webpack/webpack/issues/14532)
> ```bash
> export NODE_OPTIONS=--openssl-legacy-provider
> ```
```shell
yarn install
#安装项目
Expand All @@ -29,8 +35,7 @@ yarn build
yarn lint
#格式化代码
```
- ~~点击`Star`自动编译,可在Actions查看~~
- ~~编译失败,可先点击`Unstar`,再点击`Star`重新开始~~
- 调试的时候可以修改.env.development里面的地址连接手机端调试

## 预览

Expand Down
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
{
"name": "yd-web-tool",
"name": "legado-web-bookshelf",
"version": "1.2.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"serve": "vue-cli-service serve --mode development",
"build": "vue-cli-service build --mode production",
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.21.1",
"core-js": "^3.3.2",
"axios": "^1.1.3",
"core-js": "^3.22.7",
"element-ui": "^2.4.5",
"register-service-worker": "^1.6.2",
"stylus": "^0.54.7",
"stylus": "^0.57.0",
"stylus-loader": "^3.0.2",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
"vuex": "^3.1.1"
"vuex": "^3.1.1",
"vue-lazyload":"^1.3.3"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",
"@vue/cli-plugin-eslint": "^4.0.0",
"@vue/cli-plugin-pwa": "^4.0.0",
"@vue/cli-plugin-router": "^4.0.0",
"@vue/cli-plugin-router": "^5.0.4",
"@vue/cli-service": "^4.0.0",
"@vue/eslint-config-prettier": "^5.0.0",
"@vue/eslint-config-prettier": "^6.0.0",
"babel-eslint": "^10.0.3",
"babel-plugin-component": "^1.1.1",
"electron": "^9.4.0",
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0",
"prettier": "^1.18.2",
"prettier": "^2.6.2",
"vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.10"
}
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/img/icons/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/img/icons/android-chrome-512x512.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon-120x120.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon-152x152.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon-180x180.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon-60x60.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon-76x76.png
Binary file not shown.
Binary file removed public/img/icons/apple-touch-icon.png
Binary file not shown.
Binary file removed public/img/icons/favicon-16x16.png
Binary file not shown.
Binary file removed public/img/icons/favicon-32x32.png
Binary file not shown.
Binary file removed public/img/icons/msapplication-icon-144x144.png
Binary file not shown.
Binary file removed public/img/icons/mstile-150x150.png
Binary file not shown.
Loading