Browse Source

技术等级认证的tkd

ccf 3 years ago
parent
commit
770e4ae2bd
1 changed files with 21 additions and 0 deletions
  1. 21 0
      pages/frontend/skill_cert/profile.vue

+ 21 - 0
pages/frontend/skill_cert/profile.vue

@@ -23,6 +23,27 @@
         form: {},
       };
     },
+    head() {
+      const {
+        title = "开发者技术等级认证-程序员客栈",
+        keyword = "程序员技术等级认证,技术水平认证,技术级别认证",
+        description = "客栈派单,最优先考虑认证过的用户;认证永久生效。除冷门技术栈外,一般1个月会分派2-3单。",
+      } = this.head || {};
+      let obj = {
+        title: title,
+        meta: [
+          {
+            name: "keywords",
+            content: keyword
+          },
+          {
+            name: "description",
+            content: description
+          }
+        ]
+      };
+      return obj;
+    },
     methods: {
       async getDetail() {
         let res = await this.$axios.$post(`/uapi/cert/info`);