<template>
  <view class="bg-gray-50">
    <view class="relative">
      <!-- 日历 -->
      <Calendar @selected-change="dateChange" :show-back="true" :dot-list="dayss" />
      <!-- 上传 导入wbs -->
      <Upload />
    </view>

    <!-- 项目列表 -->
    <Projects class="u-m-t-30" />
  </view>
</template>

<script>
export default {
  data() {
    return {
      dayss: [
        { date: '2020-08-14' },
        { date: '2020-08-27' },
        { date: '2020-08-09' },
        // {date: '2020-08-16'}
      ],
    };
  },

  methods: {
    changeList() {
      this.dayss = [{ date: '2021-08-03' }, { date: '2021-08-04' }, { date: '2021-08-06' }];
    },

    dateChange(e) {
      console.log(e);
    },
  },
};
</script>
