问题描述
任何人都可以用这种方式说明如何在转盘中添加带有幻灯片编号和幻灯片总数的分数计数器吗? :
感谢您提供任何信息:D
直到现在我的代码:
.carousel-item {
height: 100vh;
min-height: 350px;
background: no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.carousel-indicators {
margin-bottom: 55vh;
text-align: right;
float:right;
right: 2% !important;
left: inherit;
width: 346px;
height: 18px;
}
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listBox">
<!-- Slide One - Set the background image for this slide in the line below -->
<div class="carousel-item active" style="background-image:url(css/01.jpg)">
<div class="carousel-caption">
</div>
</div>
</div>
</div>
<!-- Slide Two - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image:url(css/02.jpg)">
<div class="carousel-caption">
</div>
</div>
</div>
</div>
<!-- Slide Three - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image:url(css/03.jpg)">
<div class="carousel-caption">
</div>
</div>
</div>
</div>
</div>
</div>
</header>
我没有太多代码,因为这是一个简单的引导程序转盘,我只需要将分数与图像中的指标一起使用即可。不知道要用这种方式进行这项工作需要什么Java代码。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)