From ec2f10a286d1fee200b6255ac40d7dd213a826ce Mon Sep 17 00:00:00 2001 From: xvv Date: Sun, 4 Aug 2024 13:27:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/home.vue | 8 +++++++- ruoyi-ui/src/views/officialWebsite/details.vue | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/home.vue b/ruoyi-ui/src/views/home.vue index ce5dafd..133c08e 100644 --- a/ruoyi-ui/src/views/home.vue +++ b/ruoyi-ui/src/views/home.vue @@ -139,7 +139,7 @@ -
+
@@ -289,6 +289,12 @@ export default { } }, methods: { + godx(){ + this.$router.push({ + name: 'xufang', + query:{ id: '1813829868593483776' } + }); + }, golist(id){ console.log('跳转',id) this.$router.push({ diff --git a/ruoyi-ui/src/views/officialWebsite/details.vue b/ruoyi-ui/src/views/officialWebsite/details.vue index d44707d..7189d1e 100644 --- a/ruoyi-ui/src/views/officialWebsite/details.vue +++ b/ruoyi-ui/src/views/officialWebsite/details.vue @@ -7,6 +7,8 @@ + +
返回
{{info.contentTitle}}
@@ -75,6 +77,9 @@ export default { }, methods: { + goback(){ + this.$router.go(-1) + }, // 触发导航 getCurrentActive(value) { if (this.currentActive == value) { @@ -545,4 +550,12 @@ export default { min-height:400px; } +.back{ + width: 80%; + margin: 15px auto; + display: flex; + align-items: center; + cursor: pointer; + color: #00A0E8; +}