<template>
    <div class="container">
      <div class="dateType_bar flex-box">
        <i class="float-l iconfont icon-shanchu" @click="back"></i>
        <p class="flex text-c">选择出发日期</p>
      </div>
      <dateBar tripType="ow" @chooseDepDate="chooseDepDate($event)"></dateBar>
    </div>
</template>
<script>
  import dateBar from '../../components/weChat/date'
  export default {
    name: '',
    data () {
        return {}
    },
    methods: {
      back(){
        this.$emit("closeDateFun");
      },
      chooseDepDate(param){
          this.$emit("chooseDepDate",param);
      },
    },
    components:{
      dateBar
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="stylus" scoped>
.dateType_bar{
  width 100%
  height 30px
  line-height 30px
  padding-left 20px
}
</style>
