diff --git a/config.yaml b/config.yaml index e23444d..e73b86c 100644 --- a/config.yaml +++ b/config.yaml @@ -29,6 +29,6 @@ operators: server: operator_folder: ./operator/ release_folder: ./release/ - template_folder: ./template/operator + template_folder: ./template/operator/ index: - src_folder: ./template/index/src \ No newline at end of file + src_folder: ./template/index/src/assets diff --git a/template/showcase/.env b/template/showcase/.env new file mode 100644 index 0000000..f6cc18c --- /dev/null +++ b/template/showcase/.env @@ -0,0 +1,10 @@ +VITE_OPERATOR=chen +VITE_TITLE="Arknights: Ch'en/Chen the Holungday - 明日方舟:假日威龙陈" +VITE_FILENAME=dyn_illust_char_1013_chen2 +VITE_LOGO=logo_rhodes_override +VITE_OPACITY=100 +VITE_VIEWPORT_LEFT=0 +VITE_VIEWPORT_RIGHT=0 +VITE_VIEWPORT_TOP=1 +VITE_VIEWPORT_BOTTOM=1 +VITE_INVERT_FILTER=false \ No newline at end of file diff --git a/template/showcase/.gitignore b/template/showcase/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/template/showcase/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/template/showcase/index.html b/template/showcase/index.html new file mode 100644 index 0000000..961e0a7 --- /dev/null +++ b/template/showcase/index.html @@ -0,0 +1,14 @@ + + +
+ + + + +" + error + "
"; + this.config.error(this, error); + }; + SpinePlayer.prototype.render = function () { + var _this = this; + var config = this.config; + var dom = this.dom = createElement("\n\t\t\t\t