提交修改

dev-captcha
dshclm 10 months ago
parent 118a76135f
commit 20a6ebb2b2

@ -358,15 +358,24 @@
height:28px; height:28px;
} }
.sliderA{ .sliderA{
display: inline-block;
background-color: rgb(182 182 182 / 0.6);
height: 50px;
width: 100%;
position: absolute; position: absolute;
top: 90%; bottom: 0;
line-height: 46px; left: 0;
text-align: center; padding: 10px;
width: 100%;
height: 50px;
box-sizing: border-box;
background-color: rgb(0 0 0 / 70%);
line-height: 28px;
font-size: 16px;
color: white;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.sliderA:hover{
color: #ffbb3f;
}
</style> </style>
</head> </head>
<body class="layui-bg-gray" style=""> <body class="layui-bg-gray" style="">
@ -383,7 +392,7 @@
<div carousel-item> <div carousel-item>
<tbody th:each="url,status : ${urlList}"> <tbody th:each="url,status : ${urlList}">
<a th:href="@{/public_view.html(type=2,id=${url.workId})}" th:title="${url.workTitle}" target="_blank"> <a th:href="@{/public_view.html(type=2,id=${url.workId})}" th:title="${url.workTitle}" target="_blank">
<img th:src="${url.imgUrl}"> <img th:src="${url.imgUrl}" style="height: 100%;width: 100%">
<span class="sliderA">[[${#strings.abbreviate(url.workTitle,28)}]]</span> <span class="sliderA">[[${#strings.abbreviate(url.workTitle,28)}]]</span>
</a> </a>
</tbody> </tbody>
@ -691,7 +700,7 @@
// 渲染 - 图片轮播 // 渲染 - 图片轮播
carousel.render({ carousel.render({
elem: '#ID-carousel-demo-image', elem: '#ID-carousel-demo-image',
autoplay: true, autoplay: false,
interval: 4000, interval: 4000,
indicator: 'outside', indicator: 'outside',
width: '650px', width: '650px',

Loading…
Cancel
Save