Verified Commit 8d32a518 authored by jxtxzzw's avatar jxtxzzw

荣誉榜

Signed-off-by: jxtxzzw's avatarjxtxzzw <jxtxzzw@126.com>
parent a8701641
Pipeline #174 passed with stages
in 7 minutes and 9 seconds
[
{
"id": "1",
"date": "2020-11-19",
"filename": "奖学金.JPG",
"info": "奖学金"
}
]
{
"updated": "2020-12-09",
"updated": "2020-12-14",
"deployDir": "/",
"src": {
"certificate": "/data/certificate/",
......@@ -7,6 +7,7 @@
"project": "/data/project/",
"coding": "/data/coding/",
"exhibit": "/data/photo/",
"food": "/data/food/"
"food": "/data/food/",
"honor": "/data/honor/"
}
}
......@@ -109,6 +109,10 @@
"date": "Date: {date}",
"info": "Description: {info}"
},
"honor": {
"date": "Date: {date}",
"info": "Honor: {info}"
},
"study": {
"till": "till",
"now": "now"
......
......@@ -109,6 +109,10 @@
"date": "日期: {date}",
"info": "描述: {info}"
},
"honor": {
"date": "日期: {date}",
"info": "获得 {info} 荣誉"
},
"study": {
"till": "至",
"now": "今"
......
......@@ -14,6 +14,9 @@ export const photo = sortByDate(
export const exhibit = sortByDate(
filenameToSrc(require('./data/exhibit.json'), setting.src.exhibit)
)
export const honor = sortByDate(
filenameToSrc(require('./data/honor.json'), setting.src.honor)
)
export const study = sortByDate(require('./data/study.json'))
export const work = sortByDate(require('./data/work.json'))
export const project = sortByDate(
......
......@@ -54,7 +54,7 @@
<MenuItem name="technique" to="reserved">
{{ $t('navigation.technique') }}
</MenuItem>
<MenuItem name="honor" to="reserved">
<MenuItem name="honor" to="honor">
{{ $t('navigation.honor') }}
</MenuItem>
</Submenu>
......
<template>
<Waterfall
:data="honor"
:date-lang="'honor.date'"
:info-lang="'honor.info'"
/>
</template>
<script>
import { honor } from 'assets/reader'
import Waterfall from '../components/Waterfall'
export default {
name: 'Honor',
components: { Waterfall },
data() {
return {
honor,
}
},
}
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment