mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
Merge branch 'dev' into dev-commet
This commit is contained in:
commit
c1d98b03a9
@ -21,7 +21,7 @@
|
|||||||
<n-ellipsis>{{ item.title }}</n-ellipsis>
|
<n-ellipsis>{{ item.title }}</n-ellipsis>
|
||||||
</n-text>
|
</n-text>
|
||||||
</div>
|
</div>
|
||||||
<div class="list-center go-flex-center">
|
<div class="list-center go-flex-center go-transition">
|
||||||
<img class="list-img" v-lazy="item.image" alt="图表图片" />
|
<img class="list-img" v-lazy="item.image" alt="图表图片" />
|
||||||
</div>
|
</div>
|
||||||
<div class="list-bottom">
|
<div class="list-bottom">
|
||||||
@ -175,18 +175,6 @@ $halfCenterHeight: 50px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* 缩小展示 */
|
|
||||||
@keyframes miniAnimation {
|
|
||||||
from {
|
|
||||||
width: $itemWidth * 2;
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
width: $itemWidth;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.miniAnimation {
|
|
||||||
animation: miniAnimation 0.5s;
|
|
||||||
}
|
|
||||||
&.single {
|
&.single {
|
||||||
.item-box {
|
.item-box {
|
||||||
@extend .go-transition;
|
@extend .go-transition;
|
||||||
@ -212,11 +200,24 @@ $halfCenterHeight: 50px;
|
|||||||
.list-img {
|
.list-img {
|
||||||
height: $halfCenterHeight;
|
height: $halfCenterHeight;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.list-bottom {
|
.list-bottom {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* 缩小展示 */
|
||||||
|
@keyframes miniAnimation {
|
||||||
|
from {
|
||||||
|
width: $itemWidth * 2;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
width: $itemWidth;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.miniAnimation {
|
||||||
|
animation: miniAnimation 0.5s;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user