mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	refactor: less to scss
This commit is contained in:
		| @@ -270,10 +270,10 @@ const getAllApi = async () => { | ||||
| getAllApi() | ||||
| </script> | ||||
|  | ||||
| <style lang="less" scoped> | ||||
| @prefix-cls: ~'@{namespace}-panel'; | ||||
| <style lang="scss" scoped> | ||||
| $prefix-cls: #{$namespace}-panel; | ||||
|  | ||||
| .@{prefix-cls} { | ||||
| .#{$prefix-cls} { | ||||
|   &__item { | ||||
|     &--peoples { | ||||
|       color: #40c9c6; | ||||
| @@ -292,22 +292,22 @@ getAllApi() | ||||
|     } | ||||
|  | ||||
|     &:hover { | ||||
|       :deep(.@{namespace}-icon) { | ||||
|       :deep(.#{$namespace}-icon) { | ||||
|         color: #fff !important; | ||||
|       } | ||||
|       .@{prefix-cls}__item--icon { | ||||
|       .#{$prefix-cls}__item--icon { | ||||
|         transition: all 0.38s ease-out; | ||||
|       } | ||||
|       .@{prefix-cls}__item--peoples { | ||||
|       .#{$prefix-cls}__item--peoples { | ||||
|         background: #40c9c6; | ||||
|       } | ||||
|       .@{prefix-cls}__item--message { | ||||
|       .#{$prefix-cls}__item--message { | ||||
|         background: #36a3f7; | ||||
|       } | ||||
|       .@{prefix-cls}__item--money { | ||||
|       .#{$prefix-cls}__item--money { | ||||
|         background: #f4516c; | ||||
|       } | ||||
|       .@{prefix-cls}__item--shopping { | ||||
|       .#{$prefix-cls}__item--shopping { | ||||
|         background: #34bfa3; | ||||
|       } | ||||
|     } | ||||
|   | ||||
| @@ -73,10 +73,10 @@ const { getPrefixCls } = useDesign() | ||||
| const prefixCls = getPrefixCls('login') | ||||
| </script> | ||||
|  | ||||
| <style lang="less" scoped> | ||||
| @prefix-cls: ~'@{namespace}-login'; | ||||
| <style lang="scss" scoped> | ||||
| $prefix-cls: #{$namespace}-panel; | ||||
|  | ||||
| .@{prefix-cls} { | ||||
| .#{$prefix-cls} { | ||||
|   &__left { | ||||
|     &::before { | ||||
|       position: absolute; | ||||
|   | ||||
| @@ -307,7 +307,7 @@ onMounted(() => { | ||||
| }) | ||||
| </script> | ||||
|  | ||||
| <style lang="less" scoped> | ||||
| <style lang="scss" scoped> | ||||
| :deep(.anticon) { | ||||
|   &:hover { | ||||
|     color: var(--el-color-primary) !important; | ||||
|   | ||||
| @@ -197,7 +197,7 @@ const signIn = async () => { | ||||
| } | ||||
| </script> | ||||
|  | ||||
| <style lang="less" scoped> | ||||
| <style lang="scss" scoped> | ||||
| :deep(.anticon) { | ||||
|   &:hover { | ||||
|     color: var(--el-color-primary) !important; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu4j
					xingyu4j