记录一段一为主题广告位图片轮播代码,具体效果看这个链接右下方广告位:

https://yigekuang.cn/sites/13

html代码如下:

<div id="apdSlidesOnly" class="carousel slide popularize mb-4" data-ride="carousel" data-interval="1800"> 
		<ol class="carousel-indicators">
			<li data-target="#apdSlidesOnly" data-slide-to="0" class="active"></li>
			<li data-target="#apdSlidesOnly" data-slide-to="1"></li>
			<li data-target="#apdSlidesOnly" data-slide-to="2"></li>
		</ol>
		<div class="carousel-inner">
			<div class="carousel-item active">
				<a href="https://www.ucloud.cn/site/active/kuaijie.html?invitation_code=C1x413B3EC139FF" target="_blank" rel="external nofollow"><img src="https://img.4.plus/202209280031513.jpeg" width=100% title="快杰S型云服务器" alt="快杰S型云服务器" /></a>
			</div>
			<div class="carousel-item">
				<a href="https://www.aliyun.com/minisite/goods?taskPkg=2022cgj&pkgSid=356365&userCode=z84qailh" target="_blank" rel="external nofollow"><img src="https://img.4.plus/202209280031783.jpeg" width=100% title="阿里云专属代金券" alt="阿里爆款产品超低折扣" /></a>
			</div>
			<div class="carousel-item">
				<a href="https://cloud.tencent.com/act/2022season?cps_key=676b02f0ddd5ba266151e0ac3010a9de&from=season2022" target="_blank" rel="external nofollow"><img src="https://img.4.plus/202209280031303.jpeg" width=100% title="爆款云服务器2核2G4M 6.6元/月起" alt="【腾讯云】爆款云服务器2核2G4M 6.6元/月起" /></a>
			</div>
		</div>
</div>