<template>
  <div>
    <div v-if="shows">
      <van-nav-bar title="风险预控系统" left-arrow @click-left="onClickLeft" />
    </div>
    <div class="headers">
      <div class="headers_one" @click="ones">
        <img src="../../../assets/images/meihuajing/不安全行为.png" alt="" />
      </div>
      <div class="headers_two" @click="twos">
        <img src="../../../assets/images/meihuajing/隐患排查.png" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
import {} from "../../../assets/images/meihuajing/不安全行为.png";
export default {
  data() {
    return {
      shows: true, //tabber是否显示
    };
  },
  methods: {
    //返回按钮
    onClickLeft() {
      //   window.history.back();
      console.log("sss");
    },
    ones() {
      console.log("one");
    },
    twos() {
      //   console.log("two");
      this.$router.push("/meihuajing/yinhuanpaicha/yinhuaninfo");
    },
  },
  mounted() {},
};
</script>

<style scoped>
>>> .van-nav-bar {
  background: #39f;
}
>>> .van-nav-bar__title {
  color: #fff;
}
>>> .van-nav-bar .van-icon {
  color: #fff;
}
>>> .van-nav-bar__text {
  color: #fff;
}
[class*="van-hairline"]:after {
  border: none;
}
.headers {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}
.headers_one,
.headers_two {
  width: 45%;
}
.headers_one > img {
  width: 100%;
}
.headers_two > img {
  width: 100%;
}
</style>