国际化
This commit is contained in:
@@ -1,144 +1,167 @@
|
|||||||
// zh_cn.js 文件
|
// zh_cn.js 文件
|
||||||
export default {
|
export default {
|
||||||
app: {
|
app: {
|
||||||
home: 'होम',
|
home: 'मुख्य पृष्ठ',
|
||||||
serveList: 'वॉलेट',
|
serveList: 'सेवा सूची',
|
||||||
message: 'सेवा',
|
message: 'ग्राहक सहायता',
|
||||||
my: 'मी',
|
my: 'मेरा',
|
||||||
yuan: 'रुपया',
|
yuan: 'युआन',
|
||||||
second: 'सेकंड',
|
second: 'सेकंड',
|
||||||
month: 'माह',
|
month: 'माह',
|
||||||
prompt: 'गुनाह',
|
prompt: 'प्रोम्प्ट',
|
||||||
tips: 'आशा चाहिए',
|
tips: 'टिप्स',
|
||||||
enterLogout: 'आप वादा लौट गाई जानाचा है?',
|
enterLogout: 'आप निश्चित हैं कि आप लॉग आउट करना चाहते हैं?',
|
||||||
enterWithdrawal: 'आप वादा वितरण करनाचा है?',
|
enterWithdrawal: 'आप निश्चित हैं कि आप निकासी करना चाहते हैं?',
|
||||||
withdrawal: 'वितरण',
|
withdrawal: 'निकासी',
|
||||||
info: 'जानकारी',
|
info: 'जानकारी',
|
||||||
success: 'सफल',
|
success: 'सफल',
|
||||||
withdrawalAmount: 'वितरण की राशि',
|
withdrawalAmount: 'निकासी राशि',
|
||||||
pleaseWithdrawalAmount: 'वितरण की राशि',
|
pleaseWithdrawalAmount: 'कृपया निकासी राशि दर्ज करें',
|
||||||
submit: 'भेजा',
|
submit: 'सबमिट',
|
||||||
submittedSuccessfully: 'सफल भेजा',
|
submittedSuccessfully: 'सफलतापूर्वक सबमिट',
|
||||||
submitApplication: 'इंटरनेट प्राप्त करना',
|
submitApplication: 'आवेदन सबमिट',
|
||||||
bankCardAbnormality: 'बैंक कार्ड अनुद्वर्य',
|
bankCardAbnormality: 'बैंक कार्ड असमान',
|
||||||
receivedSuccessfully: 'सफल प्राप्त हो गए',
|
receivedSuccessfully: 'निकासी सफल',
|
||||||
phoneNumber: 'फोन नंबर',
|
phoneNumber: 'फोन नंबर',
|
||||||
verificationCode: 'वेर्फिकेशन कोड',
|
verificationCode: 'सत्यापन कोड',
|
||||||
confirm: 'पुष्ता करें',
|
confirm: 'पुष्टि',
|
||||||
enter: 'उपलब्ध करें',
|
enter: 'कृपया दर्ज करें',
|
||||||
select: 'चूना',
|
select: 'चयन करें',
|
||||||
send: 'भेजा',
|
send: 'भेजें',
|
||||||
login: 'लौट गई',
|
login: 'लॉग इन',
|
||||||
account: 'कांト',
|
account: 'खाता',
|
||||||
logout: 'बाजार',
|
logout: 'लॉग आउट',
|
||||||
register: 'रजिस्टर',
|
register: 'रजिस्टर',
|
||||||
password: 'पासवर्ड',
|
password: 'पासवर्ड',
|
||||||
forgotPassword: 'पासवर्ड और सिखाया नहीं आया?',
|
forgotPassword: 'पासवर्ड भूल गए',
|
||||||
passwordPlaceholder: '6-16 दिगित पासवर्ड बनाना',
|
passwordPlaceholder: 'कृपया 6-16 अक्षर का पासवर्ड दर्ज करें',
|
||||||
passwordPlaceholder1: 'पहले बार पासवर्ड दर्ज करें',
|
passwordPlaceholder1: 'कृपया पासवर्ड पुनः दर्ज करें',
|
||||||
next: 'अगले',
|
next: 'आगे',
|
||||||
update: 'सुनिश्चित करें',
|
update: 'अद्यतन',
|
||||||
noData: 'कुछ प्राप्त नहीं है',
|
noData: 'कोई डेटा नहीं',
|
||||||
none: 'कुछ नहीं है',
|
none: 'कोई नहीं',
|
||||||
contract: 'संगठन',
|
contract: 'ठेका',
|
||||||
loan: 'लोन',
|
loan: 'लोन',
|
||||||
totalLoan: 'संकल्प की लोन',
|
totalLoan: 'लोन का कुल',
|
||||||
complete: 'सुनिश्चित',
|
complete: 'पूर्ण',
|
||||||
noComplete: 'सुनिश्चित नहीं है',
|
noComplete: 'अपूर्ण',
|
||||||
signature: 'सिग्नेटूर',
|
signature: 'हस्ताक्षर',
|
||||||
identityInformation: 'आदारित जानकारी',
|
identityInformation: 'पहचान जानकारी',
|
||||||
information: 'जानकारी',
|
information: 'जानकारी',
|
||||||
signatureInformation: 'सिग्नेटूर जानकारी',
|
signatureInformation: 'हस्ताक्षर जानकारी',
|
||||||
receivingBank: 'प्राप्त करेंगे बैंक',
|
receivingBank: 'प्राप्तकर्ता बैंक',
|
||||||
rwmljndzlxx: 'हमें आपकी जानकारी पता होंगे',
|
rwmljndzlxx: 'हमसे संपर्क करें',
|
||||||
upPNGOrJPG: 'कई jpg या png टाइम आईए।',
|
upPNGOrJPG: 'कृपया JPG या PNG फ़ॉर्मेट की तस्वीर अपलोड करें',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
productDetails: 'संग्रह विवरण',
|
productDetails: 'उत्पाद विवरण',
|
||||||
minimumDailyInterestRate: 'सडर दिन के लिए Nischit Raatā',
|
minimumDailyInterestRate: 'न्यूनतम दैनिक ब्याज दर',
|
||||||
borrowingLimit: 'लोन की लिミट',
|
borrowingLimit: 'ऋण सीमा',
|
||||||
installmentPeriod: 'ईमेंट समय',
|
installmentPeriod: '분할 भुगतान अवधि',
|
||||||
optional: 'सेटा',
|
optional: 'वैकल्ਪिक',
|
||||||
applicationAmount: 'इंटरनेट की राशि',
|
applicationAmount: 'आवेदन राशि',
|
||||||
loanTerm: 'लोन की समय',
|
loanTerm: 'ऋण अवधि',
|
||||||
repaymentPerInstallment: 'ईमेंट के लिए पुनर्णाम',
|
repaymentPerInstallment: 'प्रत्येक अंश के लिए ऋण चुकौती',
|
||||||
dailyInterestRate: 'दिन की raatā',
|
dailyInterestRate: 'दैनिक ब्याज दर',
|
||||||
totalInterest: 'सामान्य लियENT',
|
totalInterest: 'कुल ब्याज',
|
||||||
successfulBorrowing: 'सफल लोन',
|
successfulBorrowing: 'ऋण सफल',
|
||||||
enterAgreement: 'मैंने पढ़या है और स्वीकार किया है',
|
enterAgreement: 'मैंने पढ़ा और सहमति दी है',
|
||||||
authAgreement: 'संग्राहक प्राप्त पत्र',
|
authAgreement: 'सहायता प्राधिकरण समझौता',
|
||||||
serviceAgreement: 'सेवा प्रामाण',
|
serviceAgreement: 'प्लेटफॉर्म सेवा समझौता',
|
||||||
lawAgreement: 'अधिकारी प्रामाण',
|
lawAgreement: 'कानून समझौता',
|
||||||
loansAgreement: 'लोन के लिए प्रामाण',
|
loansAgreement: 'ऋण समझौता',
|
||||||
immediateBorrowing: 'बिहारी लोन',
|
immediateBorrowing: 'तुरंत ऋण लेना',
|
||||||
pleaseFillInYourPersonalInformationFirst: 'पहले आपकी प्रोफेशनल जानकारी ओपन करें।',
|
pleaseFillInYourPersonalInformationFirst: 'कृपया पहले अपनी व्यक्तिगत जानकारी भरें',
|
||||||
pleaseEnterAgreement: 'प्रामाणों को प्राप्त करें।',
|
pleaseEnterAgreement: 'कृपया संबंधित समझौते पढ़ें और सहमत करें'
|
||||||
},
|
},
|
||||||
my: {
|
my: {
|
||||||
userInfo: 'मी की जानकारी',
|
userInfo: 'मेरी जानकारी',
|
||||||
loan: 'मी की लोन',
|
loan: 'मेरी ऋण',
|
||||||
repayment: 'मी की पुनर्णाम',
|
repayment: 'मेरी ऋण चुकौती',
|
||||||
legalLiability: 'अधिकारी प्रावृत्ति',
|
legalLiability: 'कानूनी दायित्व',
|
||||||
uploadPassword: 'पासवर्ड संगेत',
|
uploadPassword: 'पासवर्ड परिवर्तन',
|
||||||
logout: 'बाजार',
|
logout: 'लॉग आउट',
|
||||||
language: 'भेजिए',
|
language: 'भाषा बदलें',
|
||||||
},
|
},
|
||||||
serveList: {
|
serveList: {
|
||||||
loan: 'मी की लोन',
|
loan: 'मेरी ऋण',
|
||||||
balance: 'बाラंस',
|
balance: 'खाता शेष',
|
||||||
amountToBeRepaid: 'पुनर्णाया जरूरी की राशि',
|
amountToBeRepaid: 'प्रतिपूर्ति के लिए राशि',
|
||||||
immediateWithdrawal: 'बिहारी वितरण',
|
immediateWithdrawal: 'तुरंत ऋण लेना',
|
||||||
financialSecurity: 'बैंक की तरह की फिंसीफेक्शि'
|
financialSecurity: 'खाता धन सुरक्षा बैंक द्वारा सुरक्षित',
|
||||||
},
|
},
|
||||||
borrowInfo: {
|
borrowInfo: {
|
||||||
applicationTime: 'इंटरनेट की समय',
|
applicationTime: 'आवेदन समय',
|
||||||
loanDetails: 'लोन की विवरण',
|
loanDetails: 'ऋण विवरण',
|
||||||
loanInfo: 'लोन की जानकारी',
|
loanInfo: 'ऋण जानकारी',
|
||||||
loanNo: 'लोन की क्रEDIT नंबर',
|
loanNo: 'ऋण संख्या',
|
||||||
loanAmount: 'लोन की राशि',
|
loanAmount: 'ऋण राशि',
|
||||||
loanCycle: 'लोन की समय',
|
loanCycle: 'ऋण चक्र',
|
||||||
withdrawalBank: 'वितरण करनेवाला बैंक',
|
withdrawalBank: 'निकासी बैंक',
|
||||||
repaymentPerInstallment: 'ईमेंट के लिए पुनर्णाम',
|
repaymentPerInstallment: 'प्रत्येक अंश के लिए ऋण चुकौती',
|
||||||
describe: 'विवरण',
|
describe: 'विवरण',
|
||||||
receivingAccount: 'प्राप्त करेंगी अカウント',
|
receivingAccount: 'प्राप्त खाता',
|
||||||
usageOfLoan: 'लोन की प्यारी',
|
usageOfLoan: 'ऋण उपयोग',
|
||||||
loans: 'इंटरनेट करनेवाले लोन',
|
},
|
||||||
enterSubmitApplication: 'आप वादा इंटरनेट करनाचा है?',
|
loans: {
|
||||||
|
enterSubmitApplication: 'आप ऋण आवेदन करना सुनिश्चित हैं?'
|
||||||
},
|
},
|
||||||
userInfo: {
|
userInfo: {
|
||||||
realPrompt: 'सच और मुख्य जानकारी, आपको वैसे पसंद आएगी।',
|
realPrompt: 'वास्तविक और प्रभावी जानकारी भरें, ऐसा करने पर ही सत्यापन पਾਸ होगा',
|
||||||
idCardPrompt: 'आपकी आदारीत पत्र की जानकारी आवश्यक है, और उन्होंने सुनिश्चित होना चاहिए।',
|
idCardPrompt: 'आपका स्वयं का आधार कार्ड, और सामग्री स्पष्ट और पठनीय होनी चाहिए',
|
||||||
photographPrompt: 'आपकी फोटोग्राफी की प्रमानित होते हैं।',
|
photographPrompt: 'कृपया पुष्टि करें कि कैमरा ऑपरेशन की अनुमति सक्रिय है',
|
||||||
name: 'नम',
|
name: 'नाम',
|
||||||
idCard: 'आदारीत पत्र',
|
idCard: 'आधार कार्ड नंबर',
|
||||||
idCardUp1: 'क्लɪक करें, आपकी आदारीत पत्र को दौरे दें।',
|
idCardUp1: 'आधार कार्ड फটো साइड अपलोड करें',
|
||||||
idCardUp2: 'क्लɪk करें, आपकी आदारीत पत्र को दौरे दें।',
|
idCardUp2: 'आधार कार्ड राष्ट्रीय प्रतीक साइड अपलोड करें',
|
||||||
idCardUp3: 'क्लिक करें, आपकी आदारीत пत्र को दौरे दें।',
|
idCardUp3: 'हाथ में आधार कार्ड फोटो अपलोड करें',
|
||||||
shootingRequirements: 'टैयरिंग के में requirements',
|
shootingRequirements: 'चित्रण आवश्यकता',
|
||||||
standardShooting: 'सेंडर्ड टैयरिंग',
|
standardShooting: 'मानक शूटिंग',
|
||||||
missingBorder: 'संगर्ष मिस्सिंग',
|
missingBorder: 'बॉर्डर गायब',
|
||||||
outOfFocus: 'बहुत सुनिश्चित',
|
outOfFocus: 'छवि धुंधला',
|
||||||
flashStrongly: 'फ्लASH बहुत सुनिश्चित',
|
flashStrongly: 'फ्लैश बहुत तेज',
|
||||||
unitName: 'यूनिट नाम',
|
unitName: 'संस्था का नाम',
|
||||||
position: 'पोष्ट',
|
position: 'पद',
|
||||||
workTelephone: 'कम करेंगी टेलेфोн',
|
workTelephone: 'कार्यालय का टेलीफोन',
|
||||||
workingAge: 'कार्य कयार',
|
workingAge: 'कार्यकाल',
|
||||||
monthlyPay: 'महिनावारी आज्ञा',
|
monthlyPay: 'मासिक वेतन',
|
||||||
unitAddress: 'एकाइ पता',
|
unitAddress: 'कार्यालय का पता',
|
||||||
addressInfo: 'विस्तृत पता',
|
addressInfo: 'विस्तृत पता',
|
||||||
currentResidentialAddress: 'मौजूदा रिस्टेसियल पता',
|
currentResidentialAddress: 'वर्तमान निवास पता',
|
||||||
directFamilyContactPerson: 'सीधा परिवार संपर्क व्यक्ति',
|
directFamilyContactPerson: 'सরাसरी परिवार का संपर्क व्यक्ति',
|
||||||
relationship: 'संबंध',
|
relationship: 'रिश्ता',
|
||||||
parents: 'पेरेन्ट',
|
parents: 'माता-पिता',
|
||||||
spouse: 'स्त्री',
|
spouse: 'पति/पत्नी',
|
||||||
children: 'बच्चे',
|
children: 'बच्चे',
|
||||||
grandparents: 'आज्ञापिता',
|
grandparents: 'दादा-दादी',
|
||||||
bankOfDeposit: 'बैंक खोल रहा है',
|
bankOfDeposit: 'खाता खोलने वाला बैंक',
|
||||||
bankCardNumber: 'बैंक कार्ड क्रमांक'
|
bankCard: 'बैंक कार्ड नंबर',
|
||||||
},
|
},
|
||||||
language: {
|
language: {
|
||||||
zh: '中文',
|
zh: '中文',
|
||||||
id: 'Bahasa indonesia',
|
id: 'Bahasa indonesia',
|
||||||
hi: 'हिंदी'
|
hi: 'हिंदी'
|
||||||
|
},
|
||||||
|
router: {
|
||||||
|
home: 'मुख्य पृष्ठ',
|
||||||
|
serveList: 'वॉलेट',
|
||||||
|
message: 'चैट',
|
||||||
|
my: 'मेरा',
|
||||||
|
userInfo: 'मेरी जानकारी',
|
||||||
|
userInfo1: 'बेसिक जानकारी',
|
||||||
|
signature: 'हस्ताक्षर',
|
||||||
|
contract: 'अनुबंध',
|
||||||
|
userInfo2: 'जमा दस्तावेज',
|
||||||
|
userInfo3: 'प्राप्ति बैंक कार्ड',
|
||||||
|
loansInfo: 'लोन विवरण',
|
||||||
|
loansInfo1: 'कैश आउट',
|
||||||
|
myLoan: 'मेरे लोन',
|
||||||
|
myRepayment: 'मेरी रिपेमेंट',
|
||||||
|
borrowInfo: 'लोन विवरण',
|
||||||
|
uploadPassword: 'पासवर्ड परिवर्तन',
|
||||||
|
login: 'लॉगिन',
|
||||||
|
register: 'रजिस्टर',
|
||||||
|
forget: 'पासवर्ड भूल गए',
|
||||||
|
agreement: 'समझौता',
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,30 +3,30 @@ export default {
|
|||||||
app: {
|
app: {
|
||||||
home: 'Beranda',
|
home: 'Beranda',
|
||||||
serveList: 'Dompet',
|
serveList: 'Dompet',
|
||||||
message: 'Customer Service',
|
message: 'Layanan Pelanggan',
|
||||||
my: 'Ku',
|
my: 'Saya',
|
||||||
yuan: 'Yuan',
|
yuan: 'Yuan',
|
||||||
second: 'Detik',
|
second: 'Detik',
|
||||||
month: 'Bulan',
|
month: 'Bulan',
|
||||||
prompt: 'Prompt',
|
prompt: 'Prompt',
|
||||||
tips: 'Catatan Hangat',
|
tips: 'Tips Hangat',
|
||||||
enterLogout: 'Anda Yakin Ingin Keluar Dari Login?',
|
enterLogout: 'Apakah Anda yakin ingin keluar dari login?',
|
||||||
enterWithdrawal: 'Anda Yakin Ingin Meng withdraw?',
|
enterWithdrawal: 'Apakah Anda yakin ingin melakukan penarikan?',
|
||||||
withdrawal: 'Penarikan',
|
withdrawal: 'Penarikan',
|
||||||
info: 'Informasi',
|
info: 'Informasi',
|
||||||
success: 'Sukses',
|
success: 'Sukses',
|
||||||
withdrawalAmount: 'Jumlah Penarikan',
|
withdrawalAmount: 'Jumlah Penarikan',
|
||||||
pleaseWithdrawalAmount: 'Jumlah Penarikan',
|
pleaseWithdrawalAmount: 'Jumlah Penarikan',
|
||||||
submit: 'Kirim',
|
submit: 'Kirim',
|
||||||
submittedSuccessfully: 'Berhasil Dikirim',
|
submittedSuccessfully: 'Pengiriman Sukses',
|
||||||
submitApplication: 'Kirim Permohonan',
|
submitApplication: 'Kirim Aplikasi',
|
||||||
bankCardAbnormality: 'Gangguan Kartu Bank',
|
bankCardAbnormality: 'Kartu Bank Abnormal',
|
||||||
receivedSuccessfully: 'Berhasil Diterima',
|
receivedSuccessfully: 'Penerimaan Sukses',
|
||||||
phoneNumber: 'Nomor Telepon',
|
phoneNumber: 'Nomor Telepon',
|
||||||
verificationCode: 'Kode Verifikasi',
|
verificationCode: 'Kode Verifikasi',
|
||||||
confirm: 'Konfirmasi',
|
confirm: 'Konfirmasi',
|
||||||
enter: 'Silahkan Masukkan',
|
enter: 'Silakan masukkan',
|
||||||
select: 'Silahkan Pilih',
|
select: 'Silakan pilih',
|
||||||
send: 'Kirim',
|
send: 'Kirim',
|
||||||
login: 'Masuk',
|
login: 'Masuk',
|
||||||
account: 'Akun',
|
account: 'Akun',
|
||||||
@@ -34,112 +34,134 @@ export default {
|
|||||||
register: 'Daftar',
|
register: 'Daftar',
|
||||||
password: 'Kata Sandi',
|
password: 'Kata Sandi',
|
||||||
forgotPassword: 'Lupa Kata Sandi',
|
forgotPassword: 'Lupa Kata Sandi',
|
||||||
passwordPlaceholder: 'Silahkan Tetapkan Kata Sandi 6-16 Digit',
|
passwordPlaceholder: 'Silakan atur kata sandi 6-16 karakter',
|
||||||
passwordPlaceholder1: 'Silahkan Masukkan Ulang Kata Sandi',
|
passwordPlaceholder1: 'Silakan masukkan kata sandi lagi',
|
||||||
next: 'Lanjut',
|
next: 'Langkah Berikutnya',
|
||||||
update: 'Perbarui',
|
update: 'Perbarui',
|
||||||
noData: 'Tidak Ada Data',
|
noData: 'Data Sementara Tidak Ada',
|
||||||
none: 'Tidak Ada',
|
none: 'Tidak Ada',
|
||||||
contract: 'Kontrak',
|
contract: 'Kontrak',
|
||||||
loan: 'Pinjaman',
|
loan: 'Kredit',
|
||||||
totalLoan: 'Jumlah Pinjaman',
|
totalLoan: 'Total Kredit',
|
||||||
complete: 'Lengkap',
|
complete: 'Lengkap',
|
||||||
noComplete: 'Tidak Lengkap',
|
noComplete: 'Tidak Lengkap',
|
||||||
signature: 'Tanda Tangan',
|
signature: 'Tanda tangan',
|
||||||
identityInformation: 'Informasi Identitas',
|
identityInformation: 'Informasi Identitas',
|
||||||
information: 'Informasi',
|
information: 'Informasi Data',
|
||||||
signatureInformation: 'Informasi Tanda Tangan',
|
signatureInformation: 'Informasi Tanda tangan',
|
||||||
receivingBank: 'Bank Penerima',
|
receivingBank: 'Kartu Bank Penerimaan',
|
||||||
rwmljndzlxx: 'Jangan Lupakan Informasi Anda',
|
rwmljndzlxx: 'Biarkan Kami Memahami Informasi Anda',
|
||||||
upPNGorJPG: 'Silahkan Unggah Gambar JPG Atau PNG',
|
upPNGOrJPG: 'Silakan unggah gambar format jpg atau png',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
productDetails: 'Detail Produk',
|
productDetails: 'Detail Produk',
|
||||||
minimumDailyInterestRate: 'Suku Bunga Harian Terendah',
|
minimumDailyInterestRate: 'Suku Bunga Harian Minimum',
|
||||||
borrowingLimit: 'Limit Pinjaman',
|
borrowingLimit: 'Batas Peminjaman',
|
||||||
installmentPeriod: 'Periode Bayar',
|
installmentPeriod: 'Jangka Waktu Angsuran',
|
||||||
optional: 'Opsional',
|
optional: 'Opsional',
|
||||||
applicationAmount: 'Jumlah Permintaan',
|
applicationAmount: 'Jumlah Aplikasi',
|
||||||
loanTerm: 'Tenor Pinjaman',
|
loanTerm: 'Jangka Waktu Peminjaman',
|
||||||
repaymentPerInstallment: 'Pembayaran Setiap Installment',
|
repaymentPerInstallment: 'Pembayaran Per Angsuran',
|
||||||
dailyInterestRate: 'Suku Bunga Harian',
|
dailyInterestRate: 'Suku Bunga Harian',
|
||||||
totalInterest: 'Suku Bunga Total',
|
totalInterest: 'Total Suku Bunga',
|
||||||
successfulBorrowing: 'Pinjaman Berhasil',
|
successfulBorrowing: 'Peminjaman Sukses',
|
||||||
enterAgreement: 'Saya Sudah Membaca Dan Setuju',
|
enterAgreement: 'Saya telah membaca dan menyetujui',
|
||||||
authAgreement: 'Perjanjian Otorisasi',
|
authAgreement: 'Perjanjian Pemberian Kuasa',
|
||||||
serviceAgreement: 'Ketentuan Layanan Platform',
|
serviceAgreement: 'Perjanjian Layanan Platform',
|
||||||
lawAgreement: 'Ketentuan Hukum',
|
lawAgreement: 'Perjanjian Hukum',
|
||||||
loansAgreement: 'Perjanjian Pinjaman',
|
loansAgreement: 'Perjanjian Peminjaman',
|
||||||
immediateBorrowing: 'Pinjaman Segera',
|
immediateBorrowing: 'Peminjaman Segera',
|
||||||
pleaseFillInYourPersonalInformationFirst: 'Silahkan Isi Informasi Pribadi Anda Dulu',
|
pleaseFillInYourPersonalInformationFirst: 'Silakan isi informasi pribadi Anda terlebih dahulu',
|
||||||
pleaseEnterAgreement: 'Silahkan Baca Dan Setujui Perjanjian Yang Berkaitan',
|
pleaseEnterAgreement: 'Silakan baca dan menyetujui perjanjian terkait',
|
||||||
},
|
},
|
||||||
my: {
|
my: {
|
||||||
userInfo: 'Informasi Saya',
|
userInfo: 'Info Saya',
|
||||||
loan: 'Pinjaman Saya',
|
loan: 'Peminjaman Saya',
|
||||||
repayment: 'Pembayaran Saya',
|
repayment: 'Pembayaran Saya',
|
||||||
legalLiability: 'Kewajiban Hukum',
|
legalLiability: 'Tanggung Jawab Hukum',
|
||||||
uploadPassword: 'Ubah Kata Sandi',
|
uploadPassword: 'Ganti Kata Sandi',
|
||||||
logout: 'Logout',
|
logout: 'Keluar',
|
||||||
language: 'tukar bahasa',
|
language: 'Beralih Bahasa',
|
||||||
},
|
},
|
||||||
serveList: {
|
serveList: {
|
||||||
loan: 'Pinjaman Saya',
|
loan: 'Pinjaman Saya',
|
||||||
balance: 'Saldo Akun',
|
balance: 'Saldo Akun',
|
||||||
amountToBeRepaid: 'Jumlah Yang Harus Dibayar',
|
amountToBeRepaid: 'Jumlah Yang Harus Dibayar Kembali',
|
||||||
immediateWithdrawal: 'Pinjaman Segera',
|
immediateWithdrawal: 'Pinjaman Segera',
|
||||||
financialSecurity: 'Keamanan Dana Dilindungi Oleh Bank',
|
financialSecurity: 'Keamanan dana akun dijamin oleh bank',
|
||||||
},
|
},
|
||||||
borrowInfo: {
|
borrowInfo: {
|
||||||
applicationTime: 'Waktu Permohonan',
|
applicationTime: 'Waktu Aplikasi',
|
||||||
loanDetails: 'Detail Pinjaman',
|
loanDetails: 'Detail Pinjaman',
|
||||||
loanInfo: 'Informasi Pinjaman',
|
loanInfo: 'Informasi Peminjaman',
|
||||||
loanNo: 'Nomor Pinjaman',
|
loanNo: 'Nomor Pinjaman',
|
||||||
loanAmount: 'Jumlah Pinjaman',
|
loanAmount: 'Jumlah Peminjaman',
|
||||||
loanCycle: 'Sikl Pinjaman',
|
loanCycle: 'Siklus Pinjaman',
|
||||||
withdrawalBank: 'Bank Penarikan',
|
withdrawalBank: 'Bank Pengeluaran',
|
||||||
repaymentPerInstallment: 'Pembayaran Setiap Installment',
|
repaymentPerInstallment: 'Pembayaran Per Angsuran',
|
||||||
describe: 'Deskripsi',
|
describe: 'Deskripsi',
|
||||||
receivingAccount: 'Akun Penerima',
|
receivingAccount: 'Akun Penerimaan',
|
||||||
usageOfLoan: 'Manfaatkan Pinjaman',
|
usageOfLoan: 'Tujuan Peminjaman',
|
||||||
},
|
},
|
||||||
loans: {
|
loans: {
|
||||||
enterSubmitApplication: 'Anda Yakin Ingin Mengajukan Pinjaman?',
|
enterSubmitApplication: 'Apakah Anda yakin akan mengajukan peminjaman?'
|
||||||
},
|
},
|
||||||
userInfo: {
|
userInfo: {
|
||||||
realPrompt: 'Isi informasi yang valid dan asli, persetujuan akan dilanjutkan.',
|
realPrompt: 'Isilah informasi yang benar dan valid, untuk proses verifikasi dapat lewat',
|
||||||
idCardPrompt: 'Dibutuhkan ID pribadi sendiri dan isinya harus jelas bisa dibaca',
|
idCardPrompt: 'Harus menggunakan KTP pribadi Anda sendiri, dan kontennya harus jelas dan terbaca',
|
||||||
photographPrompt: 'Silahkan pastikan ijin fotografi sudah diaktifkan',
|
photographPrompt: 'Pastikan izin foto telah diaktifkan',
|
||||||
name: 'Nama',
|
name: 'Nama',
|
||||||
idCard: 'Nomor ID',
|
idCard: 'Nomor KTP',
|
||||||
idCardUp1: 'Klik Unggah Sisi Wajah ID',
|
idCardUp1: 'Klik untuk unggah foto wajah KTP',
|
||||||
idCardUp2: 'Klik Unggah Sisi Militer ID',
|
idCardUp2: 'Klik untuk unggah foto lambang negara KTP',
|
||||||
idCardUp3: 'Klik Unggah Foto tangan Ditekan ID',
|
idCardUp3: 'Klik untuk unggah foto tangan pegang KTP',
|
||||||
shootingRequirements: 'Persyaratan Fotografi',
|
shootingRequirements: 'Persyaratan pemotretan',
|
||||||
standardShooting: 'Fotografi Standard',
|
standardShooting: 'Pemotretan standar',
|
||||||
missingBorder: 'Kuas Erat Hilang',
|
missingBorder: 'Bingkai hilang',
|
||||||
outOfFocus: 'Foto Gragil',
|
outOfFocus: 'Foto kabur',
|
||||||
flashStrongly: 'Cahaya Cepat Gemetar Kuat',
|
flashStrongly: 'Kilat terlalu kuat',
|
||||||
unitName: 'Nama Unit',
|
unitName: 'Nama perusahaan',
|
||||||
position: 'Jabatan',
|
position: 'Jabatan',
|
||||||
workTelephone: 'Telepon Unit',
|
workTelephone: 'Telepon perusahaan',
|
||||||
workingAge: 'Usia Bekerja',
|
workingAge: 'Usia kerja',
|
||||||
monthlyPay: 'Gaji Bulanan',
|
monthlyPay: 'Gaji bulanan',
|
||||||
unitAddress: 'Alamat Unit',
|
unitAddress: 'Alamat perusahaan',
|
||||||
addressInfo: 'Informasi Alamat',
|
addressInfo: 'Alamat lengkap',
|
||||||
currentResidentialAddress: 'Alamat Tinggal Saat Ini',
|
currentResidentialAddress: 'Alamat tempat tinggal sekarang',
|
||||||
directFamilyContactPerson: 'Kontak Dari Keluarga Dekat',
|
directFamilyContactPerson: 'Kontak langsung dengan anggota keluarga',
|
||||||
relationship: 'Hubungan',
|
relationship: 'Hubungan',
|
||||||
parents: 'Ortu',
|
parents: 'Orang tua',
|
||||||
spouse: 'Suami/Istri',
|
spouse: 'Pasangan',
|
||||||
children: 'Anak-anak',
|
children: 'Anak',
|
||||||
grandparents: 'Dari Orang Tua Kandung',
|
grandparents: 'Kakek-nenek',
|
||||||
bankOfDeposit: 'Bank Penyedia Rekening',
|
bankOfDeposit: 'Bank tempat rekening',
|
||||||
bankCard: 'Nomor Kartu Bank',
|
bankCard: 'Nomor rekening bank',
|
||||||
},
|
},
|
||||||
language: {
|
language: {
|
||||||
zh: '中文',
|
zh: '中文',
|
||||||
id: 'Bahasa indonesia',
|
id: 'Bahasa indonesia',
|
||||||
hi: 'हिंदी'
|
hi: 'हिंदी'
|
||||||
|
},
|
||||||
|
router: {
|
||||||
|
home: 'Beranda',
|
||||||
|
serveList: 'Dompet',
|
||||||
|
message: 'Obrolan',
|
||||||
|
my: 'Saya',
|
||||||
|
userInfo: 'Info Saya',
|
||||||
|
userInfo1: 'Info Dasar',
|
||||||
|
signature: 'Tanda tangan',
|
||||||
|
contract: 'Kontrak',
|
||||||
|
userInfo2: 'Unggah Dokumen',
|
||||||
|
userInfo3: 'Kartu Kredit Penerimaan',
|
||||||
|
loansInfo: 'Detail Pinjaman',
|
||||||
|
loansInfo1: 'Pengeluaran',
|
||||||
|
myLoan: 'Pinjaman Saya',
|
||||||
|
myRepayment: 'Pembayaran Saya',
|
||||||
|
borrowInfo: 'Detail Kredit',
|
||||||
|
uploadPassword: 'Ganti Kata Sandi',
|
||||||
|
login: 'Masuk',
|
||||||
|
register: 'Daftar',
|
||||||
|
forget: 'Lupa Kata Sandi',
|
||||||
|
agreement: 'Perjanjian',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,13 +31,14 @@ console.log('当前的环境语言是:', language)
|
|||||||
console.log('当前的后台语言是:', localStorage.getItem('lang'))
|
console.log('当前的后台语言是:', localStorage.getItem('lang'))
|
||||||
const i18n = createI18n({
|
const i18n = createI18n({
|
||||||
allowComposition: true,
|
allowComposition: true,
|
||||||
|
legacy: false,
|
||||||
locale: defLanguage || language.split('-')[0] || 'zh', // 设置默认语言
|
locale: defLanguage || language.split('-')[0] || 'zh', // 设置默认语言
|
||||||
fallbackLocale: 'zh', // 设置备用语言
|
fallbackLocale: 'zh', // 设置备用语言
|
||||||
messages: messages // 设置资源文件对象
|
messages: messages // 设置资源文件对象
|
||||||
})
|
})
|
||||||
|
|
||||||
// 更新vant组件库本身的语言变化,支持国际化
|
// 更新vant组件库本身的语言变化,支持国际化
|
||||||
export function vantLocales (app: App<Element>) {
|
function vantLocales (app: App<Element>) {
|
||||||
app.use(i18n)
|
app.use(i18n)
|
||||||
const lan = defLanguage || language.split('-')[0] || 'zh'
|
const lan = defLanguage || language.split('-')[0] || 'zh'
|
||||||
if (lan === 'hi') {
|
if (lan === 'hi') {
|
||||||
@@ -49,3 +50,5 @@ export function vantLocales (app: App<Element>) {
|
|||||||
Locale.use(lan, zhCN)
|
Locale.use(lan, zhCN)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export {i18n, vantLocales}
|
||||||
|
|||||||
@@ -141,6 +141,28 @@ export default {
|
|||||||
zh: '中文',
|
zh: '中文',
|
||||||
id: 'Bahasa indonesia',
|
id: 'Bahasa indonesia',
|
||||||
hi: 'हिंदी'
|
hi: 'हिंदी'
|
||||||
|
},
|
||||||
|
router: {
|
||||||
|
home: '首页',
|
||||||
|
serveList: '钱包',
|
||||||
|
message: '聊天',
|
||||||
|
my: '我的',
|
||||||
|
userInfo: '我的资料',
|
||||||
|
userInfo1: '基本信息',
|
||||||
|
signature: '签名',
|
||||||
|
contract: '合同',
|
||||||
|
userInfo2: '提交资料',
|
||||||
|
userInfo3: '收款银行卡',
|
||||||
|
loansInfo: '借款详情',
|
||||||
|
loansInfo1: '提现',
|
||||||
|
myLoan: '我的借款',
|
||||||
|
myRepayment: '我的还款',
|
||||||
|
borrowInfo: '贷款详情',
|
||||||
|
uploadPassword: '修改密码',
|
||||||
|
login: '登录',
|
||||||
|
register: '注册',
|
||||||
|
forget: '忘记密码',
|
||||||
|
agreement: '协议',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ import {createRouter, createWebHashHistory, RouteRecordRaw} from 'vue-router';
|
|||||||
import {useUserStore} from "@/store/modules/user";
|
import {useUserStore} from "@/store/modules/user";
|
||||||
import {domainStoreWidthOut} from "@/store/modules/domain";
|
import {domainStoreWidthOut} from "@/store/modules/domain";
|
||||||
import {getDomainList} from "@/api/login";
|
import {getDomainList} from "@/api/login";
|
||||||
|
import { i18n } from '@/lang';
|
||||||
|
|
||||||
|
const { t } = i18n.global
|
||||||
export const constantRouter: Array<RouteRecordRaw> = [
|
export const constantRouter: Array<RouteRecordRaw> = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
@@ -17,7 +19,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'index',
|
name: 'index',
|
||||||
component: () => import('@/views/index/index.vue'),
|
component: () => import('@/views/index/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '首页',
|
title: t('router.home'),
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -25,7 +27,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'Home',
|
name: 'Home',
|
||||||
component: () => import('@/views/index/home/index.vue'),
|
component: () => import('@/views/index/home/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '首页',
|
title: t('router.home'),
|
||||||
showBar: false
|
showBar: false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -35,7 +37,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
component: () => import('@/views/index/serveList/index.vue'),
|
component: () => import('@/views/index/serveList/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
title: '钱包',
|
title: t('router.serveList'),
|
||||||
showBar: false
|
showBar: false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -45,7 +47,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
component: () => import('@/views/index/message/index.vue'),
|
component: () => import('@/views/index/message/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
title: '聊天',
|
title: t('router.message'),
|
||||||
showBar: false
|
showBar: false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -55,7 +57,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
component: () => import('@/views/index/my/index.vue'),
|
component: () => import('@/views/index/my/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
title: '我的',
|
title: t('router.my'),
|
||||||
showBar: false
|
showBar: false
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -66,7 +68,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'userInfo',
|
name: 'userInfo',
|
||||||
component: () => import('@/views/my/userInfo/index.vue'),
|
component: () => import('@/views/my/userInfo/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '我的资料',
|
title: t('router.userInfo'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -76,7 +78,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'userInfo1',
|
name: 'userInfo1',
|
||||||
component: () => import('@/views/my/userInfo1/index.vue'),
|
component: () => import('@/views/my/userInfo1/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '基本信息',
|
title: t('router.userInfo1'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -86,7 +88,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'signature',
|
name: 'signature',
|
||||||
component: () => import('@/views/my/signature/index.vue'),
|
component: () => import('@/views/my/signature/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '签名',
|
title: t('router.signature'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -96,7 +98,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'contract',
|
name: 'contract',
|
||||||
component: () => import('@/views/my/contract/index.vue'),
|
component: () => import('@/views/my/contract/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '合同',
|
title: t('router.contract'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -106,7 +108,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'userInfo2',
|
name: 'userInfo2',
|
||||||
component: () => import('@/views/my/userInfo2/index.vue'),
|
component: () => import('@/views/my/userInfo2/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '提交资料',
|
title: t('router.userInfo2'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -116,7 +118,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'userInfo3',
|
name: 'userInfo3',
|
||||||
component: () => import('@/views/my/userInfo3/index.vue'),
|
component: () => import('@/views/my/userInfo3/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '收款银行卡',
|
title: t('router.userInfo3'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -126,7 +128,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'loansInfo',
|
name: 'loansInfo',
|
||||||
component: () => import('@/views/loans/info/index.vue'),
|
component: () => import('@/views/loans/info/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '借款详情',
|
title: t('router.loansInfo'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -136,7 +138,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'loansInfo1',
|
name: 'loansInfo1',
|
||||||
component: () => import('@/views/loans/info1/index.vue'),
|
component: () => import('@/views/loans/info1/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '提现',
|
title: t('router.loansInfo1'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -146,7 +148,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'myLoan',
|
name: 'myLoan',
|
||||||
component: () => import('@/views/my/myLoan/index.vue'),
|
component: () => import('@/views/my/myLoan/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '我的借款',
|
title: t('router.myLoan'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -156,7 +158,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'myRepayment',
|
name: 'myRepayment',
|
||||||
component: () => import('@/views/my/myRepayment/index.vue'),
|
component: () => import('@/views/my/myRepayment/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '我的还款',
|
title: t('router.myRepayment'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -167,7 +169,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'borrowInfo',
|
name: 'borrowInfo',
|
||||||
component: () => import('@/views/borrowInfo/index.vue'),
|
component: () => import('@/views/borrowInfo/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '贷款详情',
|
title: t('router.borrowInfo'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -177,7 +179,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'uploadPassword',
|
name: 'uploadPassword',
|
||||||
component: () => import('@/views/uploadPassword/index.vue'),
|
component: () => import('@/views/uploadPassword/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '修改密码',
|
title: t('router.uploadPassword'),
|
||||||
isPermissions: true,
|
isPermissions: true,
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
@@ -190,7 +192,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'login',
|
name: 'login',
|
||||||
component: () => import('@/views/login/index.vue'),
|
component: () => import('@/views/login/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '登录',
|
title: t('router.login'),
|
||||||
showBar: false
|
showBar: false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -199,7 +201,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'register',
|
name: 'register',
|
||||||
component: () => import('@/views/register/index.vue'),
|
component: () => import('@/views/register/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '注册',
|
title: t('router.register'),
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -208,7 +210,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'forget',
|
name: 'forget',
|
||||||
component: () => import('@/views/forget/index.vue'),
|
component: () => import('@/views/forget/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '忘记密码',
|
title: t('router.forget'),
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -217,7 +219,7 @@ export const constantRouter: Array<RouteRecordRaw> = [
|
|||||||
name: 'agreement',
|
name: 'agreement',
|
||||||
component: () => import('@/views/agreement/agreement.vue'),
|
component: () => import('@/views/agreement/agreement.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '协议',
|
title: t('router.agreement'),
|
||||||
showBar: true
|
showBar: true
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -238,6 +240,7 @@ const router = createRouter({
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
router.beforeEach(async (to, from, next) => {
|
router.beforeEach(async (to, from, next) => {
|
||||||
const dsw = domainStoreWidthOut()
|
const dsw = domainStoreWidthOut()
|
||||||
|
|
||||||
if (!dsw.getDomain || dsw.getDomain.length == 0) {
|
if (!dsw.getDomain || dsw.getDomain.length == 0) {
|
||||||
const response = await getDomainList()
|
const response = await getDomainList()
|
||||||
if (response && response.data) {
|
if (response && response.data) {
|
||||||
@@ -245,9 +248,11 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
dsw.setDomain(domain)
|
dsw.setDomain(domain)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (to.meta.title) { // 判断是否有标题
|
// if (to.meta.titleI18n) { // 判断是否有标题
|
||||||
document.title = to.meta.title as string;
|
// console.log('sssssss', to.meta.titleI18n)
|
||||||
}
|
// // document.title = to.meta.title as string;
|
||||||
|
// document.title = t(to.meta.titleI18n as string);
|
||||||
|
// }
|
||||||
if (to.meta.isPermissions) {
|
if (to.meta.isPermissions) {
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
if (!userStore.getToken) {
|
if (!userStore.getToken) {
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
<van-tabbar route v-model="active" active-color="#F9BF3A">
|
<van-tabbar route v-model="active" active-color="#F9BF3A">
|
||||||
<van-tabbar-item v-for="tabBar in tabBarList" :key="tabBar.name" :replace="tabBar.replace" :to="tabBar.to">
|
<van-tabbar-item v-for="tabBar in tabBarList" :key="tabBar.name" :replace="tabBar.replace" :to="tabBar.to">
|
||||||
<span>{{ $t(tabBar.text) }}</span>
|
<!-- <van-text-ellipsis :content="$t(tabBar.text)" />-->
|
||||||
|
<div style="white-space: nowrap;overflow: hidden;text-align: center">{{ $t(tabBar.text) }}</div>
|
||||||
<template #icon="props">
|
<template #icon="props">
|
||||||
<van-icon :color="props.active ? '' : 'rgb(229, 229, 229)'" :name="props.active ? tabBar.active : tabBar.inactive" />
|
<van-icon :color="props.active ? '' : 'rgb(229, 229, 229)'" :name="props.active ? tabBar.active : tabBar.inactive" />
|
||||||
</template>
|
</template>
|
||||||
@@ -61,6 +62,9 @@ const active = ref(0)
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
:deep('.van-tabbar-item__text') {
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user