+ [task#135805 doing 0.1h 2h] add the style for the thinkbcg widget.

This commit is contained in:
wangzemei
2024-12-31 18:23:44 +08:00
committed by 孙浩
parent b77fc4e2d3
commit 5cf3af896d
+7
View File
@@ -10,6 +10,13 @@ requireWg('thinkModel');
*/
class thinkBcg extends thinkModel
{
public static function getPageCSS(): ?string
{
return <<<'CSS'
.model-bcg .echarts-content canvas:hover {cursor: pointer;}
CSS;
}
public static function getPageJS(): ?string
{
return file_get_contents(__DIR__ . DS . 'js' . DS . 'v1.js');