<template>
  <div class="code-main">
    <v-apaas-code></v-apaas-code>
  </div>
</template>

<script>
import codes from "@/components/codes";
export default {
  data() {
    return {};
  },
  components: {
    "v-apaas-code": codes
  },
  mounted: function() {
    // this.init();
  },
  computed: {},
  watch: {
    search: {
      handler() {
        this.getDataFromApiSync();
      },
      deep: true
    },
    namespace: {
      handler() {
        this.getDataFromApiSync();
      },
      deep: true
    }
  },
  methods: {}
};
</script>

<style scoped>
.detail_container {
  margin: 8px 0 30px 0;
}
.tab-tit {
  height: 48px;
  background-color: #e1e3ee;
  border-radius: 8px;
  list-style: none;
  padding: 6px 0 6px 6px;

  display: inline-block;
}
.tab-li {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  color: #58617a;
  margin-right: 10px;
  cursor: pointer;
}
.tabactive {
  padding: 0 10px;
  height: 36px;
  background-color: #264dd9;
  box-shadow: 0px 2px 4px 0px #5d7be5;
  border-radius: 6px;
  color: #f4f7fc;
}
.tab-content {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
.tab-bgcolor {
  background: #fff;
  border-radius: 8px;
}
.gray-btn {
  width: 150px;
  height: 40px;
  background-color: #e3e5ef;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 46px auto 40px;
}
.gray-btn span {
  margin-left: 20px;
}
.cpu-info {
  font-size: 18px;
  color: #242c43;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 170px;
}
.cpu-info span {
  font-size: 16px;
  color: #8890a7;
}
.code-main {
    margin-top: 100px;
}
</style>