|
@@ -69,53 +69,53 @@ export default withLayout(() => {
|
69
|
69
|
|
70
|
70
|
<ScrollView scroll-y>
|
71
|
71
|
<view className='PageContent'>
|
72
|
|
- <view className='Content'>
|
|
72
|
+ <view className='Content'>
|
73
|
73
|
|
74
|
|
- {/* 用户信息 */}
|
75
|
|
- <view className='UserInfo'>
|
76
|
|
- <view className='UserIcon'>
|
77
|
|
- <Image mode='aspectFill' className='centerLabel' src={getImgURL(user?.userInfo?.person?.userPhoto || user?.userInfo?.person?.avatarurl) || defaultRuleImage} />
|
78
|
|
- </view>
|
79
|
|
- <view className='OtherInfo'>
|
80
|
|
- <view className='Name'>
|
|
74
|
+ {/* 用户信息 */}
|
|
75
|
+ <view className='UserInfo'>
|
|
76
|
+ <view className='UserIcon'>
|
|
77
|
+ <Image mode='aspectFill' className='centerLabel' src={getImgURL(user?.userInfo?.person?.userPhoto || user?.userInfo?.person?.avatarurl) || defaultRuleImage} />
|
|
78
|
+ </view>
|
|
79
|
+ <view className='OtherInfo'>
|
|
80
|
+ <view className='Name'>
|
|
81
|
+ <view>
|
|
82
|
+ <text>{user?.userInfo?.person?.nickname}</text>
|
81
|
83
|
<view>
|
82
|
|
- <text>{user?.userInfo?.person?.nickname}</text>
|
83
|
|
- <view>
|
84
|
|
- <text className='iconfont icon-bianji' onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}></text>
|
85
|
|
- <text onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}>个人信息资料修改</text>
|
86
|
|
- </view>
|
|
84
|
+ <text className='iconfont icon-bianji' onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}></text>
|
|
85
|
+ <text onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}>个人信息资料修改</text>
|
87
|
86
|
</view>
|
88
|
|
- <text className='Role'>{UserRole === 1 ? '客户' : UserRole === 2 ? '合伙人' : UserRole === 3 ? '置业顾问' : '驻场管理'}</text>
|
89
|
|
- {/* <text className='New'>NEW</text> */}
|
90
|
|
- <Image mode='heightFix' src={require('@/assets/mine-icon35.png')} className='New'></Image>
|
91
|
87
|
</view>
|
|
88
|
+ <text className='Role'>{UserRole === 1 ? '客户' : UserRole === 2 ? '合伙人' : UserRole === 3 ? '置业顾问' : '驻场管理'}</text>
|
|
89
|
+ {/* <text className='New'>NEW</text> */}
|
|
90
|
+ <Image mode='heightFix' src={require('@/assets/mine-icon35.png')} className='New'></Image>
|
92
|
91
|
</view>
|
93
|
92
|
</view>
|
|
93
|
+ </view>
|
94
|
94
|
|
95
|
|
- {/* 用户菜单 */}
|
96
|
|
- <view className='MenuList'>
|
97
|
|
- {
|
98
|
|
- MenuList.map((item, index) => (
|
99
|
|
- <view>
|
100
|
|
- {
|
101
|
|
- item.map((subItem, subIndex) => (
|
102
|
|
- <view key={`MenuItem-${index}-${subIndex}`} className='flex-h' onClick={MenuClick(subItem.router)}>
|
103
|
|
- <view className='Icon'>
|
104
|
|
- <Image mode='aspectFit' className='centerLabel' src={subItem.icon} />
|
105
|
|
- </view>
|
106
|
|
- <view className='flex-item flex-h'>
|
107
|
|
- <text className='flex-item'>{subItem.name}</text>
|
108
|
|
- <text className='iconfont icon-jiantouright'></text>
|
109
|
|
- </view>
|
|
95
|
+ {/* 用户菜单 */}
|
|
96
|
+ <view className='MenuList'>
|
|
97
|
+ {
|
|
98
|
+ MenuList.map((item, index) => (
|
|
99
|
+ <view>
|
|
100
|
+ {
|
|
101
|
+ item.map((subItem, subIndex) => (
|
|
102
|
+ <view key={`MenuItem-${index}-${subIndex}`} className='flex-h' onClick={MenuClick(subItem.router)}>
|
|
103
|
+ <view className='Icon'>
|
|
104
|
+ <Image mode='aspectFit' className='centerLabel' src={subItem.icon} />
|
110
|
105
|
</view>
|
111
|
|
- ))
|
112
|
|
- }
|
113
|
|
- </view>
|
114
|
|
- ))
|
115
|
|
- }
|
116
|
|
- </view>
|
117
|
|
-
|
|
106
|
+ <view className='flex-item flex-h'>
|
|
107
|
+ <text className='flex-item'>{subItem.name}</text>
|
|
108
|
+ <text className='iconfont icon-jiantouright'></text>
|
|
109
|
+ </view>
|
|
110
|
+ </view>
|
|
111
|
+ ))
|
|
112
|
+ }
|
|
113
|
+ </view>
|
|
114
|
+ ))
|
|
115
|
+ }
|
118
|
116
|
</view>
|
|
117
|
+
|
|
118
|
+ </view>
|
119
|
119
|
</view>
|
120
|
120
|
|
121
|
121
|
<view className='copyright'>
|