<template>
  <div class='mixPicker'>
    <ul class="unitList">
      <li v-for="item in unitList">
        <unit-item
            :unit="item"
            :selectType="selectType"
            :selectWay="selectWay"
        ></unit-item>
      </li>
    </ul>
  </div>
</template>

<script>
  //vuex
  import {mapState, mapGetters, mapMutations, mapActions} from 'vuex'
  //通信总线
  import Bus from 'common/js/bus.js'
  //公共混入
  import commonMixin from 'common/js/commonMixin'
  import unitItem from './unitItem'

  export default {
    name: "mixPicker",
    mixins: [commonMixin],
    data() {
      return {
        localUnitList: []
      }
    },
    props: ['unitList', 'selectType', 'selectWay'],
    computed: {},
    watch: {},
    methods: {},
    filters: {},
    components: {unitItem},
    activated() {
    },
    mounted() {
    }
  }
</script>

<style lang="stylus" scoped>
  @import "../css/config.styl"
  @import "./mixPicker.styl"
  .mixPicker
    setPositionFull()

</style>