update
This commit is contained in:
parent
facd77d7f9
commit
00f6d24359
2
.env
2
.env
@ -1,4 +1,4 @@
|
|||||||
VUE_APP_I18N_LOCALE=zh-chs
|
VUE_APP_I18N_LOCALE=zh-chs
|
||||||
VUE_APP_I18N_FALLBACK_LOCALE=en
|
VUE_APP_I18N_FALLBACK_LOCALE=en
|
||||||
VUE_APP_CDN_PATH=https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/
|
VUE_APP_CDN_PATH=https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@master/dist/
|
||||||
#VUE_APP_CDN_PATH=https://cloud.jsonpop.cn/go2index/vue/dist/
|
#VUE_APP_CDN_PATH=https://cloud.jsonpop.cn/go2index/vue/dist/
|
2
dist/app.js
vendored
2
dist/app.js
vendored
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
var scripts = ["https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@v2.0.8/dist/js/app.da7f5f3f.js","https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@v2.0.8/dist/js/chunk-vendors.3c185c97.js"];
|
var scripts = ["https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.8/dist/js/app.9b02a6f8.js","https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.8/dist/js/chunk-vendors.d0ca61b8.js"];
|
||||||
var cdnjs = ["https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js","https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js","https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js","https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js","https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js","https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js","https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js","https://at.alicdn.com/t/font_1760192_8add3xcxs4u.js"];
|
var cdnjs = ["https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js","https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js","https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js","https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js","https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js","https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js","https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js","https://at.alicdn.com/t/font_1760192_8add3xcxs4u.js"];
|
||||||
cdnjs.forEach((item) => {
|
cdnjs.forEach((item) => {
|
||||||
document.write('<script src="' + item + '"></script>');
|
document.write('<script src="' + item + '"></script>');
|
||||||
|
1
dist/css/app.a0b47f7b.css
vendored
1
dist/css/app.a0b47f7b.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/css/app.a0b47f7b.css.gz
vendored
BIN
dist/css/app.a0b47f7b.css.gz
vendored
Binary file not shown.
1
dist/css/chunk-02979915.7494f567.css
vendored
1
dist/css/chunk-02979915.7494f567.css
vendored
@ -1 +0,0 @@
|
|||||||
.g2-breadcrumb[data-v-18c33a6f]{border-bottom:2px solid #f5f5f5;padding:10px .75em}.level-left[data-v-18c33a6f]{width:95%}.level-left .level-item[data-v-18c33a6f]{display:initial;width:100%}.level-right .level-item[data-v-18c33a6f]:hover{cursor:pointer}
|
|
1
dist/css/chunk-075e2f32.63d5b552.css
vendored
1
dist/css/chunk-075e2f32.63d5b552.css
vendored
@ -1 +0,0 @@
|
|||||||
.component-markdown .spin-group{height:100px;display:flex;justify-content:center;align-items:center;flex-direction:column}.baidupan{overflow:hidden;margin-bottom:16px}.baidupan .container{height:50px;border-radius:4px;border:1px solid #dfe2e5;padding:10px;float:left;cursor:pointer}.baidupan .container:hover{border:1px solid purple}.baidupan .container:hover .line{background-color:purple}.baidupan .container .icon{float:left;height:30px;text-align:center;width:40px;margin-right:10px}.baidupan .container .icon img{width:40px}.baidupan .container .url{float:left;height:30px;line-height:30px;color:purple}.baidupan .container .line{float:left;height:50px;width:1px;margin:-10px 10px;background-color:#dfe2e5}.baidupan .container .pwd{float:left;height:30px;line-height:30px}
|
|
1
dist/css/chunk-1f1f60af.5e8b0fa8.css
vendored
1
dist/css/chunk-1f1f60af.5e8b0fa8.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/chunk-4b66a741.9b848216.css
vendored
1
dist/css/chunk-4b66a741.9b848216.css
vendored
@ -1 +0,0 @@
|
|||||||
.g2-grid-view[data-v-1871190e]{margin-bottom:2rem}.media-left[data-v-1871190e]{margin-right:.5rem}.content[data-v-1871190e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px}.column[data-v-1871190e]{cursor:pointer}.g2-grid-view-card[data-v-1871190e]{box-shadow:0 4px 10px rgba(0,0,0,.2),0 0 1px rgba(0,0,0,.05);border-radius:.5rem}.g2-grid-view-card .card-image img[data-v-1871190e]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.g2-grid-view-card .card-image .file-icon[data-v-1871190e]{width:64px;height:64px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.g2-grid-view-card[data-v-1871190e]:hover{box-shadow:0 4px 10px rgba(0,0,0,.4),0 0 1px rgba(0,0,0,.05)}.g2-grid-view-card .g2-grid-view-file .content[data-v-1871190e]{padding:8px}.g2-grid-view-folder[data-v-1871190e]{padding:10px}.g2-grid-view-play[data-v-1871190e]:before{z-index:10;position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:rgba(0,0,0,.15);opacity:1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000,endColorstr=#33000000);border-top-left-radius:.5rem;border-top-right-radius:.5rem}.g2-grid-view-play i[data-v-1871190e]{font-style:normal}.g2-grid-view-play i[data-v-1871190e]:before{z-index:10;position:absolute;top:50%;left:0;right:0;text-align:center;height:0;color:hsla(0,0%,100%,.67);content:"\e6f6";font-size:3rem;font-family:iconfont!important;line-height:0}.iconfont[data-v-1871190e]{width:1.5em;height:1.5em;vertical-align:middle}
|
|
1
dist/css/chunk-6f177d7a.9b848216.css
vendored
1
dist/css/chunk-6f177d7a.9b848216.css
vendored
@ -1 +0,0 @@
|
|||||||
.g2-grid-view[data-v-1871190e]{margin-bottom:2rem}.media-left[data-v-1871190e]{margin-right:.5rem}.content[data-v-1871190e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px}.column[data-v-1871190e]{cursor:pointer}.g2-grid-view-card[data-v-1871190e]{box-shadow:0 4px 10px rgba(0,0,0,.2),0 0 1px rgba(0,0,0,.05);border-radius:.5rem}.g2-grid-view-card .card-image img[data-v-1871190e]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.g2-grid-view-card .card-image .file-icon[data-v-1871190e]{width:64px;height:64px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.g2-grid-view-card[data-v-1871190e]:hover{box-shadow:0 4px 10px rgba(0,0,0,.4),0 0 1px rgba(0,0,0,.05)}.g2-grid-view-card .g2-grid-view-file .content[data-v-1871190e]{padding:8px}.g2-grid-view-folder[data-v-1871190e]{padding:10px}.g2-grid-view-play[data-v-1871190e]:before{z-index:10;position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:rgba(0,0,0,.15);opacity:1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000,endColorstr=#33000000);border-top-left-radius:.5rem;border-top-right-radius:.5rem}.g2-grid-view-play i[data-v-1871190e]{font-style:normal}.g2-grid-view-play i[data-v-1871190e]:before{z-index:10;position:absolute;top:50%;left:0;right:0;text-align:center;height:0;color:hsla(0,0%,100%,.67);content:"\e6f6";font-size:3rem;font-family:iconfont!important;line-height:0}.iconfont[data-v-1871190e]{width:1.5em;height:1.5em;vertical-align:middle}
|
|
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@v2.0.8/dist/favicon.ico><link href=https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css rel=stylesheet><link href=https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css rel=stylesheet><title>go2index-theme-acrou</title><script src=/setting.js></script><script src=https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js></script><script src=https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js></script><script src=https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js></script><script src=https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js></script><script src=https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js></script><script src=https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js></script><script src=https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js></script><script src=https://at.alicdn.com/t/font_1760192_8add3xcxs4u.js></script></head><body><div id=app></div><script src=/app.js></script></body></html>
|
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://cdn.jsdelivr.net/gh/RandallAnjie/goindex-theme-r@v2.0.8/dist/favicon.ico><link href=https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css rel=stylesheet><link href=https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css rel=preload as=style><link href=https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css rel=stylesheet><title>go2index-theme-acrou</title><script src=/setting.js></script><script src=https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js></script><script src=https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js></script><script src=https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js></script><script src=https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js></script><script src=https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js></script><script src=https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js></script><script src=https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js></script><script src=https://at.alicdn.com/t/font_1760192_8add3xcxs4u.js></script></head><body><div id=app></div><script src=/app.js></script></body></html>
|
1
dist/js/app.da7f5f3f.js
vendored
1
dist/js/app.da7f5f3f.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/app.da7f5f3f.js.gz
vendored
BIN
dist/js/app.da7f5f3f.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-02979915.dbf243db.js
vendored
1
dist/js/chunk-02979915.dbf243db.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-02979915.dbf243db.js.gz
vendored
BIN
dist/js/chunk-02979915.dbf243db.js.gz
vendored
Binary file not shown.
10
dist/js/chunk-0609f824.2923b048.js
vendored
10
dist/js/chunk-0609f824.2923b048.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-0609f824.2923b048.js.gz
vendored
BIN
dist/js/chunk-0609f824.2923b048.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-072ae9f4.ba799a67.js
vendored
1
dist/js/chunk-072ae9f4.ba799a67.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-072ae9f4.ba799a67.js.gz
vendored
BIN
dist/js/chunk-072ae9f4.ba799a67.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-075e2f32.a72b9966.js
vendored
1
dist/js/chunk-075e2f32.a72b9966.js
vendored
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-075e2f32"],{"498a":function(n,t,e){"use strict";var r=e("23e7"),a=e("58a8").trim,i=e("c8d2");r({target:"String",proto:!0,forced:i("trim")},{trim:function(){return a(this)}})},5899:function(n,t){n.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(n,t,e){var r=e("1d80"),a=e("5899"),i="["+a+"]",c=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),o=function(n){return function(t){var e=String(r(t));return 1&n&&(e=e.replace(c,"")),2&n&&(e=e.replace(s,"")),e}};n.exports={start:o(1),end:o(2),trim:o(3)}},6688:function(n,t,e){"use strict";var r=e("8f28"),a=e.n(r);a.a},"8f28":function(n,t,e){},b6ba:function(n,t,e){"use strict";e.r(t);var r=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"component-markdown"},[n.markedHTML?n._e():e("div",{staticClass:"spin-group"},[e("i",{staticClass:"fa fa-spinner fa-pulse fa-2x fa-fw"}),e("span",{staticClass:"sr-only"},[n._v("Loading...")])]),e("div",{staticClass:"markdown-body content",domProps:{innerHTML:n._s(n.markedHTML)}})])},a=[],i=(e("ac1f"),e("5319"),e("96cf"),e("1da1")),c=e("0e54"),s=e.n(c),o=(e("99af"),e("466d"),e("498a"),e("cbd9")),u=function(n){var t=n.replace(/<[^<>]+>/g,"").trim(),e=/^https:\/\/pan\.baidu\.com\/s\/[a-z0-9]+$/i,r=/^链接: https:\/\/pan\.baidu\.com\/s\/[a-z0-9]+ 密码: [a-z0-9]{4}$/i;if(e.test(t))return'<div class="baidupan">\n <a href="'.concat(t,'" class="container">\n <div class="icon">\n <img src="').concat(Object(o["a"])("images/baidu-pan-logo.png"),'" style="background-color: transparent;">\n </div>\n <div class="url">').concat(t,"</div>\n </a>\n </div>");if(r.test(t)){var a=t.match(/https:\/\/pan\.baidu\.com\/s\/[a-z0-9]+/i),i=t.match(/[a-z0-9]{4}$/i);return'<div class="baidupan">\n <div class="container">\n <a href="'.concat(a[0],'">\n <div class="icon">\n <img src="').concat(Object(o["a"])("images/baidu-pan-logo.png"),'" style="background-color: transparent;">\n </div>\n <div class="url">').concat(a[0],'</div>\n </a>\n <div class="line"></div>\n <div class="pwd">\n 密码\n <span>').concat(i[0],"</span>\n </div>\n </div>\n </div>")}return!1},d=e("9bd2");function l(n){return Object(d["a"])({url:n,method:"get"})}var f={name:"markdown",props:{url:{type:String,required:!1,default:""},source:{type:String,required:!1,default:""},highlight:{type:Boolean,required:!1,default:!1},baidupan:{type:Boolean,required:!1,default:!0}},data:function(){return{getReadmePublicPath:"",markedHTML:""}},mounted:function(){this.url?this.initWithUrl():this.source?this.initWithMd():console.log("not mounted init")},watch:{source:function(n){n&&this.initWithMd()}},methods:{handler:function(n){return n&&(n=n.replace(/---\n([\s\S]*)---\n/,"")),n},initWithMd:function(){this.markedHTML=this.marked(this.handler(this.source))},initWithUrl:function(){var n=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.getReadme(n.url);case 2:n.markedHTML=t.sent;case 3:case"end":return t.stop()}}),t)})))()},getReadme:function(n){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l(n);case 2:return r=e.sent,console.log(r),e.abrupt("return",t.marked(r.data));case 5:case"end":return e.stop()}}),e)})))()},marked:function(n){var t=this,e=new s.a.Renderer;return e.blockquote=function(n){return t.baidupan&&u(n,t.$baseUrl)||"<blockquote>".concat(n,"</blockquote>")},s()(n,{renderer:e})}}},p=f,m=(e("6688"),e("2877")),h=Object(m["a"])(p,r,a,!1,null,null,null);t["default"]=h.exports},c8d2:function(n,t,e){var r=e("d039"),a=e("5899"),i="
";n.exports=function(n){return r((function(){return!!a[n]()||i[n]()!=i||a[n].name!==n}))}}}]);
|
|
1
dist/js/chunk-1f1f60af.aa1f85c9.js
vendored
1
dist/js/chunk-1f1f60af.aa1f85c9.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-1f1f60af.aa1f85c9.js.gz
vendored
BIN
dist/js/chunk-1f1f60af.aa1f85c9.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-2d0af48a.2a7f864b.js
vendored
1
dist/js/chunk-2d0af48a.2a7f864b.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-2d0af48a.2a7f864b.js.gz
vendored
BIN
dist/js/chunk-2d0af48a.2a7f864b.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-2d0b2ee4.4b78daef.js
vendored
1
dist/js/chunk-2d0b2ee4.4b78daef.js
vendored
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b2ee4"],{"25e0":function(t,i,e){"use strict";e.r(i);var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("table",{staticClass:"table is-hoverable"},[e("thead",[e("tr",t._l(t.columns,(function(i,s){return e("th",{key:s,class:i.class,style:i.style},[t._v(" "+t._s(i.name)+" "),t._m(0,!0)])})),0)]),e("tbody",t._l(t.data,(function(i,s){return e("tr",{key:s},[e("td",{attrs:{title:i.name},on:{click:function(e){return e.target!==e.currentTarget?null:t.action(i,"application/vnd.google-apps.folder"!==i.mimeType?"view":"")}}},[e("svg",{staticClass:"iconfont",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":t.icons(i.mimeType)}})]),t._v(" "+t._s(i.name)+" "),t.isShowDesc?e("span",{staticClass:"has-text-grey g2-file-desc",domProps:{innerHTML:t._s(i.description)}}):t._e()]),e("td",{staticClass:"is-hidden-mobile is-hidden-touch"},[t._v(" "+t._s(i.modifiedTime)+" ")]),e("td",{staticClass:"is-hidden-mobile is-hidden-touch"},[t._v(t._s(i.size))]),e("td",{staticClass:"is-hidden-mobile is-hidden-touch"},[e("span",{staticClass:"icon",on:{click:function(e){return e.stopPropagation(),t.action(i,"copy")}}},[e("i",{staticClass:"fa fa-copy faa-shake animated-hover",attrs:{title:t.$t("list.opt.copy"),"aria-hidden":"true"}})]),e("span",{staticClass:"icon",on:{click:function(e){return e.stopPropagation(),t.action(i,"_blank")}}},[e("i",{staticClass:"fa fa-external-link faa-shake animated-hover",attrs:{title:t.$t("list.opt.newTab"),"aria-hidden":"true"}})]),"application/vnd.google-apps.folder"!==i.mimeType?e("span",{staticClass:"icon",on:{click:function(e){return e.stopPropagation(),t.action(i,"down")}}},[e("i",{staticClass:"fa fa-download faa-shake animated-hover",attrs:{"aria-hidden":"true",title:t.$t("list.opt.download")}})]):t._e()])])})),0)])},a=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("span",{staticClass:"caret-wrapper"},[e("i",{staticClass:"sort-caret ascending"}),e("i",{staticClass:"sort-caret descending"})])}],n={props:{data:{type:Array,default:function(){return[]}},icons:{type:Function},action:{type:Function}},computed:{columns:function(){return[{name:this.$t("list.title.file"),style:""},{name:this.$t("list.title.moditime"),style:"width:20%",class:"is-hidden-mobile is-hidden-touch"},{name:this.$t("list.title.size"),style:"width:10.5%",class:"is-hidden-mobile is-hidden-touch"},{name:this.$t("list.title.operation"),style:"width:13.5%",class:"is-hidden-mobile is-hidden-touch"}]},isShowDesc:function(){return window.themeOptions.render.desc||!1}}},o=n,c=e("2877"),l=Object(c["a"])(o,s,a,!1,null,null,null);i["default"]=l.exports}}]);
|
|
1
dist/js/chunk-2d0f0fbe.69f90caa.js
vendored
1
dist/js/chunk-2d0f0fbe.69f90caa.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-2d0f0fbe.69f90caa.js.gz
vendored
BIN
dist/js/chunk-2d0f0fbe.69f90caa.js.gz
vendored
Binary file not shown.
84
dist/js/chunk-2d1e3ca3.6f34a72d.js
vendored
84
dist/js/chunk-2d1e3ca3.6f34a72d.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-2d1e3ca3.6f34a72d.js.gz
vendored
BIN
dist/js/chunk-2d1e3ca3.6f34a72d.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-2d225416.434bb4f5.js
vendored
1
dist/js/chunk-2d225416.434bb4f5.js
vendored
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d225416"],{e42c:function(e,r,n){"use strict";n.r(r);var u=function(){var e=this,r=e.$createElement,n=e._self._c||r;return n("div",[n("bread-crumb",{ref:"breadcrumb"}),n("router-view")],1)},t=[],c=n("2db9"),a={components:{BreadCrumb:c["default"]}},d=a,l=n("2877"),o=Object(l["a"])(d,u,t,!1,null,null,null);r["default"]=o.exports}}]);
|
|
9
dist/js/chunk-40ad1794.9718f8ab.js
vendored
9
dist/js/chunk-40ad1794.9718f8ab.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-40ad1794.9718f8ab.js.gz
vendored
BIN
dist/js/chunk-40ad1794.9718f8ab.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-4b66a741.931e3990.js
vendored
1
dist/js/chunk-4b66a741.931e3990.js
vendored
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b66a741"],{"2a7a":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"g2-grid-view"},[e("div",{staticClass:"columns is-multiline"},t._l(t.folders,(function(i,n){return e("div",{key:"folder_"+n,staticClass:"column is-one-quarter",on:{click:function(e){return t.action(i)}}},[e("div",{staticClass:"card g2-grid-view-card g2-grid-view-folder"},[e("div",{staticClass:"media"},[e("div",{staticClass:"content",attrs:{title:i.name}},[e("svg",{staticClass:"iconfont",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":t.getIcon(i.mimeType)}})]),t._v(" "+t._s(i.name)+" ")])])])])})),0),e("div",{staticClass:"columns is-multiline"},t._l(t.files,(function(i,n){return e("div",{key:"file_"+n,staticClass:"column is-one-quarter",on:{click:function(e){return t.action(i,"view")}}},[e("div",{staticClass:"card g2-grid-view-card"},[e("div",{class:"card-image"+(-1!=i.mimeType.indexOf("video")?" g2-grid-view-play":"")},[e("i"),e("figure",{staticClass:"image is-square"},[i.thumbnailLink?e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.thum(i.thumbnailLink),expression:"thum(file.thumbnailLink)"}],attrs:{alt:i.name}}):e("svg",{staticClass:"file-icon iconfont",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":t.getIcon(i.mimeType)}})])])]),e("div",{staticClass:"media g2-grid-view-file"},[e("div",{staticClass:"content",attrs:{title:i.name}},[e("svg",{staticClass:"iconfont",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":t.getIcon(i.mimeType)}})]),t._v(" "+t._s(i.name)+" ")])])])])})),0)])},a=[],s=(e("4de4"),{name:"GridView",props:{data:{type:Array,default:function(){return[]}},getIcon:{type:Function},action:{type:Function},thum:{type:Function}},data:function(){return{}},computed:{folders:function(){return this.data.filter((function(t){return t.isFolder}))},files:function(){return this.data.filter((function(t){return!t.isFolder}))}},methods:{}}),r=s,c=(e("677f"),e("2877")),l=Object(c["a"])(r,n,a,!1,null,"1871190e",null);i["default"]=l.exports},"45a1":function(t,i,e){},"677f":function(t,i,e){"use strict";var n=e("45a1"),a=e.n(n);a.a}}]);
|
|
1
dist/js/chunk-57544d36.20baab1a.js
vendored
1
dist/js/chunk-57544d36.20baab1a.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-57544d36.20baab1a.js.gz
vendored
BIN
dist/js/chunk-57544d36.20baab1a.js.gz
vendored
Binary file not shown.
7
dist/js/chunk-6f177d7a.9e63a858.js
vendored
7
dist/js/chunk-6f177d7a.9e63a858.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-6f177d7a.9e63a858.js.gz
vendored
BIN
dist/js/chunk-6f177d7a.9e63a858.js.gz
vendored
Binary file not shown.
1
dist/js/chunk-74a0e63a.c88af107.js
vendored
1
dist/js/chunk-74a0e63a.c88af107.js
vendored
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74a0e63a"],{"764d":function(n,w,o){}}]);
|
|
25
dist/js/chunk-vendors.3c185c97.js
vendored
25
dist/js/chunk-vendors.3c185c97.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/chunk-vendors.3c185c97.js.gz
vendored
BIN
dist/js/chunk-vendors.3c185c97.js.gz
vendored
Binary file not shown.
2
dist/style.css
vendored
2
dist/style.css
vendored
@ -1,4 +1,4 @@
|
|||||||
@import url(https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css);
|
@import url(https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css);
|
||||||
@import url(https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css);
|
@import url(https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css);
|
||||||
@import url(css/chunk-vendors.9b14a1cb.css);
|
@import url(css/chunk-vendors.9b14a1cb.css);
|
||||||
@import url(css/app.a0b47f7b.css);
|
@import url(css/app.dde41999.css);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// =======Options START=======
|
// =======Options START=======
|
||||||
var authConfig = {
|
var authConfig = {
|
||||||
siteName: "GoIndex-theme-acrou", // 网站名称
|
siteName: "GoIndex-theme-r", // 网站名称
|
||||||
version: "1.1.2", // 程序版本
|
version: "1.1.2", // 程序版本
|
||||||
theme: "acrou",
|
theme: "acrou",
|
||||||
// 强烈推荐使用自己的 client_id 和 client_secret
|
// 强烈推荐使用自己的 client_id 和 client_secret
|
||||||
@ -55,7 +55,7 @@ var authConfig = {
|
|||||||
*/
|
*/
|
||||||
search_result_list_page_size: 50,
|
search_result_list_page_size: 50,
|
||||||
// 确认有 cors 用途的可以开启
|
// 确认有 cors 用途的可以开启
|
||||||
enable_cors_file_down: false,
|
enable_cors_file_down: true,
|
||||||
/**
|
/**
|
||||||
* 上面的 basic auth 已经包含了盘内全局保护的功能。所以默认不再去认证 .password 文件内的密码;
|
* 上面的 basic auth 已经包含了盘内全局保护的功能。所以默认不再去认证 .password 文件内的密码;
|
||||||
* 如果在全局认证的基础上,仍需要给某些目录单独进行 .password 文件内的密码验证的话,将此选项设置为 true;
|
* 如果在全局认证的基础上,仍需要给某些目录单独进行 .password 文件内的密码验证的话,将此选项设置为 true;
|
||||||
@ -65,27 +65,25 @@ var authConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var themeOptions = {
|
var themeOptions = {
|
||||||
cdn: "https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou",
|
cdn: "https://git.randallanjie.com/Randall/goindex-theme-r/raw/branch/master",
|
||||||
// 主题版本号
|
|
||||||
version: "2.0.8",
|
|
||||||
//可选默认系统语言:en/zh-chs/zh-cht
|
//可选默认系统语言:en/zh-chs/zh-cht
|
||||||
languages: "en",
|
languages: "zh-chs",
|
||||||
render: {
|
render: {
|
||||||
/**
|
/**
|
||||||
* 是否渲染HEAD.md文件
|
* 是否渲染HEAD.md文件
|
||||||
* Render HEAD.md file
|
* Render HEAD.md file
|
||||||
*/
|
*/
|
||||||
head_md: false,
|
head_md: true,
|
||||||
/**
|
/**
|
||||||
* 是否渲染README.md文件
|
* 是否渲染README.md文件
|
||||||
* Render README.md file
|
* Render README.md file
|
||||||
*/
|
*/
|
||||||
readme_md: false,
|
readme_md: true,
|
||||||
/**
|
/**
|
||||||
* 是否渲染文件/文件夹描述
|
* 是否渲染文件/文件夹描述
|
||||||
* Render file/folder description or not
|
* Render file/folder description or not
|
||||||
*/
|
*/
|
||||||
desc: false,
|
desc: true,
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 视频播放器选项
|
* 视频播放器选项
|
||||||
@ -152,7 +150,7 @@ function html(current_drive_order = 0, model = {}) {
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
|
||||||
<title>${authConfig.siteName}</title>
|
<title>${authConfig.siteName}</title>
|
||||||
<style>
|
<style>
|
||||||
@import url(${themeOptions.cdn}@${themeOptions.version}/dist/style.min.css);
|
@import url(${themeOptions.cdn}/dist/style.css);
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
window.gdconfig = JSON.parse('${JSON.stringify({
|
window.gdconfig = JSON.parse('${JSON.stringify({
|
||||||
@ -169,9 +167,7 @@ function html(current_drive_order = 0, model = {}) {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script src="${themeOptions.cdn}@${
|
<script src="${themeOptions.cdn}/dist/app.js"></script>
|
||||||
themeOptions.version
|
|
||||||
}/dist/app.min.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`;
|
`;
|
||||||
|
13447
package-lock.json
generated
13447
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -25,9 +25,9 @@
|
|||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"lowdb": "^1.0.0",
|
"lowdb": "^1.0.0",
|
||||||
"marked": "^1.1.0",
|
"marked": "^1.1.0",
|
||||||
"node-sass": "^4.14.0",
|
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"plyr": "^3.6.2",
|
"plyr": "^3.6.2",
|
||||||
|
"sass": "^1.77.8",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^8.0.2",
|
||||||
"v-viewer": "^1.5.1",
|
"v-viewer": "^1.5.1",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
|
@ -15,7 +15,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data: function() {
|
data: function() {
|
||||||
return {
|
return {
|
||||||
github: "https://github.com/Aicirou/goindex-theme-acrou",
|
github: "https://github.com/RandallAnjie/goindex-theme-r",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -4,16 +4,10 @@
|
|||||||
<div class="field is-grouped is-grouped-multiline">
|
<div class="field is-grouped is-grouped-multiline">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<div class="tags has-addons">
|
<div class="tags has-addons">
|
||||||
<a
|
<span>
|
||||||
class="tag is-dark"
|
Powered By <a style="color:rgb(74, 74, 74);" href="https://randallanjie.com"> Randallanjie.com</a>
|
||||||
href="https://github.com/Aicirou/goindex-theme-acrou"
|
|
||||||
>goindex-theme-acrou</a>
|
|
||||||
<span class="tag is-light">
|
|
||||||
MIT
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa fa-github"></i>
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user