name card 增加内容,方便些东西

This commit is contained in:
pangxie1991 2016-12-23 14:56:54 +08:00
parent 96be32205f
commit 1d06a3da7b
2 changed files with 33 additions and 1 deletions

View File

@ -35,3 +35,19 @@
width: auto;
position: relative;
}
.zui-namecard__detail-row {
overflow: hidden;
line-height: 20px;
min-height: 20px;
margin-bottom: 3px;
}
.zui-namecard__right-col {
float: right;
}
.zui-namecard__left-col {
margin-right: 80px;
}

View File

@ -9,7 +9,23 @@
></image>
</view>
<view class="zui-namecard__detail">
描述内容~
<view class="zui-namecard__detail-row">
<view class="zui-namecard__right-col">¥ 999.99</view>
<view class="goods-card__left-col zui-ellipsis--l2">
商品名称是什么
</view>
</view>
<view class="zui-namecard__detail-row zui-c-gray-darker">
<view class="zui-namecard__right-col">x2</view>
<view class="zui-namecard__left-col">
商品SKU1
</view>
</view>
<view class="zui-namecard__detail-row zui-c-gray-darker">
<view class="goods-card__left-col zui-c-red">已发货</view>
</view>
</view>
</view>
</view>