-
-
-
- {
- IsLogin ? (
-
- ) : (
-
- )
- }
-
-
{IsLogin ? userInfo?.mobile : '请点击头像登录'}
- {IsLogin ? (
-
-
- {'注册用户'}
-
- {/*{*/}
- {/* userInfo?.organizationName && (*/}
- {/* */}
- {/* {userInfo?.organizationName}
*/}
- {/* */}
- {/* )*/}
- {/*}*/}
-
- ) : ''}
-
+ return (
+ <>
+
+
+
+
+ {
+ IsLogin && (
+
+ )
+ }
+ {
+ !IsLogin && (
+
+ )
+ }
+
+ {IsLogin ? (
+
+
+ {'注册用户'}
+
+ {/*{*/}
+ {/* userInfo?.organizationName && (*/}
+ {/* */}
+ {/* {userInfo?.organizationName}
*/}
+ {/* */}
+ {/* )*/}
+ {/*}*/}
+
+ ) : ''}
+
+
+
navTo('/user/profile/profile', true)}>
+ {'个人资料'}
+
+
+
-
navTo('/user/profile/profile', true)}>
- {'个人资料'}
-
-
-
-
- >
+ >
- )
+ )
}
export default UserCard;
diff --git a/src/pages/user/components/UserCell.tsx b/src/pages/user/components/UserCell.tsx
index ab3bfdd..2ef5530 100644
--- a/src/pages/user/components/UserCell.tsx
+++ b/src/pages/user/components/UserCell.tsx
@@ -2,16 +2,19 @@ import {Cell, InfiniteLoading} from '@nutui/nutui-react-taro'
import navTo from "@/utils/common";
import UserFooter from "./UserFooter";
import Taro from '@tarojs/taro'
-import {ArrowRight, ShieldCheck, Truck, LogisticsError} from '@nutui/icons-react-taro'
-import {CSSProperties, useEffect, useState} from "react";
+import {ArrowRight, Headphones} from '@nutui/icons-react-taro'
+import {CSSProperties, useEffect} from "react";
const UserCell = () => {
- const [roleName, setRoleName] = useState
('')
const InfiniteUlStyle: CSSProperties = {
height: '88vh',
padding: '16px',
overflowY: 'auto',
overflowX: 'hidden',
+ backgroundImage: 'url(https://oss.wsdns.cn/20250707/fc6234359d394788879ee64e27f76d2e.png?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90)',
+ backgroundSize: 'cover',
+ backgroundRepeat: 'no-repeat',
+ backgroundPosition: 'bottom'
}
const onLogout = () => {
Taro.showModal({
@@ -33,7 +36,7 @@ const UserCell = () => {
}
useEffect(() => {
- setRoleName(Taro.getStorageSync('RoleCode'))
+
}, []);
return (
@@ -45,193 +48,18 @@ const UserCell = () => {
className="nutui-cell-clickable"
title={
-
- 实名认证
+
+ 联系我们
}
align="center"
extra={}
onClick={() => {
- navTo('/user/userVerify/index', true)
+ Taro.navigateTo({url: '/pages/page/index?id=4355'})
}}
/>
- {
- (roleName === 'kuaidi' || roleName == 'zhandian') && (
- <>
-
-
-
- 实名认证审核
- |
- }
- align="center"
- extra={