<template>
  <div class="autoBox container-box">
    <div class="content-box">
    <ul>
        <li v-for="(age, a) in agendaData" :key="a">
          <img :src="'./api/file/pub/'+age" alt />
        </li>
    </ul>
    </div>
</div>
</template>

<script>
import HeaderItem from '@/components/headerItem'
import footers from '@/components/footers'
export default {
    components:{HeaderItem, footers},
  data() {
    return {
      agendaData: [],
      lang: "",
    };
  },
  created() {
    this.lang = this.$i18n.locale;
  },
  watch: {
    "$i18n.locale"(val) {
      this.lang = val;
    },
  },
  mounted() {
    
    console.log('this.$route.params',this.$route.query.pdf)
        this.agendaData = JSON.parse(this.$route.query.pdf);
    },
};
</script>

<style scoped>
* {
  box-sizing: border-box;
}
.container-box {
  margin: 10px auto;
  background: #fff;
  padding: 0 20px;
  min-height: calc(100vh - 420px);
}
.bread-crumb {
  background: #fff;
  padding: 20px 0;
}
.content-box {
  position: relative;
  padding: 40px 0;
}
ul{
  text-align: center;
}
ul li{
  margin: 10px 0;
}
ul img{
  width: 70%;
}
</style>