<template>
  <view>
    <view class="orderdetailBtn">
      <view class="left">{{left}}</view>
      <view class="right">
        <text>{{right}}</text>
        <img src="../../static/img/arrow.png" alt class="arrow" />
      </view>
    </view>
  </view>
</template>

<script>
export default {
  name: "ordersubBtn",
  props:{
      left:{
          type:String,
      },
      right:{
        type:String,
      }
  }
}; 
// 提交订单页面  选择付款方式和优惠券 的按钮
// left 选择的标题  如选择付款方式    right  选择的具体选项

</script>

<style lang="scss">
.orderdetailBtn {
  height: 86upx;
  background-color: white;
  display: flex;
  justify-content: space-between; 
  color:#333333;
  font-size: 27upx;
  line-height: 86upx;
  .left{
    margin-left: 29upx;
  }
  .right {
    display: flex;
    margin-right: 25upx;

    .arrow {
      width: 17upx;
      height: 31upx;
      margin: auto 0;
      margin-left: 22upx;
    }
  }
}
</style>