feat: add and optimize multilingual text resources

- add new language packs for multiple pages and components including category, cart, order, member center, distribution, etc.
- add Chinese and English translations for new features and UI text
- fix navigation service error message to use multilingual text
- update component templates to use dynamic language translation instead of hardcoded text
- adjust code indentation and formatting for consistency
This commit is contained in:
2026-06-26 13:49:26 +08:00
parent 66a579d48c
commit f7fb9f34f9
116 changed files with 1640 additions and 525 deletions

View File

@@ -28,7 +28,7 @@ export default {
setTimeout( () => {
if (!this.addonIsExist.membersignin) {
this.$util.showToast({
title: '商家未开启会员签到',
title: this.$lang('signinNotEnabled'),
mask: true,
duration: 2000
});
@@ -198,7 +198,7 @@ export default {
sign() {
if (this.signState == 0) {
this.$util.showToast({
title: '签到未开启'
title: this.$lang('signinClosed')
})
}
@@ -233,8 +233,8 @@ export default {
let shareUrl = this.$config.h5Domain + '/pages_tool/member/signin';
this.$util.setPublicShare({
title: '签到有礼',
desc: '天天签到,积分好礼送不停',
title: this.$lang('title'),
desc: this.$lang('shareDesc'),
link: shareUrl,
imgUrl: ''
},
@@ -265,7 +265,7 @@ export default {
onShareAppMessage() {
var path = '/pages_tool/member/signin';
return {
title: '签到有礼,天天签到,积分好礼送不停',
title: this.$lang('shareTitle'),
imageUrl: '',
path: path,
success: res => {},