Commit bf91a50a authored by littleforest's avatar littleforest

feat: changed theme color of the button

parent 684e20c8
......@@ -5,16 +5,15 @@ const Settings: LayoutSettings & {
logo?: string;
} = {
navTheme: 'light',
// 拂晓蓝
primaryColor: '#009B95',
layout: 'mix',
contentWidth: 'Fluid',
fixedHeader: false,
fixSiderbar: true,
colorWeak: false,
title: 'Ant Design Pro',
pwa: false,
logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
logo: '/logo.png',
title: '',
iconfontUrl: '',
};
......
......@@ -6,6 +6,25 @@
@colorMainDefault: #999999;
@colorMainSubDefault: #666666;
.ant-btn-primary {
color: #fff;
background-color: #009b95;
border-color: #009b95;
border-radius: 2px;
}
:global {
.ant-input:focus,
.ant-input:hover,
.ant-input-focused {
border-color: #009b95;
}
.ant-input:focus,
.ant-input-focused {
box-shadow: 0 0 0 2px #009b95;
}
}
html,
body,
#root {
......
......@@ -17,8 +17,6 @@
height: 70%;
min-height: 400px;
:global(.ant-btn-primary) {
background: #009b95;
border: solid 1px #009b95;
border-radius: 2px;
}
}
......@@ -98,22 +96,9 @@
box-shadow: 0 2px 8px #f0f1f2;
.chatWrapper {
border-radius: 4px;
:global {
.ant-input:focus,
.ant-input:hover,
.ant-input-focused {
border-color: #009b95;
}
.ant-input:focus,
.ant-input-focused {
box-shadow: 0 0 0 2px #009b95;
}
}
}
.outputButtonWrapper {
:global(.ant-btn-primary) {
background: #009b95;
border: solid 1px #009b95;
border-radius: 6px !important;
}
}
......
......@@ -2,7 +2,6 @@ import {
CreatedAccount,
getRole,
getUserMessage,
postDelete,
postDeleteUser,
postResetUser,
} from '@/services/chatGLM/api';
......@@ -185,10 +184,6 @@ const UserManage = () => {
}
};
const onHandleClickAccountChange = (values: any) => {
console.log(values);
};
const validatePhoneNumber = (_, value: any) => {
const phoneNumberRegex = /^1[3456789]\d{9}$/;
if (!value || phoneNumberRegex.test(value)) {
......@@ -326,8 +321,6 @@ const UserManage = () => {
{...layout}
form={accountForm}
onFinish={onHandleClickAccountFinish}
onValuesChange={onHandleClickAccountChange}
labelAlign="right"
name="accountSetting"
>
<Item
......
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