diff --git a/src/App.vue b/src/App.vue index 5495872..328ab5e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,5 +18,4 @@ const size = computed(() => SettingStore.themeConfig.globalComSize); diff --git a/src/components/custom-scroll-title/index.vue b/src/components/custom-scroll-title/index.vue index f7adb0d..13accac 100644 --- a/src/components/custom-scroll-title/index.vue +++ b/src/components/custom-scroll-title/index.vue @@ -119,7 +119,7 @@ function handleTitleClick(val) { box-sizing: border-box; } .header_title { - background-color: #f5f5f5; + background-color: #000; position: relative; padding: 0 68px; display: flex; diff --git a/src/styles/style.scss b/src/styles/style.scss index 514b007..198967e 100644 --- a/src/styles/style.scss +++ b/src/styles/style.scss @@ -1,5 +1,6 @@ @import 'common/base'; @import 'common/define'; +@import './assets/fonts/font.css'; #app { position: relative; width: 100%; @@ -7,11 +8,31 @@ font-family: Avenir, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - background-color: #ffffff; + background-color: #000; +} +.el-dialog__body { + overflow: hidden auto; + height: auto; + max-height: calc(100vh - 130px); +} +.txt-ellipsis { + display: -webkit-inline-box; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + word-break: break-all; + white-space: normal; +} +.clamp1 { + line-clamp: 1; + -webkit-line-clamp: 1; + line-height: 1.5; + max-height: calc(1.5em * 1); } -// .el-dialog__body { -// overflow: hidden auto; -// height: auto; -// max-height: calc(100vh - 130px); -// } +.clamp2 { + line-clamp: 2; + -webkit-line-clamp: 2; + line-height: 1.5; + max-height: calc(1.5em * 2); +} \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 6b6e071..869ea37 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -87,7 +87,7 @@ let rollDataList = reactive([ flex-direction: column; } .left-charts-item { - width: 100%; + width: calc(100% - 5px); height: calc((100% - 30px) / 3); } @@ -98,7 +98,7 @@ let rollDataList = reactive([ flex-direction: column; } .right-charts-item { - width: 100%; + width: calc(100% - 5px); height: calc((100% - 30px) / 3); } } diff --git a/src/views/land/index.vue b/src/views/land/index.vue index 3f6caa1..704a754 100644 --- a/src/views/land/index.vue +++ b/src/views/land/index.vue @@ -1,60 +1,56 @@