From 627a727a57196eb0c8dd4b7467525a6f2bd5932e Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 22 Jul 2025 09:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E7=9C=A0=E4=B9=8B=E6=A2=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bmzm/chapter1/index.vue | 140 ++++++++++++++++++++ bmzm/chapter2/index.vue | 85 ++++++++++++ bmzm/chapter3/index.vue | 177 +++++++++++++++++++++++++ bmzm/chapter4/index.vue | 57 ++++++++ bmzm/chapter5/index.vue | 53 ++++++++ bmzm/chapter6/index.vue | 81 ++++++++++++ bmzm/chapter7/index.vue | 257 ++++++++++++++++++++++++++++++++++++ bmzm/home/home.vue | 156 ++++++++++++++++++++++ pages.json | 61 +++++++++ static/js/CommonFunction.js | 6 + 10 files changed, 1073 insertions(+) create mode 100644 bmzm/chapter1/index.vue create mode 100644 bmzm/chapter2/index.vue create mode 100644 bmzm/chapter3/index.vue create mode 100644 bmzm/chapter4/index.vue create mode 100644 bmzm/chapter5/index.vue create mode 100644 bmzm/chapter6/index.vue create mode 100644 bmzm/chapter7/index.vue create mode 100644 bmzm/home/home.vue diff --git a/bmzm/chapter1/index.vue b/bmzm/chapter1/index.vue new file mode 100644 index 0000000..b51d537 --- /dev/null +++ b/bmzm/chapter1/index.vue @@ -0,0 +1,140 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter2/index.vue b/bmzm/chapter2/index.vue new file mode 100644 index 0000000..d3a4b3c --- /dev/null +++ b/bmzm/chapter2/index.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter3/index.vue b/bmzm/chapter3/index.vue new file mode 100644 index 0000000..82b163d --- /dev/null +++ b/bmzm/chapter3/index.vue @@ -0,0 +1,177 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter4/index.vue b/bmzm/chapter4/index.vue new file mode 100644 index 0000000..d597ffd --- /dev/null +++ b/bmzm/chapter4/index.vue @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter5/index.vue b/bmzm/chapter5/index.vue new file mode 100644 index 0000000..2d96b64 --- /dev/null +++ b/bmzm/chapter5/index.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter6/index.vue b/bmzm/chapter6/index.vue new file mode 100644 index 0000000..46737f7 --- /dev/null +++ b/bmzm/chapter6/index.vue @@ -0,0 +1,81 @@ + + + + + \ No newline at end of file diff --git a/bmzm/chapter7/index.vue b/bmzm/chapter7/index.vue new file mode 100644 index 0000000..ea96faa --- /dev/null +++ b/bmzm/chapter7/index.vue @@ -0,0 +1,257 @@ + + + + + \ No newline at end of file diff --git a/bmzm/home/home.vue b/bmzm/home/home.vue new file mode 100644 index 0000000..63f1ebb --- /dev/null +++ b/bmzm/home/home.vue @@ -0,0 +1,156 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 1f7de4f..2e70951 100644 --- a/pages.json +++ b/pages.json @@ -302,6 +302,67 @@ } } ] + }, + { + "root": "bmzm", + "pages": [ + { + "path": "home/home", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter1/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter2/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter3/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter4/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter5/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter6/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "chapter7/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + } + ] } ], "tabBar": { diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index c69cb44..e5dd4b1 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -385,4 +385,10 @@ Vue.prototype.browse_record = (info) => { info.uuid = uuid Vue.prototype.Post(info, '/api/browse/browse_record').then(res => {}) }) +} + +Vue.prototype.appendToStorage = (key, newData) => { + const existing = uni.getStorageSync(key) || {}; + const updated = { ...existing, ...newData }; + uni.setStorageSync(key, updated); } \ No newline at end of file