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

View File

@ -25,7 +25,7 @@
<a-avatar <a-avatar
class="avatar" class="avatar"
size="small" 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> </span>
<a-menu <a-menu

View File

@ -9,7 +9,7 @@
slot-scope="item, index" slot-scope="item, index"
:key="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 <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 `//gravatar.loli.net/avatar/${this.comment.gavatarMd5}/?s=256&d=mp` return `//cn.gravatar.com/avatar/${this.comment.gavatarMd5}/?s=256&d=mp`
} }
}, },
methods: { methods: {

View File

@ -88,25 +88,25 @@ export default {
developers: [ developers: [
{ {
name: 'Ryan Wang', 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', website: 'https://ryanc.cc',
github: 'https://github.com/ruibaby' github: 'https://github.com/ruibaby'
}, },
{ {
name: 'John Niang', 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', website: 'https://johnniang.me',
github: 'https://github.com/johnniang' github: 'https://github.com/johnniang'
}, },
{ {
name: 'Aquan', 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', website: 'https://blog.eunji.cn',
github: 'https://github.com/aquanlerou' github: 'https://github.com/aquanlerou'
}, },
{ {
name: 'appdev', 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', website: 'https://www.apkdv.com',
github: 'https://github.com/appdev' github: 'https://github.com/appdev'
} }

View File

@ -18,7 +18,7 @@
</template> </template>
<div class="avatar"> <div class="avatar">
<img <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" @click="()=>this.attachmentDrawerVisible = true"
> >
</div> </div>