提交 8b435075 authored 作者: wangjiahao's avatar wangjiahao

Merge remote-tracking branch 'origin/dev' into dev

# Conflicts: # frontend/src/components/canvas/components/RectangleAttr.vue
...@@ -243,6 +243,7 @@ div:focus { ...@@ -243,6 +243,7 @@ div:focus {
font-size: 10px; font-size: 10px;
@extend %field-icon; @extend %field-icon;
color: #999999; color: #999999;
margin: 0 2px 1px 0;
} }
.ds-icon-scene{ .ds-icon-scene{
width: 13px; width: 13px;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<span> <span>
<i class="el-icon-notebook-2" /> <i class="el-icon-notebook-2" />
<span>{{ $t('chart.summary') }}</span> <span>{{ $t('chart.summary') }}</span>
<span class="summary-span">({{ $t('chart.'+item.summary) }})</span> <span class="summary-span-item">({{ $t('chart.'+item.summary) }})</span>
</span> </span>
<i class="el-icon-arrow-right el-icon--right" /> <i class="el-icon-arrow-right el-icon--right" />
</span> </span>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<!-- <span>--> <!-- <span>-->
<!-- <i class="el-icon-s-grid" />--> <!-- <i class="el-icon-s-grid" />-->
<!-- <span>{{ $t('chart.quick_calc') }}</span>--> <!-- <span>{{ $t('chart.quick_calc') }}</span>-->
<!-- <span class="summary-span">(无)</span>--> <!-- <span class="summary-span-item">(无)</span>-->
<!-- </span>--> <!-- </span>-->
<!-- <i class="el-icon-arrow-right el-icon&#45;&#45;right" />--> <!-- <i class="el-icon-arrow-right el-icon&#45;&#45;right" />-->
<!-- </span>--> <!-- </span>-->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<span> <span>
<i class="el-icon-sort" /> <i class="el-icon-sort" />
<span>{{ $t('chart.sort') }}</span> <span>{{ $t('chart.sort') }}</span>
<span class="summary-span">({{ $t('chart.'+item.sort) }})</span> <span class="summary-span-item">({{ $t('chart.'+item.sort) }})</span>
</span> </span>
<i class="el-icon-arrow-right el-icon--right" /> <i class="el-icon-arrow-right el-icon--right" />
</span> </span>
...@@ -216,9 +216,16 @@ export default { ...@@ -216,9 +216,16 @@ export default {
font-size: 12px; font-size: 12px;
} }
.summary-span-item{
margin-left: 4px;
color: #878d9f;
}
.summary-span{ .summary-span{
margin-left: 4px; margin-left: 4px;
color: #878d9f;; color: #878d9f;
position: absolute;
right: 30px;
} }
.inner-dropdown-menu{ .inner-dropdown-menu{
......
...@@ -217,9 +217,8 @@ ...@@ -217,9 +217,8 @@
</div> </div>
<div style="overflow:auto;border-top: 1px solid #e6e6e6" class="attr-style"> <div style="overflow:auto;border-top: 1px solid #e6e6e6" class="attr-style">
<el-row style="height: 100%;"> <el-row style="height: 100%;">
<el-row v-if="chart.type ==='map'" class="padding-lr"> <el-row v-if="view.type ==='map'" class="padding-lr">
<span style="width: 80px;text-align: right;"> <span style="width: 80px;text-align: right;">
<span>{{ $t('chart.map_range') }}</span> <span>{{ $t('chart.map_range') }}</span>
</span> </span>
<span class="tree-select-span"> <span class="tree-select-span">
...@@ -234,14 +233,14 @@ ...@@ -234,14 +233,14 @@
/> />
</span> </span>
</el-row> </el-row>
<el-row v-if="chart.type !=='text' && chart.type !== 'gauge'" class="padding-lr"> <el-row v-if="view.type !=='text' && view.type !== 'gauge'" class="padding-lr">
<span style="width: 80px;text-align: right;"> <span style="width: 80px;text-align: right;">
<span v-if="chart.type && chart.type.includes('table')">{{ $t('chart.drag_block_table_data_column') }}</span> <span v-if="view.type && view.type.includes('table')">{{ $t('chart.drag_block_table_data_column') }}</span>
<span v-else-if="chart.type && (chart.type.includes('bar') || chart.type.includes('line'))">{{ $t('chart.drag_block_type_axis') }}</span> <span v-else-if="view.type && (view.type.includes('bar') || view.type.includes('line'))">{{ $t('chart.drag_block_type_axis') }}</span>
<span v-else-if="chart.type && chart.type.includes('pie')">{{ $t('chart.drag_block_pie_label') }}</span> <span v-else-if="view.type && view.type.includes('pie')">{{ $t('chart.drag_block_pie_label') }}</span>
<span v-else-if="chart.type && chart.type.includes('funnel')">{{ $t('chart.drag_block_funnel_split') }}</span> <span v-else-if="view.type && view.type.includes('funnel')">{{ $t('chart.drag_block_funnel_split') }}</span>
<span v-else-if="chart.type && chart.type.includes('radar')">{{ $t('chart.drag_block_radar_label') }}</span> <span v-else-if="view.type && view.type.includes('radar')">{{ $t('chart.drag_block_radar_label') }}</span>
<span v-else-if="chart.type && chart.type.includes('map')">{{ $t('chart.area') }}</span> <span v-else-if="view.type && view.type.includes('map')">{{ $t('chart.area') }}</span>
/ /
<span>{{ $t('chart.dimension') }}</span> <span>{{ $t('chart.dimension') }}</span>
</span> </span>
...@@ -261,14 +260,14 @@ ...@@ -261,14 +260,14 @@
</el-row> </el-row>
<el-row class="padding-lr" style="margin-top: 6px;"> <el-row class="padding-lr" style="margin-top: 6px;">
<span style="width: 80px;text-align: right;"> <span style="width: 80px;text-align: right;">
<span v-if="chart.type && chart.type.includes('table')">{{ $t('chart.drag_block_table_data_column') }}</span> <span v-if="view.type && view.type.includes('table')">{{ $t('chart.drag_block_table_data_column') }}</span>
<span v-else-if="chart.type && (chart.type.includes('bar') || chart.type.includes('line'))">{{ $t('chart.drag_block_value_axis') }}</span> <span v-else-if="view.type && (view.type.includes('bar') || view.type.includes('line'))">{{ $t('chart.drag_block_value_axis') }}</span>
<span v-else-if="chart.type && chart.type.includes('pie')">{{ $t('chart.drag_block_pie_angel') }}</span> <span v-else-if="view.type && view.type.includes('pie')">{{ $t('chart.drag_block_pie_angel') }}</span>
<span v-else-if="chart.type && chart.type.includes('funnel')">{{ $t('chart.drag_block_funnel_width') }}</span> <span v-else-if="view.type && view.type.includes('funnel')">{{ $t('chart.drag_block_funnel_width') }}</span>
<span v-else-if="chart.type && chart.type.includes('radar')">{{ $t('chart.drag_block_radar_length') }}</span> <span v-else-if="view.type && view.type.includes('radar')">{{ $t('chart.drag_block_radar_length') }}</span>
<span v-else-if="chart.type && chart.type.includes('gauge')">{{ $t('chart.drag_block_gauge_angel') }}</span> <span v-else-if="view.type && view.type.includes('gauge')">{{ $t('chart.drag_block_gauge_angel') }}</span>
<span v-else-if="chart.type && chart.type.includes('text')">{{ $t('chart.drag_block_label_value') }}</span> <span v-else-if="view.type && view.type.includes('text')">{{ $t('chart.drag_block_label_value') }}</span>
<span v-else-if="chart.type && chart.type.includes('map')">{{ $t('chart.chart_data') }}</span> <span v-else-if="view.type && view.type.includes('map')">{{ $t('chart.chart_data') }}</span>
/ /
<span>{{ $t('chart.quota') }}</span> <span>{{ $t('chart.quota') }}</span>
</span> </span>
...@@ -286,7 +285,7 @@ ...@@ -286,7 +285,7 @@
</transition-group> </transition-group>
</draggable> </draggable>
</el-row> </el-row>
<el-row v-if="chart.type && chart.type.includes('stack')" class="padding-lr" style="margin-top: 6px;"> <el-row v-if="view.type && view.type.includes('stack')" class="padding-lr" style="margin-top: 6px;">
<span style="width: 80px;text-align: right;"> <span style="width: 80px;text-align: right;">
<span>{{ $t('chart.stack_item') }}</span> <span>{{ $t('chart.stack_item') }}</span>
/ /
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论