refactor(design): add windicss

This commit is contained in:
vben
2021-02-17 22:07:22 +08:00
parent 27c6f69091
commit 4d7001bbcf
32 changed files with 140 additions and 359 deletions

View File

@@ -9,7 +9,11 @@
@click="handleGoHome"
>
<img src="../../../assets/images/logo.png" />
<div class="ml-2 ellipsis" :class="[`${prefixCls}__title`]" v-show="showTitle">
<div
class="ml-2 truncate xs:opacity-0 md:opacity-100"
:class="`${prefixCls}__title`"
v-show="showTitle"
>
{{ title }}
</div>
</div>
@@ -85,12 +89,7 @@
&__title {
font-size: 16px;
font-weight: 700;
opacity: 0;
transition: all 0.5s;
.respond-to(medium,{
opacity: 1;
});
}
}
</style>