Compare commits

..

No commits in common. "8c57db5764ce6c1cee7c5597b12483b89aacf269" and "3c8cd2c782ce7d02968e324440a4516b280cae4b" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ initData()
<template> <template>
<div> <div>
<van-tabbar v-model="active" route placeholder fixed> <van-tabbar v-if="show" v-model="active" route placeholder fixed>
<van-tabbar-item replace to="/"> <van-tabbar-item replace to="/">
<span>{{ $t('tabbar.home') }}</span> <span>{{ $t('tabbar.home') }}</span>
<template #icon> <template #icon>

View File

@ -107,17 +107,17 @@ const openShow = () => {
}) })
} }
const changeLive=()=>{ const changeLive=()=>{
fullLive.value= !fullLive.value fullLive.value= true
} }
</script> </script>
<template> <template>
<div class="flex-grow-1"> <div class="bg-#fff flex-grow-1">
<div <div
@click="changeLive" @click="changeLive"
:class="[ :class="[
'transform transition-all duration-500 ease-out ', 'transform transition-all duration-500 origin-top ease-out ease-in',
fullLive ? 'absolute top-[var(--van-nav-bar-height)] bottom-0px left-0px right-0px h-[calc(100vh-var(--van-nav-bar-height))]' : 'h-188px' fullLive ? 'scale-100 h-[calc(100vh-var(--van-nav-bar-height))]' : 'scale-100 h-188px'
]" ]"
> >
<client-only> <client-only>