<template>
  <div class="custom-form-container">
    <div class="custom-form-inner">
      <div class="custom-form-header">
        <div class="custom-form-title">咨询机构结算信息表单配置</div>
        <!-- 提示 -->
        <div class="custom-form-tip">
          <img src="@/assets/images/consultingAgencyManagement/custom-form-tip-icon.png" alt="">
          <span>自定义表格模板保存方案后将同步更新至项目详情 “咨询机构结算信息” 表格。</span>
        </div>
      </div>
      <!-- 表单设计组件部分 -->
      <div class="custom-form-design-container">
        <div class="custom-form-design-outer">
          <custom-form-design></custom-form-design>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import CustomFormDesign from "@/views/consultingOrgManagement/components/CustomForm/components/CustomFormDesign";
export default {
  name: "customForm",
  components: {
    CustomFormDesign
  },
  data() {
    return {

    };
  },
  //可访问data属性
  created() {

  },
  //计算集
  computed: {

  },
  //方法集
  methods: {

  },
}
</script>
<style lang="scss" scoped>
.custom-form-container {
  width: 100%;
  height: 100%;
  padding: 16px 24px 24px 24px;
  overflow: hidden;

  .custom-form-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px;

    .custom-form-header {
      width: 100%;
      height: 108px;
      padding: 16px;
      box-sizing: border-box;
      border-bottom: 1px solid #eeeeee;
      display: flex;
      flex-direction: column;

      .custom-form-title {
        color: #232323;
        font-size: 20px;
        font-weight: bold;
        line-height: 24px;
      }

      .custom-form-tip {
        background: #ffedc7;
        display: flex;
        align-items: center;
        height: 40px;
        padding: 0px 16px;
        border-radius: 2px;
        margin-top: 12px;
        border: 1px solid #ffedc7;
        box-sizing: border-box;

        & > img {
          width: 16px;
          height: 16px;
        }

        & > span {
          color: rgba(35, 35, 35, 0.8);
          font-size: 14px;
          font-weight: 400;
          line-height: 22px;
          margin-left: 8px;
        }
      }
    }

    .custom-form-design-container {
      height: calc(100% - 108px);
      width: 100%;
      box-sizing: border-box;

      .custom-form-design-outer {
        width: 100%;
        height: calc(100% - 32px);
        padding: 16px;
        box-sizing: border-box;
      }
    }
  }
}
</style>
