Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
ReactWeb5
CivWeb
Commits
c5cde05e
Commit
c5cde05e
authored
2 weeks ago
by
程恺文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:'图片资源请求本地'
parent
431b9611
master
No related merge requests found
Pipeline
#96798
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
MySwiper.js
src/pages/bootpage/template/project/SL/MySwiper.js
+3
-2
No files found.
src/pages/bootpage/template/project/SL/MySwiper.js
View file @
c5cde05e
...
...
@@ -2,7 +2,7 @@
* @Author: 634665781 634665781@qq.com
* @Date: 2025-04-08 09:12:30
* @LastEditors: 634665781 634665781@qq.com
* @LastEditTime: 2025-04-
09 15:45:00
* @LastEditTime: 2025-04-
10 09:00:17
* @FilePath: \CivWeb\src\pages\bootpage\template\project\SL\MySwiper.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -66,6 +66,7 @@ const MySwiper = props => {
modifier
:
2
,
// 效果强度系数:ml-citation{ref="5" data="citationList"}
slideShadows
:
false
,
// 启用投影效果:ml-citation{ref="5" data="citationList"}
}}
>
{
data
.
map
(
item
=>
(
<
SwiperSlide
key
=
{
item
.
id
}
>
...
...
@@ -74,7 +75,7 @@ const MySwiper = props => {
onClick
=
{()
=>
{
item
.
name
?
onLink
(
integrationData
[
item
.
name
],
loginAction
)
:
null
;
}}
src
=
{
item
.
image
?(
'http://192.168.10.168:8688'
+
item
.
image
):
null
}
src
=
{
item
.
image
?(
window
.
origin
+
item
.
image
):
null
}
alt
=
{
`Image
${
item
.
id
}
`
}
style
=
{{
height
:
'auto'
}}
/
>
...
...
This diff is collapsed.
Click to expand it.
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