Polymer 聚合物纸卡剖面图
是否可以按照上的材料设计卡规范在纸卡元素中包含圆形缩略图 webcomponents.org文档只展示了通过Polymer 聚合物纸卡剖面图,polymer,material-design,Polymer,Material Design,是否可以按照上的材料设计卡规范在纸卡元素中包含圆形缩略图 webcomponents.org文档只展示了通过实现的全屏图像,但是我想实现如下功能 纸卡聚合物2元件是否可以实现这一点?您可以通过使用纸卡内的纸卡图标项来实现这一点 <paper-card heading="Emmental"> <div class="card-content"> <!-- Paper icon item starts here --> <paper-i
实现的全屏图像,但是我想实现如下功能
纸卡聚合物2元件是否可以实现这一点?您可以通过使用
纸卡内的纸卡图标项来实现这一点
<paper-card heading="Emmental">
<div class="card-content">
<!-- Paper icon item starts here -->
<paper-icon-item>
<div class="avatar blue" slot="item-icon"></div>
<paper-item-body two-line>
<div>Alphonso Engelking</div>
<div secondary>Change photo</div>
</paper-item-body>
</paper-icon-item>
<!-- Paper icon item ends -->
</div>
<div class="card-actions">
<paper-button>Share</paper-button>
<paper-button>Explore!</paper-button>
</div>
</paper-card>
阿方索·恩格尔金
换照片
分享
探索!
希望这对您有所帮助:)您可以通过使用纸卡内的纸图标项来实现这一点
<paper-card heading="Emmental">
<div class="card-content">
<!-- Paper icon item starts here -->
<paper-icon-item>
<div class="avatar blue" slot="item-icon"></div>
<paper-item-body two-line>
<div>Alphonso Engelking</div>
<div secondary>Change photo</div>
</paper-item-body>
</paper-icon-item>
<!-- Paper icon item ends -->
</div>
<div class="card-actions">
<paper-button>Share</paper-button>
<paper-button>Explore!</paper-button>
</div>
</paper-card>
阿方索·恩格尔金
换照片
分享
探索!
希望这有帮助:)