<template>
  <div class="SingleDay">
    <el-breadcrumb>
      <el-breadcrumb-item>新媒体</el-breadcrumb-item>
      <el-breadcrumb-item>app数据报送</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- <el-card>
      <el-form
        ref="form"
        :model="form"
        size="small"
        :inline="true"
        label-width="120px"
      >
        <el-form-item label="时间">
          <el-time-picker
            v-model="rangeTime"
            is-range
            format="HH:mm"
            @change="() => (form.filter.time = [])"
            range-separator="-"
            start-placeholder="开始时间"
            end-placeholder="结束时间"
          >
          </el-time-picker>
        </el-form-item>
        <el-form-item style="float: right">
          <el-button type="primary" :loading="loading" @click="onSubmit">
            查询
          </el-button>
        </el-form-item>
      </el-form>
    </el-card> -->
    <br />
    <el-card class="box-card">
      <el-form :model="form" label-width="auto">
        <el-form-item label="客户端日活数">
          <el-input v-model="form.appDay" />
        </el-form-item>
        <el-form-item label="端外H5日活数">
          <el-input v-model="form.h5Day" />
        </el-form-item>
        <el-form-item label="客户端日人均使用时长(毫秒)">
          <el-input v-model="form.timeLong" />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="onSubmitOptimize">确认优化数据</el-button>
          <el-popconfirm title="Are you sure to delete this?" @confirm="onSubmit">
            <template #reference>
                <el-button>报送数据</el-button>
            </template>
          </el-popconfirm>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
import {} from '@/api/kuyun';
//   import config from "@/config/index";
export default {
  name: 'Channel',
  data() {
    return {
      form: {
        appDay: 0,
        h5Day: 0,
        timeLong: 0
      }
    };
  },
  mounted() {},
  computed: {},
  methods: {
    onSubmitOptimize(){},
    onSubmit(){},
  },
  components: {}
};
</script>

<style>
.SingleDay {
  margin: 10px 15px;
}
.SingleDay .nowrap .cell {
  white-space: nowrap;
}
</style>
