<template>
  <section class="p_all_20">

    <div class="box">
     <div v-for="item in dateArray" :key="item.name">
        <div class="flex_x_between_center">
          <div class="flex_x_left_center">
            <img class="soft_img" :src="item.img" alt="">
            <div class="p_l_20">
              <div class="soft_name">{{item.name}}</div>
              <div class="soft_des">{{item.des}}</div>
            </div>
          </div>
          <a :href="item.url" :download="item.name"><el-button type="primary" class="">下载</el-button></a>
        </div>
        <!-- <el-divider></el-divider> -->
     </div>
    </div>
  </section>
</template>

<script>

export default {
  name: "holiday",
  data() {
    return {
      dateArray: [
        {
          name:'打印工具',
          des:'用于打印',
          url:'http://orderprint.edsmall.com/app/orderprint.zip',
          img:require('../../../assets/img/down.png')
        }
      ],
      checked:false
    };
  },
  components: {
    
  },
  mounted() {
    // this.init()
  },
  methods: {
   
  }
};
</script>

<style lang = "scss" scoped>
.box{
  border: 1px solid #ddd;
  padding: 20px;
  .soft_img{
    width: 60px;
    height: 60px;
  }
  .soft_name{
    padding-bottom: 10px;
  }
  .soft_des{
    font-size:12px;
    color: #999999;
  }
}
</style>
