提交 ef298464 编写于 作者: AndroidLeaves's avatar AndroidLeaves

update

上级 a461afea
......@@ -336,9 +336,10 @@ class Widget extends BaseWidget {
countDownStack.centerAlignContent();
countDownStack.addSpacer();
if (isToday) {
let image = await this.getImageByUrl(`${remoteRoot}/img/garlands.png`);
let image = await this.getImageByUrl(`${remoteRoot}/img/balloon.png`);
let imgSpan = countDownStack.addImage(image);
imgSpan.imageSize = new Size(32, 32);
imgSpan.imageSize = new Size(60, 60);
imgSpan.imageOpacity = 0.6;
} else {
// 倒计
console.log(`isToday->${isToday}===>${new Date().getFullYear()}-${this.countDownDate().slice(5)}`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册