我正在使用Semantic UI,并且在处理Tabs时遇到了问题。第一个标签显示为活动标签,但是当您单击第二个标签时,标签不会更改。您可以在“附加”此处下查看他们的示例。您可以在下面看到我的示例。我认为它设置正确。我还使用了包括Semantic和jQuery的JSFiddle。如果您有任何疑问,请告诉我。
<div class="ui top attached tabular menu">
<a class="active item">One</a>
<a class="item">Two</a>
</div>
<div class="ui bottom attached segment">
<h4>Product Name</h4>
<p>Here is the description</p>
</div>