diff --git a/.env.h888 b/.env.h888 new file mode 100644 index 0000000..6c003d0 --- /dev/null +++ b/.env.h888 @@ -0,0 +1,13 @@ +NODE_ENV = production + +VUE_ENV = h888 + +VUE_APP_LINE_LIFF_ID = 1657876696-564NGMxy + +VUE_APP_BASE_URL = https://card.h888.fun + +VUE_APP_SEND_URL = https://liff.line.me/1657876696-564NGMxy + +VUE_APP_API_URL = https://card.h888.fun/appapi/v1 + +VUE_APP_IMAGE_URL = https://card.h888.fun/storage diff --git a/.env.slash b/.env.slash index 291f8b5..3a70fc1 100644 --- a/.env.slash +++ b/.env.slash @@ -11,3 +11,5 @@ VUE_APP_SEND_URL = https://liff.line.me/1661025693-veEM0lwZ VUE_APP_API_URL = https://card.slash1000.com/appapi/v1 VUE_APP_IMAGE_URL = https://card.slash1000.com/storage + +VUE_APP_MC_URL = https://liff.line.me/1656907652-p38ddKzQ diff --git a/package-lock.json b/package-lock.json index e49c013..08a8ff1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,8 @@ "dependencies": { "axios": "^0.26.1", "core-js": "^3.6.5", + "dayjs": "^1.11.7", + "js-cookie": "^3.0.1", "vant": "^3.4.7", "vue": "^3.0.0", "vue-router": "^4.0.0-0", @@ -5422,6 +5424,11 @@ "node": ">=0.10" } }, + "node_modules/dayjs": { + "version": "1.11.7", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz", + "integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -8466,6 +8473,14 @@ "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "dev": true }, + "node_modules/js-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", + "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==", + "engines": { + "node": ">=12" + } + }, "node_modules/js-message": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz", @@ -19164,6 +19179,11 @@ "assert-plus": "^1.0.0" } }, + "dayjs": { + "version": "1.11.7", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz", + "integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -21504,6 +21524,11 @@ "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "dev": true }, + "js-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", + "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==" + }, "js-message": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz", diff --git a/package.json b/package.json index a26a829..3e854c0 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,14 @@ "build:slash": "vue-cli-service build --mode slash", "build:u168": "vue-cli-service build --mode u168", "build:dev": "vue-cli-service build --mode development", - "build:sta": "vue-cli-service build --mode stage" + "build:sta": "vue-cli-service build --mode stage", + "build:h888": "vue-cli-service build --mode h888" }, "dependencies": { "axios": "^0.26.1", "core-js": "^3.6.5", + "dayjs": "^1.11.7", + "js-cookie": "^3.0.1", "vant": "^3.4.7", "vue": "^3.0.0", "vue-router": "^4.0.0-0", diff --git a/public/index.html b/public/index.html index 083249a..e0e8baa 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,21 @@ - - - - - + + + + + + <%= htmlWebpackPlugin.options.title %> - +