<template>
  <div id="index">
    <el-row>
      <el-col :span="24" class="style">
        <el-col :span="24" class="top">
          <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
        </el-col>
        <el-col :span="24" class="main">
          <el-col :span="24" class="main">
            <el-col :span="24" class="one">
              <list></list>
            </el-col>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
import NavBar from '@/layout/common/topInfo.vue';
import list from './parts/list.vue';
export default {
  name: 'index',
  props: {},
  components: { NavBar, list },
  data: () => ({
    // 头部标题
    title: '',
    // meta为true
    isleftarrow: '',
    // 返回
    navShow: true,
    img_path: require('@/assets/logo.png'),
    active: 0,
    show: false,
    newform: {},
  }),
  created() {},
  computed: {},
  methods: {},
  mounted() {
    this.title = this.$route.meta.title;
    this.isleftarrow = this.$route.meta.isleftarrow;
  },
};
</script>

<style lang="less" scoped>
.style {
  width: 100%;
  min-height: 667px;
  position: relative;
  background-color: #f9fafc;
}
.top {
  height: 46px;
  overflow: hidden;
  position: relative;
  z-index: 999;
}
.main {
  min-height: 570px;
  .two {
    position: fixed;
    top: 80%;

    left: 10px;
    z-index: 999;
  }
}
/deep/.van-tab {
  text-align: center;
}
/deep/.van-tabs--line .van-tabs__wrap {
  height: 70px;
  margin: 0 0 10px 0;
}
/deep/.van-tab--active {
  color: red;
}
.van-icon {
  font-size: 20px;
}
/deep/.van-popup--bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
}
</style>
