去除首页卡片的直角

This commit is contained in:
zhoumingfa 2024-08-03 23:38:54 +08:00
parent 694aa18452
commit bf64f525fb

View File

@ -9,7 +9,7 @@
*
-->
<template>
<div class="card-container">
<div>
<a-card size="small">
<template #title>
<div class="title">
@ -47,23 +47,4 @@
return token.colorPrimary;
});
</script>
<style lang="less" scoped>
.card-container {
background-color: #fff;
height: 100%;
.title {
display: flex;
align-items: center;
&::before {
content: '';
position: absolute;
top: 3px;
left: 0;
width: 3px;
height: 30px;
background-color: v-bind('token.colorPrimary');
}
}
}
</style>
<style lang="less" scoped></style>