feat: 组件样式抽离

This commit is contained in:
duanshuwen
2025-09-21 18:42:33 +08:00
parent cd98772122
commit ae547f7f81
2 changed files with 46 additions and 45 deletions

View File

@@ -58,49 +58,5 @@ const props = defineProps({
</script>
<style scoped lang="scss">
@font-face {
font-family: znicons;
src: url("@/static/fonts/znicons.ttf");
}
// 使用须知样式
.use-notice {
margin: 16px 0;
}
.use-notice-content {
.module-item {
display: flex;
align-items: flex-start;
flex-direction: column;
padding: 12px 0;
.module-icon {
display: flex;
flex-direction: row;
align-items: center;
margin-right: 8px;
flex-shrink: 0;
.module-title {
font-size: 14px;
color: #333;
text-align: center;
word-wrap: break-word;
margin-left: 4px;
}
}
.module-desc {
flex: 1;
font-size: 12px;
color: #666;
line-height: 1.5;
margin-top: 4px;
}
}
.border-bottom {
border-bottom: 1px solid #f0f0f0;
}
}
@use './styles/index.scss';
</style>