wenliming 2 rokov pred
rodič
commit
1bb19f820e
1 zmenil súbory, kde vykonal 12 pridanie a 11 odobranie
  1. 12 11
      pages/index.vue

+ 12 - 11
pages/index.vue

@@ -282,33 +282,34 @@ export default {
 			title: this.title,
 			appVersionCode: 3,
 			meta: [
+				// facebook 
 				{
-					name: 'twitter:card',
-					content: 'summary_large_image'
-				},
-				{
-					name: 'twitter:url',
+					property: 'og:url',
 					content: this.jumpUrl + this.detail.postId
 				},
 				{
-					name: 'twitter:title',
+					property: 'og:title',
 					content: this.metaTitle
 				},
 				{
-					name: 'twitter:image',
+					property: 'og:image',
 					content: this.detail.postBizData.imagePath || ''
 				},
-				// facebook 
+				// twitter
 				{
-					property: 'og:url',
+					name: 'twitter:card',
+					content: 'summary_large_image'
+				},
+				{
+					name: 'twitter:url',
 					content: this.jumpUrl + this.detail.postId
 				},
 				{
-					property: 'og:title',
+					name: 'twitter:title',
 					content: this.metaTitle
 				},
 				{
-					property: 'og:image',
+					name: 'twitter:image',
 					content: this.detail.postBizData.imagePath || ''
 				}
 			]