update index_v1.vue

This commit is contained in:
不做码农 2022-12-09 14:31:05 +08:00
parent 3494625723
commit c56e99abf6

View File

@ -8,9 +8,9 @@
<span>{{ $t('layout.myWorkbench') }}</span>
</template>
<div class="user-item">
<div class="user-item-left">
<!-- <div class="user-item-left">
<img :src="userInfo.avatar" />
</div>
</div> -->
<div class="user-item-right overflow">
<el-row>
@ -87,11 +87,16 @@
<panel-group @handleSetLineChartData="handleSetLineChartData" />
<el-row :gutter="32">
<el-col :xs="24" :sm="24" :lg="24">
<el-col :xs="24" :sm="24" :lg="12">
<div class="chart-wrapper">
<line-chart :chart-data="lineChartData" :key="dataType" />
</div>
</el-col>
<el-col :xs="24" :sm="24" :lg="12">
<div class="chart-wrapper">
<WordCloudChat :data="data.wordCloud" />
</div>
</el-col>
</el-row>
<el-row :gutter="32">
@ -111,13 +116,6 @@
</div>
</el-col>
</el-row>
<el-row :gutter="32">
<el-col :xs="24" :sm="24" :lg="24">
<div class="chart-wrapper">
<WordCloudChat :data="data.wordCloud" />
</div>
</el-col>
</el-row>
</div>
</template>
@ -248,7 +246,7 @@ function onChat(item) {
}
.user-item {
height: 198px;
// height: 198px;
display: flex;
align-items: center;
.user-item-left {