refactor: 更新四个指标卡组件的左侧栏图标,从png资源换成svg资源

main
wu.jian2 1 year ago
parent 04cc30ea35
commit bbb948b6e1

Binary file not shown.

@ -46,7 +46,8 @@
'margin-left':'10px',
'font-size': customize.unitSize + 'px',
color:customize.unitColor,
}">
}"
>
{{ unit }}
</span>
</span>
@ -107,7 +108,7 @@ export default {
},
customize () {
return this.config?.customize
},
}
},
methods: {
dataFormatting (config, data) {

@ -55,7 +55,8 @@
'margin-left':'10px',
'font-size': customize.unitSize + 'px',
color:customize.unitColor,
}">
}"
>
{{ unit }}
</span>
</span>
@ -105,7 +106,7 @@ export default {
},
customize () {
return this.config?.customize
},
}
},
methods: {
dataFormatting (config, data) {

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 32 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

@ -303,8 +303,8 @@ export default function getComponentConfig (type) {
return {
name: '指标卡一',
title: '指标卡一',
icon: null,
img: require('data-room-ui/assets/images/cardImg/card.png'),
icon: Icon.getNameList()[30],
// img: require('data-room-ui/assets/images/cardImg/card.png'),
className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart',
w: 300,
h: 114,
@ -316,8 +316,8 @@ export default function getComponentConfig (type) {
return {
name: '指标卡二',
title: '指标卡二',
icon: null,
img: require('data-room-ui/assets/images/cardImg/card2.png'),
icon: Icon.getNameList()[31],
// img: require('data-room-ui/assets/images/cardImg/card2.png'),
className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart',
w: 300,
h: 114,
@ -329,8 +329,8 @@ export default function getComponentConfig (type) {
return {
name: '指标卡三',
title: '指标卡三',
icon: null,
img: require('data-room-ui/assets/images/cardImg/indicard.png'),
icon: Icon.getNameList()[32],
// img: require('data-room-ui/assets/images/cardImg/indicard.png'),
className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart',
w: 300,
h: 114,
@ -342,8 +342,8 @@ export default function getComponentConfig (type) {
return {
name: '指标卡四',
title: '指标卡四',
icon: null,
img: require('data-room-ui/assets/images/cardImg/indcard2.png'),
icon: Icon.getNameList()[33],
// img: require('data-room-ui/assets/images/cardImg/indcard2.png'),
className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart',
w: 300,
h: 114,

Loading…
Cancel
Save