update 3d 完成度颜色

这个提交包含在:
lb 2022-11-23 09:55:29 +08:00
父节点 34c8b29348
当前提交 97ee3a9a4c
共有 2 个文件被更改,包括 44 次插入6 次删除

查看文件

@ -15,9 +15,6 @@ const ProcessCircle = {
default: () => ({})
}
},
mounted() {
console.log('finished', this.injectData.finished)
},
methods: {},
render: function(h) {
return h('el-progress', {
@ -29,7 +26,8 @@ const ProcessCircle = {
percentage: this.injectData.finished,
width: 14,
'stroke-width': 2,
color: '#47FF27'
color: '#47FF27',
'define-back-color': '#6e6e6e' //
},
style: {
color: 'blue'

查看文件

@ -187,7 +187,27 @@ export default {
focus: 'series'
},
data: dianliu,
symbol: 'none'
symbol: 'none',
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: '#1A99FF66' // 0%
},
{
offset: 1,
color: 'transparent' // 100%
}
],
global: false // false
}
}
},
{
name: '产线2',
@ -198,7 +218,27 @@ export default {
focus: 'series'
},
data: dianya,
symbol: 'none'
symbol: 'none',
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: '#F0D63C66' // 0%
},
{
offset: 1,
color: 'transparent' // 100%
}
],
global: false // false
}
}
}
]
}