如何在转盘滑块中添加分数计数器?

问题描述

任何人都可以用这种方式说明如何在转盘中添加带有幻灯片编号和幻灯片总数的分数计数器吗? :

enter image description here

感谢您提供任何信息: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 (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...