diff --git a/components/LeftContent.vue b/components/LeftContent.vue index 6547d78..773fba3 100644 --- a/components/LeftContent.vue +++ b/components/LeftContent.vue @@ -76,6 +76,11 @@ .detail nuxt-link(:to="'/post/' + hotArticle.ID", :title='hotArticle.post_title') {{ hotArticle.post_title }} .meta {{ hotArticle.post_modified }} + .widget.links(v-if="$route.path === '/'") + .widgetTitle + label 友情链接 + .links + a(href="https://johnsonlee.site/" target="_blank") Johnson Blog #tags.widget.tags .widgetTitle label 标签 diff --git a/layouts/common.styl b/layouts/common.styl index c075c38..4c4896a 100644 --- a/layouts/common.styl +++ b/layouts/common.styl @@ -204,6 +204,9 @@ input:-moz-placeholder .widget margin-bottom 10px + .links + margin-bottom 20px + .widgetTitle font-size 18px line-height 100% diff --git a/nuxt.config.js b/nuxt.config.js index b55316e..d08c430 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,6 +1,7 @@ const pkg = require('./package') -const DevBaseUrl = 'http://127.0.0.1:65534' +// const DevBaseUrl = 'http://127.0.0.1:65534' +const DevBaseUrl = 'https://api.wyr.me' const ProdBashUrl = 'https://api.wyr.me' module.exports = { diff --git a/plugins/vue.js b/plugins/vue.js index 1d05479..dcfea48 100644 --- a/plugins/vue.js +++ b/plugins/vue.js @@ -21,7 +21,7 @@ export default function (ctx, inject) { if (hotTmp >= 1) { return 'full' } else if (hotTmp >= 0.75 && hotTmp < 1) { - return 'threeQuarters' + return 'three-quarters' } else if (hotTmp >= 0.5 && hotTmp < 0.75) { return 'half' } else if (hotTmp >= 0.25 && hotTmp < 0.5) {