refactor(buys): entry buys now show item.subName
This commit is contained in:
parent
23ba5657c5
commit
95ff46db09
|
@ -56,6 +56,7 @@ module.exports = Self => {
|
||||||
'id',
|
'id',
|
||||||
'typeFk',
|
'typeFk',
|
||||||
'name',
|
'name',
|
||||||
|
'subName',
|
||||||
'size',
|
'size',
|
||||||
'minPrice',
|
'minPrice',
|
||||||
'tag5',
|
'tag5',
|
||||||
|
|
|
@ -172,7 +172,12 @@
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td vn-fetched-tags colspan="8">
|
<td vn-fetched-tags colspan="8">
|
||||||
<vn-one title="{{::buy.item.name}}">{{::buy.item.name}}</vn-one>
|
<div>
|
||||||
|
<vn-one title="{{::buy.item.concept}}">{{::buy.item.name}}</vn-one>
|
||||||
|
<vn-one ng-if="::buy.item.subName">
|
||||||
|
<h3 title="{{::buy.item.subName}}">{{::buy.item.subName}}</h3>
|
||||||
|
</vn-one>
|
||||||
|
</div>
|
||||||
<vn-fetched-tags
|
<vn-fetched-tags
|
||||||
max-length="6"
|
max-length="6"
|
||||||
item="::buy.item"
|
item="::buy.item"
|
||||||
|
|
|
@ -38,6 +38,25 @@ vn-entry-buy-index vn-card {
|
||||||
tr {
|
tr {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td[vn-fetched-tags] {
|
||||||
|
& div {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
& vn-one {
|
||||||
|
min-width: 200px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
& vn-one h3 {
|
||||||
|
color: $color-font-secondary;
|
||||||
|
text-transform: uppercase;
|
||||||
|
line-height: initial;
|
||||||
|
font-size: 0.75rem
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$color-font-link-medium: lighten($color-font-link, 20%)
|
$color-font-link-medium: lighten($color-font-link, 20%)
|
Loading…
Reference in New Issue