From e5c6fbd4e4afff5d330e8e053a2b5d26ccc88fe3 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Wed, 6 Aug 2025 09:17:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=8B=E7=9B=9F=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=92=8C=E6=8A=A5=E5=90=8D=E9=A1=B5=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 14 +++++++------- src/pages/Home.vue | 29 +++++++++++++++-------------- src/pages/Item.vue | 14 ++++++++++++-- src/router/index.js | 2 +- src/utils/analytics.js | 19 +++++++++++++++++++ 5 files changed, 54 insertions(+), 24 deletions(-) create mode 100644 src/utils/analytics.js diff --git a/src/App.vue b/src/App.vue index da128d3..6459a95 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,13 +27,13 @@ try { } onMounted(() => { - // 首屏加载时发送一次PV - if (window.aplus_queue && Array.isArray(window.aplus_queue)) { - window.aplus_queue.push({ - action: 'aplus.sendPV', - arguments: [{ is_auto: false }] - }) - } + // 首屏加载时发送一次PV(不需要) + // if (window.aplus_queue && Array.isArray(window.aplus_queue)) { + // window.aplus_queue.push({ + // action: 'aplus.sendPV', + // arguments: [{ is_auto: false }] + // }) + // } }) diff --git a/src/pages/Home.vue b/src/pages/Home.vue index c4dafc6..b1b635d 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -104,7 +104,7 @@ >