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
ef23aaa2
Commit
ef23aaa2
authored
Dec 07, 2020
by
张烨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 优化样式
parent
b27be4ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
SevenParams.js
src/pages/mobileConfig/menuconfig/SevenParams.js
+6
-6
VersionPublish.js
src/pages/mobileConfig/menuconfig/VersionPublish.js
+7
-3
otherConfig.less
src/pages/mobileConfig/menuconfig/otherConfig.less
+5
-0
No files found.
src/pages/mobileConfig/menuconfig/SevenParams.js
View file @
ef23aaa2
...
...
@@ -5,6 +5,7 @@ import {
getSevenParamsByTransType
,
postSevenParams
,
}
from
'../../../services/appConfig/api'
;
import
styles
from
'./otherConfig.less'
;
const
SevenParams
=
props
=>
{
const
{
Option
}
=
Select
;
...
...
@@ -204,13 +205,12 @@ const SevenParams = props => {
},
[]);
return
(
<
div
style
=
{{
width
:
'100%'
}}
className
=
{
props
.
cls
}
>
<
p
>
七参数配置:
<
/p
>
<
div
style
=
{{
width
:
'100%'
,
paddingLeft
:
'15px'
}}
className
=
{
props
.
cls
}
>
<
p
className
=
{
styles
.
title
}
>
七参数配置:
<
/p
>
<
Form
form
=
{
sevenForm
}
labelCol
=
{{
span
:
2
,
offset
:
2
}}
wrapperCol
=
{{
span
:
16
,
offset
:
1
}}
style
=
{{
height
:
'calc(100vh - 300px)'
,
overflow
:
'auto'
}}
labelCol
=
{{
span
:
2
,
offset
:
0
}}
wrapperCol
=
{{
span
:
12
,
offset
:
0
}}
onFinish
=
{
submitSevenParams
}
initialValues
=
{{
ellipseType
:
'1'
,
transType
:
'1'
}}
>
...
...
@@ -328,7 +328,7 @@ const SevenParams = props => {
)}
<
Form
.
Item
wrapperCol
=
{{
offset
:
12
}}
>
<
Button
type
=
"primary"
htmlType
=
"submit"
>
提交
更新七参数
<
/Button
>
<
/Form.Item
>
<
/Form
>
...
...
src/pages/mobileConfig/menuconfig/VersionPublish.js
View file @
ef23aaa2
...
...
@@ -5,7 +5,7 @@ import { Switch, Button, Message, Spin, Modal } from 'antd';
import
BaseForm
from
'@/components/BaseForm/index'
;
import
{
getApkNameAndDate
,
SaveMobileApk
}
from
'@/services/appConfig/api'
;
import
styles
from
'./
VersionPublish
.less'
;
import
styles
from
'./
otherConfig
.less'
;
// const JSON_BASE = `${
// location.origin
...
...
@@ -145,8 +145,8 @@ export default () => {
<
Spin
/>
)
:
(
<>
<
p
>
版本发布:
<
/p
>
<
div
className
=
"base-info"
>
<
p
className
=
{
styles
.
title
}
>
apk
版本管理:
<
/p
>
<
div
className
=
{
styles
.
row
}
>
<
div
className
=
{
styles
.
label
}
>
当前包名:
<
/div
>
<
div
className
=
"value"
>
...
...
@@ -177,7 +177,11 @@ export default () => {
<
Switch
checked
disabled
/>
<
/div
>
<
/div
>
<
Button
type
=
"primary"
onClick
=
{()
=>
setShowModal
(
true
)}
>
<
Button
style
=
{{
marginLeft
:
'40px'
}}
type
=
"primary"
onClick
=
{()
=>
setShowModal
(
true
)}
>
更新
<
/Button
>
<
/div
>
...
...
src/pages/mobileConfig/menuconfig/
VersionPublish
.less
→
src/pages/mobileConfig/menuconfig/
otherConfig
.less
View file @
ef23aaa2
...
...
@@ -6,6 +6,10 @@
min-height: 300px;
}
.title{
font-weight: bold;
}
.VersionPublish {
display: flex;
padding: 0 15px;
...
...
@@ -16,6 +20,7 @@
display: flex;
align-items: flex-start;
margin-bottom: 15px;
padding-left: 40px;
}
.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