|
@@ -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 || ''
|
|
|
}
|
|
|
]
|