feat:新增左右两侧和顶部功能组件
This commit is contained in:
@@ -1,21 +1,11 @@
|
||||
<template>
|
||||
<Header is-back :current="current" :nav-left="navLeft" @on-change="onChange" />
|
||||
<CoreVideo />
|
||||
<box1 />
|
||||
<box2 />
|
||||
<Correspondence />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import box1 from './components/box-1.vue'
|
||||
import box2 from './components/box-2.vue'
|
||||
|
||||
const navLeft = [{ name: '奉节县' }, { name: '龙桥河' }, { name: '山峡之巅' }]
|
||||
let current = ref(0)
|
||||
|
||||
const onChange = (e) => {
|
||||
current.value = e
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
Reference in New Issue
Block a user