diff --git a/src/components/moveBtn/index.tsx b/src/components/moveBtn/index.tsx
index b68dda3..adafd84 100644
--- a/src/components/moveBtn/index.tsx
+++ b/src/components/moveBtn/index.tsx
@@ -16,11 +16,11 @@ interface param {
children?: ReactElement | null
onShopClick?: () => void
showList?: ShowStatus[]
- messageTitle: string
- messagePath: string
- showCart: false|true
+ messageTitle?: string
+ messagePath?: string
+ showCart?: false|true
}
-const MoveBtn = ({ children = null, onShopClick, showList = [], messageTitle = '', messagePath = '', showCart }: param) => {
+const MoveBtn = ({ children = null, onShopClick, showList = [], messageTitle = '', messagePath = '', showCart = false }: param) => {
const userInfo = useSelector(state => state.userInfo)
// 获取购物车数据数量
const { getShopCount, commonData } = useCommonData()
@@ -82,7 +82,7 @@ const MoveBtn = ({ children = null, onShopClick, showList = [], messageTitle = '
}
{onShow('order') && set_customer_service_show(true) }
- className={styles.moveBtn}
+ className={classnames(styles.moveBtn, styles.no_bg_moveBtn)}
direction="all"
inertia
x="630rpx"
@@ -92,7 +92,7 @@ const MoveBtn = ({ children = null, onShopClick, showList = [], messageTitle = '
}
{onShow('customer') &&
}
-
+
)
}
diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx
index b26afd3..6171cfe 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/index.tsx b/src/pages/order/index.tsx
index 762073c..cc238f8 100644
--- a/src/pages/order/index.tsx
+++ b/src/pages/order/index.tsx
@@ -287,7 +287,7 @@ const Order = () => {
[orderDetail],
)
return (
-
+
{(orderDetail?.status != SaleorderstatusWaitingPrePayment.value && ) || (
diff --git a/src/pages/salesAfter/index.tsx b/src/pages/salesAfter/index.tsx
index 76cda71..9594155 100644
--- a/src/pages/salesAfter/index.tsx
+++ b/src/pages/salesAfter/index.tsx
@@ -189,7 +189,7 @@ const SalesAfter = () => {
if (orderDetail) { formatData() }
}, [orderDetail])
return (
-
+