|
@@ -82,16 +82,16 @@ const header = props => {
|
82
|
82
|
<Form.Item label="样例名">
|
83
|
83
|
<span>{demandData.sampleName}</span>
|
84
|
84
|
</Form.Item>
|
85
|
|
- <Form.Item label="样例体验链接">
|
|
85
|
+ {demandData.sampleTryLink != '' && demandData.sampleTryLink != null && <Form.Item label="样例体验链接">
|
86
|
86
|
<span>{demandData.sampleTryLink}</span><span style={{marginLeft:'10px'}}><a onClick={(e) => copyLink(demandData.sampleTryLink)} style={{ color: 'orange' }}> <img src={copyImg} height="16px" width="14px" /> 复制链接</a></span>
|
87
|
|
- </Form.Item>
|
88
|
|
- <Form.Item label="样例体验小程序码/二维码" help="请使用微信扫码查看样例体验">
|
|
87
|
+ </Form.Item>}
|
|
88
|
+ {demandData.sampleTryCode != '' && demandData.sampleTryCode != null &&<Form.Item label="样例体验小程序码/二维码" help="请使用微信扫码查看样例体验">
|
89
|
89
|
<img src={demandData.sampleTryCode} height="100px" width="120px" />
|
90
|
|
- </Form.Item>
|
91
|
|
- <Form.Item label="联系人">
|
|
90
|
+ </Form.Item>}
|
|
91
|
+ {demandData.taContactList != null &&demandData.taContactList != '' && <Form.Item label="联系人">
|
92
|
92
|
<span style={{color:'rgba(0, 0, 0, 0.45)', fontSize:'14px'}}>若您想在您的小程序举办类似活动,请联系以下联系人咨询,或直接点击底部的 提交需求 按钮下单,下单后与联系人沟通定制活动</span>
|
93
|
93
|
<DragableUploadImageList sampleId={sampleId}></DragableUploadImageList>
|
94
|
|
- </Form.Item>
|
|
94
|
+ </Form.Item>}
|
95
|
95
|
<Form.Item label="样例内容">
|
96
|
96
|
{demandData.sampleType === 'rich' ? getFieldDecorator('sampleContent')(<Wangedit contenteditable={false}/>) : getFieldDecorator('sampleContentLink')(<a href={demandData.sampleContentLink} target="_blank">{demandData.sampleContentLink}</a>)}
|
97
|
97
|
</Form.Item>
|