mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-02-19 12:03:49 +00:00
🎨 右侧样式调整
This commit is contained in:
parent
f0ac0fa183
commit
3906339394
@ -1,6 +1,9 @@
|
|||||||
.dataList {
|
.dataList {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
|
text-align: justify;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
.listItem {
|
.listItem {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -18,6 +21,7 @@
|
|||||||
}
|
}
|
||||||
.tit {
|
.tit {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
.desc {
|
.desc {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
@ -226,7 +226,7 @@ const List = function(props: DataListType) {
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
<div style={{ marginTop: '10px' }}>
|
<div style={{ marginTop: '10px' }}>
|
||||||
<Button type="primary" onClick={handleAdd} block>
|
<Button onClick={handleAdd} block>
|
||||||
添加
|
添加
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
// font-size: 14px;
|
// font-size: 14px;
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
align-self: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import React, { memo, useEffect } from 'react';
|
import React, { memo, useEffect } from 'react';
|
||||||
import { Input, Button, Popconfirm } from 'antd';
|
import { Input, Button, Popconfirm } from 'antd';
|
||||||
import { MinusCircleOutlined } from '@ant-design/icons';
|
import { MinusCircleFilled } from '@ant-design/icons';
|
||||||
import styles from './index.less';
|
import styles from './index.less';
|
||||||
import { TMutiTextDefaultType } from '../FormEditor/types';
|
import { TMutiTextDefaultType } from '../FormEditor/types';
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ export default memo(function MutiText(props: MultiTextProps) {
|
|||||||
cancelText="取消"
|
cancelText="取消"
|
||||||
>
|
>
|
||||||
<span className={styles.delBtn}>
|
<span className={styles.delBtn}>
|
||||||
<MinusCircleOutlined />
|
<MinusCircleFilled />
|
||||||
</span>
|
</span>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
</div>
|
</div>
|
||||||
@ -59,7 +59,7 @@ export default memo(function MutiText(props: MultiTextProps) {
|
|||||||
)}
|
)}
|
||||||
{value && value.length < 3 && (
|
{value && value.length < 3 && (
|
||||||
<div className={styles.iptWrap}>
|
<div className={styles.iptWrap}>
|
||||||
<Button type="primary" onClick={handleAdd}>
|
<Button block onClick={handleAdd}>
|
||||||
添加项目
|
添加项目
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
.posIpt {
|
.posIpt {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-right: -10px;
|
||||||
.posItem {
|
.posItem {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
span {
|
span {
|
||||||
|
|||||||
@ -10,11 +10,12 @@
|
|||||||
|
|
||||||
.avatarUploader {
|
.avatarUploader {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallBtn {
|
.wallBtn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 120px;
|
left: 140px;
|
||||||
bottom: 56px;
|
bottom: 56px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #2f54eb;
|
color: #2f54eb;
|
||||||
|
|||||||
@ -214,7 +214,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
|
|||||||
</Upload>
|
</Upload>
|
||||||
)}
|
)}
|
||||||
<div className={styles.wallBtn} onClick={this.handleWallShow}>
|
<div className={styles.wallBtn} onClick={this.handleWallShow}>
|
||||||
从图片库中选择
|
图片库
|
||||||
</div>
|
</div>
|
||||||
<Modal
|
<Modal
|
||||||
visible={previewVisible}
|
visible={previewVisible}
|
||||||
|
|||||||
@ -88,10 +88,17 @@ body {
|
|||||||
#form_editor .ant-input-number-handler-wrap {
|
#form_editor .ant-input-number-handler-wrap {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
}
|
}
|
||||||
#form_editor .ant-input, #form_editor .ant-input-number {
|
#form_editor .ant-input, #form_editor .ant-input-number,#form_editor .ant-select-selector {
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
#form_editor .ant-form-item .ant-select {
|
||||||
|
width: 87%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#form_editor .ant-radio-wrapper {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
#form_editor .ant-input-number {
|
#form_editor .ant-input-number {
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@ -125,3 +132,7 @@ body {
|
|||||||
#form_editor .za-select--arrow .za-select__input:after {
|
#form_editor .za-select--arrow .za-select__input:after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
#form_editor .ant-upload-list-picture-card-container {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user