Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
e9323689
Commit
e9323689
authored
Apr 05, 2025
by
liuxinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改代理
parent
0e833628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
18 deletions
+22
-18
src/components/search/search-result.js
+22
-18
No files found.
src/components/search/search-result.js
View file @
e9323689
...
...
@@ -190,24 +190,28 @@ class SearchResult extends PureComponent {
:
item
.
course_title
,
}}
><
/p
>
{
/* <p
className="des text-overflow-1"
dangerouslySetInnerHTML={{
__html:
item.highlight?.["course_stage.pinyin"]?.length > 0
? item.highlight["course_stage.pinyin"][0]
: "",
}}
></p> */
}
<
p
className
=
"des text-overflow-1"
dangerouslySetInnerHTML
=
{{
__html
:
item
.
highlight
?.[
"course_lesson.pinyin"
]?.
length
>
0
?
item
.
highlight
[
"course_lesson.pinyin"
][
0
]
:
""
,
}}
><
/p
>
{
item
.
highlight
?.[
"course_stage.pinyin"
]?.
length
>
0
&&
(
<
p
className
=
"des text-overflow-1"
dangerouslySetInnerHTML
=
{{
__html
:
item
.
highlight
?.[
"course_stage.pinyin"
]?.
length
>
0
?
item
.
highlight
[
"course_stage.pinyin"
][
0
]
:
""
,
}}
><
/p
>
)}
{
item
.
highlight
?.[
"course_lesson.pinyin"
]?.
length
>
0
&&
(
<
p
className
=
"des text-overflow-1"
dangerouslySetInnerHTML
=
{{
__html
:
item
.
highlight
?.[
"course_lesson.pinyin"
]?.
length
>
0
?
item
.
highlight
[
"course_lesson.pinyin"
][
0
]
:
""
,
}}
><
/p
>
)}
<
div
className
=
"course_tags text-overflow-1"
>
{
item
.
course_tags
.
map
((
tag
,
index
)
=>
(
<
span
key
=
{
index
}
>
{
tag
}
<
/span
>
...
...
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