|
|
@ -18,7 +18,8 @@ |
|
|
|
<footer class="footer card-menu"> |
|
|
|
<div class="footer-title"> |
|
|
|
<span>济菏高速缩略图</span> |
|
|
|
<img src="@screen/images/icon/icon-vector.png" @click.stop="handleShrink" /> |
|
|
|
<i class="el-icon-s-fold" style="color: #2AD9FD; transform: rotate(-90deg);" @click.stop="handleShrink" /> |
|
|
|
<!-- <img src="@screen/images/icon/icon-vector.png" @click.stop="handleShrink" /> --> |
|
|
|
</div> |
|
|
|
<div class="footer-content"> |
|
|
|
<Thumbnail /> |
|
|
@ -52,6 +53,10 @@ export default { |
|
|
|
handleShrink(e) { |
|
|
|
const translateXElement = e.target.parentElement.parentElement; |
|
|
|
|
|
|
|
const result = (e.target.style.transform.match(/[-0-9]+/)?.[0] || -90) * -1 |
|
|
|
|
|
|
|
e.target.style.transform = `rotate(${result}deg)`; |
|
|
|
|
|
|
|
// translateXElement.style.transform = translateXElement.style.transform ? "" : `translateY(calc(100% - 36px))` |
|
|
|
translateXElement.style.height = translateXElement.style.height != "36px" ? "36px" : `100%` |
|
|
|
} |
|
|
@ -65,12 +70,12 @@ export default { |
|
|
|
z-index: 6; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
gap: 24px; |
|
|
|
gap: 30px; |
|
|
|
padding: 19px 31px 0 25px; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
.card-menu { |
|
|
|
transition: all .6s linear; |
|
|
|
transition: all .24s linear; |
|
|
|
} |
|
|
|
|
|
|
|
.content { |
|
|
@ -114,8 +119,9 @@ export default { |
|
|
|
// margin: auto; |
|
|
|
pointer-events: none; |
|
|
|
overflow: hidden; |
|
|
|
// height: 100%; |
|
|
|
height: fit-content; |
|
|
|
height: 100%; |
|
|
|
// height: fit-content; |
|
|
|
will-change: height; |
|
|
|
|
|
|
|
>div { |
|
|
|
pointer-events: all; |
|
|
@ -133,6 +139,10 @@ export default { |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
overflow: hidden; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
gap: 15px; |
|
|
|
|
|
|
|
span { |
|
|
|
font-size: 16px; |
|
|
@ -141,13 +151,18 @@ export default { |
|
|
|
color: #2ad9fd; |
|
|
|
} |
|
|
|
|
|
|
|
img { |
|
|
|
display: inline-block; |
|
|
|
margin-left: 11px; |
|
|
|
width: 16px; |
|
|
|
height: 13px; |
|
|
|
i { |
|
|
|
transition: all .24s linear; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
|
|
|
|
// img { |
|
|
|
// display: inline-block; |
|
|
|
// margin-left: 11px; |
|
|
|
// width: 16px; |
|
|
|
// height: 13px; |
|
|
|
// cursor: pointer; |
|
|
|
// } |
|
|
|
} |
|
|
|
|
|
|
|
.footer-content { |
|
|
|