diff --git a/locales/en.json b/locales/en.json
index d67e854..cd13471 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -64,7 +64,9 @@
"text6": "Available balance",
"text7": "Upgrade now",
"text8": "Insufficient user balance",
- "tect9": "Cannot purchase VIP"
+ "tect9": "Cannot purchase VIP",
+ "text10": "upgrade",
+ "text11": "channel partner"
},
"Questionnaire":{
"title": "Questionnaire",
@@ -367,7 +369,8 @@
"text21": "Identity portrait consistency",
"text22": "Behavior pattern simulation",
"text23": "Equipment environment quarantine",
- "text24": "Core advantage"
+ "text24": "Core advantage",
+ "text25": "Select Language"
},
"nav":{
"home": "Home",
diff --git a/locales/zh.json b/locales/zh.json
index 65f5274..7312bfe 100644
--- a/locales/zh.json
+++ b/locales/zh.json
@@ -64,7 +64,9 @@
"text6": "可用余额",
"text7": "立即升级",
"text8": "用户余额不足",
- "tect9": "不能购买VIP"
+ "tect9": "不能购买VIP",
+ "text10": "升级",
+ "text11": "渠道商"
},
"Questionnaire":{
"title": "问卷",
@@ -367,7 +369,8 @@
"text21": "身份画像一致性",
"text22": "行为模式模拟",
"text23": "设备环境隔离",
- "text24": "核心优势"
+ "text24": "核心优势",
+ "text25": "选择语言"
},
"nav":{
"home": "首页",
diff --git a/pages/index/guide.vue b/pages/index/guide.vue
index 8068e05..4fa6661 100644
--- a/pages/index/guide.vue
+++ b/pages/index/guide.vue
@@ -20,7 +20,7 @@
If you are looking for an easy way to make money with surveys, you can join the "MMT" community.
-
+
@@ -79,5 +79,5 @@
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 991e30b..689ede5 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,12 +1,15 @@
-
+
-
+
-
+
+ EN
+ ZH
+
@@ -92,7 +95,7 @@
- {{$t('index.text10')}}: ${{parseFloat(item.price).toFixed(2)}}
+ {{$t('index.text10')}}: ${{parseFloat(item.interest_rate).toFixed(2)}}
@@ -143,6 +146,19 @@
+
+
+ {{$t('index.text25')}}
+
+
+ English
+
+
+ 简体中文
+
+
+
+
@@ -215,6 +231,13 @@
url: "/pages/questionnaire/select?kw="+this.kw
});
},
+ selectlanguage(){
+ this.$refs.popup.open('center');
+ },
+ switchlan(l){
+ this.$i18n.locale = l;
+ this.$refs.popup.close();
+ },
onTokenJump(url) {
this.judgeLogin(() => {
uni.navigateTo({
@@ -257,6 +280,7 @@