浏览代码

开发者会员和企业会员的TKD修改

ccf 3 年之前
父节点
当前提交
3223e21a9f
共有 2 个文件被更改,包括 42 次插入0 次删除
  1. 21 0
      pages/type/vip/developer.vue
  2. 21 0
      pages/type/vip/enterprise.vue

+ 21 - 0
pages/type/vip/developer.vue

@@ -120,6 +120,27 @@
                 item: {}
                 item: {}
             };
             };
         },
         },
+      head() {
+        const {
+          title = "开发者会员-程序员客栈",
+          keyword = "程序员客栈开发者会员,程序员等级认证,平台服务费减免",
+          description = "PC、Android、iOS共享权益,程序员免费聊一聊,平台服务费减免,对接权限提升,同时接2单等。",
+        } = this.head || {};
+        let obj = {
+          title: title,
+          meta: [
+            {
+              name: "keywords",
+              content: keyword
+            },
+            {
+              name: "description",
+              content: description
+            }
+          ]
+        };
+        return obj;
+      },
         async mounted() {
         async mounted() {
             await this.getList();
             await this.getList();
             await this.getVipDetail();
             await this.getVipDetail();

+ 21 - 0
pages/type/vip/enterprise.vue

@@ -157,6 +157,27 @@ export default {
       item: {},
       item: {},
     };
     };
   },
   },
+  head() {
+    const {
+      title = "企业会员-程序员客栈",
+      keyword = "程序员接企业会员,雇佣服务优惠,程序员兼职招聘",
+      description = "PC、Android、iOS共享权益,雇佣服务优惠,技术信用服务,平台服务费减免。",
+    } = this.head || {};
+    let obj = {
+      title: title,
+      meta: [
+        {
+          name: "keywords",
+          content: keyword
+        },
+        {
+          name: "description",
+          content: description
+        }
+      ]
+    };
+    return obj;
+  },
   components: {
   components: {
     buyDialog,
     buyDialog,
   },
   },