|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <section class="layout-bottom">
|
|
|
|
|
|
|
+ <section :class="['layout-bottom', isShowBottom ? 'layout-bottom-all' : 'layout-bottom-hidden']">
|
|
|
<CapitalInfo class="capital-info-container"></CapitalInfo>
|
|
<CapitalInfo class="capital-info-container"></CapitalInfo>
|
|
|
<main>
|
|
<main>
|
|
|
<firstMenu :list="list"
|
|
<firstMenu :list="list"
|
|
@@ -8,11 +8,11 @@
|
|
|
<div class="conditionIcon icon iconfont icon-shouqi"
|
|
<div class="conditionIcon icon iconfont icon-shouqi"
|
|
|
@click="openOrCloseBottom"></div>
|
|
@click="openOrCloseBottom"></div>
|
|
|
</firstMenu>
|
|
</firstMenu>
|
|
|
- <template v-if="isShowBottom">
|
|
|
|
|
|
|
+ <div v-show="isShowBottom">
|
|
|
<quoteTable :columns="columns"
|
|
<quoteTable :columns="columns"
|
|
|
:dataSource="data" />
|
|
:dataSource="data" />
|
|
|
<thirdMenu></thirdMenu>
|
|
<thirdMenu></thirdMenu>
|
|
|
- </template>
|
|
|
|
|
|
|
+ </div>
|
|
|
</main>
|
|
</main>
|
|
|
</section>
|
|
</section>
|
|
|
</template>
|
|
</template>
|
|
@@ -101,10 +101,16 @@ export default defineComponent({
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
|
|
+.layout-bottom-all {
|
|
|
|
|
+ height: 330px;
|
|
|
|
|
+}
|
|
|
|
|
+.layout-bottom-hidden {
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+}
|
|
|
.layout-bottom {
|
|
.layout-bottom {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 330px;
|
|
|
|
|
|
|
+ transition: height 0.5s;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
.capital-info-container {
|
|
.capital-info-container {
|
|
|
width: 180px;
|
|
width: 180px;
|