|
@@ -41,24 +41,26 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<div>
|
|
<div>
|
|
- <el-scrollbar :style="cardBodyStyle">
|
|
|
|
- <el-row>
|
|
|
|
- <el-col :span="10">
|
|
|
|
- <el-carousel height="150px">
|
|
|
|
- <el-carousel-item v-for="item in 2" :key="item">
|
|
|
|
- <h3 class="small justify-center" text="2xl">{{ item }}</h3>
|
|
|
|
- </el-carousel-item>
|
|
|
|
- </el-carousel>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="1"></el-col>
|
|
|
|
- <el-col :span="13">
|
|
|
|
- <el-link>专项介绍内容1</el-link><br/>
|
|
|
|
- <el-link>专项介绍内容2</el-link><br/>
|
|
|
|
- <el-link>专项介绍内容3</el-link><br/>
|
|
|
|
- <el-link>专项介绍内容4</el-link><br/>
|
|
|
|
- <el-link>专项介绍内容5</el-link><br/>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
|
|
+ <div class="specialIntroduceLeft" style="width: 40%">
|
|
|
|
+ <el-carousel :height="cardBodyStyle.height">
|
|
|
|
+ <el-carousel-item v-for="item in 2" :key="item">
|
|
|
|
+ <h3 class="small justify-center" text="2xl">{{ item }}</h3>
|
|
|
|
+ </el-carousel-item>
|
|
|
|
+ </el-carousel>
|
|
|
|
+ </div>
|
|
|
|
+ <el-scrollbar :style="cardBodyStyle" style="display: inline-block; width: 55%;padding: 0px 2%">
|
|
|
|
+ <div class="specialIntroduceRight">
|
|
|
|
+ <el-link>专项介绍内容1</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容2</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容3</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容4</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容5</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容6</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容7</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容8</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容9</el-link><br/>
|
|
|
|
+ <el-link>专项介绍内容10</el-link><br/>
|
|
|
|
+ </div>
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
@@ -78,15 +80,16 @@
|
|
</template>
|
|
</template>
|
|
<div>
|
|
<div>
|
|
<el-scrollbar :style="cardBodyStyle">
|
|
<el-scrollbar :style="cardBodyStyle">
|
|
- <el-row>
|
|
|
|
- <el-col :span="6" >
|
|
|
|
- <div>数据占比:</div>
|
|
|
|
- <div id="system-overview-data-percent" style="width: 100%;height: 100px"></div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="6" >123</el-col>
|
|
|
|
- <el-col :span="6" >123</el-col>
|
|
|
|
- <el-col :span="6" >123</el-col>
|
|
|
|
- </el-row>
|
|
|
|
|
|
+ 数据统计
|
|
|
|
+ <!--<el-row>-->
|
|
|
|
+ <!-- <el-col :span="6" >-->
|
|
|
|
+ <!-- <div>数据占比:</div>-->
|
|
|
|
+ <!-- <div id="system-overview-data-percent" style="width: 100%;height: 100px"></div>-->
|
|
|
|
+ <!-- </el-col>-->
|
|
|
|
+ <!-- <el-col :span="6" >123</el-col>-->
|
|
|
|
+ <!-- <el-col :span="6" >123</el-col>-->
|
|
|
|
+ <!-- <el-col :span="6" >123</el-col>-->
|
|
|
|
+ <!--</el-row>-->
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
@@ -102,7 +105,7 @@
|
|
<span class="cardDesc">Data Details</span>
|
|
<span class="cardDesc">Data Details</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <div>数据明细内容</div>
|
|
|
|
|
|
+ <div>数据明细图表</div>
|
|
</el-card>
|
|
</el-card>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -127,7 +130,7 @@ export default {
|
|
height: 200+'px'
|
|
height: 200+'px'
|
|
},
|
|
},
|
|
cardBodyStyle: {
|
|
cardBodyStyle: {
|
|
- height: 150+'px'
|
|
|
|
|
|
+ height: ''
|
|
},
|
|
},
|
|
systemOverviewOptions: {
|
|
systemOverviewOptions: {
|
|
dataPercent :{
|
|
dataPercent :{
|
|
@@ -176,12 +179,12 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
let container = document.getElementById("HomeContainer")
|
|
let container = document.getElementById("HomeContainer")
|
|
|
|
+ let height= 200;
|
|
if (container && container.clientHeight>=500) {
|
|
if (container && container.clientHeight>=500) {
|
|
- this.cardStyle.height = container.clientHeight*0.4+'px';
|
|
|
|
- } else {
|
|
|
|
- this.cardStyle.height = 200+'px';
|
|
|
|
|
|
+ height = container.clientHeight*0.4;
|
|
}
|
|
}
|
|
- this.cardBodyStyle.height = this.cardStyle.height*0.7;
|
|
|
|
|
|
+ this.cardStyle.height = height+'px';
|
|
|
|
+ this.cardBodyStyle.height = height*0.6 + 'px';
|
|
// let mycharts = this.$echarts.init(document.getElementById('system-overview-data-percent'))
|
|
// let mycharts = this.$echarts.init(document.getElementById('system-overview-data-percent'))
|
|
// mycharts.setOption(this.systemOverviewOptions.dataPercent)
|
|
// mycharts.setOption(this.systemOverviewOptions.dataPercent)
|
|
},
|
|
},
|
|
@@ -247,4 +250,14 @@ export default {
|
|
.el-carousel__item:nth-child(2n + 1) {
|
|
.el-carousel__item:nth-child(2n + 1) {
|
|
background-color: #d3dce6;
|
|
background-color: #d3dce6;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.specialIntroduceLeft {
|
|
|
|
+ width: 40%;
|
|
|
|
+ display: inline-block;
|
|
|
|
+}
|
|
|
|
+.specialIntroduceRight {
|
|
|
|
+ width: 50%;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ vertical-align: top;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|