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
23e353b18b
commit
9446bf5f98
@ -136,10 +136,10 @@ func (p *ServicePool) DownloadImages() {
|
||||
imgURL, err = p.uploaderManager.GetUploadHandler().PutImg(v.OrgURL, true)
|
||||
}
|
||||
if err != nil {
|
||||
logger.Error("error with download image: ", err)
|
||||
logger.Errorf("error with download image %s, %v", v.OrgURL, err)
|
||||
continue
|
||||
} else {
|
||||
logger.Info("download image %v successfully.", v.OrgURL)
|
||||
logger.Infof("download image %s successfully.", v.OrgURL)
|
||||
}
|
||||
|
||||
v.ImgURL = imgURL
|
||||
|
@ -153,6 +153,12 @@
|
||||
#app .common-layout .el-main .chat-head .iconfont {
|
||||
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 {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
|
@ -199,6 +199,13 @@ $borderColor = #4676d0;
|
||||
.iconfont {
|
||||
margin-right 5px;
|
||||
}
|
||||
|
||||
.is-circle {
|
||||
margin-left 5px
|
||||
.iconfont {
|
||||
margin-right 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.right-box {
|
||||
@ -250,7 +257,6 @@ $borderColor = #4676d0;
|
||||
margin-right 5px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,9 +19,12 @@
|
||||
margin-left: 10px;
|
||||
}
|
||||
.mobile-chat .chat-box-wrapper .van-sticky .van-cell-group--inset .van-cell .button-voice {
|
||||
padding: 0 5px;
|
||||
padding: 0 2px;
|
||||
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 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
@ -31,6 +34,13 @@
|
||||
.mobile-chat .van-nav-bar__right .van-icon {
|
||||
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 {
|
||||
background: #232425;
|
||||
}
|
||||
|
@ -117,12 +117,27 @@
|
||||
<span>导出会话</span>
|
||||
</el-button>
|
||||
|
||||
<el-button type="warning" @click="showFeedbackDialog = true">
|
||||
<el-icon>
|
||||
<Promotion/>
|
||||
</el-icon>
|
||||
<span>意见反馈</span>
|
||||
<el-tooltip class="box-item"
|
||||
effect="dark"
|
||||
content="部署文档"
|
||||
placement="bottom">
|
||||
<a href="https://ai.r9it.com/docs/install/" target="_blank">
|
||||
<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>
|
||||
|
||||
@ -204,28 +219,6 @@
|
||||
</el-main>
|
||||
</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
|
||||
v-model="showNotice"
|
||||
:show-close="true"
|
||||
@ -256,7 +249,7 @@ import {
|
||||
ArrowDown,
|
||||
Check,
|
||||
Close,
|
||||
Delete,
|
||||
Delete, Document,
|
||||
Edit,
|
||||
Plus,
|
||||
Promotion,
|
||||
@ -299,11 +292,9 @@ const showConfigDialog = ref(false);
|
||||
const isLogin = ref(false)
|
||||
const showHello = ref(true)
|
||||
const textInput = ref(null)
|
||||
const showFeedbackDialog = ref(false)
|
||||
const showNotice = ref(false)
|
||||
const notice = ref("")
|
||||
const noticeKey = ref("SYSTEM_NOTICE")
|
||||
const wechatCardURL = ref("/images/wx.png")
|
||||
|
||||
if (isMobile()) {
|
||||
router.replace("/mobile")
|
||||
@ -353,7 +344,6 @@ onMounted(() => {
|
||||
// 获取系统配置
|
||||
httpGet("/api/admin/config/get?key=system").then(res => {
|
||||
title.value = res.data.title
|
||||
wechatCardURL.value = res.data['wechat_card_url']
|
||||
}).catch(e => {
|
||||
ElMessage.error("获取系统配置失败:" + e.message)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user