diff --git a/src/common/constant.ts b/src/common/constant.ts index a2e3bfa..63b09c0 100644 --- a/src/common/constant.ts +++ b/src/common/constant.ts @@ -5,12 +5,12 @@ export const BASE_URL = CURRENT_BASE_URL // export const BASE_URL = `http://192.168.0.89:40001/lymarket` // export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞 // export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境 -// export const BASE_URL = `https://pre.zzfzyc.com/lymarket` // 预发布 +// export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布 // export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发 // export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发 // export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发 // export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境 -// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境 +// export const BASE_URL = 'https://www.zzfzyc.com/lymarket' // 正式环境 // export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞 // export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添 // export const BASE_URL = 'http://192.168.1.28:50002/lymarket' // 婷 diff --git a/src/components/iconfont/iconfont.tsx b/src/components/iconfont/iconfont.tsx index 728897e..52d351a 100644 --- a/src/components/iconfont/iconfont.tsx +++ b/src/components/iconfont/iconfont.tsx @@ -1,4 +1,3 @@ -<<<<<<< HEAD import React, { useState, useEffect, FC } from "react"; import { Block, View } from "@tarojs/components"; import "./iconfont.scss"; @@ -25,7 +24,7 @@ function hex2rgb(hex) { return "rgb(" + rgb.join(",") + ")"; } -export type IconNames = 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-paixu' | 'icon-shaixuan' | 'icon-bodakehujingli' | 'icon-guanfangweixinkefu' | 'icon-tuijianbiaoqian' | 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-wodekefu' | 'icon-yanseduibi' | 'icon-dizhiguanli' | 'icon-weixin' | 'icon-riqi' | 'icon-shuru' | 'icon-a-0tianzhangqi' | 'icon-huodaofukuan' | 'icon-huozhuziti' | 'icon-saomazhifu' | 'icon-xianxiahuikuan' | 'icon-yufukuan' | 'icon-xinzengshoucangjia' | 'icon-qingchusousuo' | 'icon-xuanzechenggong' | 'icon-gongnengtubiao-saomiao' | 'icon-bianjizidingyimadan' | 'icon-zidingyimadanyulan' | 'icon-yuanshimadanyulan' | 'icon-xiala' | 'icon-shangla' | 'icon-qingchuxinxi' | 'icon-sousuo' | 'icon-guanli' | 'icon-bianji' | 'icon-shoucangjia' | 'icon-shezhi' | 'icon-tishi' | 'icon-erweima' | 'icon-dianjishoucang' | 'icon-gouwuche' | 'icon-shoucangchenggong' | 'icon-fenxiangshangpin' | 'icon-kefu' | 'icon-xinzenganniu' | 'icon-jianshaoanniu' | 'icon-daifahuo2' | 'icon-daishouhuo2' | 'icon-tuikuan-shouhou' | 'icon-daipeibu2' | 'icon-daifukuan2'; +export type IconNames = 'icon-dianhua' | 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-paixu' | 'icon-shaixuan' | 'icon-bodakehujingli' | 'icon-guanfangweixinkefu' | 'icon-tuijianbiaoqian' | 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-wodekefu' | 'icon-yanseduibi' | 'icon-dizhiguanli' | 'icon-weixin' | 'icon-riqi' | 'icon-shuru' | 'icon-a-0tianzhangqi' | 'icon-huodaofukuan' | 'icon-huozhuziti' | 'icon-saomazhifu' | 'icon-xianxiahuikuan' | 'icon-yufukuan' | 'icon-xinzengshoucangjia' | 'icon-qingchusousuo' | 'icon-xuanzechenggong' | 'icon-gongnengtubiao-saomiao' | 'icon-bianjizidingyimadan' | 'icon-zidingyimadanyulan' | 'icon-yuanshimadanyulan' | 'icon-xiala' | 'icon-shangla' | 'icon-qingchuxinxi' | 'icon-sousuo' | 'icon-guanli' | 'icon-bianji' | 'icon-shoucangjia' | 'icon-shezhi' | 'icon-tishi' | 'icon-erweima' | 'icon-dianjishoucang' | 'icon-gouwuche' | 'icon-shoucangchenggong' | 'icon-fenxiangshangpin' | 'icon-kefu' | 'icon-xinzenganniu' | 'icon-jianshaoanniu' | 'icon-daifahuo2' | 'icon-daishouhuo2' | 'icon-tuikuan-shouhou' | 'icon-daipeibu2' | 'icon-daifukuan2'; type PropsType = { name: IconNames; @@ -83,7 +82,11 @@ const IconFont:FC = ({ className={classnames(icon, customClassName)} /> )} */} - {/* icon-paixu */} + {/* icon-dianhua */} + + { name === 'icon-dianhua' && () } +{/* icon-paixu */} +>>>>>>> f0abc88 (✨ feat(ID1000800浮窗提示客户经理电话完成):) { name === 'icon-paixu' && () } {/* icon-shaixuan */} diff --git a/src/components/moveBtn/index.module.scss b/src/components/moveBtn/index.module.scss index d7f4fe7..852fee9 100644 --- a/src/components/moveBtn/index.module.scss +++ b/src/components/moveBtn/index.module.scss @@ -1,34 +1,54 @@ -.movableItem{ +.movableItem { + width: 100%; + height: 100%; +} +.moveBtn { + width: 100px; + height: 100px; + border-radius: 50%; + border: 2px solid #cde5ff; + box-shadow: 0px 0px 20px 0px rgba(104, 180, 255, 0.7); + background-color: #fff; + display: flex; + justify-content: center; + align-items: center; + z-index: 999; + position: fixed; + image { width: 100%; height: 100%; + } + .shop_icon { + font-size: 70px; + color: $color_main; + } + .product_num { + position: absolute; + font-size: 23px; + background-color: red; + color: #fff; + height: 36px; + line-height: 36px; + padding: 0 6px; + border-radius: 72px; + min-width: 25px; + text-align: center; + top: 0; + right: 0; + } + .wxBtn { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + opacity: 0; + } +} +.no_bg_moveBtn { + box-shadow: none; + background-color: transparent; + border: none; + width: 130px; + height: 130px; } -.moveBtn{ - width: 100px; - height: 100px; - border-radius: 50%; - border: 2px solid #cde5ff; - box-shadow: 0px 0px 20px 0px rgba(104,180,255,0.70); - background-color: #fff; - display: flex; - justify-content: center; - align-items: center; - z-index:999; - .shop_icon{ - font-size: 70px; - color: $color_main; - } - .product_num{ - position: absolute; - font-size: 23px; - background-color: red; - color: #fff; - height: 36px; - line-height: 36px; - padding: 0 6px; - border-radius: 72px; - min-width: 25px; - text-align: center; - top: 0; - right: 0; - } -} \ No newline at end of file diff --git a/src/components/moveBtn/index.tsx b/src/components/moveBtn/index.tsx index 7e0ace5..f504e6d 100644 --- a/src/components/moveBtn/index.tsx +++ b/src/components/moveBtn/index.tsx @@ -1,4 +1,4 @@ -import { MovableArea, MovableView, View } from '@tarojs/components' +import { Button, Image, MovableArea, MovableView, View } from '@tarojs/components' import Taro, { useDidShow, useReady, useRouter } from '@tarojs/taro' import type { ReactElement } from 'react' import { useEffect, useLayoutEffect, useRef, useState } from 'react' @@ -7,49 +7,96 @@ import styles from './index.module.scss' import { GetShoppingCartApi } from '@/api/shopCart' import useCommonData from '@/use/useCommonData' import { useSelector } from '@/reducers/hooks' +import { alert } from '@/common/common' +import { formatImgUrl } from '@/common/fotmat' +type ShowStatus = 'shop'|'customer'|'order' interface param { children?: ReactElement | null onClick?: () => void + showList?: ShowStatus[] + orderInfo?: any } -const MoveBtn = ({ children = null, onClick }: param) => { +const MoveBtn = ({ children = null, onClick, showList = [], orderInfo }: param) => { + const userInfo = useSelector(state => state.userInfo) // 获取购物车数据数量 const { getShopCount, commonData } = useCommonData() - const [screenHeight, setScreenHeight] = useState(0) + const [screenHeight, setScreenHeight] = useState<{ shop?: number; customer?: number; order?: number }>({ + shop: 0, + customer: 0, + order: 0, + }) const [showMoveBtn, setShowMoveBtn] = useState(false) const screenWidthRef = useRef(0) - useLayoutEffect(() => { + useEffect(() => { const res = Taro.getSystemInfoSync() if (res.screenHeight) { const ratio = 750 / res.screenWidth - setScreenHeight(res.screenHeight * ratio - 460) + const num = res.screenHeight * ratio + setScreenHeight(() => ({ shop: num - 460, customer: num - 580, order: num - 700 })) screenWidthRef.current = res.screenWidth / 2 } setShowMoveBtn(true) - }) + }, []) useDidShow(() => { getShopCount() }) - const dragEnd = (e) => {} + const onShow = (val: ShowStatus) => { + if (showList.length <= 0) { return true } + return showList.includes(val) + } + + const onPhone = () => { + if (!userInfo?.adminUserInfo?.sale_user_phone) { return alert.error('手机号不能为空') } + Taro.makePhoneCall({ + phoneNumber: userInfo?.adminUserInfo?.sale_user_phone, + }) + } return ( {children} - dragEnd(e)} + y={`${screenHeight.shop}rpx`} > {commonData.shopCount > 0 && {commonData.shopCount > 99 ? '99+' : commonData.shopCount}} - + } + {onShow('order') && + + + + } + {onShow('customer') && + + } ) } diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index 85e7095..1b8459b 100644 --- a/src/pages/details/index.tsx +++ b/src/pages/details/index.tsx @@ -19,6 +19,7 @@ import AddCollection from '@/components/addCollection' import { AddFavoriteApi, DelFavoriteProductApi } from '@/api/favorite' import useCommonData from '@/use/useCommonData' import { IMG_CND_Prefix } from '@/common/constant' +import MoveBtn from '@/components/moveBtn' interface item { title: string; img: string; url: string; id: number } diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 3c97afc..b26afd3 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -95,7 +95,7 @@ const Index = () => { categoryList() }, []) return ( - setShowShopCart(!showShopCart)}> + setShowShopCart(!showShopCart)}> diff --git a/src/pages/order/comfirm.tsx b/src/pages/order/comfirm.tsx index e71f031..33a2037 100644 --- a/src/pages/order/comfirm.tsx +++ b/src/pages/order/comfirm.tsx @@ -16,6 +16,7 @@ import { SubscriptionMessageApi } from '@/api/user' import { SUBSCRIPTION_MESSAGE_SCENE } from '@/common/enum' import { UseSubscriptionMessage } from '@/use/useCommon' import { throttle } from '@/common/util' +import MoveBtn from '@/components/moveBtn' const Comfirm = () => { const [showDesc, setShowDesc] = useState(false) @@ -177,32 +178,34 @@ const Comfirm = () => { } }, [preViewOrder]) return ( - - - - setShowDesc(true)}> - 订单备注 - {(submitOrderData?.remark && {submitOrderData?.remark}) || 填写备注} - - - - - - {numText} + + + + + setShowDesc(true)}> + 订单备注 + {(submitOrderData?.remark && {submitOrderData?.remark}) || 填写备注} + - submitOrderEven()}> + + + + {numText} + + submitOrderEven()}> 提交订单 + + setShowDesc(false)}> + getRemark(e)} /> + + - setShowDesc(false)}> - getRemark(e)} /> - - - + ) } diff --git a/src/pages/order/components/payment/index.module.scss b/src/pages/order/components/payment/index.module.scss index f2828c7..1553dea 100644 --- a/src/pages/order/components/payment/index.module.scss +++ b/src/pages/order/components/payment/index.module.scss @@ -1,139 +1,136 @@ -$top:190px; -.payment_main{ - .payment_con{ - padding: 20px; - background-color: #F6F6F6; - border-radius: 20px; - .miconfont_title{ - transform: rotate(-180deg); - position: absolute; - left: 20px; - top: 27px; - font-size: 37px; - color: $color_font_three; - z-index: 99; - } - +$top: 190px; +.payment_main { + .payment_con { + padding: 20px; + background-color: #f6f6f6; + border-radius: 20px; + .miconfont_title { + transform: rotate(-180deg); + position: absolute; + left: 20px; + top: 27px; + font-size: 37px; + color: $color_font_three; + z-index: 99; } - .title{ - font-size: $font_size_big; - color: #000000; - text-align: center; - font-weight: 700; - position: relative; - - } - .amount{ - text-align: center; - padding: 25px 0; - } - .playMode{ - width: 100%; - padding-bottom: 20px; - font-size: 26px; - text-align: center; - color: #707070; - } - - .payment_list{ - background-color: #fff; - // box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.16); - min-height: 300px; - border-radius: 10px; - padding-bottom: 100px; - position: relative; - // background: radial-gradient(circle 20px at left $top, transparent 20px, #fff 20px + 3px) left 0px/60% no-repeat , - // radial-gradient(circle 20px at right $top, transparent 20px, #fff 20px + 3px) right 0px/60% no-repeat; - // filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, .16)); - position: relative; - &::before{ - content: ''; - position: absolute; - border-bottom: 3px dashed #ccc; - top: $top; - width: calc(100% - 50px); - left:0; - right: 0; - margin: auto; + } + .title { + font-size: $font_size_big; + color: #000000; + text-align: center; + font-weight: 700; + position: relative; + } + .amount { + text-align: center; + padding: 25px 0; + } + .playMode { + width: 100%; + padding-bottom: 20px; + font-size: 26px; + text-align: center; + color: #707070; + } - } - .payment_list_top_border{ - height: 32px; - width: 100%; - background: linear-gradient(215deg,#cde5ff 2%, #cde5ff 2%, #68b4ff 72%); - border-radius: 10px 10px 0px 0px; - } - .payment_list_title{ - text-align: center; - padding: 30px 0 50px 0; - font-size: $font_size; - color: $color_font_three; - .payment_list_title_price_item{ - display: flex; - justify-content: space-between; - padding: 0 90px; - &:nth-child(1) { - margin-bottom: 15px; - } - } - text{ - &:nth-child(2) { - color: $color_main; - } - } - } - .payment_list_con{ - padding: 20px 30px 0 30px; - .payment_list_item{ - display: flex; - justify-content: space-between; - align-items: center; - height: 123px; - &:nth-last-child(n+2) { - border-bottom: 2px solid #F3F3F3; - } - } - .payment_list_item_left{ - display: flex; - flex-direction: column; - font-size: $font_size; - .payment_list_item_left_name{ - display: flex; - align-items: center; - } - .miconfont{ - font-size: 30px; - color: #007AFF; - padding-right: 10px; - } - .advance_payment{ - color: #FFC300; - } - .account_period{ - color: #07C160; - } - .payment_list_item_left_price{ - font-size: $font_size_min; - color: $color_font_two; - padding-left: 35px; - padding-top: 5px; - } - } - .miconfont_more{ - font-size: 20px; - } - } + .payment_list { + background-color: #fff; + // box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.16); + min-height: 300px; + border-radius: 10px; + padding-bottom: 100px; + position: relative; + // background: radial-gradient(circle 20px at left $top, transparent 20px, #fff 20px + 3px) left 0px/60% no-repeat , + // radial-gradient(circle 20px at right $top, transparent 20px, #fff 20px + 3px) right 0px/60% no-repeat; + // filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, .16)); + position: relative; + &::before { + content: ''; + position: absolute; + border-bottom: 3px dashed #ccc; + top: $top; + width: calc(100% - 50px); + left: 0; + right: 0; + margin: auto; } - .btns{ - background: #007aff; - border-radius: 40px; - width: 668px; - height: 82px; - text-align: center; - line-height: 80px; - width: 100%; - color: #fff; - font-size: 32px; - margin-top: 30px; + .payment_list_top_border { + height: 32px; + width: 100%; + background: linear-gradient(215deg, #cde5ff 2%, #cde5ff 2%, #68b4ff 72%); + border-radius: 10px 10px 0px 0px; } -} \ No newline at end of file + .payment_list_title { + text-align: center; + padding: 30px 0 50px 0; + font-size: $font_size; + color: $color_font_three; + .payment_list_title_price_item { + display: flex; + justify-content: space-between; + padding: 0 90px; + &:nth-child(1) { + margin-bottom: 15px; + } + } + text { + &:nth-child(2) { + color: $color_main; + } + } + } + .payment_list_con { + padding: 20px 30px 0 30px; + .payment_list_item { + display: flex; + justify-content: space-between; + align-items: center; + height: 123px; + &:nth-last-child(n + 2) { + border-bottom: 2px solid #f3f3f3; + } + } + .payment_list_item_left { + display: flex; + flex-direction: column; + font-size: $font_size; + .payment_list_item_left_name { + display: flex; + align-items: center; + } + .miconfont { + font-size: 30px; + color: #007aff; + padding-right: 10px; + } + .advance_payment { + color: #ffc300; + } + .account_period { + color: #07c160; + } + .payment_list_item_left_price { + font-size: $font_size_min; + color: $color_font_two; + padding-left: 35px; + padding-top: 5px; + } + } + .miconfont_more { + font-size: 20px; + } + } + } + .btns { + background: #007aff; + border-radius: 40px; + width: 668px; + height: 82px; + text-align: center; + line-height: 80px; + width: 100%; + color: #fff; + font-size: 32px; + margin-top: 30px; + } +} diff --git a/src/pages/order/index.tsx b/src/pages/order/index.tsx index 9665239..0c19b6e 100644 --- a/src/pages/order/index.tsx +++ b/src/pages/order/index.tsx @@ -24,6 +24,7 @@ import { alert, goLink } from '@/common/common' import { SubscriptionMessageApi } from '@/api/user' import { AddShoppingCartApi } from '@/api/shopCart' import { EditSaleOrderRemarkApi, GetSaleOrderDetailApi } from '@/api/order' +import MoveBtn from '@/components/moveBtn' const Order = () => { useLogin() @@ -286,7 +287,7 @@ const Order = () => { [orderDetail], ) return ( - + {(orderDetail?.status != SaleorderstatusWaitingPrePayment.value && ) || ( @@ -343,7 +344,7 @@ const Order = () => { - + ) } export default Order diff --git a/src/pages/salesAfter/index.tsx b/src/pages/salesAfter/index.tsx index 102bac3..76cda71 100644 --- a/src/pages/salesAfter/index.tsx +++ b/src/pages/salesAfter/index.tsx @@ -16,6 +16,7 @@ import AfterOrderBtns from '@/components/afterOrderBtns' import { formatDateTime, formatImgUrl } from '@/common/fotmat' import { AFTER_ORDER_STATUS } from '@/common/enum' import { SaleOrderOrderDetailApi } from '@/api/salesAfterOrder' +import MoveBtn from '@/components/moveBtn' const OrderDes = ({ orderInfo }: { orderInfo?: any }) => { // 复制功能 @@ -31,6 +32,7 @@ const OrderDes = ({ orderInfo }: { orderInfo?: any }) => { }) } return ( + 订单信息 @@ -140,7 +142,7 @@ const SalesAfter = () => { }, [orderDetail]) // 售后订单状态枚举 - const { } = AFTER_ORDER_STATUS + // const { } = AFTER_ORDER_STATUS // 物流显示 const [logisticsShow, setLogisticsShow] = useState(false) @@ -187,26 +189,28 @@ const SalesAfter = () => { if (orderDetail) { formatData() } }, [orderDetail]) return ( - - - - - - - - - setApplyRecord(false)} /> - setReturnCodeShow(false)} /> - - + + + + + + + + + + setApplyRecord(false)} /> + setReturnCodeShow(false)} /> + + + ) } export default SalesAfter diff --git a/src/pages/user/components/customer/index.module.scss b/src/pages/user/components/customer/index.module.scss new file mode 100644 index 0000000..9414bab --- /dev/null +++ b/src/pages/user/components/customer/index.module.scss @@ -0,0 +1,65 @@ +.customer_service_list { + .customer_service_title { + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 24px; + box-sizing: border-box; + text { + &:nth-child(1) { + font-size: 32px; + font-weight: 500; + color: #000000; + } + &:nth-child(2) { + font-size: 24px; + font-weight: 400; + color: rgba(0, 0, 0, 0.4); + } + } + } + .customer_service_con { + padding: 0 32px; + .customer_service_item { + display: flex; + align-items: center; + padding: 32px 40px; + box-sizing: border-box; + width: 686px; + height: 136px; + background: #ffffff; + box-shadow: 0px 0px 28px -3px rgba(0, 0, 0, 0.06); + border-radius: 16px; + margin-top: 16px; + position: relative; + button { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + opacity: 0; + } + .customer_service_item_con { + display: flex; + flex-direction: column; + flex: 1; + margin-left: 24px; + text { + &:nth-child(1) { + font-size: 28px; + } + &:nth-child(2) { + font-size: 24px; + color: rgba(0, 0, 0, 0.4); + } + } + } + .customer_service_item_icon { + transform: rotate(-90deg); + } + } + } +} diff --git a/src/pages/user/components/customer/index.tsx b/src/pages/user/components/customer/index.tsx new file mode 100644 index 0000000..a44dc28 --- /dev/null +++ b/src/pages/user/components/customer/index.tsx @@ -0,0 +1,57 @@ +import { Button, Text, View } from '@tarojs/components' +import Taro from '@tarojs/taro' +import { useState } from 'react' +import styles from './index.module.scss' +import IconFont from '@/components/iconfont/iconfont' +import Popup from '@/components/popup' +import { useSelector } from '@/reducers/hooks' +import { alert } from '@/common/common' + +interface Param { + onClose?: () => void + show: boolean +} +export default (props: Param) => { + const userInfo = useSelector(state => state.userInfo) + const makePhoneCall = () => { + if (!userInfo?.adminUserInfo?.sale_user_phone) { return alert.error('手机号不能为空') } + Taro.makePhoneCall({ + phoneNumber: userInfo?.adminUserInfo?.sale_user_phone, + }) + } + const onClose = () => { + props.onClose?.() + } + + return + + + 请选择您要的服务 + 我们根据选择为您提供服务 + + + + + + 官方微信客服 + 竭诚为您服务! + + + + + } - - - - - - - {userInfo?.adminUserInfo?.phone ? userInfo?.adminUserInfo?.user_name : '点击登录'} - - {userInfo?.adminUserInfo?.phone || 'Hi,欢迎来到陆盈商城'} + return ( + + {!userInfo?.adminUserInfo?.phone && } + + + + + + + {userInfo?.adminUserInfo?.phone ? userInfo?.adminUserInfo?.user_name : '点击登录'} + + {userInfo?.adminUserInfo?.phone || 'Hi,欢迎来到陆盈商城'} + + {userInfo?.adminUserInfo?.company_name} + + goLink('/pages/userEdit/index')}> + - {userInfo?.adminUserInfo?.company_name} - goLink('/pages/userEdit/index')}> - + + goLink('/pages/collection/index')}> + {userInfo?.adminUserInfo?.collection_quantity || 0} + 商品收藏 + + + 0 + 活动积分 + + goLink('/pages/bindSalesman/index')}> + + 邀请码 + + {userInfo?.adminUserInfo?.order_access_status == 3 && + + {priceList?.map((item, index) => { + return + {item.label} + ¥ {item.value} + + })} + + + } + - - goLink('/pages/collection/index')}> - {userInfo?.adminUserInfo?.collection_quantity || 0} - 商品收藏 + + + 我的订单 + goLink('/pages/order/orderList/index')}> + 全部订单 + + - - 0 - 活动积分 - - - - 邀请码 - - - {userInfo?.adminUserInfo?.order_access_status == 3 && - - {priceList?.map((item, index) => { - return - {item.label} - ¥ {item.value} + + {orderList?.map((item, index) => { + return goLink(item.url)}> + + {item.label} + {!!item.number && {item.number}} })} - - - } - - - - - 我的订单 - goLink('/pages/order/orderList/index')}> - 全部订单 - - - - - {orderList?.map((item, index) => { - return goLink(item.url)}> - - {item.label} - {!!item.number && {item.number}} - - })} + - - - - 我的服务 - - - {menuList.map((item, index) => { - return - - - {item.label} - - {item.text} - + + + 我的服务 + + + {menuList.map((item, index) => { + return + + + {item.label} + + {item.text} + + - {item.type == 'customer' &&