首页»版块 兴趣街区 爱主题 求教:锁屏时间怎么调整到中间或想要调整的位置

求教:锁屏时间怎么调整到中间或想要调整的位置

[复制帖子标题和链接]

9445

Fv_vF  LV7  发表于 2024-7-1 23:19:02 江苏 来自:NOH-AL10
锁屏时间怎么调整到中间或想要调整的位置

以下是代码:

<!--时间-->

<Button x=”540-365” y=”525-130” w=”730” h=”260”>
<Triggers>
<Trigger action=”double”>
<VariableCommand name=”tit” expression=”(#tit+1)%2” persist=”true”/>
</Trigger>
</Triggers>
</Button>
<Group visibility=”eq(#tit,0)”>
<Time x=”#screen_width/2” y=”525” src=”time/time0/time.png” align=”center” alignV=”center” srcid=”int(#houra/10)”/>
</Group>
<Group visibility=”eq(#tit,1)”>
<Time x=”#screen_width/2” y=”525” src=”time/time1/time.png” align=”center” alignV=”center” srcid=”int(#houra/10)”/>
</Group>

<!--   时间布局  -->

<Var name=”houra” expression=”(#skcbd1/100)*ifelse(eq(#time_format,1),#hour24,ifelse(eq(#hour12,0),12,#hour12))” persist=”false”/>
<Var name=”aminute” expression=”(#skcbd1/100)*#minute” persist=”false”/>
<Var name=”amonth” expression=”(#skcbd2/100)*(#month+1)” persist=”false”/>
<Var name=”adate” expression=”(#skcbd2/100)*#date” persist=”false”/>
<Var name=”ayear” expression=”(#skcbd2/100)*#year” persist=”false”/>
<Var name=”sjdwz” expression=”540”/>
<Var name=”ios” expression=”525”/>
<Var name=”sjjg1” expression=”126”/>
<Var name=”sjjg2” expression=”296”/>
评论5
馬保国  LV9  发表于 2024-7-1 23:21 陕西 来自:LIO-AN00
调xy

评论

对这个没概念,而且里面数值不是固定的,更不懂了。  发表于 2024-7-1 23:23  江苏
馬保国  LV9  发表于 2024-7-1 23:27 陕西 来自:LIO-AN00
比如你先把x=540改成440 应用后看下位置变化

评论

谢谢大佬,但改变数值后还是原来位置。  发表于 2024-7-1 23:29  江苏
解决了,谢谢大佬!  发表于 2024-7-1 23:35  江苏
您需要登录后才可以评论 登录 | 立即注册
简体中文 - China
快速回复 返回顶部 返回列表