2
129
997
高级会员
background: center / cover no-repeat url('/local/ui/bj/3.jpg') fixed
background: >- {% if is_state('sun.sun', 'above_horizon') and now().hour < 12 %} center / cover url('/local/ui/bj/1.jpg') {% elif is_state('sun.sun', 'above_horizon') and now().hour < 18 %} center / cover url('/local/ui/bj/2.jpg') {% else %} center / cover url('/local/ui/bj/3.jpg') {% endif %}
markdown正常计算
设置背景无法正常显示
使用道具 举报
21
167
2584
金牌会员
flyice 发表于 2024-4-23 17:23 background不支持template,需要自动更换页面,需要使用animated_background.js插件
明明洋洋 发表于 2024-4-23 17:36 感谢回复,animated_background这个插件我在手动安装后也无法使用,可以指点一下是哪里没设置对吗 ...
animated-background.rar
2024-4-23 17:48 上传
点击文件名下载附件
4.58 KB, 下载次数: 29
flyice 发表于 2024-4-23 17:48 使用这个
明明洋洋 发表于 2024-4-23 18:34 我使用这个替换后还是没有背景,你看我上面的截图,是不是少了哪一步呢 ...
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-22 04:28 , Processed in 0.279665 second(s), 26 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.