mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +08:00
style: update some style
This commit is contained in:
parent
dc7a50de6f
commit
762833e545
@ -77,7 +77,9 @@ export function useDynamicRoutesHook() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const routesLength = computed(() => {
|
const routesLength = computed(() => {
|
||||||
return storageLocal.getItem("routesInStorage").length;
|
return storageLocal.getItem("routesInStorage")
|
||||||
|
? storageLocal.getItem("routesInStorage").length
|
||||||
|
: 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -48,5 +48,6 @@ export default {
|
|||||||
}
|
}
|
||||||
:deep(.w-e-toolbar) {
|
:deep(.w-e-toolbar) {
|
||||||
z-index: 999 !important;
|
z-index: 999 !important;
|
||||||
|
position: static;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -50,7 +50,7 @@ export default {
|
|||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
initbrokenLine();
|
initbrokenLine();
|
||||||
});
|
});
|
||||||
}, 2000);
|
}, 500);
|
||||||
|
|
||||||
let greetings = computed(() => {
|
let greetings = computed(() => {
|
||||||
if (date.getHours() >= 0 && date.getHours() < 12) {
|
if (date.getHours() >= 0 && date.getHours() < 12) {
|
||||||
@ -62,9 +62,10 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
let initbrokenLine = (): any => {
|
function initbrokenLine() {
|
||||||
// @ts-ignore
|
const lineRefDom = document.getElementById("brokenLine");
|
||||||
brokenLine = echarts.init(document.getElementById("brokenLine"));
|
if (!lineRefDom) return;
|
||||||
|
brokenLine = echarts.init(lineRefDom);
|
||||||
brokenLine.clear(); //清除旧画布 重新渲染
|
brokenLine.clear(); //清除旧画布 重新渲染
|
||||||
|
|
||||||
echartsJson().then(({ info }) => {
|
echartsJson().then(({ info }) => {
|
||||||
@ -175,7 +176,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
const openDepot = (): void => {
|
const openDepot = (): void => {
|
||||||
window.open("https://github.com/xiaoxian521/vue-pure-admin");
|
window.open("https://github.com/xiaoxian521/vue-pure-admin");
|
||||||
@ -220,6 +221,7 @@ export default {
|
|||||||
height: 120px;
|
height: 120px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
border-bottom: 0.5px solid rgba($color: #ccc, $alpha: 0.3);
|
||||||
.left-mark {
|
.left-mark {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user