/* 全局样式 */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; width: 100%; } body { font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 14px; color: #303133; background-color: #f5f7fa; } #app { height: 100%; } /* 常用工具类 */ .text-primary { color: #1890ff; } .text-success { color: #52c41a; } .text-warning { color: #faad14; } .text-danger { color: #f5222d; } .text-info { color: #909399; } .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .flex { display: flex; } .flex-column { flex-direction: column; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .items-center { align-items: center; } .w-full { width: 100%; } .h-full { height: 100%; } .mb-10 { margin-bottom: 10px; } .mt-10 { margin-top: 10px; } .mr-10 { margin-right: 10px; } .ml-10 { margin-left: 10px; } .p-10 { padding: 10px; } .py-10 { padding-top: 10px; padding-bottom: 10px; } .px-10 { padding-left: 10px; padding-right: 10px; } /* 响应式工具类 */ @media (max-width: 768px) { .hidden-xs { display: none !important; } } @media (min-width: 768px) and (max-width: 992px) { .hidden-sm { display: none !important; } } @media (min-width: 992px) and (max-width: 1200px) { .hidden-md { display: none !important; } } @media (min-width: 1200px) { .hidden-lg { display: none !important; } }