是否有可能使用item-icon-right将多个图标放在项目类的右侧?

时间:2016-08-31 05:20:16

标签: css ionic-framework

<div class="list">
  <div class="item item-icon-left item-icon-right" href="">
     <i class="icon icon-small ion-link"></i>
      {{song.name}} 

     <i   class="icon icon-small ion-plus-round" modal-select="" hide-   reset="true"  ng-model="selPlaylist"  options="selectableNames" modal-title="Choose playlist">
        <div class="option">
          <h2>{{option.name}}</h2>
        </div>
        </i >
      <i style="display:block;" class="icon ion-play button button-light" >
      </i>
    </div>

当我把课程&#34; icon icon-small ion-plus-round&#34;它向左移动而不是列表的右侧部分,并且图标与左侧的图标重叠&#34;图标图标 - 小型离子链接&#34;。

1 个答案:

答案 0 :(得分:0)

<div class="list">
<div class="item item-button-right" href="">
 <i class="icon icon-small ion-link"></i> &nbsp;&nbsp; &nbsp;&nbsp;
  {{song.name}} 
<div class="buttons">
<i   class="icon icon-small ion-plus-round" modal-select="" hide-   reset="true"  ng-model="selPlaylist"  options="selectableNames" modal-title="Choose playlist">
<div class="option">
      <h2>{{option.name}}</h2>
    </div>
    </i >
  <i style="display:block;" class="icon ion-play button button-light" >
  </i>
</div>
</div>

这是代码