<template>
  <section>
    <article class="group-title">
        <section class="group-title-order">
          <div @click="selectedType(1)" class="group-title-order-item">
            <span>全国</span><img src="../../images/lecturer/select-down.png"/>
          </div>
          <div @click="selectedType(2)" class="group-title-order-item">
            <span>全部等级</span><img src="../../images/lecturer/select-down.png"/>
          </div>
          <div @click="selectedType(3)" class="group-title-order-item">
            <span>全部科室</span><img src="../../images/lecturer/select-down.png"/>
          </div>
        </section>
    </article>
    <article class="lect-selection">
      <section class="lect-selection-title">
          <img src="../../images/lecturer/select-delete.png"/>
          <span>选择地区</span>
          <span class="no-content"></span>
      </section>
      <section class="lect-selection-content">
        <div class="lect-selection-content-mask"></div>
        <!-- 选择地区 -->
        <article class="lect-selection-content-region">
          
        </article>
        <!-- 选择医院等级 -->
        <article class="lect-selection-content-level">
          
        </article>
        <!-- 选择医院科室 -->
        <article class="lect-selection-content-region">
          
        </article>
      </section>
    </article>
  </section>

</template>
<script>
export default {
  data() {
      return {
        selectedTypeIndex: 1
      }
  },
  props: {
    
  },
  computed: {
    // ...mapGetters({
    //   // orderNum: 'orderNum'
    // })
  },
  watch: {
    // orderNum(val) {
    //   this.showOrderIndex = 1    
    // }
  },
  methods: {
    selectedType(index) {
      this.selectedTypeIndex = index
      this.$emit('selectedType', index)
    },
  }
}
</script>

<style lang="scss" scoped>
@import '../../style/mixin.scss';
.lect-selection {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  flex-direction: row;
  margin: px2rem(33px) px2rem(15px) px2rem(13px);
  &-title {
    display: flex;
    flex-direction: row;
    width: px2rem(325px);
    justify-content: space-between;
    font-size: px2rem(13px);
    img {
      position: relative;
      top: px2rem(1px);
      left: px2rem(1px);
      height: px2rem(25px);
      width: px2rem(25px);
    }
    span {
      font-size: px2rem(18px);
      color: #333;
    }
  }
}

.group-title {
  display: flex;
  flex-direction: row;
  margin: px2rem(4px) px2rem(25px) px2rem(6px);
  &-order {
    display: flex;
    flex-direction: row;
    width: px2rem(325px);
    justify-content: space-between;
    font-size: px2rem(13px);
    &-item {
      span {
        font-size: px2rem(15px);
        color: #333;
      }
      img {
        position: relative;
        top: px2rem(1px);
        left: px2rem(1px);
        height: px2rem(11px);
        width: px2rem(11px);
      }
    }
  }
}
.active {
  color: #449284;
}
</style>
