From 839461b04197f781ff8627d75824dacbbb76230f Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 30 六月 2024 00:51:59 +0800 Subject: [PATCH] 消息使用特定組件解析 --- src/views/project/ch/home/component/waterRight/bottom.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/project/ch/home/component/waterRight/bottom.vue b/src/views/project/ch/home/component/waterRight/bottom.vue index 37943ac..02eb624 100644 --- a/src/views/project/ch/home/component/waterRight/bottom.vue +++ b/src/views/project/ch/home/component/waterRight/bottom.vue @@ -5,7 +5,7 @@ <span>搴旂敤鍦烘櫙</span> </div> <div class="cursor-pointer"> - <el-button link class="changeBatch" + <el-button link class="changeBatch" @click="lookMore" >鏌ョ湅鏇村 <el-icon> <ArrowRight /> @@ -35,6 +35,7 @@ <script setup lang="ts"> import { reactive } from 'vue'; +import router from '/@/router'; let state = reactive({ applicationScenarios: [ { @@ -67,12 +68,18 @@ const changeScenarios = (item) => { state.scenariosIndex = item.ID; }; +// 鏌ョ湅鏇村 +const lookMore = () => { + router.push({ + name: 'Scenario', + }); +}; </script> <style scoped lang="scss"> .pc-scenes { -webkit-box-sizing: border-box; box-sizing: border-box; - margin-top: 40px; + margin-top: 24px; width: 760px; padding: 0; font-size: 14px; -- Gitblit v1.9.3