diff --git a/package.json b/package.json index 464121c9..ff972c4b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "event-source-polyfill": "^1.0.31", "global": "^4.4.0", "jetlinks-store": "^0.0.3", - "jetlinks-ui-components": "^1.0.13", + "jetlinks-ui-components": "^1.0.16", "js-cookie": "^3.0.1", "less": "^4.1.3", "less-loader": "^11.1.0", diff --git a/public/fonts/AlibabaPuHuiTi-2-55-Regular.ttf b/public/fonts/AlibabaPuHuiTi-2-55-Regular.ttf new file mode 100644 index 00000000..b69b5109 Binary files /dev/null and b/public/fonts/AlibabaPuHuiTi-2-55-Regular.ttf differ diff --git a/src/style.less b/src/style.less index 87cb6cb8..8b3171c1 100644 --- a/src/style.less +++ b/src/style.less @@ -2,6 +2,15 @@ @DarkMenuItemColor: #808491 !important; +@font-face { + font-family: AliRegular; + src: url("/fonts/AlibabaPuHuiTi-2-55-Regular.ttf"); +} + +body { + font-family: 'AliRegular' !important; +} + .ant-form-item-required:before { position: absolute; right: -12px; diff --git a/src/style/variable.less b/src/style/variable.less index 40f87bdf..da23b801 100644 --- a/src/style/variable.less +++ b/src/style/variable.less @@ -1,3 +1,4 @@ +@import "ant-design-vue/es/style/themes/index.less"; @import 'jetlinks-ui-components/es/style/variable.less'; .ellipsisFn(@num: 1, @width: 100%) { diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue index be6d4cb0..46ec3bbe 100644 --- a/src/views/device/Instance/Detail/Running/Event/index.vue +++ b/src/views/device/Instance/Detail/Running/Event/index.vue @@ -1,6 +1,6 @@