wenliming %!s(int64=2) %!d(string=hai) anos
pai
achega
1bb19f820e
Modificáronse 1 ficheiros con 12 adicións e 11 borrados
  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 || ''
 				}
 			]