mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-19 03:58:12 +00:00
commit
e10bf62d3e
@ -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>
|
||||||
|
|||||||
@ -163,11 +163,11 @@ const FormEditor = (props: FormEditorProps) => {
|
|||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<Form.Item>
|
{/* <div style={{position: 'fixed', bottom: '0px'}}>
|
||||||
<Button danger style={{ width: '251px' }} block onClick={handleDel}>
|
<Button danger style={{ width: '251px' }} block onClick={handleDel}>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
</Form.Item>
|
</div> */}
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
@ -72,6 +72,9 @@ body {
|
|||||||
padding-right: 10px!important;
|
padding-right: 10px!important;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
#form_editor {
|
||||||
|
margin-bottom: 100px;
|
||||||
|
}
|
||||||
#form_editor .ant-form-item-label > label {
|
#form_editor .ant-form-item-label > label {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
color: #4A4A4A;
|
color: #4A4A4A;
|
||||||
@ -88,10 +91,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;
|
||||||
@ -124,4 +134,8 @@ 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;
|
||||||
}
|
}
|
||||||
@ -33,6 +33,7 @@ import styles from './index.less';
|
|||||||
// import { useGetBall } from 'react-draggable-ball';
|
// import { useGetBall } from 'react-draggable-ball';
|
||||||
import { dooringContext } from '@/layouts';
|
import { dooringContext } from '@/layouts';
|
||||||
import { throttle } from '@/utils/tool';
|
import { throttle } from '@/utils/tool';
|
||||||
|
import { Button } from 'antd';
|
||||||
|
|
||||||
const { TabPane } = Tabs;
|
const { TabPane } = Tabs;
|
||||||
|
|
||||||
@ -243,6 +244,9 @@ const Container = (props: {
|
|||||||
onSave={handleFormSave}
|
onSave={handleFormSave}
|
||||||
onDel={handleDel}
|
onDel={handleDel}
|
||||||
/>
|
/>
|
||||||
|
{/* <div className={styles.del}>
|
||||||
|
<Button block>删顶顶顶顶除</Button>
|
||||||
|
</div> */}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div style={{ paddingTop: '100px' }}>
|
<div style={{ paddingTop: '100px' }}>
|
||||||
@ -550,6 +554,28 @@ const Container = (props: {
|
|||||||
>
|
>
|
||||||
{!rightColla ? <DoubleRightOutlined /> : <DoubleLeftOutlined />}
|
{!rightColla ? <DoubleRightOutlined /> : <DoubleLeftOutlined />}
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
style={
|
||||||
|
!rightColla
|
||||||
|
? {
|
||||||
|
position: 'absolute',
|
||||||
|
transform: 'translate(0,-10%)',
|
||||||
|
transition: 'all ease-in-out 2s',
|
||||||
|
textAlign: 'center',
|
||||||
|
bottom: -5,
|
||||||
|
right: 16,
|
||||||
|
background: 'gray',
|
||||||
|
padding: '10px',
|
||||||
|
width: '279px',
|
||||||
|
display: 'block',
|
||||||
|
}
|
||||||
|
: { display: 'none' }
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<Button block danger onClick={() => handleDel(curPoint.id)}>
|
||||||
|
删除
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
width: rightColla ? 0 : '304px',
|
width: rightColla ? 0 : '304px',
|
||||||
|
|||||||
@ -21,7 +21,6 @@
|
|||||||
// height: 100vh;
|
// height: 100vh;
|
||||||
height: calc(100% - 56px);
|
height: calc(100% - 56px);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
width: 350px;
|
width: 350px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user