您好我使用winJs构建了一个数据透视图但是在我的Windows Phone上尝试这个在PivotItems之间导航的唯一方法就是菜单。我怎样才能解决这个问题?感谢
<div id="pivotScenario3" class="wide" data-win-control="WinJS.UI.Pivot" data-win-options="{ selectedIndex: 1 }">
<div class="listviewpivotitem" data-win-control="WinJS.UI.PivotItem" data-win-options="{ 'header': 'Circolari', managedLV: true }">
<div id="content1"></div>
</div>
<div class="listviewpivotitem" data-win-control="WinJS.UI.PivotItem" data-win-options="{ 'header': 'News', managedLV: true }">
<div id="content"></div>
</div>
答案 0 :(得分:1)
你试过这种方式:
<div id="pivotScenario3" class="wide" data-win-control="WinJS.UI.Pivot" data-win-options="{ selectedIndex: 1 }">
<div class="listviewpivotitem" data-win-control="WinJS.UI.PivotItem" data-win-options="{ 'header': 'Circolari', managedLV: true }">
<div id="content1"></div>
</div>
<div class="listviewpivotitem" data-win-control="WinJS.UI.PivotItem" data-win-options="{ 'header': 'News', managedLV: true }">
<div id="content"></div>
</div>
</div>