Commit 4bb74318 authored by youjie's avatar youjie

no message

parent 92d709de
...@@ -74,7 +74,6 @@ export default { ...@@ -74,7 +74,6 @@ export default {
scrollStyle: {} as any, scrollStyle: {} as any,
timer: 0, timer: 0,
isDadge: true, isDadge: true,
index: 0
}) })
const childPageTitle = ref('') const childPageTitle = ref('')
provide(DirtionmaryHelper.PAGE_TITLE_KEY ,childPageTitle) provide(DirtionmaryHelper.PAGE_TITLE_KEY ,childPageTitle)
...@@ -86,15 +85,12 @@ export default { ...@@ -86,15 +85,12 @@ export default {
}, },
} }
onMounted(()=>{ //组件挂载时的生命周期执行的方法 onMounted(()=>{
data.timer = setInterval(()=> { setInterval(()=> {
// 其他定时执行的方法 data.isDadge = false
data.index = data.index + 1 setTimeout(()=>{
if(data.index%2){ data.isDadge = true
data.isDadge = false },200)
}else{
data.isDadge = true
}
}, 1000); }, 1000);
}) })
return { return {
...@@ -126,8 +122,8 @@ export default { ...@@ -126,8 +122,8 @@ export default {
fill:var(--q-primary) !important; fill:var(--q-primary) !important;
} }
.header-badge{ .header-badge{
width: 5px; width: 6px;
height: 5px; height: 6px;
border-radius: 50%; border-radius: 50%;
position: absolute; position: absolute;
margin-top: -40px; margin-top: -40px;
......
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