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
linweijiong
jinfa-platform
Commits
9a4f93eb
Commit
9a4f93eb
authored
Oct 21, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改积分商品积分区间的显示
parent
f495d88b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
list.tsx
src/pages/lxMall/commodity/list.tsx
+2
-2
list.tsx
src/pages/lxMall/pointsMall/list.tsx
+2
-1
No files found.
src/pages/lxMall/commodity/list.tsx
View file @
9a4f93eb
...
...
@@ -76,7 +76,7 @@ const CommodityList: React.FC<CommodityListPropsType> = (props) => {
renderPrice
(
item
)
}
<
div
className=
{
styles
.
goods_name
}
>
{
item
.
name
}
</
div
>
<
div
className=
{
styles
.
count
}
>
已售:
{
numFormat
(
item
.
sold
)
||
0
}
</
div
>
<
div
className=
{
styles
.
count
}
>
已售:
{
numFormat
(
item
.
sold
)
||
0
}
{
item
.
unitName
}
</
div
>
<
div
className=
{
styles
.
company_info
}
>
<
div
className=
{
styles
.
goods_name
}
>
{
item
.
memberName
}
</
div
>
<
div
className=
{
styles
.
credit
}
>
...
...
@@ -108,7 +108,7 @@ const CommodityList: React.FC<CommodityListPropsType> = (props) => {
<
div
className=
{
styles
.
info_box_content
}
>
<
div
className=
{
styles
.
name
}
>
{
item
.
name
}
</
div
>
<
div
className=
{
styles
.
price
}
><
span
>
¥
</
span
>
{
priceFormat
(
item
.
min
)
}
</
div
>
<
div
className=
{
styles
.
count
}
>
已售:
{
numFormat
(
item
.
sold
)
||
0
}
</
div
>
<
div
className=
{
styles
.
count
}
>
已售:
{
numFormat
(
item
.
sold
)
||
0
}
{
item
.
unitName
}
</
div
>
</
div
>
<
ul
className=
{
styles
.
tags_list
}
>
{
...
...
src/pages/lxMall/pointsMall/list.tsx
View file @
9a4f93eb
...
...
@@ -3,6 +3,7 @@ import cx from 'classnames'
import
{
Skeleton
}
from
'antd'
import
{
LAYOUT_TYPE
}
from
'@/constants'
import
{
PostSearchShopEnterpriseGetCommodityListResponseDetail
}
from
'@/services/SearchApi'
import
{
numFormat
}
from
'@/utils/numberFomat'
import
styles
from
'./list.less'
interface
CommodityListPropsType
{
...
...
@@ -41,7 +42,7 @@ const CommodityList: React.FC<CommodityListPropsType> = (props) => {
</
div
>
<
div
className=
{
styles
.
info_box
}
>
<
div
className=
{
styles
.
goods_price
}
>
{
item
.
min
}
~
{
item
.
max
}
积分
{
item
.
min
===
item
.
max
?
`${numFormat(item.min)}`
:
`${numFormat(item.min)}~${numFormat(item.max)}`
}
积分
</
div
>
<
div
className=
{
styles
.
goods_name
}
>
{
item
.
name
}
</
div
>
<
div
className=
{
styles
.
count
}
>
库存:
{
item
.
sold
||
0
}
</
div
>
...
...
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