<template>
  <!-- <ordersubPrice desc="商品总价" pri="158.00"></ordersubPrice> -->
  <view class="ordersubPricearr">
    <ordersubPrice desc="商品总价" :pri="zongjia"></ordersubPrice>
    <ordersubPrice desc="运费" :pri="yf"></ordersubPrice>
    <ordersubPrice desc="优惠券" :pri="yhq" class="lastpri" ifyh=true></ordersubPrice>
  </view>
</template>

<script>
import ordersubPrice from "./ordersub-price";
export default {
  name: "ordersubPricearr",
  components: {
    ordersubPrice
  },
  props:{
    zongjia:{
      type:Number
    },
    yf:{
      type:Number
    },
    yhq:{
      type:Number
    }
  }
};
</script>

<style lang="scss">
.ordersubPricearr {
//   height: 289upx;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  .lastpri{
      margin-bottom: 40upx;
  }
  
}
</style>