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; +}