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
6d2b2132
Commit
6d2b2132
authored
Jan 07, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 渠道积分商品传参错误问题
parent
7ea08af3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
index.tsx
...iption/components/Introduction/template/science/index.tsx
+3
-2
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+19
-6
No files found.
src/pages/lxMall/commodityDetail/components/ProductDescription/components/Introduction/template/science/index.tsx
View file @
6d2b2132
/*
/*
* 科技类商品描述模板
* 科技类商品描述模板
* @Author: ghua
* @Author: ghua
* @Date: 2020-08-01 10:59:17
* @Date: 2020-08-01 10:59:17
* @Last Modified by: ghua
* @Last Modified by: ghua
* @Last Modified time: 2020-09-09 11:07:52
* @Last Modified time: 2020-09-09 11:07:52
*/
*/
...
@@ -36,6 +36,7 @@ const ScienceTemplate: React.FC<ScienceTemplatePropsType> = (props) => {
...
@@ -36,6 +36,7 @@ const ScienceTemplate: React.FC<ScienceTemplatePropsType> = (props) => {
</
Player
>
</
Player
>
))
))
}
}
</
div
>
</
div
>
<
div
className=
"img_list"
>
<
div
className=
"img_list"
>
{
{
...
...
src/pages/lxMall/commodityDetail/index.tsx
View file @
6d2b2132
...
@@ -187,18 +187,31 @@ const CommodityDetail = (props) => {
...
@@ -187,18 +187,31 @@ const CommodityDetail = (props) => {
commodityId
:
id
commodityId
:
id
}
}
let
headers
=
{}
let
headers
=
{}
console
.
log
(
layoutType
,
"layoutType"
)
switch
(
layoutType
)
{
switch
(
layoutType
)
{
case
LAYOUT_TYPE
.
channel
:
case
LAYOUT_TYPE
.
channel
:
headers
=
{
if
(
type
===
"3"
)
{
type
:
3
headers
=
{
type
:
5
}
}
else
{
headers
=
{
type
:
3
}
}
}
params
.
channelMemberId
=
memberId
params
.
channelMemberId
=
memberId
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
break
break
case
LAYOUT_TYPE
.
ichannel
:
case
LAYOUT_TYPE
.
ichannel
:
headers
=
{
if
(
type
===
"3"
)
{
type
:
4
headers
=
{
type
:
5
}
}
else
{
headers
=
{
type
:
4
}
}
}
params
.
channelMemberId
=
memberId
params
.
channelMemberId
=
memberId
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
...
@@ -225,7 +238,7 @@ const CommodityDetail = (props) => {
...
@@ -225,7 +238,7 @@ const CommodityDetail = (props) => {
getMemberCredit
(
res
.
data
?.
memberId
,
res
.
data
?.
memberRoleId
)
getMemberCredit
(
res
.
data
?.
memberId
,
res
.
data
?.
memberRoleId
)
}
}
}
else
{
}
else
{
message
.
info
(
res
.
message
)
//
message.info(res.message)
setErrorInfo
(
res
.
message
)
setErrorInfo
(
res
.
message
)
}
}
setSpinLoading
(
false
)
setSpinLoading
(
false
)
...
...
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