Commit 9720c7ed authored by liuxiaohui's avatar liuxiaohui

重构振升项目,以部署益农助手

parent 0e620ae8
...@@ -12,8 +12,8 @@ const Settings: LayoutSettings & { ...@@ -12,8 +12,8 @@ const Settings: LayoutSettings & {
fixSiderbar: true, fixSiderbar: true,
colorWeak: false, colorWeak: false,
pwa: false, pwa: false,
logo: 'https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/Logo.png', logo: 'https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/ynzs-logo.png',
title: 'ZENSONG.AI', title: 'CHATMAP.AI',
iconfontUrl: '', iconfontUrl: '',
}; };
......
...@@ -5,7 +5,7 @@ const Footer: React.FC = () => { ...@@ -5,7 +5,7 @@ const Footer: React.FC = () => {
const intl = useIntl(); const intl = useIntl();
const defaultMessage = intl.formatMessage({ const defaultMessage = intl.formatMessage({
id: 'app.copyright.produced', id: 'app.copyright.produced',
defaultMessage: '2023 ZENSONG.AI', defaultMessage: '2023 CHATMAP.AI',
}); });
const currentYear = new Date().getFullYear(); const currentYear = new Date().getFullYear();
......
...@@ -79,8 +79,10 @@ const LoginModal = (props: ILoginModalProps) => { ...@@ -79,8 +79,10 @@ const LoginModal = (props: ILoginModalProps) => {
> >
<div className={styles.modal_login}> <div className={styles.modal_login}>
<div className={styles.modal_title}> <div className={styles.modal_title}>
<img src={logoSvg} alt="" /> <img
<p>欢迎来到 ZENSONG.AI</p> style={{ width: 58, height: 47}}
src='https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/ynzs-logo.png' alt="" />
<p>欢迎来到 CHATMAP.AI</p>
</div> </div>
<p className={styles.modal_tip}>账户密码登录</p> <p className={styles.modal_tip}>账户密码登录</p>
<Form <Form
......
...@@ -34,7 +34,9 @@ const Answer = (props: IAnswerProps) => { ...@@ -34,7 +34,9 @@ const Answer = (props: IAnswerProps) => {
<Row> <Row>
<Col span={24}> <Col span={24}>
<p className={styles.question} style={{ marginTop: isMobile ? '20px' : '40px' }}> <p className={styles.question} style={{ marginTop: isMobile ? '20px' : '40px' }}>
<img src={logoSvg} alt="" className={styles.question_img} /> <img
style={{ width: 25, height: 22}}
src='https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/ynzs-logo.png' alt="" className={styles.question_img} />
<span <span
className={classNames(isMobile && styles.mobile_question_span, styles.question_span)} className={classNames(isMobile && styles.mobile_question_span, styles.question_span)}
style={{ marginLeft: isMobile ? '8px' : '16px' }} style={{ marginLeft: isMobile ? '8px' : '16px' }}
...@@ -61,7 +63,7 @@ const Answer = (props: IAnswerProps) => { ...@@ -61,7 +63,7 @@ const Answer = (props: IAnswerProps) => {
> >
<img src={copySvg} alt="" /> <img src={copySvg} alt="" />
<span>复制回答</span> <span>复制回答</span>
</p> `` </p>
)} )}
</div> </div>
{!isMobile && ( {!isMobile && (
......
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
'layout.user.link.help': '帮助', 'layout.user.link.help': '帮助',
'layout.user.link.privacy': '隐私', 'layout.user.link.privacy': '隐私',
'layout.user.link.terms': '条款', 'layout.user.link.terms': '条款',
'app.copyright.produced': 'ZENSONG.AI', 'app.copyright.produced': 'CHATMAP.AI',
'app.preview.down.block': '下载此页面到本地项目', 'app.preview.down.block': '下载此页面到本地项目',
'app.welcome.link.fetch-blocks': '获取全部区块', 'app.welcome.link.fetch-blocks': '获取全部区块',
'app.welcome.link.block-list': '基于 block 开发,快速构建标准页面', 'app.welcome.link.block-list': '基于 block 开发,快速构建标准页面',
......
...@@ -177,7 +177,7 @@ const Chat: React.FC = () => { ...@@ -177,7 +177,7 @@ const Chat: React.FC = () => {
}} }}
/> />
</Col> </Col>
<Col>ZENSONG.AI</Col> <Col>CHATMAP.AI</Col>
<Col pull={1} /> <Col pull={1} />
</Row> </Row>
); );
...@@ -319,12 +319,13 @@ const Chat: React.FC = () => { ...@@ -319,12 +319,13 @@ const Chat: React.FC = () => {
style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }} style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }}
> >
<img <img
style={{ marginRight: 12, height: 40, marginBottom: 6 }} // style = {{width: 40,height: 25}}
src="https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/Logo.png" style={{ marginRight: 15, height: 40, marginBottom: 6,width: 50 }}
src="https://baibaomen.oss-cn-hangzhou.aliyuncs.com/zhensheng/ynzs-logo.png"
alt="logo" alt="logo"
/> />
<Title level={2} style={{ marginBottom: 8, fontSize: 32 }}> <Title level={2} style={{ marginBottom: 8, fontSize: 32 }}>
ZENSONG.AI CHATMAP.AI
</Title> </Title>
</Col> </Col>
<Col span={24}> <Col span={24}>
......
...@@ -251,7 +251,6 @@ const UserManage = () => { ...@@ -251,7 +251,6 @@ const UserManage = () => {
const onHandleClickAccountFinish = (values: any) => { const onHandleClickAccountFinish = (values: any) => {
if (accountModalName === '添加账号') { if (accountModalName === '添加账号') {
alert('2');
createdAccount(values); createdAccount(values);
} }
if (accountModalName === '编辑账号') { if (accountModalName === '编辑账号') {
......
...@@ -22,13 +22,13 @@ request.interceptors.request.use((url, options) => { ...@@ -22,13 +22,13 @@ request.interceptors.request.use((url, options) => {
authHeader= { authHeader= {
Authorization: `Bearer ${token || ''}`, Authorization: `Bearer ${token || ''}`,
headers:{'Content-Type': 'multipart/form-data'}, headers:{'Content-Type': 'multipart/form-data'},
__tenant: '3a0a90fe-9a0d-70f4-200d-a80a41fb6195', __tenant: '3a0b773f-907f-f191-74d0-48f258e57bcb',
}; };
}else{ }else{
authHeader= { authHeader= {
Authorization: `Bearer ${token || ''}`, Authorization: `Bearer ${token || ''}`,
'Content-Type': 'application/json', 'Content-Type': 'application/json',
__tenant: '3a0a90fe-9a0d-70f4-200d-a80a41fb6195', __tenant: '3a0b773f-907f-f191-74d0-48f258e57bcb',
}; };
} }
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment