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
7c3576d6
Commit
7c3576d6
authored
Nov 10, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:询价商品没库存时提示
parent
44fb9147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+1
-1
No files found.
src/pages/lxMall/commodityDetail/index.tsx
View file @
7c3576d6
...
@@ -527,7 +527,7 @@ const CommodityDetail = (props) => {
...
@@ -527,7 +527,7 @@ const CommodityDetail = (props) => {
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
>
暂无库存
</
Button
>
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
>
暂无库存
</
Button
>
)
)
case
COMMODITY_TYPE
.
inquiry
:
case
COMMODITY_TYPE
.
inquiry
:
return
<
div
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
onClick=
{
()
=>
handleInquiry
()
}
>
立即询价
</
div
>
return
stockCount
>
0
?
<
div
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
onClick=
{
()
=>
handleInquiry
()
}
>
立即询价
</
div
>
:
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
>
暂无库存
</
Button
>
case
COMMODITY_TYPE
.
integral
:
case
COMMODITY_TYPE
.
integral
:
return
stockCount
>
0
?
<
div
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
onClick=
{
()
=>
handleToBuy
(
COMMODITY_TYPE
.
integral
)
}
>
立即兑换
</
div
>
:
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
>
暂无库存
</
Button
>
return
stockCount
>
0
?
<
div
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
onClick=
{
()
=>
handleToBuy
(
COMMODITY_TYPE
.
integral
)
}
>
立即兑换
</
div
>
:
<
Button
className=
{
cx
(
styles
.
product_info_btn_item
,
styles
.
buy
)
}
>
暂无库存
</
Button
>
}
}
...
...
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