Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chatGLM
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘坚-丰林-DEV
chatGLM
Commits
bf91a50a
Commit
bf91a50a
authored
Apr 16, 2023
by
littleforest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: changed theme color of the button
parent
684e20c8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
25 deletions
+21
-25
defaultSettings.ts
config/defaultSettings.ts
+2
-3
logo.png
public/logo.png
+0
-0
exclamation-circle
src/components/Icons/exclamation-circle
+0
-0
global.less
src/global.less
+19
-0
index.less
src/pages/Chat/index.less
+0
-15
index.tsx
src/pages/UserManage/index.tsx
+0
-7
No files found.
config/defaultSettings.ts
View file @
bf91a50a
...
...
@@ -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
:
''
,
};
...
...
public/logo.png
0 → 100644
View file @
bf91a50a
24.3 KB
src/components/Icons/exclamation-circle
.svg
→
src/components/Icons/exclamation-circle
View file @
bf91a50a
File moved
src/global.less
View file @
bf91a50a
...
...
@@ -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 {
...
...
src/pages/Chat/index.less
View file @
bf91a50a
...
...
@@ -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;
}
}
...
...
src/pages/UserManage/index.tsx
View file @
bf91a50a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment