-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from fuyapeng123456/main
#29 房间列表缩进保存之本地存储,修改图标的样式
- Loading branch information
Showing
19 changed files
with
314 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
# 匹配所有文件 | ||
[*] | ||
# 在文件结尾插入新行 | ||
insert_final_newline = false | ||
# 删除一行中的前后空格 | ||
trim_trailing_whitespace = true | ||
|
||
# 匹配.vue文件 | ||
[*.vue] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<script lang="ts" setup> | ||
import { useUserStore } from '@/store' | ||
import bgImg from '@/assets/images/notice/bg.jpg' | ||
import logoImg from '@/assets/images/notice/logo.png' | ||
const user = useUserStore() | ||
const isShowModal = ref(user.isShowNotice) | ||
</script> | ||
|
||
<template> | ||
<div flex items-center justify-center mt-10 mb-20 cursor-pointer w-full> | ||
<n-icon size="28" @click="isShowModal = true, user.changShow(true)"> | ||
<icon-mdi:email /> | ||
</n-icon> | ||
</div> | ||
<n-modal | ||
v-model:show="isShowModal" | ||
style="width: 960px" | ||
title="通知公告" | ||
:bordered="false" | ||
size="huge" | ||
aria-modal="true" | ||
preset="card" | ||
:on-after-leave="() => { user.changShow(false) }" | ||
> | ||
<div flex> | ||
<n-card flex-1 title="通知"> | ||
<div>AI 蜂巢:</div> | ||
基于 Java 使用 Spring Boot 3 和 JDK 17,支持的功能有 ChatGPT、OpenAi Image、Midjourney、NewBing、文心一言等等 | ||
</n-card> | ||
<div | ||
w-244 h-420 b-rd-10 b-2 b-hex-ededf3 ml-6 | ||
:style="{ 'background-image': `url(${bgImg})` }" | ||
style=" | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
background-position: center center; | ||
" | ||
> | ||
<img w-240 b-rd-10 :src="logoImg" alt="https://www.asiayun.com/aff/PJKGJTCD"> | ||
<div p-20 dark:c-hex-333639> | ||
<div style="font-size: 18px;"> | ||
梦想在这里启航!~ | ||
</div> | ||
<br> | ||
<div> | ||
精心为您挑选最适合的配置,让您即开即用、省心运营 | ||
</div> | ||
<br> | ||
<div> | ||
本站专属 7.8 折优惠码: | ||
</div> | ||
<div> | ||
aibeehive78 | ||
</div> | ||
<br> | ||
<a | ||
href="https://www.asiayun.com/aff/PJKGJTCD" target="_Blank" | ||
> | ||
|
||
<NButton type="info" dark:c-hex-fff round @click="isShowModal = false"> | ||
点我直达 | ||
</NButton> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<template #footer> | ||
<footer flex justify-end> | ||
<slot name="footer"> | ||
<NButton ml-20 type="primary" @click="isShowModal = false"> | ||
确定 | ||
</NButton> | ||
</slot> | ||
</footer> | ||
</template> | ||
</n-modal> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
<!-- | ||
* @Author: mjjh | ||
* @LastEditTime: 2023-05-30 00:31:29 | ||
* @FilePath: \ai-beehive-web\src\layout\sidebar\index.vue | ||
* @Description: | ||
--> | ||
<script setup lang="ts"> | ||
import UserAvatar from './components/UserAvatar.vue' | ||
import SideMenu from './components/SideMenu.vue' | ||
import ThemeMode from './components/ThemeMode.vue' | ||
import Notice from './components/Notice.vue' | ||
</script> | ||
|
||
<template> | ||
<UserAvatar /> | ||
<SideMenu /> | ||
<ThemeMode absolute bottom-0 /> | ||
<div absolute bottom-0 left-0 right-0> | ||
<Notice /> | ||
<ThemeMode /> | ||
</div> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.