<template>
  <div class="flex-container">
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
      <!-- 搜索区域 -->
      <a-form layout="inline">
        <a-row :gutter="24">
          <span class="table-page-search-submitButtons" style="float: left; overflow: hidden;">
                        <a-col :md="6" :sm="24">
                            <a-button @click="add()" type="primary">新建海报</a-button>
                        </a-col>
                    </span>
        </a-row>
      </a-form>
    </div>
    <new-poster ref="model1"></new-poster>
  </div>
</template>

<script>
import newPoster from './newPoster'
export default {
  name: "PosterList",
  components: {newPoster},
  compontents:{
    newPoster
  },
  data(){
    return {}
  },
  methods:{
    add(){
      this.$refs.model1.showModal();
    }
  }
}
</script>

<style scoped>

</style>
