diff --git a/app/pages/home/index.vue b/app/pages/home/index.vue
index 79404c8..6295057 100644
--- a/app/pages/home/index.vue
+++ b/app/pages/home/index.vue
@@ -107,7 +107,7 @@ const openShow = () => {
})
}
const changeLive=()=>{
- fullLive.value= !fullLive.value
+ fullLive.value=true
}
@@ -116,14 +116,15 @@ const changeLive=()=>{
-
+
+
@@ -227,6 +228,7 @@ const changeLive=()=>{
+
@@ -241,11 +243,27 @@ const changeLive=()=>{
width: 8px;
height: 8px;
}
-
+.fade-enter-active, .fade-leave-active {
+ transition: opacity 1s;
+}
+.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
+ opacity: 0;
+}
:deep(.van-swipe__indicator:not(.van-swipe__indicator--active) ) {
background: rgba(0, 0, 0, 0.8);
}
-
+.changeLive {
+ width: 100%;
+ overflow: hidden;
+ transition: height 0.5s ease, transform 0.5s ease;
+}
-
\ No newline at end of file
+.changeLive.collapsed {
+ height: 188px;
+}
+
+.changeLive.expanded {
+ height: calc(100vh - var(--van-nav-bar-height));
+ transform: translateY(0);
+}
+