| | |
| | | }); |
| | | //切换到应用场景详情的事件 |
| | | const changeApp = (item: any) => { |
| | | console.log('🚀 ~ item:', item); |
| | | if (item.ID === 2) { |
| | | router.push({ |
| | | name: 'ScenarioDetails', |
| | |
| | | <span>应用场景</span> |
| | | </div> |
| | | <div class="cursor-pointer"> |
| | | <el-button link class="changeBatch" |
| | | <el-button link class="changeBatch" @click="lookMore" |
| | | >查看更多 |
| | | <el-icon> |
| | | <ArrowRight /> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { reactive } from 'vue'; |
| | | import router from '/@/router'; |
| | | let state = reactive({ |
| | | applicationScenarios: [ |
| | | { |
| | |
| | | const changeScenarios = (item) => { |
| | | state.scenariosIndex = item.ID; |
| | | }; |
| | | // 查看更多 |
| | | const lookMore = () => { |
| | | router.push({ |
| | | name: 'Scenario', |
| | | }); |
| | | }; |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .pc-scenes { |