<template>
  <div class="module-box">
    <p class="title">基本信息</p>

    <!-- 基本信息 -->
    <slot name="basicInfo"></slot>
    <!-- // 基本信息 -->

    <p class="title">选择商品</p>

    <!-- 选择商品 -->
    <slot name="selectGoods"></slot>
    <!-- // 选择商品 -->

    <!-- 底部确认出库按钮 -->
    <div v-if="$slots.footerButton" class="confirm-outgoing">
      <slot name="footerButton"></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: "DetailsFrame",
    data() {
      return {};
    },
    created() {},
  };
</script>

<style scoped>
  .module-box {
    padding: 15px;
    background-color: #ffffff;
    padding-bottom: 65px;
  }
  .module-box .title {
    color: #333;
    font-size: 12px;
    line-height: 2;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
  }

  /* 底部确认出库按钮 */
  .confirm-outgoing {
    width: calc(100% - 210px);
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #f9faff;
    position: fixed;
    z-index: 1999;
    bottom: 0;
    right: 0;
  }
</style>
