forked from opentiny/tiny-vue
55 lines
1.5 KiB
JavaScript
55 lines
1.5 KiB
JavaScript
export default {
|
|
column: '1',
|
|
owner: '',
|
|
demos: [
|
|
{
|
|
demoId: 'basic-usage',
|
|
name: {
|
|
'zh-CN': '基本用法',
|
|
'en-US': 'Basic Usage'
|
|
},
|
|
desc: {
|
|
'zh-CN': '通过<code>value</code>设置数字内容,<code>precision</code>设置数字精度值。',
|
|
'en-US': 'Set digital content through<code>value</code>,<code>precision</code>set digital precision value.'
|
|
},
|
|
codeFiles: ['basic-usage.vue']
|
|
},
|
|
{
|
|
demoId: 'prefix-suffix-slot',
|
|
name: {
|
|
'zh-CN': '前后缀',
|
|
'en-US': 'Usage of Prefix and Suffix'
|
|
},
|
|
desc: {
|
|
'zh-CN': '<code>prefix</code>设置前缀,<code>suffix</code>设置后缀。',
|
|
'en-US': 'Set the prefix through<code>prefix</code>, and set the number suffix through<code>suffix</code>.'
|
|
},
|
|
codeFiles: ['prefix-suffix-slot.vue']
|
|
},
|
|
{
|
|
demoId: 'statistic-slot',
|
|
name: {
|
|
'zh-CN': '标题',
|
|
'en-US': 'Title Usage'
|
|
},
|
|
desc: {
|
|
'zh-CN': '通过<code>title</code>设置标题。',
|
|
'en-US': 'Set the title through<code>title</code>.'
|
|
},
|
|
codeFiles: ['statistic-slot.vue']
|
|
},
|
|
{
|
|
demoId: 'statistic-style',
|
|
name: {
|
|
'zh-CN': '样式',
|
|
'en-US': 'Style Usage'
|
|
},
|
|
desc: {
|
|
'zh-CN': '通过<code>value-style</code>设置数字样式。',
|
|
'en-US': 'Set the number style through<code>value style</code>.'
|
|
},
|
|
codeFiles: ['statistic-style.vue']
|
|
}
|
|
]
|
|
}
|