主页时间背景图+载入代码分享

海岸相关 代码 背景 时间 2020-03-17 阅读:3030

海岸盒子时间背景图以及代码分享

//获取现在时间
time("H", dqsj)
//判断时间载入相应图片
f(dqsj=="05"||dqsj=="06"||dqsj=="07")
{
  us(6,"text","早上好")
  us(117,"src","@zt/btqc.png")
  sss szbj="@zt/btqc.png"
us(6,"textcolor","#ff000000")
us(8,"textcolor","#ff000000")
}
f(dqsj=="08"||dqsj=="09"||dqsj=="10")
{
  us(6,"text","上午好")
  us(117,"src","@zt/btsw.png")
  sss szbj="@zt/btsw.png"
us(6,"textcolor","#ff000000")
us(8,"textcolor","#ff000000")
}
else f(dqsj=="11"||dqsj=="12")
{
   us(6,"text","中午好")
  us(117,"src","@zt/btzw.png")
  sss szbj="@zt/btzw.png"
us(6,"textcolor","#ff000000")
us(8,"textcolor","#ff000000")
}
else f(dqsj=="13"||dqsj=="14"||dqsj=="15"||dqsj=="16"||dqsj=="17"||dqsj=="18")
{
  us(6,"text","下午好")
  us(117,"src","@zt/btxw.png")
  sss szbj="@zt/btxw.png"
us(6,"textcolor","#ffffffff")
us(8,"textcolor","#ffffffff")
}
else f(dqsj=="19"||dqsj=="20"||dqsj=="21"||dqsj=="22"||dqsj=="23"||dqsj=="00")
{
  us(6,"text","晚上好")
  us(117,"src","@zt/btbw.png")
  sss szbj="@zt/btbw.png"
us(6,"textcolor","#ffffffff")
us(8,"textcolor","#ffffffff")
}
else f(dqsj=="01"||dqsj=="02"||dqsj=="03"||dqsj=="04")
{
  us(6,"text","凌晨了不睡觉?")
  us(117,"src","@zt/btby.png")
  sss szbj="@zt/btby.png"
us(6,"textcolor","#ffffffff")
us(8,"textcolor","#ffffffff")
}

图片资源分享:

btxw.png
btzw.png
btqc.png
btby.png
btsw.png
btbw.png
生成海报
版权声明

本文基于《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
文章链接:http://isea.site/index.php/archives/920/ (转载时请注明本文出处及文章链接)


如果觉得我的文章对你有用,请随意赞赏

2条评论

    北北北

    嘿嘿嘿

    游客 Windows10 215 天前回复

    JEHHO890

    很好看,加油

    游客 Windows10 215 天前回复