|
@@ -194,7 +194,7 @@ export default class Person extends Component {
|
194
|
194
|
|
195
|
195
|
renderDetail() {
|
196
|
196
|
const { users, menus, roleName } = this.state
|
197
|
|
- const { user: { userInfo: { miniApp: { name } } } } = this.props
|
|
197
|
+ const { user: { userInfo: { person: { org: { waterMark } }, miniApp: { name } } } } = this.props
|
198
|
198
|
// const showQRCode = user.personType === ROLE_CODE['CONSULTANT'] || ROLE_CODE['ESTATE_AGENT'] || ROLE_CODE['CHANNEL_AGENT']
|
199
|
199
|
// const isConsultant = user.personType == ROLE_CODE['CONSULTANT']
|
200
|
200
|
// const isConsultant = user.personType
|
|
@@ -202,7 +202,10 @@ export default class Person extends Component {
|
202
|
202
|
<View className="person">
|
203
|
203
|
<Notice></Notice>
|
204
|
204
|
<View className="info">
|
205
|
|
- <Image className="bg" src={transferImage('https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/images/mine/background.png')} mode='aspectFill'></Image>
|
|
205
|
+ <Image className="bg" src={transferImage('https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/images/mine/background.png')} mode='widthFix'>
|
|
206
|
+ {waterMark && <Image className="logo" src={transferImage(waterMark)} mode='widthFix'></Image>}
|
|
207
|
+ </Image>
|
|
208
|
+
|
206
|
209
|
<View className="content">
|
207
|
210
|
<View className="info-block">
|
208
|
211
|
<View className="avatar" onClick={this.goPersonDetail}>
|