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
5ba261d4
authored
Jul 04, 2024
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
首页修改
parent
4f1f920a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/components/ListOneItem/index.tsx
src/pages/Search/index.tsx
src/components/ListOneItem/index.tsx
View file @
5ba261d4
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
import
{
Link
}
from
'react-router-dom'
import
{
Link
}
from
'react-router-dom'
import
QqIcon
from
'../QqIcon'
import
QqIcon
from
'../QqIcon'
import
'./index.min.css'
import
'./index.min.css'
import
{
useContext
}
from
'react'
import
{
CommonConfigDataContext
}
from
'../../contexts/CommonConfigDataContext'
const
ListOneItem
=
()
=>
{
const
ListOneItem
=
()
=>
{
const
commonConfigData
=
useContext
(
CommonConfigDataContext
)
return
(
return
(
<>
<>
<
div
className=
'list-group-one-item'
>
<
div
className=
'list-group-one-item'
>
...
@@ -27,7 +29,7 @@ const ListOneItem = () => {
...
@@ -27,7 +29,7 @@ const ListOneItem = () => {
<
div
className=
'jtgroup row'
><
span
>
5000+
</
span
><
strong
>
¥18.2365
</
strong
><
strong
>
¥18.2365
</
strong
></
div
>
<
div
className=
'jtgroup row'
><
span
>
5000+
</
span
><
strong
>
¥18.2365
</
strong
><
strong
>
¥18.2365
</
strong
></
div
>
</
div
>
</
div
>
<
div
className=
'item row'
>
<
div
className=
'item row'
>
<
a
href=
"/
"
className=
'ljxunj'
target=
'_blank'
>
立即询价
</
a
>
<
a
href=
{
commonConfigData
.
qqurl
}
rel=
"noreferrer
"
className=
'ljxunj'
target=
'_blank'
>
立即询价
</
a
>
<
QqIcon
/>
<
QqIcon
/>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/pages/Search/index.tsx
View file @
5ba261d4
...
@@ -11,9 +11,12 @@ import { useLocation } from 'react-router-dom';
...
@@ -11,9 +11,12 @@ import { useLocation } from 'react-router-dom';
import
{
brandsAndClasssReducer
}
from
'./reducer'
;
import
{
brandsAndClasssReducer
}
from
'./reducer'
;
const
Search
=
()
=>
{
const
Search
=
()
=>
{
const
Helmet
=
require
(
'react-helmet'
).
Helmet
;
const
Helmet
=
require
(
'react-helmet'
).
Helmet
;
const
location
=
useLocation
();
const
location
=
useLocation
();
const
params
=
new
URLSearchParams
(
location
.
search
);
const
params
=
new
URLSearchParams
(
location
.
search
);
const
keyword
=
params
.
get
(
'keyword'
);
const
keyword
=
params
.
get
(
'keyword'
);
...
...
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