Commit 388f05b7 authored by Sixiang_Zzb's avatar Sixiang_Zzb

修复小区模块图片展示

parent 0645992e
......@@ -106,17 +106,19 @@ const Detail = (props: any) => {
<div className={styles.base}>
<TitleBack {...titleProps} />
<Descriptions>
<Descriptions.Item>{CurDataDetail.community}</Descriptions.Item>
<Descriptions.Item span={2}>{CurDataDetail.home}</Descriptions.Item>
<Descriptions.Item label="Address" span={3}>
<Descriptions column={2}>
<Descriptions.Item span={2}>
{CurDataDetail.community} &nbsp;&nbsp;&nbsp;&nbsp; {CurDataDetail.home}
</Descriptions.Item>
<Descriptions.Item label="Address" span={2}>
{CurDataDetail.address}{' '}
</Descriptions.Item>
<Descriptions.Item label="User Name" span={3}>
<Descriptions.Item label="User Name" span={2}>
{CurDataDetail.name}
</Descriptions.Item>
<Descriptions.Item label="Contact Details">{CurDataDetail.phone}</Descriptions.Item>
<Descriptions.Item>{CurDataDetail.email}</Descriptions.Item>
<Descriptions.Item label="Contact Details" span={2}>
{CurDataDetail.phone} &nbsp;&nbsp;&nbsp;&nbsp; {CurDataDetail.email}
</Descriptions.Item>
</Descriptions>
<Row gutter={16}>
<Col span={3}>Description:</Col>
......@@ -180,21 +182,18 @@ const Detail = (props: any) => {
<Col span={3}></Col>
<Col>
{/* putSubmit={PictureOptionsRowRef} */}
{CurDataDetail.replyImgUrl != null ? (
<>
<Form.Item name="file">
<PictureOptionsRow
action="/tos/communtiy/service/reply/img"
disabled={!editorFlag}
data={{
userToken: 'token',
imageType: 'tosCommunityImageReply',
extends: '',
}}
/>
</Form.Item>
</>
) : null}
<Form.Item name="file">
<PictureOptionsRow
action="/tos/communtiy/service/reply/img"
disabled={!editorFlag}
data={{
userToken: 'token',
imageType: 'tosCommunityImageReply',
extends: '',
}}
over={CurDataDetail.replyImgUrl.length > 0 ? true : false}
/>
</Form.Item>
</Col>
</Row>
{editorFlag ? (
......
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