diff --git a/.env.development b/.env.development index 086d1fa..7346fda 100644 --- a/.env.development +++ b/.env.development @@ -12,4 +12,4 @@ VITE_APP_ROUTER_PREFIX = '/' VITE_APP_UPLOAD_URL = '/Common/UploadFile' #socket API -VITE_APP_SOCKET_API = 'http://localhost:8888/msghub' \ No newline at end of file +VITE_APP_SOCKET_API = '/msghub' \ No newline at end of file diff --git a/src/components/Notice/Index.vue b/src/components/Notice/Index.vue new file mode 100644 index 0000000..b67d8d2 --- /dev/null +++ b/src/components/Notice/Index.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 315c1a0..434f4b1 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -22,6 +22,17 @@ + +
+ + + + +
@@ -59,9 +70,11 @@ import SizeSelect from '@/components/SizeSelect' import HeaderSearch from '@/components/HeaderSearch' import ZrGit from '@/components/Zr/Git' import ZrDoc from '@/components/Zr/Doc' +import Notice from '@/components/Notice/Index' const store = useStore() const getters = computed(() => store.getters) +const isShowUserNewsPopover = ref(false) function toggleSideBar() { store.dispatch('app/toggleSideBar') @@ -100,7 +113,7 @@ function setLayout() { } -