<template>
  <view class="notice-info mb12">
    <view class="notice-title"> 购买须知 </view>
    <GoodDetail :goodsData="orderData" :showTitle="false" />
  </view>
</template>

<script setup>
import { defineProps } from "vue";
import GoodDetail from "@/components/GoodDetail/index.vue";

const props = defineProps({
  orderData: {
    type: Object,
    required: true,
    default: () => ({
      commodityTip: "",
      paySerialNumber: "",
      payWay: "", // 支付方式 0-微信 1-支付宝 2-云闪付
      payAmt: "",
      orderStatus: "0", // 订单状态 0-待支付 1-待确认 2-待使用 3-已取消 4-退款中 5-已关闭 6-已完成
      orderType: "0", // 0-酒店订单, 1-门票订单, 2-餐饮
    }),
  },
});
</script>

<style scoped lang="scss">
@import "./styles/index.scss";
</style>
