0

我有一个带有两个按钮的工具栏来导航轮播。我有 back 和 forward 作为按钮 ui 值。在默认的煎茶主题中,按钮看起来与后退和前进 L&F 正确。但是当我将主题更改为 cupertino 时。前进按钮没有获得按钮 ui。附上下面的截图

这就是它在煎茶主题中的样子库比蒂诺主题显示是这样的,缺右边>

4

1 回答 1

0

ios 没有前进按钮类型。所以我不得不修改css来提供那个前进按钮类型。

.x-button.x-button-forward {
  border : 0px;


  &:after {
    content: '!';
    font-family: 'iOS7';
    color: $ios7-blue;
    font-size: 1.3em;
    text-align: center;
    background-color: transparent;
    line-height: 1.3em;
    padding-left: 0px;
  }


  .x-button-label {
    font-size: 1.1em;
    line-height: 1.3em;
    font-weight: 300;
    padding-left: 2px;
  }
}

请查看此链接http://www.sencha.com/forum/showthread.php?279139-Forward-button-UI-in-Cupertino-theme&p=1020204&viewfull=1#post1020204

于 2014-04-04T17:57:14.830 回答