|
|
@ -79,8 +79,10 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="btn-box"> |
|
|
<div class="btn-box"> |
|
|
<!--originalPrice原价price优惠价 --> |
|
|
<!--originalPrice原价price优惠价 --> |
|
|
<span class="price">¥ <em>{{item1.price ? item1.price/100:item1.originalPrice/100}}</em></span> |
|
|
|
|
|
<span class="original-price" v-if="item1.price&&item1.price!=item1.originalPrice"><em>¥{{ item1.originalPrice/100}}</em></span> |
|
|
|
|
|
|
|
|
<div class="btn-box-left"> |
|
|
|
|
|
<span class="price">¥ <em>{{item1.price ? item1.price/100:item1.originalPrice/100}}</em></span> |
|
|
|
|
|
<span class="original-price" v-if="item1.price&&item1.price!=item1.originalPrice"><em>¥{{ item1.originalPrice/100}}</em></span> |
|
|
|
|
|
</div> |
|
|
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo">立即购买</a> |
|
|
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo">立即购买</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -334,6 +336,19 @@ export default { |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
|
|
|
.btn-box { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
.btn-box-left { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: flex-end; |
|
|
|
|
|
// justify-content: space-around; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
.home { |
|
|
.home { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
@ -443,11 +458,12 @@ export default { |
|
|
.home .page-content .new-card .card-list li a { |
|
|
.home .page-content .new-card .card-list li a { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
// justify-content: space-between; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .left { |
|
|
.home .page-content .new-card .card-list li .left { |
|
|
width: 2rem; |
|
|
width: 2rem; |
|
|
height: 2rem; |
|
|
height: 2rem; |
|
|
|
|
|
margin-right: 0.18rem; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .left img { |
|
|
.home .page-content .new-card .card-list li .left img { |
|
|
width: 2rem; |
|
|
width: 2rem; |
|
|
@ -455,7 +471,10 @@ export default { |
|
|
display: block; |
|
|
display: block; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .right { |
|
|
.home .page-content .new-card .card-list li .right { |
|
|
width: 4.3rem; |
|
|
|
|
|
|
|
|
// width: 4.3rem; |
|
|
|
|
|
flex-grow: 1; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
height: 2rem; |
|
|
height: 2rem; |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
@ -489,19 +508,27 @@ export default { |
|
|
justify-content: space-around; |
|
|
justify-content: space-around; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .right .btn-box { |
|
|
.home .page-content .new-card .card-list li .right .btn-box { |
|
|
width: 4.3rem; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
|
|
|
// width: 4.3rem; |
|
|
|
|
|
// display: flex; |
|
|
|
|
|
// flex-grow: 0; |
|
|
|
|
|
// align-items: center; |
|
|
|
|
|
// position: absolute; |
|
|
|
|
|
// width: 100%; |
|
|
|
|
|
// bottom: 0; |
|
|
|
|
|
// justify-content: space-around; |
|
|
|
|
|
// align-items: flex-end; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .right .btn-box .price { |
|
|
.home .page-content .new-card .card-list li .right .btn-box .price { |
|
|
color: #249e6c; |
|
|
color: #249e6c; |
|
|
min-width: 1.3rem; |
|
|
|
|
|
|
|
|
min-width: 1.4rem; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: flex-end; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .right .btn-box span em { |
|
|
.home .page-content .new-card .card-list li .right .btn-box span em { |
|
|
font-size: 0.38rem; |
|
|
font-size: 0.38rem; |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
|
|
|
line-height: 0.9; |
|
|
|
|
|
display: inline-block; |
|
|
font-style: normal; |
|
|
font-style: normal; |
|
|
} |
|
|
} |
|
|
.home .page-content .new-card .card-list li .right .btn-box .original-price em { |
|
|
.home .page-content .new-card .card-list li .right .btn-box .original-price em { |
|
|
|