diff --git a/src/views/Home.less b/src/views/Home.less new file mode 100644 index 0000000..6e71228 --- /dev/null +++ b/src/views/Home.less @@ -0,0 +1,45 @@ +.common-layout{ + width: 100%; + background: #fff; + &>.toolbar{ + background: #fff; + border-radius: 4px; + padding: 16px; + display: flex; + align-items: flex-start; + border-bottom: 1px solid #f0f0f0; + flex-shrink: 0; + } + &>.query-form{ + flex-shrink: 0; + padding: 14px 0 0 16px; + text-align: left; + .el-form-item { + margin-bottom: 14px; + } + } + &>.yv-table{ + margin:0 10px 10px 10px; + .ag-root-wrapper.ag-layout-normal{ + border:none; + } + .ag-header{ + background: #f8f8f8; + border-bottom-color: #dfe6ec; + } + &.ag-theme-alpine .ag-header-row{ + color:#444; + .ag-header-cell-text{ + font-size: 14px; + font-weight: bold; + } + } + .ag-row{ + color:#606266; + border-color:#ebeef5; + .ag-cell{ + font-weight: 300; + } + } + } +} diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index df7da33..ce289ff 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -33,6 +33,7 @@ import {useRoute} from "vue-router"; import Sidebar from './Sidebar.vue' import Header from './Header.vue' + import './Home.less' const route = useRoute() console.log(route.meta?.title) const collapsed = ref(false) diff --git a/src/views/device/locations.vue b/src/views/device/locations.vue index e4967a1..0468bd6 100644 --- a/src/views/device/locations.vue +++ b/src/views/device/locations.vue @@ -104,19 +104,19 @@ function reload() {