|
@@ -4,17 +4,10 @@
|
|
|
<span style="margin-right:20px">{{num}}品种</span>
|
|
|
<span>{{time}}</span>
|
|
|
</div>
|
|
|
- <!-- <div style="margin:30px 0">
|
|
|
- <el-switch
|
|
|
- v-model="isHistory"
|
|
|
- size="large"
|
|
|
- active-text="历史合约"
|
|
|
- />
|
|
|
- </div> -->
|
|
|
<div class="list-wrap">
|
|
|
<div class="item" v-for="item in clist" :key="item.ClassifyName">
|
|
|
<div class="label">{{item.ClassifyName}}</div>
|
|
|
- <div style="flex:1">
|
|
|
+ <div style="margin-top:20px;">
|
|
|
<div
|
|
|
class="opt"
|
|
|
v-for="_item in item.Items"
|
|
@@ -103,6 +96,8 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
@import '~@/styles/theme-vars.scss';
|
|
|
.index-content-wrap{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
.top-box{
|
|
|
background: #e6eefb;
|
|
|
padding: 15px 30px;
|
|
@@ -111,10 +106,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.list-wrap{
|
|
|
- padding: 30px 0;
|
|
|
+ flex: 1;
|
|
|
+ padding: 30px;
|
|
|
+ /* height: 958px; */
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow-y: auto;
|
|
|
.item{
|
|
|
margin-bottom: 40px;
|
|
|
- display: flex;
|
|
|
+ /* display: flex; */
|
|
|
|
|
|
.label{
|
|
|
color: #666;
|