mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
add docs and github link
This commit is contained in:
parent
b9f31d42f4
commit
8bcbb68438
@ -136,10 +136,10 @@ func (p *ServicePool) DownloadImages() {
|
|||||||
imgURL, err = p.uploaderManager.GetUploadHandler().PutImg(v.OrgURL, true)
|
imgURL, err = p.uploaderManager.GetUploadHandler().PutImg(v.OrgURL, true)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("error with download image: ", err)
|
logger.Errorf("error with download image %s, %v", v.OrgURL, err)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
logger.Info("download image %v successfully.", v.OrgURL)
|
logger.Infof("download image %s successfully.", v.OrgURL)
|
||||||
}
|
}
|
||||||
|
|
||||||
v.ImgURL = imgURL
|
v.ImgURL = imgURL
|
||||||
|
@ -153,6 +153,12 @@
|
|||||||
#app .common-layout .el-main .chat-head .iconfont {
|
#app .common-layout .el-main .chat-head .iconfont {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
#app .common-layout .el-main .chat-head .is-circle {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
#app .common-layout .el-main .chat-head .is-circle .iconfont {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
#app .common-layout .el-main .right-box {
|
#app .common-layout .el-main .right-box {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
@ -199,6 +199,13 @@ $borderColor = #4676d0;
|
|||||||
.iconfont {
|
.iconfont {
|
||||||
margin-right 5px;
|
margin-right 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-circle {
|
||||||
|
margin-left 5px
|
||||||
|
.iconfont {
|
||||||
|
margin-right 0
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-box {
|
.right-box {
|
||||||
@ -250,7 +257,6 @@ $borderColor = #4676d0;
|
|||||||
margin-right 5px;
|
margin-right 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,9 +19,12 @@
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .button-voice {
|
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .button-voice {
|
||||||
padding: 0 5px;
|
padding: 0 2px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .button-voice .el-icon {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
.mobile-chat .van-nav-bar__title .van-dropdown-menu__title {
|
.mobile-chat .van-nav-bar__title .van-dropdown-menu__title {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
@ -31,6 +34,13 @@
|
|||||||
.mobile-chat .van-nav-bar__right .van-icon {
|
.mobile-chat .van-nav-bar__right .van-icon {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
.van-overlay .mic-wrapper {
|
||||||
|
display: flex;
|
||||||
|
height: 100vh;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
.van-theme-dark .mobile-chat .message-list-box {
|
.van-theme-dark .mobile-chat .message-list-box {
|
||||||
background: #232425;
|
background: #232425;
|
||||||
}
|
}
|
||||||
|
@ -117,12 +117,27 @@
|
|||||||
<span>导出会话</span>
|
<span>导出会话</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button type="warning" @click="showFeedbackDialog = true">
|
<el-tooltip class="box-item"
|
||||||
<el-icon>
|
effect="dark"
|
||||||
<Promotion/>
|
content="部署文档"
|
||||||
</el-icon>
|
placement="bottom">
|
||||||
<span>意见反馈</span>
|
<a href="https://ai.r9it.com/docs/install/" target="_blank">
|
||||||
</el-button>
|
<el-button type="primary" circle>
|
||||||
|
<i class="iconfont icon-book"></i>
|
||||||
|
</el-button>
|
||||||
|
</a>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<el-tooltip class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
content="项目源码"
|
||||||
|
placement="bottom">
|
||||||
|
<a href="https://github.com/yangjian102621/chatgpt-plus" target="_blank">
|
||||||
|
<el-button type="success" circle>
|
||||||
|
<i class="iconfont icon-github"></i>
|
||||||
|
</el-button>
|
||||||
|
</a>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -204,28 +219,6 @@
|
|||||||
</el-main>
|
</el-main>
|
||||||
</el-container>
|
</el-container>
|
||||||
|
|
||||||
<el-dialog
|
|
||||||
v-model="showFeedbackDialog"
|
|
||||||
:show-close="true"
|
|
||||||
width="340px"
|
|
||||||
title="意见反馈"
|
|
||||||
>
|
|
||||||
<el-alert type="info" :closable="false">
|
|
||||||
<div style="font-size: 14px">
|
|
||||||
如果您对本项目有任何改进意见,您可以通过 Github
|
|
||||||
<el-link style="color: #f56c6c; font-weight: bold;"
|
|
||||||
href="https://github.com/yangjian102621/chatgpt-plus/issues">
|
|
||||||
提交改进意见
|
|
||||||
</el-link>
|
|
||||||
或者通过扫描下面的微信二维码加入 AI 技术交流群。
|
|
||||||
</div>
|
|
||||||
</el-alert>
|
|
||||||
|
|
||||||
<div style="text-align: center;padding-top: 10px;">
|
|
||||||
<el-image :src="wechatCardURL"/>
|
|
||||||
</div>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-model="showNotice"
|
v-model="showNotice"
|
||||||
:show-close="true"
|
:show-close="true"
|
||||||
@ -256,7 +249,7 @@ import {
|
|||||||
ArrowDown,
|
ArrowDown,
|
||||||
Check,
|
Check,
|
||||||
Close,
|
Close,
|
||||||
Delete,
|
Delete, Document,
|
||||||
Edit,
|
Edit,
|
||||||
Plus,
|
Plus,
|
||||||
Promotion,
|
Promotion,
|
||||||
@ -299,11 +292,9 @@ const showConfigDialog = ref(false);
|
|||||||
const isLogin = ref(false)
|
const isLogin = ref(false)
|
||||||
const showHello = ref(true)
|
const showHello = ref(true)
|
||||||
const textInput = ref(null)
|
const textInput = ref(null)
|
||||||
const showFeedbackDialog = ref(false)
|
|
||||||
const showNotice = ref(false)
|
const showNotice = ref(false)
|
||||||
const notice = ref("")
|
const notice = ref("")
|
||||||
const noticeKey = ref("SYSTEM_NOTICE")
|
const noticeKey = ref("SYSTEM_NOTICE")
|
||||||
const wechatCardURL = ref("/images/wx.png")
|
|
||||||
|
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
router.replace("/mobile")
|
router.replace("/mobile")
|
||||||
@ -353,7 +344,6 @@ onMounted(() => {
|
|||||||
// 获取系统配置
|
// 获取系统配置
|
||||||
httpGet("/api/admin/config/get?key=system").then(res => {
|
httpGet("/api/admin/config/get?key=system").then(res => {
|
||||||
title.value = res.data.title
|
title.value = res.data.title
|
||||||
wechatCardURL.value = res.data['wechat_card_url']
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
ElMessage.error("获取系统配置失败:" + e.message)
|
ElMessage.error("获取系统配置失败:" + e.message)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user