From b88f6ba9ceef6c181ea4dc5d3006b934c1474c4c Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Tue, 17 May 2022 16:45:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20dockerfile=E6=B7=BB=E5=8A=A0static?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + layouts/module/header/HeaderInfoBar.vue | 8 +++++--- layouts/module/header/index.vue | 14 +++++++------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a27724..c59aafb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /workload COPY nuxt.config.js /workload/nuxt.config.js COPY package.json /workload/package.json COPY .nuxt /workload/.nuxt +COPY static /workload/static RUN npm config set registry https://registry.npm.taobao.org \ && npm install diff --git a/layouts/module/header/HeaderInfoBar.vue b/layouts/module/header/HeaderInfoBar.vue index 848a5a6..e9265f5 100644 --- a/layouts/module/header/HeaderInfoBar.vue +++ b/layouts/module/header/HeaderInfoBar.vue @@ -152,7 +152,7 @@ export default { }; }, computed: { - ...mapState(["userInfo", "token","unreadCount"]), + ...mapState(["userInfo", "token", "unreadCount"]), menuIcon() { return this.menuVisible ? require("~/assets/img/layout/icon-up-light.png") @@ -160,7 +160,7 @@ export default { }, }, mounted() { - this.$startWebSockets() + this.$startWebSockets(); }, methods: { onLoginClick() { @@ -248,7 +248,7 @@ export default { height: 30px; color: #999999; background: #f1f1f1; - border-radius: 0px 0px 0px 0px; + font-size: 12px; .info-bar-header-wrap { height: 100%; @include layout-box; @@ -270,6 +270,8 @@ export default { position: relative; padding: 0 18px; height: 30px; + font-size: 12px; + color: #999999; cursor: pointer; .content-login-info__logo { width: 8px; diff --git a/layouts/module/header/index.vue b/layouts/module/header/index.vue index eac91ff..760dc05 100644 --- a/layouts/module/header/index.vue +++ b/layouts/module/header/index.vue @@ -62,11 +62,8 @@
-
- +