Commit 8b659c10 by lijiabin

【需求 17679】 perf: 优化

parent c5535c8d
......@@ -75,14 +75,13 @@ import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
dayjs.extend(utc)
const { width, height } = useWindowSize()
const CONTAINER_WIDTH = 130,
CONTAINER_HEIGHT = 170,
const { height } = useWindowSize()
const CONTAINER_HEIGHT = 170,
GAP = 30
// CONTAINER_WIDTH = 130
const maxSeconds = 60 * 30 // 半小时
const x = width.value - CONTAINER_WIDTH - GAP
const x = GAP
const y = height.value - CONTAINER_HEIGHT - GAP
const currentSeconds = ref(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment