提交修改

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

@ -358,15 +358,24 @@
height:28px;
}
.sliderA{
display: inline-block;
background-color: rgb(182 182 182 / 0.6);
height: 50px;
width: 100%;
position: absolute;
top: 90%;
line-height: 46px;
text-align: center;
bottom: 0;
left: 0;
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>
</head>
<body class="layui-bg-gray" style="">
@ -383,7 +392,7 @@
<div carousel-item>
<tbody th:each="url,status : ${urlList}">
<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>
</a>
</tbody>
@ -691,7 +700,7 @@
// 渲染 - 图片轮播
carousel.render({
elem: '#ID-carousel-demo-image',
autoplay: true,
autoplay: false,
interval: 4000,
indicator: 'outside',
width: '650px',

Loading…
Cancel
Save