【问题标题】:Ionic CSS Components Styling Not Working离子 CSS 组件样式不起作用
【发布时间】:2017-04-23 06:56:40
【问题描述】:

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>

但它返回给我这个Screenshot of result page

我已经检查了页面上的所有 css 和 js 是否正常工作,离子组件除外。

【问题讨论】:

标签: html css angular ionic-framework styling


【解决方案1】:

好的,我有问题。这是 ionic v1 和 v2 的不同文档,但 google 仅列出 ionic v2 文档。

http://ionicframework.com/docs/v1/components

http://ionicframework.com/docs/components

感谢大家的宝贵时间。

【讨论】:

  • 同样的事情发生在我身上兄弟 :)
猜你喜欢
  • 2019-06-02
  • 2012-11-29
  • 2014-06-05
  • 1970-01-01
  • 2021-09-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多