邓洁 : 完善首页

This commit is contained in:
邓洁
2023-12-09 14:22:25 +08:00
parent 07614c00af
commit cb289963bc
3 changed files with 47 additions and 37 deletions

View File

@@ -50,7 +50,6 @@
<div v-if="drawerRight" class="right-arrow" @click="closeRight"></div>
<div v-else class="shrink-right" @click="closeRight"></div>
</div>
<div class="switch-btn">
<div class="arrow" @click="previousBtn"></div>
<el-carousel height="150px" type="card" ref="tunnelBtn" :autoplay="false">
@@ -62,8 +61,6 @@
</el-carousel>
<div class="arrow right" @click="nextBtn"></div>
</div>
</div>
</template>
@@ -87,7 +84,7 @@ const drawerRight = ref(true)
const currentSite = ref('松江站')
const currentUser = ref('admin')
const currentDate = ref(dateFormat())
const tunnelBtn=ref()
const tunnelBtn = ref()
const tunnelList = ref([
{
value: 0,
@@ -130,8 +127,6 @@ const previousBtn = () => {
}
const nextBtn = () => {
tunnelBtn.value.next();
// tunnelList.value.push(tunnelList.value.shift())
// console.log('tunnelList.value', tunnelList.value)
}
</script>