Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
0
Merge Requests
0
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
ReactWeb5
CivManage
Commits
89078360
Commit
89078360
authored
Jan 25, 2021
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 移动配置优化
parent
70fe1612
Pipeline
#22943
passed with stages
in 19 minutes 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
SiteConfig.jsx
src/pages/mobileConfig/SiteConfig.jsx
+2
-2
addConfig.jsx
src/pages/mobileConfig/addConfig.jsx
+17
-4
No files found.
src/pages/mobileConfig/SiteConfig.jsx
View file @
89078360
...
...
@@ -21,8 +21,8 @@ const SiteConfig = props => {
{
text
:
'默认界面'
,
value
:
'default'
},
]);
// 系统登陆页
const
[
styleList
,
setStyleList
]
=
useState
([
{
text
:
'
默认风格
'
,
value
:
'default'
},
{
text
:
'
熊猫风格'
,
value
:
'熊猫风格
'
},
{
text
:
'
熊猫产品
'
,
value
:
'default'
},
{
text
:
'
通用项目'
,
value
:
'project
'
},
]);
// 系统风格
const
[
themeList
,
setThemeList
]
=
useState
([
{
text
:
'默认皮肤'
,
value
:
'default'
},
...
...
src/pages/mobileConfig/addConfig.jsx
View file @
89078360
...
...
@@ -16,12 +16,17 @@ const AddConfig = props => {
{
text
:
'默认界面'
,
value
:
'default'
},
]);
// 系统登陆页
const
[
styleList
,
setStyleList
]
=
useState
([
{
text
:
'
默认风格
'
,
value
:
'default'
},
{
text
:
'
熊猫风格'
,
value
:
'熊猫风格
'
},
{
text
:
'
熊猫产品
'
,
value
:
'default'
},
{
text
:
'
通用项目'
,
value
:
'project
'
},
]);
// 系统风格
const
[
themeList
,
setThemeList
]
=
useState
([
{
text
:
'默认皮肤'
,
value
:
'default'
},
]);
// 系统皮肤
const
[
clientList
,
setClientList
]
=
useState
([
{
text
:
'miniapp'
,
value
:
'miniapp'
},
{
text
:
'手持系统'
,
value
:
'手持系统'
},
{
text
:
'mypanda'
,
value
:
'mypanda'
},
]);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
form
]
=
Form
.
useForm
();
const
layout
=
{
...
...
@@ -89,11 +94,19 @@ const AddConfig = props => {
rules=
{
[
{
required
:
true
,
message
:
'请
输入
应用类别'
,
message
:
'请
选择
应用类别'
,
},
]
}
>
<
Input
placeholder=
"请输入应用类别"
allowClear
/>
{
/* <Input placeholder="请输入应用类别" allowClear /> */
}
<
Select
placeholder=
"请选择应用类别"
>
{
clientList
&&
clientList
.
map
((
item
,
index
)
=>
(
<
Option
value=
{
item
.
value
}
key=
{
`item${index}`
}
>
{
item
.
text
}
</
Option
>
))
}
</
Select
>
</
Item
>
<
Item
label=
"系统图标:"
...
...
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