feat: 初始化

This commit is contained in:
George
2025-07-07 15:55:44 +08:00
commit 9b7bfcfe5a
969 changed files with 123036 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
"no-data.title": "No Data"
}

View File

@ -0,0 +1,10 @@
import en from './en.json'
import zhHans from './zh-Hans.json'
import zhHant from './zh-Hant.json'
import ja from './ja.json'
export default {
en,
'zh-Hans': zhHans,
'zh-Hant': zhHant,
ja
}

View File

@ -0,0 +1,3 @@
{
"no-data.title": "データなし"
}

View File

@ -0,0 +1,3 @@
{
"no-data.title": "无数据"
}

View File

@ -0,0 +1,3 @@
{
"no-data.title": "無數據"
}

View File

@ -0,0 +1,44 @@
<template>
<view class="content">
<text class="message">{{title}}</text>
</view>
</template>
<script>
import {
initVueI18n
} from '@dcloudio/uni-i18n'
import messages from './i18n/index.js'
const {
t
} = initVueI18n(messages)
export default {
name: 'no-data',
props: {},
data() {
return {
title: t('no-data.title')
}
},
created(e) {},
// #ifndef VUE3
destroyed() {},
// #endif
// #ifdef VUE3
unmounted() {},
// #endif
methods: {}
}
</script>
<style lang="scss" scoped>
.content {
display: flex;
align-items: center;
justify-content: center;
}
.message {
opacity: .8;
}
</style>