<template>
  <div id="adminBtn">
    <van-row>
      <van-col span="24" class="main">
        <van-col span="24" class="one">
          <van-divider content-position="left" :style="{ color: '#1989fa', borderColor: '#1989fa' }">我的消息</van-divider>
          <van-col span="24" class="one_1">
            <van-cell title="审核通知" @click="pathBtn('agentmech/message', 'examine')" is-link />
          </van-col>
        </van-col>
        <van-col span="24" class="one">
          <van-divider content-position="left" :style="{ color: '#1989fa', borderColor: '#1989fa' }">我的审核</van-divider>
          <van-col span="24" class="one_1">
            <van-cell title="专利审核" @click="pathBtn('agentmech/examine', 'patent')" is-link />
          </van-col>
        </van-col>
        <van-col span="24" class="one">
          <van-divider content-position="left" :style="{ color: '#1989fa', borderColor: '#1989fa' }">我的申请</van-divider>
          <van-col span="24" class="one_1">
            <van-cell title="专利申请" @click="pathBtn('agentmech/apply', 'apply')" is-link />
          </van-col>
        </van-col>
      </van-col>
    </van-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'adminBtn',
  props: {},
  components: {},
  data: function () {
    return {};
  },
  created() {},
  methods: {
    pathBtn(type, path) {
      this.$router.push({ path: `/patent/${type}/${path}` });
    },
  },
  computed: {
    ...mapState(['user']),
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  watch: {
    test: {
      deep: true,
      immediate: true,
      handler(val) {},
    },
  },
};
</script>

<style lang="less" scoped>
.main {
  .one {
    .one_1 {
      .one_1action {
        /deep/.van-info {
          background-color: #409eff;
        }
        /deep/.van-goods-action-icon {
          padding: 8px 0;
        }
        i {
          font-size: 20px;
        }
      }
    }
    /deep/.van-divider {
      margin: 10px;
    }
  }
}
</style>
