Ionic CSS 组件样式不起作用
Ionic CSS Components Styling Not Working
Screenshot of original card
我只是将离子组件的 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>
但它 returns 我这个 Screenshot of result page
我检查了所有 css 并且 js 在页面上正常工作,除了离子组件。
好的,我有问题了。这是 ionic v1 和 v2 的不同文档,但 google 仅列出 ionic v2 文档。
http://ionicframework.com/docs/v1/components
http://ionicframework.com/docs/components
感谢大家的宝贵时间。
Screenshot of original card
我只是将离子组件的 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>
但它 returns 我这个 Screenshot of result page
我检查了所有 css 并且 js 在页面上正常工作,除了离子组件。
好的,我有问题了。这是 ionic v1 和 v2 的不同文档,但 google 仅列出 ionic v2 文档。
http://ionicframework.com/docs/v1/components
http://ionicframework.com/docs/components
感谢大家的宝贵时间。