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, Presentation, Coupon, PickedUp} from '@nutui/icons-react-taro' import {CSSProperties} from "react"; const UserCell = () => { const InfiniteUlStyle: CSSProperties = { height: '88vh', padding: '16px', overflowY: 'auto', overflowX: 'hidden', } const onLogout = () => { Taro.showModal({ title: '提示', content: '确定要退出登录吗?', success: function (res) { if (res.confirm) { Taro.removeStorageSync('access_token') Taro.removeStorageSync('TenantId') Taro.removeStorageSync('UserId') Taro.removeStorageSync('userInfo') Taro.reLaunch({ url: '/pages/index/index' }) } } }) } return ( <>
{/**/} {/* */} {/* 开通会员*/} {/*
*/} {/* }*/} {/*/>*/} 我的服务 }> 我的券包 } align="center" extra={} /> 我的钱包 } align="center" extra={} /> 收货地址 } align="center" extra={} /> 实名认证 } align="center" extra={} onClick={() => { navTo('/user/userVerify/index', true) }} /> {/**/} {/* 管理*/} {/* */} {/*}>*/} {/* */} {/* */} {/* 分析*/} {/* */} {/* }*/} {/* align="center"*/} {/* extra={}*/} {/* onClick={() => {*/} {/* navTo('/bszx/bm-cert/bm-cert', true)*/} {/* }}*/} {/* />*/} {/* */} {/* */} {/* 客户*/} {/* */} {/* }*/} {/* align="center"*/} {/* extra={}*/} {/* onClick={() => {*/} {/* navTo('/bszx/pay-log/pay-log', true)*/} {/* }}*/} {/* />*/} {/* */} {/* */} {/* 折扣*/} {/* */} {/* }*/} {/* align="center"*/} {/* extra={}*/} {/* onClick={() => {*/} {/* navTo('/user/profile/profile', true)*/} {/* }}*/} {/* />*/} {/**/} {/**/} {/* 设置与帮助*/} {/* */} {/*}>*/} {/* }*/} {/* onClick={() => Taro.navigateTo({url: '/website/modify'})}*/} {/* />*/} {/* }*/} {/* onClick={() => {*/} {/* navTo('/user/profile/profile', true)*/} {/* }}*/} {/* />*/} {/* }*/} {/* onClick={() => {*/} {/* navTo('/user/profile/profile', true)*/} {/* }}*/} {/* />*/} {/**/} 账号管理 }> } onClick={() => navTo('/user/profile/profile', true)} /> } onClick={onLogout} /> ) } export default UserCell