Commit ef23aaa2 authored by 张烨's avatar 张烨

style: 优化样式

parent b27be4ff
......@@ -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>
......
......@@ -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>
......
......@@ -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 {
......
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