Authored by TaoHuang

Merge remote-tracking branch 'origin/develop' into develop

... ... @@ -10,6 +10,17 @@
<ImgSize class="item-imge" :src="product.secondhand_image" :width="343" :height="343"/>
</div>
<div v-if="product.fromSize">
<div class="item-bottom-wrapper">
<div class="price-flag">
<span class='price-flag'>{{product.skup_price && '¥'}}{{product.skup_price || ' '}}</span>
<span class='hand-type' v-if="product.secondhandTypeName">{{product.secondhandTypeName}}</span>
</div>
<div class="size-flag">{{product.size_name}}码</div>
</div>
</div>
<div v-else>
<div class="item-name">
<p>
<span v-if="product.secondhandTypeName">{{product.secondhandTypeName}}</span>
... ... @@ -26,6 +37,7 @@
</div>
</div>
</div>
</div>
</template>
<script>
... ... @@ -191,6 +203,31 @@ export default {
}
}
.item-bottom-wrapper {
padding: 20px 14px 30px 20px;
display: flex;
justify-content: space-between;
align-items: center;
.hand-type {
margin-left: 5px;
color: #fff;
background: #000;
padding: 4px 8px;
text-align: center;
font-size: 24px;
line-height: 30px;
display: inline-block;
}
}
.sale_flag {
background: #000;
height: 40px;
padding: 0 8px;
border-radius: 4px;
}
.item-bottom {
padding: 0 14px 30px 20px;
display: flex;
... ... @@ -208,6 +245,15 @@ export default {
@include num
}
.price-flag {
color: #000;
font-size: 32px;
vertical-align: center;
display: flex;
flex-direction: row;
align-items: center;
}
.save-flag {
margin-left: 5px;
color: #d0021d;
... ...