<template>
  <div class="app-container">
    <!-- <el-radio-group v-model="materialType" style="margin-bottom: 20px;" v-show="isShowMaterialType">
      <el-radio-button label="ordinary">普通素材</el-radio-button>
      <el-radio-button label="dynamic">动态素材</el-radio-button>
    </el-radio-group> -->

    <OrdinaryMaterial v-if="materialType === 'ordinary'" />
    <DynamicMaterial v-if="materialType === 'dynamic'" />

  </div>
</template>

<script>
import OrdinaryMaterial from "@/views/marketing/components/material-pt";
import DynamicMaterial from "@/views/marketing/components/material-dt";

export default {
  components: {
    OrdinaryMaterial,
    DynamicMaterial,
  },
  data() {
    return {
      materialType: 'ordinary',
      isShowMaterialType: true,
    }
  },
  methods: {
    handleDisplay(val) {
      console.log(val);
      this.isShowMaterialType = val;
    }
  }
}
</script>

<style>

</style>