Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ea54e802
authored
Jun 16, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chart flex height 问题
1 parent
6a3cc4e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
vue3-lw-pc/src/components/ChartBar.vue
vue3-lw-pc/src/components/ChartLine.vue
vue3-lw-pc/src/components/ChartPie.vue
vue3-lw-pc/src/views/operateCenter/operateAnalysis/components/TabContentRealGroupData.vue
vue3-lw-pc/src/components/ChartBar.vue
View file @
ea54e80
...
@@ -188,7 +188,7 @@ export default {
...
@@ -188,7 +188,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.chart
{
.chart
{
position
:
relative
;
position
:
relative
;
height
:
100%
;
max-
height
:
100%
;
min-width
:
400px
;
min-width
:
400px
;
min-height
:
400px
;
min-height
:
400px
;
}
}
...
...
vue3-lw-pc/src/components/ChartLine.vue
View file @
ea54e80
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.chart
{
.chart
{
position
:
relative
;
position
:
relative
;
height
:
100%
;
max-
height
:
100%
;
min-width
:
400px
;
min-width
:
400px
;
min-height
:
400px
;
min-height
:
400px
;
}
}
...
...
vue3-lw-pc/src/components/ChartPie.vue
View file @
ea54e80
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.chart
{
.chart
{
height
:
100%
;
max-
height
:
100%
;
min-width
:
200px
;
min-width
:
200px
;
min-height
:
200px
;
min-height
:
200px
;
}
}
...
...
vue3-lw-pc/src/views/operateCenter/operateAnalysis/components/TabContentRealGroupData.vue
View file @
ea54e80
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
<
template
>
<
template
>
<div>
<div>
<div
class=
"operation"
>
<div
class=
"operation
mb20
"
>
<el-button-group>
<el-button-group>
<el-button
type=
"primary"
:plain=
"timeRange != 7"
@
click=
"setTime(7)"
>
近一周
</el-button>
<el-button
type=
"primary"
:plain=
"timeRange != 7"
@
click=
"setTime(7)"
>
近一周
</el-button>
<el-button
type=
"primary"
:plain=
"timeRange != 30"
@
click=
"setTime(30)"
>
近一月
</el-button>
<el-button
type=
"primary"
:plain=
"timeRange != 30"
@
click=
"setTime(30)"
>
近一月
</el-button>
...
@@ -160,6 +160,7 @@ export default {
...
@@ -160,6 +160,7 @@ export default {
placeholder=
"请选择群主"
/>
placeholder=
"请选择群主"
/>
</div>
</div>
<ChartLine
<ChartLine
style=
"height: 400px"
v-loading=
"loading.customerGroup"
v-loading=
"loading.customerGroup"
:xData=
"customerGroup.xData"
:xData=
"customerGroup.xData"
:legend=
"legend['customerGroup']"
:legend=
"legend['customerGroup']"
...
@@ -187,6 +188,7 @@ export default {
...
@@ -187,6 +188,7 @@ export default {
</el-select>
</el-select>
</div>
</div>
<ChartLine
<ChartLine
style=
"height: 400px"
v-loading=
"loading.customerGroupMember"
v-loading=
"loading.customerGroupMember"
:xData=
"customerGroupMember.xData"
:xData=
"customerGroupMember.xData"
:legend=
"legend['customerGroupMember']"
:legend=
"legend['customerGroupMember']"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment