Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
Europa-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c7f89677
authored
May 12, 2025
by
gyt
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'hotfix/20250512_搜索白屏' into 'master'
hotfix(搜索): 处理搜索后页面空白的问题 See merge request
!1
parents
c53b726a
ca7861aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
components/ListOneItem/index.tsx
components/ListOneItem/index.tsx
View file @
c7f89677
...
...
@@ -105,6 +105,7 @@ const ListOneItem = (props: dataListItemType) => {
const onePriceRow = () => {
const priceList =itemInfo.ladder_price
if(!priceList) return
priceList.forEach((item:any, index:number) => {
item.checked = false
var value_ = Number(purNum)
...
...
@@ -194,7 +195,7 @@ const ListOneItem = (props: dataListItemType) => {
</div>
<div className={`
$
{
styles
.
item
}
$
{
styles
.
w298
}
`}>
{
itemInfo.ladder_price.map((item, index) => {
itemInfo.ladder_price
&&itemInfo.ladder_price
.map((item, index) => {
return (
<div key={index + item.price_cn} className={`
$
{
styles
.
jtgroup
}
row
$
{
item
.
checked
?
styles
.
actjt
:
''
}
`}>
<span>{item.purchases || item.purchase}+</span>
...
...
@@ -226,7 +227,7 @@ const ListOneItem = (props: dataListItemType) => {
</div>
<div className={`
$
{
styles
.
item
}
row
`}>
<div>
{(!itemInfo.stock ||
itemInfo.ladder_price.length == 0
) ? (
{(!itemInfo.stock ||
(itemInfo.ladder_price&&itemInfo.ladder_price.length == 0)
) ? (
<a href={QQURL} rel="noreferrer" className={styles.ljxunj} target='_blank'>立即询价</a>
) : (
<>
...
...
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