mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
Fix(demo): Remove ion-view from demos for scoll (basic, pull-to-refresh) and tabs (tab-bar-bottom)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<ion-view nav-title="Pull to refresh">
|
||||
<!-- <ion-view nav-title="Pull to refresh"> -->
|
||||
<ion-toolbar><ion-title>Scroll</ion-title></ion-toolbar>
|
||||
|
||||
<ion-content>
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
</ion-content>
|
||||
|
||||
</ion-view>
|
||||
<!-- </ion-view> -->
|
||||
<style>
|
||||
f { display: block; height: 400px; width: 100%; background-color: #387ef5; margin-bottom: 15px; }
|
||||
#counter {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<ion-view nav-title="Pull to refresh">
|
||||
<!-- <ion-view nav-title="Pull to refresh"> -->
|
||||
<ion-toolbar><ion-title>Pull To Refresh</ion-title></ion-toolbar>
|
||||
|
||||
<ion-content>
|
||||
@ -13,7 +13,7 @@
|
||||
<f></f>
|
||||
</ion-content>
|
||||
|
||||
</ion-view>
|
||||
<!-- </ion-view> -->
|
||||
<style>
|
||||
f { display: block; height: 400px; width: 100%; background-color: #387ef5; margin-bottom: 15px; }
|
||||
#counter {
|
||||
|
@ -1,20 +1,16 @@
|
||||
|
||||
<nav-bar></nav-bar>
|
||||
<ion-tabs tab-bar-placement="bottom">
|
||||
|
||||
<ion-tab tab-title="Tab 1">
|
||||
<ion-view nav-title="Tab 1">
|
||||
<ion-content padding>
|
||||
Tab 1 Content
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
<ion-content padding>
|
||||
Tab 1 Content
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
|
||||
<ion-tab tab-title="Tab 2">
|
||||
<ion-view nav-title="Tab 2">
|
||||
<ion-content padding>
|
||||
Tab 2 Content
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
<ion-content padding>
|
||||
Tab 2 Content
|
||||
</ion-content>
|
||||
</ion-tab>
|
||||
|
||||
</ion-tabs>
|
||||
|
Reference in New Issue
Block a user