Update gavatar base url.

pull/25/head
ruibaby 2019-06-03 14:01:07 +08:00
parent 6e47033910
commit 2ee25b606b
6 changed files with 10 additions and 10 deletions

View File

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

View File

@ -25,7 +25,7 @@
<a-avatar
class="avatar"
size="small"
:src="user.avatar || 'https://gravatar.loli.net/avatar/?s=256&d=mm'"
:src="user.avatar || '//cn.gravatar.com/avatar/?s=256&d=mm'"
/>
</span>
<a-menu

View File

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

View File

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

View File

@ -88,25 +88,25 @@ export default {
developers: [
{
name: 'Ryan Wang',
avatar: 'https://gravatar.loli.net/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm',
avatar: '//cn.gravatar.com/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm',
website: 'https://ryanc.cc',
github: 'https://github.com/ruibaby'
},
{
name: 'John Niang',
avatar: 'https://gravatar.loli.net/avatar/1dcf60ef27363dae539385d5bae9b2bd?s=256&d=mm',
avatar: '//cn.gravatar.com/avatar/1dcf60ef27363dae539385d5bae9b2bd?s=256&d=mm',
website: 'https://johnniang.me',
github: 'https://github.com/johnniang'
},
{
name: 'Aquan',
avatar: 'https://gravatar.loli.net/avatar/3958035fa354403fa9ca3fca36b08068?s=256&d=mm',
avatar: '//cn.gravatar.com/avatar/3958035fa354403fa9ca3fca36b08068?s=256&d=mm',
website: 'https://blog.eunji.cn',
github: 'https://github.com/aquanlerou'
},
{
name: 'appdev',
avatar: 'https://gravatar.loli.net/avatar/08cf681fb7c6ad1b4fe70a8269c2103c?s=256&d=mm',
avatar: '//cn.gravatar.com/avatar/08cf681fb7c6ad1b4fe70a8269c2103c?s=256&d=mm',
website: 'https://www.apkdv.com',
github: 'https://github.com/appdev'
}

View File

@ -18,7 +18,7 @@
</template>
<div class="avatar">
<img
:src="user.avatar || 'https://gravatar.loli.net/avatar/?s=256&d=mm'"
:src="user.avatar || '//cn.gravatar.com/avatar/?s=256&d=mm'"
@click="()=>this.attachmentDrawerVisible = true"
>
</div>