修改时间样式
This commit is contained in:
parent
d7557dc318
commit
bf3e77e7a3
|
@ -33,9 +33,9 @@ export default defineComponent({
|
||||||
const layout = useLayoutStore()
|
const layout = useLayoutStore()
|
||||||
return () => (
|
return () => (
|
||||||
<div
|
<div
|
||||||
class="absolute z-20 shadow-text tracking-widest font-bold h-[110px] transition-all"
|
class="absolute z-20 shadow-text tracking-widest font-normal h-[110px] transition-all "
|
||||||
style={{
|
style={{
|
||||||
color: layout.isCompact ? 'white' : 'rgba(255,255,255,.8)',
|
color: 'white',
|
||||||
transitionDuration: '.4s',
|
transitionDuration: '.4s',
|
||||||
left: layout.isCompact ? '20px' : '50%',
|
left: layout.isCompact ? '20px' : '50%',
|
||||||
top: layout.isCompact ? '20px' : '50px',
|
top: layout.isCompact ? '20px' : '50px',
|
||||||
|
@ -47,7 +47,7 @@ export default defineComponent({
|
||||||
<div
|
<div
|
||||||
class={
|
class={
|
||||||
'transition-all ' +
|
'transition-all ' +
|
||||||
(layout.isCompact ? 'text-[1.4rem] leading-[1.4rem]' : 'text-[4rem] leading-[4rem]')
|
(layout.isCompact ? 'text-[1.4rem] leading-[1.4rem]' : 'text-[8vh] leading-[4rem]')
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{text.value.timeStr}
|
{text.value.timeStr}
|
||||||
|
|
Loading…
Reference in New Issue