diff --git a/public/favicon.ico b/public/favicon.ico
index df36fcf..5d3a441 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/index.html b/public/index.html
index 38e2fa0..be55c5b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -5,8 +5,15 @@
-
+
Hill's Treasure Hunt
+
+
+
+
+
+
+
+
+
+
+
+ #da532c
+
+
+
diff --git a/public/src/img/favicon-16x16.png b/public/src/img/favicon-16x16.png
new file mode 100644
index 0000000..967b2ab
Binary files /dev/null and b/public/src/img/favicon-16x16.png differ
diff --git a/public/src/img/favicon-32x32.png b/public/src/img/favicon-32x32.png
new file mode 100644
index 0000000..0a5445c
Binary files /dev/null and b/public/src/img/favicon-32x32.png differ
diff --git a/public/src/img/favicon.ico b/public/src/img/favicon.ico
new file mode 100644
index 0000000..5d3a441
Binary files /dev/null and b/public/src/img/favicon.ico differ
diff --git a/public/src/img/mstile-150x150.png b/public/src/img/mstile-150x150.png
new file mode 100644
index 0000000..17dbf51
Binary files /dev/null and b/public/src/img/mstile-150x150.png differ
diff --git a/public/src/img/safari-pinned-tab.svg b/public/src/img/safari-pinned-tab.svg
new file mode 100644
index 0000000..4582c16
--- /dev/null
+++ b/public/src/img/safari-pinned-tab.svg
@@ -0,0 +1,23 @@
+
+
+
diff --git a/public/src/img/site.webmanifest b/public/src/img/site.webmanifest
new file mode 100644
index 0000000..b20abb7
--- /dev/null
+++ b/public/src/img/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/src/router/index.js b/src/router/index.js
index f40e418..ae8da6a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,7 +11,7 @@ const routes = [
component: HomeView
},
{
- path: '/home/:name/:box/:boxId',
+ path: '/home/:code',
name: 'home',
component: HomeView
},
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index ed2fa0b..18ed80d 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -749,8 +749,8 @@ export default {
mounted() {
this.initData()
this.$nextTick(() => {
- if (this.$route.params.name) {
- if(this.$route.params.boxId.split("id=")[1] != 'undefined') {
+ if (this.$route.params.code) {
+ if(this.$route.params.code.split("=")[0] == 'box') {
this.helpDialogVisible = true
}
}