내 응용 프로그램에 탐색기와 글로벌 스플리터가 있습니다. 내 탐색기가 내 첫 번째 페이지를 tempHome으로 푸시합니다. 스플리터를 사용하려면 tempHome에도 페이지 속성을 설정해야합니다.onsenUI의 스플리터 및 탐색기에 문제가 있습니다
<ons-navigator id="myNavigator">
<ons-page>
<ons-splitter>
<ons-splitter-side id="menu" side="right" width="220px" swipe-target-width="150px" collapse swipeable>
<ons-page>
<ons-list>
<ons-list-item tappable>
test
</ons-list-item>
</ons-list>
</ons-page>
</ons-splitter-side>
<ons-splitter-content id="content" page="tempHome"></ons-splitter-content>
</ons-splitter>
</ons-page>
</ons-navigator>
그래서 내 응용 프로그램의 첫 페이지에 두 번 tempHome이 있습니다.
도움이 될까요?
는 codepen which you mentioned는 네비게이터 내부 스플리터를 보여줍니다
을 나는이가 내 문제를 해결할 수 : http://codepen.io/IliaSky/pen/rePgbp?editors=1010하지만 스플리터는 첫 번째 페이지에서만 작동합니다. 전 세계적으로 이것을 사용해야합니다 – meisam3322