{{ article.summary }}
+diff --git a/pages/news/[slug].vue b/pages/news/[slug].vue
new file mode 100644
index 0000000..9d91ce4
--- /dev/null
+++ b/pages/news/[slug].vue
@@ -0,0 +1,512 @@
+
+ {{ article.summary }}
+
动态不存在
+
{{ article.summary }}
+ 查看全文 → - + @@ -103,7 +105,7 @@ useBreadcrumbSchema([ dateModified: (article.date || article.createdAt) + 'T00:00:00+08:00', articleSection: article.category, inLanguage: 'zh-CN', - url: 'https://1814.love/news', + url: `https://1814.love/news/${article.id}`, author: { '@type': 'Organization', name: '呼籁旅行', url: 'https://1814.love' }, publisher: { '@id': 'https://1814.love/#organization' }, about: { '@type': 'TravelAgency', name: '呼籁旅行', url: 'https://1814.love' }, @@ -168,14 +170,28 @@ function formatDate(dateStr) { } .news-card { + display: block; background: @color-bg-white; border: 1px solid @color-border; border-radius: @border-radius-md; padding: @space-xl; - transition: box-shadow @transition-base; + text-decoration: none; + color: inherit; + transition: box-shadow @transition-base, border-color @transition-base, transform @transition-base; + cursor: pointer; &:hover { box-shadow: @shadow-md; + border-color: @color-primary-lighter; + transform: translateY(-2px); + + .news-title { + color: @color-primary; + } + + .news-readmore { + color: @color-primary-dark; + } } } @@ -253,13 +269,22 @@ function formatDate(dateStr) { color: @color-text-primary; margin: 0 0 @space-sm; line-height: @line-height-tight; + transition: color @transition-base; } .news-summary { font-size: @font-size-base; color: @color-text-secondary; line-height: @line-height-base; - margin: 0; + margin: 0 0 @space-sm; +} + +.news-readmore { + display: inline-block; + font-size: @font-size-sm; + color: @color-primary; + font-weight: @font-weight-medium; + transition: color @transition-base; } .news-cta {