Change gavatar to gravatar.

pull/25/head
ruibaby 2019-06-16 22:02:47 +08:00
parent 14ea9a2464
commit 2e81708205
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@
<a-avatar <a-avatar
style="background-color: white" style="background-color: white"
slot="avatar" slot="avatar"
:src="'//cn.gravatar.com/avatar/' + item.gavatarMd5 + '&d=mm'" :src="'//cn.gravatar.com/avatar/' + item.gravatarMd5 + '&d=mm'"
size="large" size="large"
/> />
<template slot="title"> <template slot="title">
@ -54,7 +54,7 @@
<a-avatar <a-avatar
style="background-color: white" style="background-color: white"
slot="avatar" slot="avatar"
:src="'//cn.gravatar.com/avatar/' + item.gavatarMd5 + '&d=mm'" :src="'//cn.gravatar.com/avatar/' + item.gravatarMd5 + '&d=mm'"
size="large" size="large"
/> />
<template slot="title"> <template slot="title">

View File

@ -9,7 +9,7 @@
slot-scope="item, index" slot-scope="item, index"
:key="index" :key="index"
> >
<a-comment :avatar="'//cn.gravatar.com/avatar/'+item.gavatarMd5+'/?s=256&d=mp'"> <a-comment :avatar="'//cn.gravatar.com/avatar/'+item.gravatarMd5+'/?s=256&d=mp'">
<template <template
slot="author" slot="author"
v-if="type==='posts'" v-if="type==='posts'"

View File

@ -48,7 +48,7 @@ export default {
}, },
computed: { computed: {
avatar() { avatar() {
return `//cn.gravatar.com/avatar/${this.comment.gavatarMd5}/?s=256&d=mp` return `//cn.gravatar.com/avatar/${this.comment.gravatarMd5}/?s=256&d=mp`
} }
}, },
methods: { methods: {

View File

@ -177,7 +177,7 @@
label="评论者头像:" label="评论者头像:"
:wrapper-col="wrapperCol" :wrapper-col="wrapperCol"
> >
<a-select v-model="options.comment_gavatar_default"> <a-select v-model="options.comment_gravatar_default">
<a-select-option value="mm">默认</a-select-option> <a-select-option value="mm">默认</a-select-option>
<a-select-option value="identicon">抽象几何图形</a-select-option> <a-select-option value="identicon">抽象几何图形</a-select-option>
<a-select-option value="monsterid">小怪物</a-select-option> <a-select-option value="monsterid">小怪物</a-select-option>