Primefaces 旋转木马仅显示第一张和第三张幻灯片

Primefaces 旋转木马仅显示第一张和第三张幻灯片,primefaces,Primefaces,primefaces carousel有一个问题,它只显示5个项目中的2个,仅显示第一个和第三个: <p:carousel numVisible="0" style="height: 350px !important;width: 860px !important;;" autoPlayInterval="4000" firstVisible="0" itemStyleClass="width:870px;height:350px;" circular="true"> &l

primefaces carousel有一个问题,它只显示5个项目中的2个,仅显示第一个和第三个:

<p:carousel numVisible="0" style="height: 350px !important;width: 860px !important;;"  autoPlayInterval="4000" firstVisible="0" itemStyleClass="width:870px;height:350px;" circular="true">
    <p:panel styleClass="carousel-panel">
        <p:graphicImage width="877" height="350"  value="/home_page/Carr0.png" />
    </p:panel>   
    <p:panel styleClass="carousel-panel">
        <p:graphicImage width="877" height="350"  value="/home_page/Carr1.png" />
    </p:panel>
    <p:panel styleClass="carousel-panel">
        <p:graphicImage width="877" height="350"  value="/home_page/Carr2.png" />
    </p:panel>
    <p:panel styleClass="carousel-panel">
        <p:graphicImage width="877" height="350"  value="/home_page/Carr3.png" />
    </p:panel>
    <p:panel styleClass="carousel-panel">
        <p:graphicImage width="877" height="350"  value="/home_page/Carr4.png" />
    </p:panel>
</p:carousel>


我肯定不是这样,但图像不可能是彼此的副本,是吗?如果删除所有显式宽度或不可见宽度会怎么样。你的看法是什么