From b40c78fcadb67ed4417dd47e7997c42d838fe640 Mon Sep 17 00:00:00 2001 From: zheng020 Date: Mon, 27 Apr 2026 18:20:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A0=E6=9D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages.json | 9 + frontend/pages/castlove/mint/tear-card.vue | 28 + frontend/static/html/tear-card.html | 629 +++++++++++++++++++++ frontend/utils/api.js | 10 +- 横向瀑布流.html | 420 ++++++++++++++ 5 files changed, 1092 insertions(+), 4 deletions(-) create mode 100644 frontend/pages/castlove/mint/tear-card.vue create mode 100644 frontend/static/html/tear-card.html create mode 100644 横向瀑布流.html diff --git a/frontend/pages.json b/frontend/pages.json index 4a2f41f..2b0f39e 100644 --- a/frontend/pages.json +++ b/frontend/pages.json @@ -131,6 +131,15 @@ "navigationStyle": "custom" } }, + { + "path": "pages/castlove/mint/tear-card", + "style": { + "navigationStyle": "custom", + "app-plus": { + "bounce": "none" + } + } + }, { "path": "pages/support-activity/index", "style": { diff --git a/frontend/pages/castlove/mint/tear-card.vue b/frontend/pages/castlove/mint/tear-card.vue new file mode 100644 index 0000000..0da5658 --- /dev/null +++ b/frontend/pages/castlove/mint/tear-card.vue @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/frontend/static/html/tear-card.html b/frontend/static/html/tear-card.html new file mode 100644 index 0000000..a35f1ca --- /dev/null +++ b/frontend/static/html/tear-card.html @@ -0,0 +1,629 @@ + + + + + + + + + + + + + +
+
+ 底层 +
+ +
+ + + + + + + \ No newline at end of file diff --git a/frontend/utils/api.js b/frontend/utils/api.js index f1fa43f..4735bef 100644 --- a/frontend/utils/api.js +++ b/frontend/utils/api.js @@ -1,7 +1,7 @@ // API 基础配置 // const baseURL = 'http://101.132.250.62:8080' -// const baseURL = 'http://192.168.110.60:8080' -const baseURL = 'http://localhost:8080' +const baseURL = 'http://192.168.110.60:8080' +// const baseURL = 'http://localhost:8080' // 是否使用模拟数据(开发调试时设为 true,后端API准备好后改为 false) const USE_MOCK_API = false @@ -60,7 +60,8 @@ export function request(options) { if (res.data && res.data.code !== undefined) { if (res.data.code === 200) { resolve(res.data) - } else if (res.data.code === 401 || res.data.code === 400 || res.data.code === 403) { + } else if (res.data.code === 401 || res.data.code === 400 || res.data + .code === 403) { // 业务状态码401/400/403(未授权/冻结/封号),清除缓存并跳转到登录页 uni.removeStorageSync('access_token') uni.removeStorageSync('user') @@ -68,7 +69,8 @@ export function request(options) { // 保留错误消息用于显示 const errorMsg = res.data.message || '登录已过期,请重新登录' uni.reLaunch({ - url: '/pages/login/login?error=' + encodeURIComponent(errorMsg) + url: '/pages/login/login?error=' + encodeURIComponent( + errorMsg) }) reject(new Error(errorMsg)) diff --git a/横向瀑布流.html b/横向瀑布流.html new file mode 100644 index 0000000..4136633 --- /dev/null +++ b/横向瀑布流.html @@ -0,0 +1,420 @@ + + + + + + 横向瀑布流 · 完美填满与呼吸间隙 + + + +
+
灵感瀑布
+
自动滚动中
+
+
+
+
+ + + + \ No newline at end of file