perf: 优化template-admin-ts自带样式导入逻辑

This commit is contained in:
rd
2025-07-11 16:50:48 +08:00
parent 2fc1f64f5e
commit ba6ae87a1d
93 changed files with 230 additions and 242 deletions

View File

@ -102,9 +102,9 @@ provide('toggleDrawerMenu', () => {
</a-layout>
</template>
<style scoped lang="less">
@nav-size-height: 72px;
@layout-max-width: 1100px;
<style scoped lang="scss">
$nav-size-height: 72px;
$layout-max-width: 1100px;
.layout {
width: 100%;
@ -116,7 +116,7 @@ provide('toggleDrawerMenu', () => {
left: 0;
z-index: 100;
width: 100%;
height: @nav-size-height;
height: $nav-size-height;
}
.layout-sider {
position: fixed;

View File

@ -14,7 +14,7 @@ const back = () => {
</div>
</template>
<style scoped lang="less">
<style scoped lang="scss">
.content {
position: absolute;
top: 50%;

View File

@ -26,7 +26,7 @@ const routerKey = computed(() => {
</router-view>
</template>
<style lang="less" scoped>
<style lang="scss" scoped>
.footer {
margin: 20px;
width: 98%;