2017-04-23 60 views
1

Screenshot of original card离子CSS样式组件不工作

我只是复制离子成分的HTML代码到我的应用程序,但它并不像造型原始样本。

<ion-view view-title="About us"> 
    <ion-content padding> 
    <h1>About us</h1> 
    <ion-card> 
     <ion-card-header> 
     Header 
     </ion-card-header> 
     <ion-card-content> 
      The British use the term "header", but the American term "head-shot" the English simply refuse to adopt. 
     </ion-card-content> 
    </ion-card>  
    </ion-content> 
</ion-view> 

但它返回我这个Screenshot of result page

我已经检查了所有CSS和JS工作页面上,除了离子成分。

+0

这是离子1还是2? –

+0

它是离子1 .. –

+0

你可以粘贴你的代码在小提琴吗? –

回答