w1301625107 / Vue-Gantt-chart

使用Vue做数据控制的Gantt图表
https://w1301625107.github.io/Vue-Gantt-chart/demo/index.html
MIT License
634 stars 138 forks source link

请问甘特图的每一条怎么增加不同的颜色,现在默认显示出来都是灰色的 #98

Closed Tomcat-7 closed 2 years ago

w1301625107 commented 2 years ago

你说的是哪个一部分?

Tomcat-7 commented 2 years ago

这部分,datas数据中的每一条信息分配颜色

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年3月11日(星期五) 中午12:51 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [w1301625107/Vue-Gantt-chart] 请问甘特图的每一条怎么增加不同的颜色,现在默认显示出来都是灰色的 (Issue #98)

你说的是哪个一部分?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

w1301625107 commented 2 years ago

https://github.com/w1301625107/Vue-Gantt-chart#template-code

在自己的Block组件里自定义style就好了

Tomcat-7 commented 2 years ago

只找了修改字体颜色和图像边框的API ┭┮﹏┭┮ 我是前端小菜鸡

w1301625107 commented 2 years ago

https://developer.mozilla.org/zh-CN/docs/Web/CSS/background

Tomcat-7 commented 2 years ago

非常感谢 找到了 谢谢您的耐心解答