refactor(dealer): 更新业务员相关页面文案和布局
- 修改申请页面标题为"申请成为业务员" - 更新团队页面空状态描述和按钮文案 - 优化团队页面整体布局结构
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export default definePageConfig({
|
export default definePageConfig({
|
||||||
navigationBarTitleText: '注册成为VIP',
|
navigationBarTitleText: '申请成为业务员',
|
||||||
navigationBarTextStyle: 'black'
|
navigationBarTextStyle: 'black'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -179,28 +179,28 @@ const DealerTeam: React.FC = () => {
|
|||||||
if (!dealerUser) {
|
if (!dealerUser) {
|
||||||
return (
|
return (
|
||||||
<Space className="bg-gray-50 flex items-center justify-center">
|
<Space className="bg-gray-50 flex items-center justify-center">
|
||||||
<Empty description="您还不是经销商" style={{
|
<Empty description="您还不是业务人员" style={{
|
||||||
backgroundColor: 'transparent'
|
backgroundColor: 'transparent'
|
||||||
}} actions={[{ text: '去申请开通', onClick: () => navTo(`/dealer/apply/add`,true)}]}
|
}} actions={[{ text: '立即申请', onClick: () => navTo(`/dealer/apply/add`,true)}]}
|
||||||
/>
|
/>
|
||||||
</Space>
|
</Space>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View className="min-h-screen">
|
<>
|
||||||
{teamMembers.length > 0 ? (
|
{teamMembers.length > 0 ? (
|
||||||
renderOverview()
|
renderOverview()
|
||||||
) : (
|
) : (
|
||||||
<View className="flex items-center justify-center mt-20">
|
<View className="flex items-center justify-center mt-20">
|
||||||
<Empty description="暂无数据" style={{
|
<Empty description="暂无成员" style={{
|
||||||
backgroundColor: 'transparent'
|
backgroundColor: 'transparent'
|
||||||
}}/>
|
}}/>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<FixedButton text={'立即邀请'} onClick={() => navTo(`/dealer/qrcode/index`, true)}/>
|
<FixedButton text={'立即邀请'} onClick={() => navTo(`/dealer/qrcode/index`, true)}/>
|
||||||
</View>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user