feat:轮播修改

new-v20240713
wangxy 9 months ago
parent d8d689c06f
commit a29a07a90f

@ -617,6 +617,11 @@
color: #0b61d3; color: #0b61d3;
font-family: layui-icon!important; font-family: layui-icon!important;
} }
.layui-carousel-ind {
top: -31px;
text-align: right;
}
</style> </style>
</head> </head>
<body class="layui-bg-gray" style=""> <body class="layui-bg-gray" style="">
@ -642,7 +647,7 @@
</div> </div>
<div class="layui-row layui-col-space1"> <div class="layui-row layui-col-space1">
<div class="layui-col-md6"> <div class="layui-col-md6">
<div class="layui-carousel" id="ID-carousel-demo-image" style="width: 650px;height: 433px;"> <div class="layui-carousel" id="ID-carousel-demo-image" style="width: 650px;height: 462px;">
<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">
@ -1005,9 +1010,9 @@
elem: '#ID-carousel-demo-image', elem: '#ID-carousel-demo-image',
autoplay: true, autoplay: true,
interval: 4000, interval: 4000,
indicator: 'outside', indicator: 'inside',
width: '650px', width: '650px',
height: '433px', height: '462px',
anim: 'fade', anim: 'fade',
}); });
}); });

Loading…
Cancel
Save