feat:完善功能
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
backgroundImage: `url(${title2})`
|
||||
}"
|
||||
>
|
||||
{{ otherLeftLabel || '其他' }}
|
||||
{{ otherLeftLabel }}
|
||||
<img class="icon" src="@/assets/images/arrow-down-1.png" />
|
||||
</li>
|
||||
<template #dropdown>
|
||||
@@ -136,7 +136,7 @@
|
||||
router.push(item.path)
|
||||
} else {
|
||||
if (current.value === index) return
|
||||
otherLeftLabel.value = ''
|
||||
otherLeftLabel.value = '其他酒店'
|
||||
current.value = index
|
||||
title.value = item.name
|
||||
switch (router.currentRoute.value.path) {
|
||||
@@ -184,6 +184,7 @@
|
||||
]
|
||||
break
|
||||
case '/scenic':
|
||||
otherLeftLabel.value = '其他景区'
|
||||
isSkip.value = false
|
||||
isBack.value = true
|
||||
let res = await getSpotListApi()
|
||||
@@ -270,11 +271,12 @@
|
||||
isBack.value = true
|
||||
break
|
||||
case '/hotel':
|
||||
title.value = '酒店管理'
|
||||
title.value = '酒店场馆'
|
||||
otherLeftLabel.value = '其他酒店'
|
||||
isSkip.value = false
|
||||
current.vlaue = ''
|
||||
isBack.value = true
|
||||
let hotelRes = await getHotelListApi()
|
||||
let hotelRes = await getHotelListApi({ hotelStadiumType: 1 })
|
||||
navLeft.value = hotelRes.data.slice(0, 3)
|
||||
pubSub.publish('hotelChange', hotelRes.data[0])
|
||||
otherLeftNav.value = hotelRes.data.slice(3, hotelRes.data.length - 1)
|
||||
|
||||
Reference in New Issue
Block a user