diff --git a/locales/en.json b/locales/en.json
index 8268a1a..f30c19e 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -4,6 +4,7 @@
"buttonCancel": "Cancel",
"buttonConfirm": "Confirm",
"buttonSubmit": "Submit",
+ "buttonSave": "Save",
"buttonUpgrade": "Upgrade",
"buttonDetails": "renew",
"nodata": "No data available",
@@ -53,6 +54,17 @@
"text11": "Re enter the new transaction password",
"text12": "The transaction passwords entered twice are different"
},
+ "upgrade":{
+ "title": "Upgrade",
+ "text1": "Upgrade VIP& channel partner",
+ "text2": "Automation tools/AI assistance",
+ "text3": "Construction of Quality Monitoring System",
+ "text4": "Operational guidelines for compliance",
+ "text5": "Gain more accelerated benefit",
+ "text6": "Available balance",
+ "text7": "Upgrade now",
+ "text8": "Insufficient user balance"
+ },
"Questionnaire":{
"title": "Questionnaire",
"text1": "Data Market",
@@ -91,7 +103,85 @@
"text3": "benefit accelerated to 3x",
"text4": "Permanent agent",
"text5": "My wallet",
- "text6": "Computing power"
+ "text6": "Computing power",
+ "text7": "Address book",
+ "text8": "Online service",
+ "text9": "Help Center",
+ "text10": "About us"
+ },
+ "forgot": {
+ "title": "Forgot password",
+ "text1": "Don't worry it happens. Please enter the address associate with your account.",
+ "text2": "Please enter your email address",
+ "text3": "Send Code",
+ "text4": "Send after {par}s",
+ "text5": "Verification code",
+ "text6": "We have to sent the code verification to Your Email.",
+ "text7": "Didn't get a code? ",
+ "text8": "Resend",
+ "text9": "Change password",
+ "text10": "Don't be afraid of forgetting the password, you can change it to a password that you can remember.",
+ "text11": "Password",
+ "text12": "Please enter your Password",
+ "text13": "Confirm password",
+ "text14": "Please enter your confirm Password",
+ "text15": "You remember your password?",
+ "text16": "Login",
+ "text17": "Please input password",
+ "text18": "Please input Confirm password",
+ "text19": "Email is empty",
+ "text20": "Email address error",
+ "text21": "Please enter a 6-10 digit password",
+ "text22": "Two passwords are inconsistent"
+
+ },
+ "personal":{
+ "title": "Personal details",
+ "text1": "Head portrait",
+ "text2": "User name",
+ "text3": "User ID",
+ "text4": "Account",
+ "text5": "Identity",
+ "text6": "Photograph",
+ "text7": "My Album Selection"
+ },
+ "login":{
+ "title": "Log in",
+ "text1": "Marsh Questionnaire",
+ "text2": "Sign in to your Account",
+ "text3": "Enter your email and password to log in ",
+ "text4": "Please enter your email address",
+ "text5": "Please enter your Password",
+ "text6": "Forgot Password ?",
+ "text7": "Don’t have an account? ",
+ "text8": "Sign Up",
+ "text9": "Please enter your email address",
+ "text10": "Please input a password"
+ },
+ "notice": {
+ "title": "Notice",
+ "text1": "All read"
+ },
+ "noticedetail":{
+ "title":"Details"
+ },
+ "signup":{
+ "title": "Sign up",
+ "text1": "Create an account to continue!",
+ "text2": "Please enter your email address",
+ "text3": "Verification code",
+ "text4": "Enter email verification code",
+ "text5": "Next",
+ "text6": "PIN Code",
+ "text7": "Please enter your PIN code",
+ "text8": "Please enter your confirm PIN code",
+ "text9": "Please enter invitation code",
+ "text10": "Confirm PIN Code",
+ "text11": "Invitation code",
+ "text12": "Please enter the correct email address",
+ "text13": "Already have an account?",
+ "text14": "Please enter a 6-10 digit password",
+ "text15": "Two passwords are inconsistent"
},
"putforward":{
"title": "Put forward",
@@ -200,9 +290,16 @@
},
"address":{
"title": "Address book",
+ "text1": "Add address",
"add":{
- "title": "Edit address"
-
+ "title": "Edit address",
+ "text1": "Select network",
+ "text2": "Wallet address",
+ "text3": "Enter address",
+ "text4": "Set the name",
+ "text5": "Select a network",
+ "text6": "Please input address",
+ "text7": "Please input name"
}
},
"power":{
@@ -216,5 +313,41 @@
"text7": "balance",
"text8": "Unsettled USDT will be automatically taken out upon continued participation.",
"text9": "I got it"
+ },
+ "about": {
+ "title": "About us",
+ "text1": "Version update",
+ "text2": "Service Agreement",
+ "text3": "Company profile"
+ },
+ "help":{
+ "title": "Help Center",
+ "text1": "Official group",
+ "text2": "Wallet download"
+ },
+ "index":{
+ "text1": "Search the questionnaire",
+ "text2": "Total assets",
+ "text3": "Today's earnings",
+ "text4": "Cash out",
+ "text5": " User gets {par} USDT",
+ "text6": "Surprise reward",
+ "text7": "Invite friends to get high commission",
+ "text8": "View details",
+ "text9": "Answered",
+ "text10": "reward",
+ "text11": "View all",
+ "text12": "Application of new technologies (automation tools/AI assistance)",
+ "text13": "Intelligent answer engine",
+ "text14": "Dynamic question bank management system",
+ "text15": "Multi-mode anti-detection system",
+ "text16": "Construction of Quality Monitoring System",
+ "text17": "Doube-blind audit mechanism",
+ "text18": "Dynamic scoring model",
+ "text19": "Data traceability",
+ "text20": "Operational guidelines for compliance",
+ "text21": "Identity portrait consistency",
+ "text22": "Behavior pattern simulation",
+ "text23": "Equipment environment quarantine"
}
}
\ No newline at end of file
diff --git a/pages/about/details.vue b/pages/about/details.vue
index e92f2b7..073bcbd 100644
--- a/pages/about/details.vue
+++ b/pages/about/details.vue
@@ -1,14 +1,9 @@
-
+
-
- Bitcoin breaks $100,000!
-
-
- 2025/05/08 22:23:45
-
-
+
+
@@ -24,14 +19,26 @@
jyfParser
},
data() {
-
+ return {
+ info: {},
+ title: "aboutus"
+ };
},
computed: {
...mapState(['userInfo'])
},
//第一次加载
onLoad(e) {
-
+ if(e.id){
+ if(e.id=="aboutus"){
+ this.title = e.id;
+ }else{
+ this.title = '';
+ }
+ this.$http.get('/api/article/singpage?name='+e.id+'&lang=' + this.$i18n.locale).then(res => {
+ this.info = res.data;
+ });
+ }
},
//页面显示
onShow() {},
diff --git a/pages/about/help.vue b/pages/about/help.vue
index b90e456..459bd8e 100644
--- a/pages/about/help.vue
+++ b/pages/about/help.vue
@@ -1,66 +1,77 @@
-
+
- Official group
+ {{$t('help.text1')}}
-
+
-
- Telegram
+
+ Telegram
+
-
+
- Wallet download
+ {{$t('help.text2')}}
-
- Binance Download
+
+ Binance Download
+
Copy URL
-
+
Okex Download
Copy URL
-
+
TokenPocket Download
Copy URL
-
+
+
{{dialogTitle}}
{{key}}:
{{value}}
-
+
@@ -82,11 +93,10 @@
type: '',
};
},
- computed: {
- },
+ computed: {},
//第一次加载
onLoad(e) {
- this.$http.get('/api/common/init?lang='+this.$i18n.locale).then(res => {
+ this.$http.get('/api/common/init?lang=' + this.$i18n.locale).then(res => {
this.init = res.data;
});
},
@@ -94,9 +104,9 @@
onShow() {},
//方法
methods: {
- open(type){
+ open(type) {
this.type = type;
- switch(type){
+ switch (type) {
case 'qq_group':
this.list = this.init[type];
this.dialogTitle = 'QQ Group';
@@ -127,33 +137,34 @@
handleClose(done) {
this.dialogVisible = false;
},
- openQQChat(number){
+ openQQChat(number) {
// #ifdef APP-PLUS
if (plus.os.name === "Android") {
- var main = plus.android.runtimeMainActivity();
- var Intent = plus.android.importClass('android.content.Intent');
- var Uri = plus.android.importClass('android.net.Uri');
- var intent = new Intent(Intent.ACTION_VIEW, Uri.parse("mqqwpa://im/chat?chat_type=wpa&uin=" + qqNumber));
- main.startActivity(intent);
- } else if (plus.os.name === "iOS") {
- plus.runtime.launchApplication({
- action: "mqq://im/chat?chat_type=wpa&uin=" + qqNumber + "&version=1&src_type=web"
- }, function(e) {
- if (e.error) {
- plus.nativeUI.confirm("检查到您未安装qq,请先到App Store搜索下载?", function(i) {
- if (i.index === 0) {
- window.location.href = "https://itunes.apple.com/cn/app/mqq/";
- }
- });
- }
- });
- }
+ var main = plus.android.runtimeMainActivity();
+ var Intent = plus.android.importClass('android.content.Intent');
+ var Uri = plus.android.importClass('android.net.Uri');
+ var intent = new Intent(Intent.ACTION_VIEW, Uri.parse("mqqwpa://im/chat?chat_type=wpa&uin=" +
+ qqNumber));
+ main.startActivity(intent);
+ } else if (plus.os.name === "iOS") {
+ plus.runtime.launchApplication({
+ action: "mqq://im/chat?chat_type=wpa&uin=" + qqNumber + "&version=1&src_type=web"
+ }, function(e) {
+ if (e.error) {
+ plus.nativeUI.confirm("检查到您未安装qq,请先到App Store搜索下载?", function(i) {
+ if (i.index === 0) {
+ window.location.href = "https://itunes.apple.com/cn/app/mqq/";
+ }
+ });
+ }
+ });
+ }
// #endif
// #ifdef H5
- location.href = 'mqqwpa://im/chat?chat_type=wpa&uin='+number+'&version=1&src_type=web';
+ location.href = 'mqqwpa://im/chat?chat_type=wpa&uin=' + number + '&version=1&src_type=web';
// #endif
},
- copy(val = ''){
+ copy(val = '') {
const textArea = document.createElement('textarea');
textArea.value = val;
document.body.appendChild(textArea);
@@ -199,30 +210,53 @@
\ No newline at end of file
diff --git a/pages/about/index.vue b/pages/about/index.vue
index 0bb9b4f..99c26ce 100644
--- a/pages/about/index.vue
+++ b/pages/about/index.vue
@@ -1,23 +1,23 @@
-
+
-
+
MMT
- Version: 1.0.1
+ Version: {{init.version}}
- Version update
+ {{$t('about.text1')}}
-
- Service Agreement
+
+ {{$t("about.text2")}}
-
- Company profile
+
+ {{$t("about.text3")}}
@@ -38,7 +38,8 @@
},
data() {
return {
- list:[]
+ list:[],
+ init: {}
};
},
computed: {
@@ -46,6 +47,9 @@
//第一次加载
onLoad(e) {
this.getabout();
+ this.$http.get('/api/common/init?lang=' + this.$i18n.locale).then(res => {
+ this.init = res.data;
+ });
},
//页面显示
onShow() {},
diff --git a/pages/address/add.vue b/pages/address/add.vue
index 04ec7be..e63619b 100644
--- a/pages/address/add.vue
+++ b/pages/address/add.vue
@@ -3,7 +3,7 @@
-
+
@@ -15,24 +15,24 @@
-
-
+
+
-
-
+
+
-
+
- Select a network
+ {{$t('address.add.text5')}}
@@ -79,10 +79,10 @@
},
rules: {
address: {
- rules:[{required: true,errorMessage: 'Please input address'}],
+ rules:[{required: true,errorMessage: this.$t('address.add.text6')}],
},
title: {
- rules:[{required: true,errorMessage: 'Please input name'}],
+ rules:[{required: true,errorMessage: this.$t('address.add.text7')}],
}
}
};
diff --git a/pages/address/index.vue b/pages/address/index.vue
index 9712b58..e0ffe47 100644
--- a/pages/address/index.vue
+++ b/pages/address/index.vue
@@ -17,10 +17,10 @@
- No data available
+ {{$t('nodata')}}
-
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index e4780a2..8e8ece2 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -12,10 +12,10 @@
+ :placeholder="$t('index.text1')" clearButton="auto" cancelButton="none" @confirm="search" />
- Total assets
+ {{$t('index.text2')}}
{{parseFloat(user.money).toFixed(4)}}
USDT
@@ -23,7 +23,7 @@
- Today's earnings
+ {{$t('index.text3')}}
$ 0.00
@@ -33,13 +33,13 @@
@@ -52,7 +52,7 @@
{{ getcash(item) }}
-
+
@@ -60,10 +60,10 @@
- Surprise reward
- Invite friends to get high commission
+ {{$t('index.text6')}}
+ {{$t('index.text7')}}
- View details
+ {{$t('index.text8')}}
1/3
@@ -84,13 +84,13 @@
- Answered: {{item.used}}/{{item.stock+item.used}}
+ {{$t('index.text9')}}: {{item.used}}/{{item.stock+item.used}}
Period: {{item.billing_cycle}} {{item.cycle_type}}
- reward: ${{parseFloat(item.price).toFixed(2)}}
+ {{$t('index.text10')}}: ${{parseFloat(item.price).toFixed(2)}}
@@ -100,7 +100,7 @@
- View all
+ {{$t('index.text11')}}
@@ -109,34 +109,34 @@
- Application of new technologies (automation tools/AI assistance)
+ {{$t('index.text12')}}
- 1. Intelligent answer engine
- 2. Dynamic question bank management system
- 3. Multi-mode anti-detection system
+ 1. {{$t('index.text13')}}
+ 2. {{$t('index.text14')}}
+ 3. {{$t('index.text15')}}
- Construction of Quality Monitoring System
+ {{$t('index.text16')}}
- 1. Doube-blind audit mechanism
- 2. Dynamic scoring model
- 3. Data traceability
+ 1. {{$t('index.text17')}}
+ 2. {{$t('index.text18')}}
+ 3. {{$t('index.text19')}}
- Operational guidelines for compliance
+ {{$t('index.text20')}}
- 1. Identity portrait consistency
- 2. Behavior pattern simulation
- 3. Equipment environment quarantine
+ 1. {{$t('index.text21')}}
+ 2. {{$t('index.text22')}}
+ 3. {{$t('index.text23')}}
@@ -200,7 +200,7 @@
//第一次加载
async onLoad(e) {
uni.showLoading({
- title:'Data Loading...'
+ title:this.$t('loading')
})
if(this.userInfo.token === typeof(undefined) || this.userInfo.token === undefined){
this.islogin = false;
@@ -260,7 +260,7 @@
let domain = email.split('@')[1]; // 获取域名部分
let midIndex = Math.floor(username.length / 2) - 2; // 计算中间两个字符的起始索引
let censoredEmail = username.slice(0, midIndex) + "****" + username.slice(midIndex + 4) + '@' + domain;
- return censoredEmail + ' User gets 30 USDT'
+ return censoredEmail + this.$t('index.text5', {par: parseFloat(o.recive_amount).toFixed(2)})
}
},
//页面隐藏
diff --git a/pages/mine/forgotpassword.vue b/pages/mine/forgotpassword.vue
index 1565a25..eac9ec6 100644
--- a/pages/mine/forgotpassword.vue
+++ b/pages/mine/forgotpassword.vue
@@ -1,44 +1,44 @@
-
+
- Forgot Password
- Don't worry it happens. Please enter the address associate with your account.
+ {{$t('forgot.title')}}
+ {{$t('forgot.text1')}}
-
+
- Verification code
- We have to sent the code verification to Your Email.
+ {{$t('forgot.text5')}}
+ {{$t('forgot.text6')}}
- Didn't get a code?
- Resend
-
+ {{$t('forgot.text7')}}
+ {{$t('forgot.text8')}}
+
- Change password
- Don't be afraid of forgetting the password, you can change it to a password that you can remember.
+ {{$t('forgot.text9')}}
+ {{$t('forgot.text10')}}
-
-
+
+
-
-
+
+
-
+
- You remember your password?
- Login
+ {{$t('forgot.text15')}}
+ {{$t('forgot.text16')}}
@@ -53,7 +53,7 @@
data() {
return {
show: 1,
- sendText: 'Send Code',
+ sendText: this.$t('forgot.text3'),
isSend: false,
codedisabled: true,
shouldFocus: true,
@@ -68,8 +68,8 @@
code: ''
},
rules: {
- password: {rules:[{required: true,errorMessage: 'Please input password'}]},
- cpassword: {rules:[{required: true,errorMessage: 'Please input Confirm password'}]},
+ password: {rules:[{required: true,errorMessage: this.$t('forgot.text17')}]},
+ cpassword: {rules:[{required: true,errorMessage: this.$t('forgot.text18')}]},
}
};
},
@@ -98,11 +98,11 @@
},
sendcode(){
if (this.model.email == '') {
- uni.showToast({title: 'Email is empty'});
+ uni.showToast({title: this.$t('forgot.text19')});
return;
}
if (!this.$base.mailRegular.test(this.model.email)) {
- uni.showToast({title: 'Email address error'});
+ uni.showToast({title: this.$t('forgot.text20')});
return;
}
let s = 120;
@@ -117,16 +117,16 @@
this.show=2;
this.isSend = true;
uni.showToast({title: 'Successfully sent'});
- this.sendText = "Send in " + s + "s";
+ this.sendText = this.$t('forgot.text4',{par: s});
let intervalId = setInterval(() => {
s = s-1;
if (s == 0) {
clearInterval(intervalId);
this.isSend = false;
- this.sendText = "Get code";
+ this.sendText = this.$t('forgot.text3');
}
else{
- this.sendText = "Send in " + s + "s";
+ this.sendText = this.$t('forgot.text4',{par: s});
}
}, 1000);
}
@@ -143,11 +143,11 @@
changePossword(){
this.$refs.model.validate().then(res=>{
if (!this.$base.passwordRegular.test(this.model.password)) {
- uni.showToast({title: 'Please enter a 6-10 digit password', icon:'error'});
+ uni.showToast({title: this.$t('forgot.text21'), icon:'error'});
return;
}
if (this.model.cpassword !== this.model.password) {
- uni.showToast({title: 'Two passwords are inconsistent', icon:'error'});
+ uni.showToast({title: this.$t('forgot.text22'), icon:'error'});
return;
}
this.$http.post('/api/common/resetpwd', {email: this.model.email, newpassword: this.model.password, code: this.model.code}).then(res => {
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index a349ee7..a755ea8 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -28,7 +28,7 @@
{{$t('mine.text2')}}
- {{$t('mine.text3')}}
+ {{$t('mine.text3')}} 🚀
{{$t('mine.text4')}}
@@ -58,7 +58,7 @@
- Address book
+ {{$t('mine.text7')}}
@@ -66,7 +66,7 @@
- Online service
+ {{$t('mine.text8')}}
@@ -74,7 +74,7 @@
- Help Center
+ {{$t('mine.text9')}}
@@ -82,7 +82,7 @@
- About us
+ {{$t('mine.text10')}}
@@ -144,7 +144,7 @@
},
onShow(){
uni.showLoading({
- title:'Array loading...'
+ title: this.$t('loading')
})
if(this.userInfo.token === typeof(undefined) || this.userInfo.token === undefined){
this.islogin = false;
@@ -227,7 +227,6 @@