提交 c7d24c34 authored 作者: junjie's avatar junjie

style(frontend): css fix

上级 fcb579d4
...@@ -32,7 +32,7 @@ li { ...@@ -32,7 +32,7 @@ li {
list-style: none; list-style: none;
} }
#app { #app {
overflow: hidden; /*overflow: hidden;*/
} }
.el-tabs { .el-tabs {
height: 100%; height: 100%;
...@@ -43,4 +43,4 @@ li { ...@@ -43,4 +43,4 @@ li {
} }
.el-tabs__nav-scroll { .el-tabs__nav-scroll {
padding-left: 20px; padding-left: 20px;
} }
\ No newline at end of file
<template> <template>
<div style="display: flex;width: 100%;height: 100%;"> <div style="display: flex;">
<div :id="chartId" style="width: 100%;height: 100%;" /> <div :id="chartId" style="width: 100%;height: 100%;" />
</div> </div>
</template> </template>
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
}, },
methods: { methods: {
drawEcharts() { drawEcharts() {
debugger // debugger
const chart = this.chart const chart = this.chart
let chart_option = {} let chart_option = {}
// type // type
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.filter-item{ .filter-item{
width: 100%; width: 100%;
border-radius: 4px; border-radius: 4px;
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.shape-item{ .shape-item{
padding: 6px; padding: 6px;
border: none; border: none;
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</div> </div>
</el-row> </el-row>
</div> </div>
<div style="height: 40%;overflow:auto;border-top: 1px solid #e6e6e6"> <div style="height: 40%;overflow:hidden;border-top: 1px solid #e6e6e6">
<el-tabs type="card" :stretch="true" class="tab-header"> <el-tabs type="card" :stretch="true" class="tab-header">
<el-tab-pane :label="$t('chart.shape_attr')" class="padding-lr"> <el-tab-pane :label="$t('chart.shape_attr')" class="padding-lr">
<color-selector class="attr-selector" :chart="chart" @onColorChange="onColorChange" /> <color-selector class="attr-selector" :chart="chart" @onColorChange="onColorChange" />
...@@ -572,7 +572,7 @@ export default { ...@@ -572,7 +572,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.padding-lr { .padding-lr {
padding: 0 6px; padding: 0 6px;
} }
...@@ -654,6 +654,9 @@ export default { ...@@ -654,6 +654,9 @@ export default {
background-color: #f7f8fa; background-color: #f7f8fa;
border-bottom-color: #f7f8fa!important; border-bottom-color: #f7f8fa!important;
} }
.tab-header>>>.el-tabs__nav-scroll{
padding-left: 0!important;
}
.draggable-group { .draggable-group {
display: inline-block; display: inline-block;
...@@ -702,9 +705,10 @@ export default { ...@@ -702,9 +705,10 @@ export default {
.filter-class{ .filter-class{
height: calc(35% - 102px); height: calc(35% - 102px);
.filter-inner-class{ }
height: calc(100% - 40px);
} .filter-class>>>.filter-inner-class{
height: calc(100% - 40px);
} }
.chart-class{ .chart-class{
......
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.el-divider--horizontal { .el-divider--horizontal {
margin: 12px 0; margin: 12px 0;
} }
......
...@@ -504,16 +504,16 @@ export default { ...@@ -504,16 +504,16 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped>
.el-divider--horizontal { .el-divider--horizontal {
margin: 12px 0; margin: 12px 0;
} }
.el-radio{ .el-radio{
margin-right: 10px; margin-right: 10px;
>>>.el-radio__label{ }
font-size: 12px; .el-radio>>>.el-radio__label{
} font-size: 12px;
} }
.dialog-css >>> .el-dialog__header { .dialog-css >>> .el-dialog__header {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论