commit 7d85786530714d87e0fd73bf0fc199a66e0248bc Author: CN32479-詹红柱 <1337608148@qq.com> Date: Sat Jul 10 11:56:05 2021 +0800 feat:上传书签代码 diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 0000000..214388f --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,3 @@ +> 1% +last 2 versions +not dead diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7053c49 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +[*.{js,jsx,ts,tsx,vue}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..3293675 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,19 @@ +module.exports = { + root: true, + env: { + node: true + }, + extends: [ + 'plugin:vue/vue3-essential', + '@vue/standard' + ], + parserOptions: { + parser: 'babel-eslint' + }, + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'space-before-function-paren': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'object-curly-spacing': process.env.NODE_ENV === 'production' ? 'warn' : 'off' + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..acc47ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +.DS_Store +node_modules +sitespeed-result + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/dist/css/app.58e56f4c.css b/dist/css/app.58e56f4c.css new file mode 100644 index 0000000..ad5b11d --- /dev/null +++ b/dist/css/app.58e56f4c.css @@ -0,0 +1 @@ +#app[data-v-02724ab4]{position:relative;display:flex;justify-content:center;align-items:center}.bookmark[data-v-02724ab4]{position:relative;margin-top:10vh;width:1200px;height:80vh;border:1px solid hsla(0,0%,100%,.18);box-shadow:0 8px 32px 0 rgba(31,38,135,.2);border-radius:6px;background:#fff}.bookmark .left-box[data-v-02724ab4]{width:200px;height:100%;border:1px solid hsla(0,0%,100%,.18);box-shadow:0 8px 32px 0 rgba(31,38,135,.2);position:relative;overflow-y:auto;padding:8px 0}.bookmark .left-box img[data-v-02724ab4]{width:20px;height:auto;margin-right:5px;cursor:pointer}.bookmark .left-box .active[data-v-02724ab4]{box-shadow:0 8px 32px 0 rgba(31,38,135,.2);background:#a0cae6}.bookmark .left-box .inactive[data-v-02724ab4]{box-shadow:none;background:#fff}.bookmark .left-box .label[data-v-02724ab4]{font-size:14px;display:flex;cursor:pointer;border:none;position:relative;padding:10px 15px}.bookmark .left-box .label[data-v-02724ab4]:hover{box-shadow:0 8px 32px 0 rgba(31,38,135,.2);background:#a0cae6}.bookmark .left-box .label .text-elipss[data-v-02724ab4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bookmark .right-box[data-v-02724ab4]{width:calc(100% - 200px)}.bookmark .right-box .card-s[data-v-02724ab4]{width:100%;padding-top:10px;max-height:calc(80vh - 49px);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.bookmark .right-box .card-s .card-item[data-v-02724ab4]{cursor:pointer;width:calc(33% - 40px);display:flex;justify-content:flex-start;align-items:center;border:1px solid hsla(0,0%,100%,.18);box-shadow:0 8px 18px 0 rgba(31,38,135,.2);padding:10px;margin:7px 20px 7px 20px;position:relative;border-radius:8px;max-height:200px;height:72px!important}.bookmark .right-box .card-s .card-item[data-v-02724ab4]:hover{transform:scale(1.04);-webkit-animation-delay:.3ms;animation-delay:.3ms;-webkit-animation:.3ms;animation:.3ms;box-shadow:0 8px 18px 0 rgba(31,38,135,.3)}.tool-icon[data-v-02724ab4]{width:20px;height:20px;-o-object-fit:contain;object-fit:contain;display:inline-block;margin-right:12px;cursor:pointer}.tool-icon[data-v-02724ab4]:hover{fill:"#3eaf7c"}.tool-bar[data-v-02724ab4]{height:48px;border-bottom:1px solid #eee;width:100%;display:flex;justify-content:space-between;align-items:center;background:#faf8f8}.tool-bar .tool-logo[data-v-02724ab4]{margin:0 15px}.tool-bar .tool-logo a[data-v-02724ab4]{color:#e03b5d;display:flex;align-items:center}.tool-bar .search-box[data-v-02724ab4]{display:inline-block;position:relative;margin-right:1rem;white-space:nowrap}.tool-bar .search-box img[data-v-02724ab4]{position:absolute;top:0;bottom:0;z-index:0;left:.6rem;margin:auto;width:20px;height:auto}.tool-bar .search-box input[data-v-02724ab4]{text-align:initial;text-indent:0;text-shadow:none;text-transform:none;word-spacing:normal;letter-spacing:normal;cursor:text;width:14rem;height:2rem;color:#4e6e8e;display:inline-block;border:1px solid #eaecef;border-radius:.25rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:transparent;background-size:auto;background-size:1rem}.box-m[data-v-02724ab4]{display:flex;height:calc(100% - 50px)}.logo-img[data-v-02724ab4]{width:62px;height:100%;margin-right:14px}.logo-img img[data-v-02724ab4]{height:100%;width:100%;-o-object-fit:contain;object-fit:contain;display:block;max-width:70px;width:62px}.logo-box[data-v-02724ab4]{flex:1}.logo-box .title[data-v-02724ab4]{max-width:190px;padding-top:3px;font-size:16px;font-weight:700;color:#000}.logo-box .subtitle[data-v-02724ab4],.logo-box .title[data-v-02724ab4]{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.logo-box .subtitle[data-v-02724ab4]{position:relative;max-width:185px;margin-top:5px;font-size:13px;color:rgba(0,0,0,.7)}.list-complete-item[data-v-02724ab4]{transition:all .8s ease;display:inline-block;margin-right:10px}.list-complete-enter-from[data-v-02724ab4],.list-complete-leave-to[data-v-02724ab4]{opacity:0;transform:translateY(30px)}.list-complete-leave-active[data-v-02724ab4]{position:absolute}.card-item-nodata[data-v-02724ab4]{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.card-item-nodata span[data-v-02724ab4]{display:block;margin-top:20px;color:#999}.bg[data-v-02724ab4]{z-index:-999;position:fixed;height:100%;width:100%;background:url(../img/bg.18b122a7.jpg)} \ No newline at end of file diff --git a/dist/favicon.ico b/dist/favicon.ico new file mode 100644 index 0000000..8201c16 Binary files /dev/null and b/dist/favicon.ico differ diff --git a/dist/img/bg.18b122a7.jpg b/dist/img/bg.18b122a7.jpg new file mode 100644 index 0000000..b34f9c6 Binary files /dev/null and b/dist/img/bg.18b122a7.jpg differ diff --git a/dist/img/blog.f57ba53d.svg b/dist/img/blog.f57ba53d.svg new file mode 100644 index 0000000..dc84580 --- /dev/null +++ b/dist/img/blog.f57ba53d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/file.807fb7b5.svg b/dist/img/file.807fb7b5.svg new file mode 100644 index 0000000..3e9721c --- /dev/null +++ b/dist/img/file.807fb7b5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/gitee.8160b75c.svg b/dist/img/gitee.8160b75c.svg new file mode 100644 index 0000000..ce63c98 --- /dev/null +++ b/dist/img/gitee.8160b75c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/github.3f137925.svg b/dist/img/github.3f137925.svg new file mode 100644 index 0000000..69ef1a1 --- /dev/null +++ b/dist/img/github.3f137925.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/logo.f38dc2e8.svg b/dist/img/logo.f38dc2e8.svg new file mode 100644 index 0000000..1a776c2 --- /dev/null +++ b/dist/img/logo.f38dc2e8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/search.c77e1385.svg b/dist/img/search.c77e1385.svg new file mode 100644 index 0000000..c77aab9 --- /dev/null +++ b/dist/img/search.c77e1385.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/img/translate.fa0bf271.svg b/dist/img/translate.fa0bf271.svg new file mode 100644 index 0000000..cf4457a --- /dev/null +++ b/dist/img/translate.fa0bf271.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..657d744 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,21 @@ +
f?Y(t,o,s,!0,!1,p):C(e,n,r,o,s,a,c,u,p)},V=(t,e,n,r,o,s,a,c,u)=>{let l=0;const f=e.length;let p=t.length-1,d=f-1;while(l<=p&&l<=d){const r=t[l],i=e[l]=u?fn(e[l]):ln(e[l]);if(!tn(r,i))break;b(r,i,n,null,o,s,a,c,u),l++}while(l<=p&&l<=d){const r=t[p],i=e[d]=u?fn(e[d]):ln(e[d]);if(!tn(r,i))break;b(r,i,n,null,o,s,a,c,u),p--,d--}if(l>p){if(l<=d){const t=d+1,i=t d-g&&t>=0?d:t