add owner's info in ticketdetail
This commit is contained in:
@@ -74,6 +74,7 @@ export default class DetailFramework extends Component<
|
||||
current: true,
|
||||
notelist: true,
|
||||
showAllNotes: true,
|
||||
info: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -102,13 +103,56 @@ export default class DetailFramework extends Component<
|
||||
<View></View>
|
||||
),
|
||||
description: this.props.isInfoShow['description'] ? (
|
||||
<View style={{ marginTop: 10, marginBottom: 10 }}>
|
||||
<AtCard title={pt.get().ticketDetail.descTitle}>
|
||||
<View className='at-article__h3'>
|
||||
{this.state.ticketInfo.description}
|
||||
this.props.isInfoShow['info'] ? (
|
||||
<View
|
||||
className='at-row'
|
||||
style={{ paddingTop: 10, paddingBottom: 10, width: '100%' }}
|
||||
>
|
||||
<View
|
||||
className='at-col'
|
||||
style={{
|
||||
marginLeft: 10,
|
||||
paddingRight: 5,
|
||||
marginTop: 10,
|
||||
marginBottom: 10,
|
||||
width: '50%',
|
||||
}}
|
||||
>
|
||||
<AtCard title={pt.get().ticketDetail.descTitle}>
|
||||
<View className='at-article__h3'>
|
||||
{this.state.ticketInfo.description}
|
||||
</View>
|
||||
</AtCard>
|
||||
</View>
|
||||
</AtCard>
|
||||
</View>
|
||||
<View
|
||||
className='at-col'
|
||||
style={{
|
||||
marginLeft: 5,
|
||||
paddingRight: 10,
|
||||
marginTop: 10,
|
||||
marginBottom: 10,
|
||||
width: '50%',
|
||||
}}
|
||||
>
|
||||
<AtCard title={pt.get().ticketDetail.infoTitle}>
|
||||
<View className='at-article__h3'>
|
||||
{this.state.ticketInfo.info.name}
|
||||
</View>
|
||||
<View className='at-article__h3'>
|
||||
{this.state.ticketInfo.info.phone}
|
||||
</View>
|
||||
</AtCard>
|
||||
</View>
|
||||
</View>
|
||||
) : (
|
||||
<View style={{ marginTop: 10, marginBottom: 10 }}>
|
||||
<AtCard title={pt.get().ticketDetail.descTitle}>
|
||||
<View className='at-article__h3'>
|
||||
{this.state.ticketInfo.description}
|
||||
</View>
|
||||
</AtCard>
|
||||
</View>
|
||||
)
|
||||
) : (
|
||||
<View></View>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user