|
|
@@ -0,0 +1,50 @@
|
|
|
+<template>
|
|
|
+ <interview></interview>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+// import { mapState } from "vuex";
|
|
|
+import interview from "@/components/interview/interview";
|
|
|
+import qs from "qs";
|
|
|
+
|
|
|
+export default {
|
|
|
+ layout: "opacity_header",
|
|
|
+ head: {
|
|
|
+ title: "技术面试 - 程序员客栈"
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ interview
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ // ...mapState(["isPC"])
|
|
|
+ },
|
|
|
+ async mounted() {
|
|
|
+ // await this.getList();
|
|
|
+ // this.getVipDetail();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ async getList() {
|
|
|
+ let extraHeaders = {};
|
|
|
+ if (this.deviceType === "ios") {
|
|
|
+ extraHeaders = this.getSign();
|
|
|
+ }
|
|
|
+ let res = await this.$axios.$post(`/api/vip/getList`, extraHeaders);
|
|
|
+ if (res) {
|
|
|
+ this.vipList = res.data;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async getVipDetail() {
|
|
|
+ let res = await this.$axios.$post("/api/vip/getVipUserDetail");
|
|
|
+ // if (!res || !res.data) return
|
|
|
+ this.vipDetail = res && res.data ? res.data : {};
|
|
|
+ if (this.isCom) this.currentCom = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+</style>
|