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:
@@ -59,7 +59,7 @@ function handleMenuSelect(key, item) {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
<style>
|
||||
.side-menu:not(.n-menu--collapsed) {
|
||||
.n-menu-item-content {
|
||||
&::before {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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%);
|
||||
}
|
||||
|
||||
/* 自定义滚动条样式 */
|
||||
Reference in New Issue
Block a user