From b3b8d74a8b58179a4406039a28f6b74ae31e3821 Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Fri, 18 Jul 2025 14:57:45 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=B7=BB=E5=8A=A0=E5=85=A8=E6=A0=A1?= =?UTF-8?q?=E5=BF=83=E7=8E=87=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 ++ src/router/outlink.js | 8 ++++++++ src/views/outlink/heart/index.vue | 28 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 src/router/outlink.js create mode 100644 src/views/outlink/heart/index.vue diff --git a/src/router/index.js b/src/router/index.js index 6d3af9c..93fd49e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,6 +10,7 @@ import viewgird from './viewGird' import store from '../store/index' import redirect from './redirect' import charts from './charts' +import links from './outlink' const routes = [{ path: '/', name: 'index', @@ -22,6 +23,7 @@ const routes = [{ ...viewgird, ...redirect, ...charts, + ...links, //外链 // { // path: '/home', // name: 'home', diff --git a/src/router/outlink.js b/src/router/outlink.js new file mode 100644 index 0000000..1739c97 --- /dev/null +++ b/src/router/outlink.js @@ -0,0 +1,8 @@ + +let links=[ + { + path: '/heart', + name: 'heart', + component: () => import('@/views/outlink/heart/index.vue') + }] +export default links \ No newline at end of file diff --git a/src/views/outlink/heart/index.vue b/src/views/outlink/heart/index.vue new file mode 100644 index 0000000..ea659e8 --- /dev/null +++ b/src/views/outlink/heart/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file