1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 15:40:21 +08:00

chore: 弃用sass,使用原生css替换

This commit is contained in:
zclzone
2024-09-25 18:19:48 +08:00
parent 359f683955
commit 304b74bb49
6 changed files with 11 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ function handleMenuSelect(key, item) {
}
</script>
<style lang="scss">
<style>
.side-menu:not(.n-menu--collapsed) {
.n-menu-item-content {
&::before {

View File

@@ -74,7 +74,7 @@ async function handleContextMenu(e, tagItem) {
}
</script>
<style scoped lang="scss">
<style scoped>
:deep(.n-tabs) {
.n-tabs-tab {
padding-left: 16px;

View File

@@ -15,8 +15,8 @@ import { setupDirectives } from './directives'
import { setupRouter } from './router'
import { setupStore } from './store'
import { setupNaiveDiscreteApi } from './utils'
import '@/styles/global.scss'
import '@/styles/reset.css'
import '@/styles/global.css'
import 'uno.css'
async function bootstrap() {

View File

@@ -26,12 +26,12 @@ body {
.fade-slide-enter-from {
opacity: 0;
transform: translateX(-30px);
transform: translateX(-2%);
}
.fade-slide-leave-to {
opacity: 0;
transform: translateX(30px);
transform: translateX(2%);
}
/* 自定义滚动条样式 */