diff --git a/.github/scripts/lzy.sh b/.github/scripts/lzy.sh deleted file mode 100644 index 037e0610a..000000000 --- a/.github/scripts/lzy.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env bash -PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin -export PATH -# -------------------------------------------------------------- -# 系统: ALL -# 项目: 蓝奏云上传文件 -# 版本: 1.0.3 -# 作者: XIU2 -# 官网: https://shell.xiu2.xyz -# 项目: https://github.com/XIU2/Shell -# -------------------------------------------------------------- - -USERNAME="admin" # 蓝奏云用户名 -COOKIE_PHPDISK_INFO="$LANZOU_PSD" # Cookie 中 phpdisk_info 的值 -COOKIE_YLOGIN="$LANZOU_ID" # Cookie 中 ylogin 的值 - -UA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.7.3670.199 Safari/537.36" -HEADER_CHECK_LOGIN="User-Agent: ${UA} -Referer: https://up.woozooo.com/mydisk.php?item=files&action=index&u=${USERNAME} -Accept-Language: zh-CN,zh;q=0.9" - -URL_ACCOUNT="https://pc.woozooo.com/account.php" -URL_UPLOAD="https://up.woozooo.com/fileup.php" - -INFO="[信息]" && ERROR="[错误]" && TIP="[注意]" - -# 检查是否已登录 -_CHECK_LOGIN() { - if [[ "${COOKIE_PHPDISK_INFO}" = "" || "${COOKIE_PHPDISK_INFO}" = "XXX" ]]; then - _NOTICE "ERROR" "请指定 Cookie 中 phpdisk_info 的值!" - fi - if [[ "${COOKIE_YLOGIN}" = "" || "${COOKIE_YLOGIN}" = "XXX" ]]; then - _NOTICE "ERROR" "请指定 Cookie 中 ylogin 的值!" - fi - - HTML_CHECK_LOGIN=$(curl -s --http1.1 -b "ylogin=${COOKIE_YLOGIN};phpdisk_info=${COOKIE_PHPDISK_INFO}" -H "${HEADER_CHECK_LOGIN}" "${URL_ACCOUNT}"|grep "登录") - [[ ! -z "${HTML_CHECK_LOGIN}" ]] && _NOTICE "ERROR" "Cookie 已失效,请更新!" -} - -# 上传文件 -_UPLOAD() { - [[ $(du "${NAME_FILE}"|awk '{print $1}') -gt 100000000 ]] && _NOTICE "ERROR" "${NAME}文件大于 100MB!" - HTML_UPLOAD=$(curl --connect-timeout 120 -m 5000 --retry 2 -s -b "ylogin=${COOKIE_YLOGIN};phpdisk_info=${COOKIE_PHPDISK_INFO}" -H "${URL_UPLOAD}" -F "task=1" -F "id=WU_FILE_0" -F "folder_id=${FOLDER_ID}" -F "name=${NAME}" -F "upload_file=@${NAME_FILE}" "${URL_UPLOAD}"|grep '\\u4e0a\\u4f20\\u6210\\u529f') - [[ -z "${HTML_UPLOAD}" ]] && _NOTICE "ERROR" "${NAME}文件上传失败!" - echo -e "${INFO} 文件上传成功![$(date -u -d '+8 hour' '+%Y-%m-%d %H:%M:%S')]" -} - - -NAME="$1" # 文件名 -NAME_FILE="$2" # 文件路径 -FOLDER_ID="$3" # 上传文件夹ID -if [[ -z "${NAME}" ]]; then - echo -e "${ERROR} 未指定文件名!" && exit 1 -elif [[ -z "${NAME_FILE}" ]]; then - echo -e "${ERROR} 未指定文件路径!" && exit 1 -elif [[ -z "${FOLDER_ID}" ]]; then - echo -e "${ERROR} 未指定上传文件夹ID!" && exit 1 -fi -_CHECK_LOGIN -_UPLOAD diff --git a/.github/scripts/lzy_web.py b/.github/scripts/lzy_web.py new file mode 100644 index 000000000..0448a44b3 --- /dev/null +++ b/.github/scripts/lzy_web.py @@ -0,0 +1,119 @@ +import requests, os, datetime, sys + + +class lzyCloud(object): + def __init__(self): + self._session = requests.Session() + self._timeout = 30 # 每个请求的超时(不包含下载响应体的用时) + self._doupload_url = 'https://pc.woozooo.com/doupload.php' + self._account_url = 'https://pc.woozooo.com/account.php' + self._cookies = None + self._headers = { + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774.45', + 'Accept-Language': 'zh-CN,zh;q=0.9', + 'Referer': 'https://pc.woozooo.com/account.php?action=login' + } + # disable_warnings(InsecureRequestWarning) # 全局禁用 SSL 警告 + + # 日志打印 + def _log(self, msg): + utc_time = datetime.datetime.utcnow() + china_time = utc_time + datetime.timedelta(hours=8) + print(f"[{china_time.strftime('%Y.%m.%d %H:%M:%S')}] {msg}") + + # get请求 + def _get(self, url, **kwargs): + try: + kwargs.setdefault('timeout', self._timeout) + kwargs.setdefault('headers', self._headers) + return self._session.get(url, verify=True, **kwargs) + except (ConnectionError, requests.RequestException): + return None + + # post请求 + def _post(self, url, data, **kwargs): + try: + kwargs.setdefault('timeout', self._timeout) + kwargs.setdefault('headers', self._headers) + return self._session.post(url, data, verify=True, **kwargs) + except (ConnectionError, requests.RequestException): + return None + + # 通过cookie登录 + def login_by_cookie(self, cookies: dict) -> bool: + self._cookies = cookies + self._session.cookies.update(self._cookies) + res = self._get(self._account_url) + if not res: + self._log('登录失败,请重试') + return False + if '网盘用户登录' in res.text: + self._log('登录失败,请更新Cookie') + return False + else: + self._log('登录成功') + return True + + # 上传文件 + def _upload_file(self, file_dir, folder_id): + file_name = os.path.basename(file_dir) + self._headers['Referer'] = 'https://up.woozooo.com/mydisk.php?item=files&action=index&u=' + self._cookies.get( + "ylogin") + data = { + "task": "1", + "folder_id": folder_id, + "id": "WU_FILE_0", + "name": file_name, + } + files = {'upload_file': (file_name, open(file_dir, "rb"), 'application/octet-stream')} + res = self._post(self._doupload_url, data=data, files=files).json() + self._log(f"{file_dir} -> {res['info']}") + return res['zt'] == 1 + + # 上传文件夹内的文件 + def _upload_folder(self, folder_dir, folder_id): + file_list = os.listdir(folder_dir) + for file in file_list: + path = os.path.join(folder_dir, file) + if os.path.isfile(path): + self._upload_file(path, folder_id) + else: + self._upload_folder(path, folder_id) + + # 上传文件/文件夹内的文件 + def upload(self, dir, folder_id): + if dir is None: + self._log('请指定上传的文件路径') + return + if folder_id is None: + self._log('请指定蓝奏云的文件夹id') + return + if os.path.isfile(dir): + self._upload_file(dir, str(folder_id)) + else: + self._upload_folder(dir, str(folder_id)) + + +if __name__ == '__main__': + argv = sys.argv[1:] + if len(argv) != 2: + print('参数错误,请以这种格式重新尝试\npython lzy_web.py 需上传的路径 蓝奏云文件夹id') + # 需上传的路径 + upload_path = argv[0] + # 蓝奏云文件夹id + lzy_folder_id = argv[1] + + # Cookie 中 phpdisk_info 的值 + phpdisk_info = os.environ.get('phpdisk_info') + # Cookie 中 ylogin 的值 + ylogin = os.environ.get('ylogin') + + # 小饼干 + cookie = { + 'ylogin': ylogin, + 'phpdisk_info': phpdisk_info + } + + lzy = lzyCloud() + if lzy.login_by_cookie(cookie): + lzy.upload(upload_path, lzy_folder_id) \ No newline at end of file diff --git a/.github/workflows/legado.yml b/.github/workflows/legado.yml index c5de90a93..5a069fcd7 100644 --- a/.github/workflows/legado.yml +++ b/.github/workflows/legado.yml @@ -15,11 +15,9 @@ jobs: build: runs-on: ubuntu-latest env: - # 登录蓝奏云后查看cookie - # LANZOU_ID : woozooo.com -> Cookie -> ylogin - # LANZOU_PSD : pc.woozooo.com -> Cookie -> phpdisk_info - LANZOU_ID: ${{ secrets.LANZOU_ID }} - LANZOU_PSD: ${{ secrets.LANZOU_PSD }} + # 登录蓝奏云后在控制台运行document.cookie + ylogin: ${{ secrets.LANZOU_ID }} + phpdisk_info: ${{ secrets.LANZOU_PSD }} # 蓝奏云里的文件夹ID(阅读3测试版:2670621) LANZOU_FOLDER_ID: '2670621' # 是否上传到artifact @@ -34,7 +32,7 @@ jobs: key: ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}- - + - name: Clear 18PlusList.txt run: | echo "清空18PlusList.txt" @@ -66,7 +64,7 @@ jobs: - name: Upload App To Lanzou if: ${{ env.LANZOU_PSD }} run: | - path="$GITHUB_WORKSPACE/app/build/outputs/apk/app/release/" + path="$GITHUB_WORKSPACE/app/build/outputs/apk/app/release" files=$(ls $path) for f in $files do @@ -76,11 +74,7 @@ jobs: break fi done - - bash $GITHUB_WORKSPACE/.github/scripts/lzy.sh "$file" \ - "$GITHUB_WORKSPACE/app/build/outputs/apk/app/release/$file" "${{ env.LANZOU_FOLDER_ID }}" + + python3 $GITHUB_WORKSPACE/.github/scripts/lzy_web.py "$path/$file" "$LANZOU_FOLDER_ID" echo "分享链接: https://kunfei.lanzous.com/b0f810h4b" - env: - LANZOU_ID: ${{ env.LANZOU_ID }} - LANZOU_PSD: ${{ env.LANZOU_PSD }} diff --git a/app/src/main/assets/web/new/css/detail.b4324411.css b/app/src/main/assets/web/new/css/detail.79c91c30.css similarity index 81% rename from app/src/main/assets/web/new/css/detail.b4324411.css rename to app/src/main/assets/web/new/css/detail.79c91c30.css index b20e9f159..60424c3e4 100644 --- a/app/src/main/assets/web/new/css/detail.b4324411.css +++ b/app/src/main/assets/web/new/css/detail.79c91c30.css @@ -1 +1 @@ -@charset "UTF-8";.detail-wrapper[data-v-57115a66]{padding:2% 0}.detail-wrapper .detail .bar .el-breadcrumb[data-v-57115a66]{font-size:24px;font-weight:500;line-height:48px}.detail-wrapper .detail .bar .el-breadcrumb .index[data-v-57115a66]{color:#333}.detail-wrapper .detail .bar .el-breadcrumb .sub[data-v-57115a66]{color:#676767}.detail-wrapper .detail .el-divider[data-v-57115a66]{margin-top:2%}.detail-wrapper .detail .catalog[data-v-57115a66]{margin-top:2%;display:grid;grid-template-columns:repeat(auto-fill,300px);-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.detail-wrapper .detail .catalog .note[data-v-57115a66]{width:200px;font-weight:500;font-size:14px;line-height:40px;padding-left:12px;padding-right:12px;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}@font-face{font-family:FZZCYSK;src:local("☺"),url(../fonts/popfont.f39ecc1a.ttf);font-style:normal;font-weight:400}.cata-wrapper[data-v-22f8c37b]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-22f8c37b]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px 0;color:#ed4259;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-22f8c37b]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-22f8c37b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-22f8c37b]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-22f8c37b]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-22f8c37b]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-22f8c37b] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-22f8c37b] .log{border-bottom:1px solid #f2f2f2}@font-face{font-family:iconfont;src:url(../fonts/iconfont.f9a3fb0e.woff) format("woff")}[data-v-36dafd56] .iconfont,[data-v-36dafd56] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-36dafd56]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-13px;width:478px;height:300px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-36dafd56]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-36dafd56]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-36dafd56]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-36dafd56]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-36dafd56]{line-height:32px;width:34px;height:34px;margin-right:16px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-36dafd56]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-36dafd56]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-36dafd56]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-36dafd56]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-36dafd56]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .font-list .selected[data-v-36dafd56]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-size[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width[data-v-36dafd56]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize[data-v-36dafd56]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize span[data-v-36dafd56]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-36dafd56]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-36dafd56]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-36dafd56]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize b[data-v-36dafd56]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-36dafd56] .selected,.night[data-v-36dafd56] .theme-item{border:1px solid #666}.night[data-v-36dafd56] .moon-icon{color:#ed4259}.night[data-v-36dafd56] .font-list .font-item,.night[data-v-36dafd56] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-36dafd56] .resize b{border-right:1px solid #666}.day[data-v-36dafd56] .theme-item{border:1px solid #e5e5e5}.day[data-v-36dafd56] .selected{border:1px solid #ed4259}.day[data-v-36dafd56] .moon-icon{display:inline;color:hsla(0,0%,100%,.2)}.day[data-v-36dafd56] .font-list .font-item{background:hsla(0,0%,100%,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-36dafd56] .resize{border:1px solid #e5e5e5;background:hsla(0,0%,100%,.5)}.day[data-v-36dafd56] .resize b{border-right:1px solid #e5e5e5}p[data-v-7b03cca0]{display:block;word-wrap:break-word;word-break:break-all}[data-v-51d89d6a] .pop-setting{margin-left:68px;top:0}[data-v-51d89d6a] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-51d89d6a]{padding:0 4%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.chapter-wrapper[data-v-51d89d6a] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-51d89d6a]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-51d89d6a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-51d89d6a]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-51d89d6a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-51d89d6a]{font-size:12px}.chapter-wrapper .read-bar[data-v-51d89d6a]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-51d89d6a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-51d89d6a]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-51d89d6a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter-bar .el-breadcrumb .item[data-v-51d89d6a]{font-size:14px;color:#606266}.chapter-wrapper .chapter[data-v-51d89d6a]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-51d89d6a] .el-icon-loading{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-51d89d6a] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-51d89d6a]{font-size:18px;line-height:1.8;overflow:hidden;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-51d89d6a]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-51d89d6a],.chapter-wrapper .chapter .content .top-bar[data-v-51d89d6a]{height:64px}.day[data-v-51d89d6a] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.day[data-v-51d89d6a] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-51d89d6a] .tool-icon .icon-text{color:rgba(0,0,0,.4)}.day[data-v-51d89d6a] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-51d89d6a] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16);box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16)}.night[data-v-51d89d6a] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-51d89d6a] .tool-icon .icon-text{color:#666}.night[data-v-51d89d6a] .chapter{border:1px solid #444;color:#666}.night[data-v-51d89d6a] .popper__arrow{background:#666} \ No newline at end of file +@charset "UTF-8";.detail-wrapper[data-v-57115a66]{padding:2% 0}.detail-wrapper .detail .bar .el-breadcrumb[data-v-57115a66]{font-size:24px;font-weight:500;line-height:48px}.detail-wrapper .detail .bar .el-breadcrumb .index[data-v-57115a66]{color:#333}.detail-wrapper .detail .bar .el-breadcrumb .sub[data-v-57115a66]{color:#676767}.detail-wrapper .detail .el-divider[data-v-57115a66]{margin-top:2%}.detail-wrapper .detail .catalog[data-v-57115a66]{margin-top:2%;display:grid;grid-template-columns:repeat(auto-fill,300px);-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.detail-wrapper .detail .catalog .note[data-v-57115a66]{width:200px;font-weight:500;font-size:14px;line-height:40px;padding-left:12px;padding-right:12px;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}@font-face{font-family:FZZCYSK;src:local("☺"),url(../fonts/popfont.f39ecc1a.ttf);font-style:normal;font-weight:400}.cata-wrapper[data-v-22f8c37b]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-22f8c37b]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px 0;color:#ed4259;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-22f8c37b]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-22f8c37b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-22f8c37b]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-22f8c37b]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-22f8c37b]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-22f8c37b] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-22f8c37b] .log{border-bottom:1px solid #f2f2f2}@font-face{font-family:iconfont;src:url(../fonts/iconfont.f9a3fb0e.woff) format("woff")}[data-v-36dafd56] .iconfont,[data-v-36dafd56] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-36dafd56]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-13px;width:478px;height:300px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-36dafd56]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-36dafd56]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-36dafd56]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-36dafd56]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-36dafd56]{line-height:32px;width:34px;height:34px;margin-right:16px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-36dafd56]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-36dafd56]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-36dafd56]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-36dafd56]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-36dafd56]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .font-list .selected[data-v-36dafd56]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-size[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width[data-v-36dafd56]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize[data-v-36dafd56]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize span[data-v-36dafd56]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-36dafd56]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-36dafd56]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-36dafd56]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-36dafd56]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-36dafd56],.settings-wrapper .setting-list ul .read-width .resize b[data-v-36dafd56]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-36dafd56] .selected,.night[data-v-36dafd56] .theme-item{border:1px solid #666}.night[data-v-36dafd56] .moon-icon{color:#ed4259}.night[data-v-36dafd56] .font-list .font-item,.night[data-v-36dafd56] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-36dafd56] .resize b{border-right:1px solid #666}.day[data-v-36dafd56] .theme-item{border:1px solid #e5e5e5}.day[data-v-36dafd56] .selected{border:1px solid #ed4259}.day[data-v-36dafd56] .moon-icon{display:inline;color:hsla(0,0%,100%,.2)}.day[data-v-36dafd56] .font-list .font-item{background:hsla(0,0%,100%,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-36dafd56] .resize{border:1px solid #e5e5e5;background:hsla(0,0%,100%,.5)}.day[data-v-36dafd56] .resize b{border-right:1px solid #e5e5e5}p[data-v-7b03cca0]{display:block;word-wrap:break-word;word-break:break-all}[data-v-8c99fc10] .pop-setting{margin-left:68px;top:0}[data-v-8c99fc10] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-8c99fc10]{padding:0 4%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.chapter-wrapper[data-v-8c99fc10] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-8c99fc10]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-8c99fc10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-8c99fc10]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-8c99fc10]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-8c99fc10]{font-size:12px}.chapter-wrapper .read-bar[data-v-8c99fc10]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-8c99fc10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-8c99fc10]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-8c99fc10]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter-bar .el-breadcrumb .item[data-v-8c99fc10]{font-size:14px;color:#606266}.chapter-wrapper .chapter[data-v-8c99fc10]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-8c99fc10] .el-icon-loading{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-8c99fc10] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-8c99fc10]{font-size:18px;line-height:1.8;overflow:hidden;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-8c99fc10]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-8c99fc10],.chapter-wrapper .chapter .content .top-bar[data-v-8c99fc10]{height:64px}.day[data-v-8c99fc10] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.day[data-v-8c99fc10] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-8c99fc10] .tool-icon .icon-text{color:rgba(0,0,0,.4)}.day[data-v-8c99fc10] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-8c99fc10] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16);box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16)}.night[data-v-8c99fc10] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-8c99fc10] .tool-icon .icon-text{color:#666}.night[data-v-8c99fc10] .chapter{border:1px solid #444;color:#666}.night[data-v-8c99fc10] .popper__arrow{background:#666} \ No newline at end of file diff --git a/app/src/main/assets/web/new/index.html b/app/src/main/assets/web/new/index.html index c933e0607..10ccebf88 100755 --- a/app/src/main/assets/web/new/index.html +++ b/app/src/main/assets/web/new/index.html @@ -1,3 +1,3 @@ -