File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,7 @@ const heightMode = Device.model() === "iPad" ? 100 : 380; // 中号组件图片
1616// @组件代码开始
1717class Widget extends DmYY {
1818 constructor ( arg ) {
19- super ( arg , {
20- lightBgColor : "#2581f2" ,
21- darkBgColor : "#2581f2" ,
22- darkColor : "#fff" ,
23- lightColor : "#fff" ,
24- } ) ;
19+ super ( arg ) ;
2520 this . en = "birthday" ;
2621 this . name = "破壳日" ;
2722 this . LEFT_IMG_KEY = `${ this . cacheImage } /avatar` ;
@@ -379,7 +374,7 @@ class Widget extends DmYY {
379374
380375 if ( dayImage ) {
381376 subWidget . addSpacer ( 2 ) ;
382- let dayIcon = subWidget . addImage ( dayImage . image ) ;
377+ let dayIcon = subWidget . addImage ( SFSymbol . named ( dayImage ) . image ) ;
383378 dayIcon . imageSize = new Size ( mainTextSize + 1 , mainTextSize + 1 ) ;
384379 dayIcon . tintColor = new Color ( "#1ab6f8" ) ;
385380 }
You can’t perform that action at this time.
0 commit comments