Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
f4bb8988
Commit
f4bb8988
authored
Nov 10, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:商品详情相同品类商品推荐显示
parent
0a2eaffd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+2
-1
No files found.
src/pages/lxMall/commodityDetail/index.tsx
View file @
f4bb8988
...
@@ -57,7 +57,7 @@ const integralPayWay = [
...
@@ -57,7 +57,7 @@ const integralPayWay = [
const
CommodityDetail
=
(
props
)
=>
{
const
CommodityDetail
=
(
props
)
=>
{
const
{
query
:
{
id
}
}
=
props
.
location
const
{
query
:
{
id
}
}
=
props
.
location
const
{
shopInfo
=
{},
layoutType
,
memberId
,
shopUrlParam
}
=
props
const
{
shopInfo
=
{},
shopId
,
layoutType
,
memberId
,
shopUrlParam
}
=
props
const
OrderStore
=
useLocalStore
(()
=>
store
.
OrderStore
)
const
OrderStore
=
useLocalStore
(()
=>
store
.
OrderStore
)
const
{
updateOrderInfo
}
=
OrderStore
const
{
updateOrderInfo
}
=
OrderStore
const
[
addSuccessVisible
,
setAddSuccessVisible
]
=
useState
<
boolean
>
(
false
)
const
[
addSuccessVisible
,
setAddSuccessVisible
]
=
useState
<
boolean
>
(
false
)
...
@@ -98,6 +98,7 @@ const CommodityDetail = (props) => {
...
@@ -98,6 +98,7 @@ const CommodityDetail = (props) => {
case
LAYOUT_TYPE
.
shop
:
case
LAYOUT_TYPE
.
shop
:
switch
(
priceType
)
{
switch
(
priceType
)
{
case
COMMODITY_TYPE
.
prompt
:
case
COMMODITY_TYPE
.
prompt
:
param
.
storeId
=
shopId
getListFn
=
PublicApi
.
postSearchShopStoreGetCommodityList
getListFn
=
PublicApi
.
postSearchShopStoreGetCommodityList
break
break
case
COMMODITY_TYPE
.
inquiry
:
case
COMMODITY_TYPE
.
inquiry
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment