| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <template>
- <router-view />
- </template>
- <style>
- /* 全局样式重置 */
- * {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- html, body, #app {
- width: 100%;
- height: 100%;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
- 'PingFang SC', 'Microsoft YaHei', sans-serif;
- font-size: 14px;
- color: #262626;
- background-color: #f0f2f5;
- -webkit-font-smoothing: antialiased;
- }
- /* 滚动条美化 */
- ::-webkit-scrollbar {
- width: 6px;
- height: 6px;
- }
- ::-webkit-scrollbar-track {
- background: transparent;
- }
- ::-webkit-scrollbar-thumb {
- background: #d9d9d9;
- border-radius: 3px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #bfbfbf;
- }
- /* Element Plus 全局微调 */
- .el-card {
- border-radius: 12px !important;
- border: none !important;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
- }
- .el-button {
- border-radius: 6px !important;
- }
- .el-input__wrapper,
- .el-select .el-input__wrapper {
- border-radius: 6px !important;
- }
- .el-table {
- border-radius: 8px;
- overflow: hidden;
- }
- /* 页面卡片通用样式 */
- .page-card {
- background: #fff;
- border-radius: 12px;
- padding: 24px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
- }
- /* 搜索栏通用样式 */
- .search-bar {
- background: #fff;
- border-radius: 12px;
- padding: 20px 24px;
- margin-bottom: 16px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
- }
- </style>
|