فهرست منبع

feat:nuxt.config

lvkun996 3 سال پیش
والد
کامیت
e2b44cd587
1فایلهای تغییر یافته به همراه9 افزوده شده و 2 حذف شده
  1. 9 2
      nuxt.config.js

+ 9 - 2
nuxt.config.js

@@ -25,10 +25,17 @@ export default {
       { name: 'force-rendering', content: 'webkit'},
       { 'http-equiv': 'X-UA-Compatible', content: 'IE=Edge,chrome=1'},
       { name: 'baidu-site-verification', content: 'mREHhDF8nW'},
-
+      // <meta property="og:image" content="https://developer.mozilla.org/static/img/opengraph-logo.png"></meta>
+      // <meta itemprop="image" content="http://example.com/image.jpg" /> 
+      { property: 'image', content: "https://luojigou-app-commit-pic.luojigou.vip/FrKVMB5LmgU1Q_I_HGjoz7B8Kkdb?imageView2/0/q/50|imageslim" },
+      { itemprop: 'image', content: "https://luojigou-app-commit-pic.luojigou.vip/FrKVMB5LmgU1Q_I_HGjoz7B8Kkdb?imageView2/0/q/50|imageslim" },
+      { property: 'og:image', content: "https://luojigou-app-commit-pic.luojigou.vip/FrKVMB5LmgU1Q_I_HGjoz7B8Kkdb?imageView2/0/q/50|imageslim" },
+      { property: 'og:url', content: "https://www.zaojiao.net" },
+      { property: 'url', content: "https://www.zaojiao.net" },
       /*以上是设置双核浏览器默认状态下使用极速模式打开*/
-      { charset: 'utf-8' },
+      { charset: 'utf-8' }, 
       { hid: 'description', name: 'description', content: '中德智慧教育'},
+      { hid: 'description', name: 'og:description', content: '中德智慧教育'},
       { name: 'format-detection', content: 'telephone=no' },
       { name: 'viewport', content: 'width=device-width, initial-scale=1.0, user-scalable=no' },
       /*新增搜狗、神马、360 */