Compare commits
2 Commits
d8dcbfa57c
...
46a29edb51
Author | SHA1 | Date | |
---|---|---|---|
46a29edb51 | |||
e3ab320ea5 |
244
locales/en.json
244
locales/en.json
@ -4,10 +4,12 @@
|
||||
"buttonCancel": "Cancel",
|
||||
"buttonConfirm": "Confirm",
|
||||
"buttonSubmit": "Submit",
|
||||
"buttonSave": "Save",
|
||||
"buttonUpgrade": "Upgrade",
|
||||
"buttonDetails": "renew",
|
||||
"nodata": "No data available",
|
||||
"loading": "Data Loading...",
|
||||
"copy": "Copy",
|
||||
"setIndex":{
|
||||
"title": "setting",
|
||||
"text1": "PIN code setting",
|
||||
@ -52,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",
|
||||
@ -90,36 +103,251 @@
|
||||
"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",
|
||||
"text1":"Please select an address",
|
||||
"text2":"Please enter the withdrawal amount",
|
||||
"text3":"The minimum withdrawal amount is {par} USDT",
|
||||
"text4":"The withdrawal amount plus network fees cannot exceed the balance",
|
||||
"text5":"Please input PIN code",
|
||||
"text6":"Please enter a 6-digit PIN code"
|
||||
"text6":"Please enter a 6-digit PIN code",
|
||||
"text7": "Address",
|
||||
"text8": "Enter address",
|
||||
"text9": "Withdrawal amount",
|
||||
"text10": "At least {par} U",
|
||||
"text11": "Available balance",
|
||||
"text12": "Enter PIN code",
|
||||
"text13": "Network costs",
|
||||
"text14": "Expected arrival"
|
||||
},
|
||||
"transfer": {
|
||||
"title": "Transfer",
|
||||
"text1":"Please enter the transfer account",
|
||||
"text2":"Please enter the transfer amount",
|
||||
"text3":"",
|
||||
"text3":"PIN code",
|
||||
"text4":"The transfer amount cannot exceed the account balance",
|
||||
"text5":"Please input PIN code",
|
||||
"text6":"Please enter a 6-digit PIN code"
|
||||
"text6":"Please enter a 6-digit PIN code",
|
||||
"text7": "Other email",
|
||||
"text8": "Enter email address",
|
||||
"text9": "Transfer amount",
|
||||
"text10": "At least 1U",
|
||||
"text11": "Available balance",
|
||||
"text12": "Expected arrival"
|
||||
},
|
||||
"SelectNetwork":{
|
||||
"title": "Select a network",
|
||||
"text1": "Please make sure that the recharge network you choose is the same as the network you choose when withdrawing coins, otherwise it may cause loss of assets!",
|
||||
"text2": "Minimum recharge",
|
||||
"text3": "inimum Put Forward",
|
||||
"text4": "Expected to arrive in about 10 minutes"
|
||||
},
|
||||
"recharge":{
|
||||
"title":"Recharge"
|
||||
"title":"Recharge",
|
||||
"text1": "Network",
|
||||
"text2": "Rcharge amount",
|
||||
"text3": "Single latest recharge amount",
|
||||
"text4": "Receiving Address",
|
||||
"text5": "Warm tips",
|
||||
"text6": "Minimum recharge 1 USDT;",
|
||||
"text7": "Recharge confirmation: 10 times of network confirmation;",
|
||||
"text8": "Please do not recharge assets other than USDT to the above address, otherwise it may lead to the loss of assets.",
|
||||
"text9": "Please ensure the security of your mobile device to prevent information from being tampered with or leaked.",
|
||||
"text10": "Please enter the recharge amount",
|
||||
"text11": "The minimum recharge amount is "
|
||||
},
|
||||
"wallet":{
|
||||
"title": "My wallet",
|
||||
"text1": "My USDT",
|
||||
"text2": "Accumulated earnings",
|
||||
"text3": "Cash withdrawn",
|
||||
"text4": "Wallet fund records",
|
||||
"text5": "View details"
|
||||
},
|
||||
"fundrecords":{
|
||||
"title": "Wallet fund records",
|
||||
"text1": "All",
|
||||
"text2": "Earnings"
|
||||
},
|
||||
"results":{
|
||||
"title": "Results",
|
||||
"text1": "Network",
|
||||
"text2": "Expected arrival",
|
||||
"text3": "Address title",
|
||||
"text4": "Service charge",
|
||||
"text5": "Time",
|
||||
"text6": "Reference number",
|
||||
"text7": "Under review",
|
||||
"text8": "Under review, please be patient",
|
||||
"text9": "Done",
|
||||
"text10": "Extraction succeeded",
|
||||
"text11": "Return",
|
||||
"text12": "Reason:",
|
||||
"text13": "Failure"
|
||||
},
|
||||
"promotion": {
|
||||
"text1": "Invite",
|
||||
"text2": "My community",
|
||||
"text3": "Total team Size",
|
||||
"text4": "Direct referral headcount",
|
||||
"text5": "KPI Results-Region",
|
||||
"text6": "KPI Results-Cell",
|
||||
"text7": "Direct referral list",
|
||||
"text8": "View all",
|
||||
"text9": "Join date",
|
||||
"text10": "KPI results",
|
||||
"text11": "Total Team Size"
|
||||
},
|
||||
"invite": {
|
||||
"text1": "Save",
|
||||
"text2": "Share",
|
||||
"text3": "Long press to save",
|
||||
"text4": "Poster download in progress"
|
||||
},
|
||||
"promotionList": {
|
||||
"title": "Direct referral list",
|
||||
"text1": "Direct referral headcount"
|
||||
},
|
||||
"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":{
|
||||
"title":"Computing power"
|
||||
"title": "Computing power",
|
||||
"text1": "My Power Value Balance",
|
||||
"text2": "Total Agent",
|
||||
"text3": "Not finished",
|
||||
"text4": "Expired",
|
||||
"text5": "Power record",
|
||||
"text6": "Warm tips",
|
||||
"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"
|
||||
}
|
||||
}
|
@ -1,14 +1,9 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Details" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="info.title" bgColor="#fff" backState="2000"></nav-bar>
|
||||
<view style="width: 92%; margin: 20px auto;">
|
||||
<view style="font-weight: 700;font-size: 20px;color: #3D3D3D;line-height: 28px;text-transform: none;">
|
||||
Bitcoin breaks $100,000!
|
||||
</view>
|
||||
<view style="font-size: 12px; font-weight: 400; color: #999; margin-bottom: 20px;">
|
||||
2025/05/08 22:23:45
|
||||
</view>
|
||||
<view class="table_content"><jyf-parser :html="html"></jyf-parser></view>
|
||||
<image src='/static/images/Companyprofile.png' mode="widthFix" style="width: 100%;" v-if="title=='aboutus'"></image>
|
||||
<view class="table_content" style="margin-top: 40rpx;"><jyf-parser :html="info.content"></jyf-parser></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@ -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() {},
|
||||
|
@ -1,58 +1,68 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Help Center" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('help.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="padding: 20px 15px; font-size: 16px; color: #3d3d3d;">
|
||||
Official group
|
||||
{{$t('help.text1')}}
|
||||
</view>
|
||||
<view class="cell_list" @click="open('qq_group')">
|
||||
<!-- <view class="cell_list" @click="open('qq_group')">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h1.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
<image src="/static/images/h1.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
QQ group
|
||||
</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cell_list" @click="open('telegram_group')">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h2.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Telegram</view>
|
||||
<image src="/static/images/h2.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Telegram
|
||||
</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
<view class="cell_list" @click="open('sigua_group')">
|
||||
<!-- <view class="cell_list" @click="open('sigua_group')">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h3.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Loofah group</view>
|
||||
<image src="/static/images/h3.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Loofah group
|
||||
</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="padding: 20px 15px; font-size: 16px; color: #3d3d3d;">
|
||||
Wallet download
|
||||
{{$t('help.text2')}}
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h4.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Binance Download</view>
|
||||
<image src="/static/images/h4.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Binance Download
|
||||
</view>
|
||||
<view class="cell_right" @click="copy(init.wallet_download['Binance'])">Copy URL</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h5.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
<image src="/static/images/h5.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Okex Download
|
||||
</view>
|
||||
<view class="cell_right" @click="copy(init.wallet_download['Okex'])">Copy URL</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h6.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
<image src="/static/images/h6.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
TokenPocket Download
|
||||
</view>
|
||||
<view class="cell_right" @click="copy(init.wallet_download['TokenPocket'])">Copy URL</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<!-- <view class="cell_list">
|
||||
<view class="cell_left txt">
|
||||
<image src="/static/images/h3.png" mode="cover" style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Open Sesame Download
|
||||
<image src="/static/images/h3.png" mode="cover"
|
||||
style="width: 30px; height: 30px; border-radius: 10px; margin-right: 5px;"></image>
|
||||
Open Sesame Download
|
||||
</view>
|
||||
<view class="cell_right" @click="copy(init.wallet_download['Open Sesame'])">Copy URL</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<uni-popup ref="popup" type="dialog" :is-mask-click="true" background-color="#fff" borderRadius="40rpx">
|
||||
<view class="dialog">
|
||||
@ -60,7 +70,8 @@
|
||||
<view style="padding-bottom: 20px; width: 100%;" v-for="(value, key) in list" :key="key">
|
||||
<view class="v1" style="margin-left: 10px;">{{key}}:</view>
|
||||
<view class="v1" style="margin-left: 40rpx;">{{value}} </view>
|
||||
<image style="width: 36rpx; height: 30rpx; float: right; margin-left: 20rpx; margin-top: 10rpx;" src="/static/images/copy.png" @click="copy(value)" mode="cover"></image>
|
||||
<image style="width: 36rpx; height: 30rpx; float: right; margin-left: 20rpx; margin-top: 10rpx;"
|
||||
src="/static/images/copy.png" @click="copy(value)" mode="cover"></image>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</view>
|
||||
@ -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 @@
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import '@/style/mixin.scss';
|
||||
body{background-color: #F8F8F8;}
|
||||
.page{min-height: 100vh;position: relative; background-color: #F8F8F8;}
|
||||
|
||||
body {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
position: relative;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
.cell_list {
|
||||
padding: 30rpx 30rpx;
|
||||
margin: 0rpx 30rpx;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.txt{
|
||||
|
||||
.txt {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: #3d3d3d
|
||||
}
|
||||
|
||||
.cell_right image {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.dialog{
|
||||
width: 80vw; padding: 20rpx 30rpx; border-radius: 40rpx; line-height: 50rpx;
|
||||
|
||||
.dialog {
|
||||
width: 80vw;
|
||||
padding: 20rpx 30rpx;
|
||||
border-radius: 40rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.dialog .title{
|
||||
font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;
|
||||
|
||||
.dialog .title {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.dialog .v1{
|
||||
font-weight: 600;font-size: 16px;color: #1D61E7; float:left;
|
||||
|
||||
.dialog .v1 {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
color: #1D61E7;
|
||||
float: left;
|
||||
}
|
||||
</style>
|
@ -1,23 +1,23 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="About us" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('about.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="padding: 30px 10px;">
|
||||
<view style="text-align: center;">
|
||||
<image src="/static/images/w5.png" mode="cover" style="width: 150px; height: 150px; border: 1px solid #fff; border-radius: 10px; margin: auto;"></image>
|
||||
<image src="/static/images/logo1.png" mode="cover" style="width: 150px; height: 150px; border: 1px solid #fff; border-radius: 10px; margin: auto;"></image>
|
||||
</view>
|
||||
<view style="font-size: 18px; font-weight: 600; color: #333; text-align: center; line-height: 40px;">MMT</view>
|
||||
<view style="font-weight: 500; font-size: 14px; color: #999; text-align: center;">Version: 1.0.1</view>
|
||||
<view style="font-weight: 500; font-size: 14px; color: #999; text-align: center;">Version: {{init.version}}</view>
|
||||
</view>
|
||||
<view class="cell_list" @click="onPageJump('/pages/about/Version')">
|
||||
<view class="cell_left txt">Version update</view>
|
||||
<view class="cell_left txt">{{$t('about.text1')}}</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
<view class="cell_list" @click="onPageJump('/pages/about/details?id=1')">
|
||||
<view class="cell_left txt">Service Agreement</view>
|
||||
<view class="cell_list" @click="onPageJump('/pages/about/details?id=service_agreement')">
|
||||
<view class="cell_left txt">{{$t("about.text2")}}</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
<view class="cell_list" @click="onPageJump('/pages/about/details?id=2')">
|
||||
<view class="cell_left txt">Company profile</view>
|
||||
<view class="cell_list" @click="onPageJump('/pages/about/details?id=aboutus')">
|
||||
<view class="cell_left txt">{{$t("about.text3")}}</view>
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
|
||||
@ -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() {},
|
||||
|
@ -3,7 +3,7 @@
|
||||
<nav-bar :title="$t('address.add.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;">
|
||||
<uni-forms :modelValue="model" label-position="top" :rules="rules" ref="model" label-width="50%">
|
||||
<uni-forms-item label="Select network">
|
||||
<uni-forms-item :label="$t('address.add.text1')">
|
||||
<view class="cell_list" style="padding: 10px; margin: 0px; background-color: #F8F8F8;" @click="open">
|
||||
<view style="color: #333; font-size: 14px; font-weight: 600; line-height: 25px;">
|
||||
<image src="/static/images/s1.png" v-if="model.network == 'TRC-20'" style="width: 25px; height: 25px; float: left;" mode="cover"></image>
|
||||
@ -15,24 +15,24 @@
|
||||
<view class="cell_right arrow"></view>
|
||||
</view>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Wallet address" name="address">
|
||||
<uni-easyinput :disabled="model.id != ''" v-model="model.address" placeholder="Enter address" style="background-color: #F5F7FA;">
|
||||
<uni-forms-item :label="$t('address.add.text2')" name="address">
|
||||
<uni-easyinput :disabled="model.id != ''" v-model="model.address" :placeholder="$t('address.add.text3')" style="background-color: #F5F7FA;">
|
||||
<template #right>
|
||||
<image src="/static/images/sm.png" @click="scanCode" style="width: 25px; height: 25px;" mode="cover"></image>
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Set the name" name="name">
|
||||
<uni-easyinput v-model="model.title" placeholder="Set the name" style="background-color: #F5F7FA !important;"></uni-easyinput>
|
||||
<uni-forms-item :label="$t('address.add.text4')" name="name">
|
||||
<uni-easyinput v-model="model.title" :placeholder="$t('address.add.text4')" style="background-color: #F5F7FA !important;"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 60px;">
|
||||
<button type="primary" round style="width: 90%; margin: auto;" @click="submit">Save</button>
|
||||
<button type="primary" round style="width: 90%; margin: auto;" @click="submit">{{$t('buttonSave')}}</button>
|
||||
</view>
|
||||
<uni-popup ref="popup" type="dialog" :is-mask-click="true" background-color="#fff" borderRadius="40rpx">
|
||||
<view style="width: 80vw; padding: 20rpx 30rpx; border-radius: 40rpx; line-height: 50rpx;">
|
||||
<view style="font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;">Select a network</view>
|
||||
<view style="font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;">{{$t('address.add.text5')}}</view>
|
||||
<view style="padding-bottom: 20px; width: 100%;">
|
||||
<view @click="switchnetwork('TRC-20')">
|
||||
<uni-row>
|
||||
@ -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')}],
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -17,10 +17,10 @@
|
||||
|
||||
<view style="text-align: center; padding-bottom: 80px;" v-if="list.length == 0">
|
||||
<image src="/static/images/w5.png" mode="cover" style="width: 180px; height: 180px; margin: 80px auto 5px auto;"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 60px;">
|
||||
<button type="primary" @click="onPageJump('/pages/address/add')" style="width: 90%; border-radius: 15px; border: 1px solid #fff; margin: auto; ">Add address</button>
|
||||
<button type="primary" @click="onPageJump('/pages/address/add')" style="width: 90%; border-radius: 15px; border: 1px solid #fff; margin: auto; ">{{$t('address.text1')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -12,10 +12,10 @@
|
||||
</view>
|
||||
<view style="margin-top: 20rpx;">
|
||||
<uni-search-bar class="uni-mt-10" radius="10" v-model="kw"
|
||||
placeholder="Search the questionnaire" clearButton="auto" cancelButton="none" @confirm="search" />
|
||||
:placeholder="$t('index.text1')" clearButton="auto" cancelButton="none" @confirm="search" />
|
||||
</view>
|
||||
<view class="num">
|
||||
<view style="font-size: 30rpx; color: #999;">Total assets</view>
|
||||
<view style="font-size: 30rpx; color: #999;">{{$t('index.text2')}}</view>
|
||||
<view>
|
||||
<span style="font-size: 60rpx; font-weight: bold; float: left;">{{parseFloat(user.money).toFixed(4)}}</span>
|
||||
<span style="font-size: 40rpx; font-weight: 600; margin: 20rpx 10rpx auto 10rpx; float: left;">USDT</span>
|
||||
@ -23,7 +23,7 @@
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
<view style="font-size: 30rpx; color: #999;">
|
||||
<span>Today's earnings</span>
|
||||
<span>{{$t('index.text3')}}</span>
|
||||
<span style="margin-left: 20rpx;">$ 0.00</span>
|
||||
</view>
|
||||
<view style="clear: both;"></view>
|
||||
@ -33,13 +33,13 @@
|
||||
<uni-col :span="12">
|
||||
<button @click="onTokenJump('/pages/wallet/putforward')" style="background-color: #fff; border: 1px solid #1D61E7; border-radius: 40rpx; width: 93%; margin-top: 30rpx;">
|
||||
<image src="/static/images/index4.png" style="width: 30rpx; height: 30rpx; float: left; margin-left: 18%; margin-top: 30rpx;"></image>
|
||||
<span style="float: left; color: #1D61E7; margin-left: 10rpx;">Cash out</span>
|
||||
<span style="float: left; color: #1D61E7; margin-left: 10rpx;">{{$t('index.text4')}}</span>
|
||||
</button>
|
||||
</uni-col>
|
||||
<uni-col :span="12">
|
||||
<button @click="onTokenJump('/pages/wallet/recharge')" style="background-color: #1D61E7; border: 1px solid #1D61E7; border-radius: 40rpx; width: 93%; float: right; margin-top: 30rpx;">
|
||||
<image src="/static/images/index3.png" style="width: 30rpx; height: 30rpx; float: left; margin-left: 18%; margin-top: 30rpx;"></image>
|
||||
<span style="float: left; color: #fff; margin-left: 10rpx;">Recharge</span>
|
||||
<span style="float: left; color: #fff; margin-left: 10rpx;">{{$t('recharge.title')}}</span>
|
||||
</button>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
@ -52,7 +52,7 @@
|
||||
{{ getcash(item) }}
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<uni-icons type="right" size="20" color="#999" style="margin-right: 15rpx;" />
|
||||
|
||||
</view>
|
||||
<view style="width: 94%; margin: 60rpx auto;">
|
||||
<uni-row>
|
||||
@ -60,10 +60,10 @@
|
||||
<image src="/static/images/index5.png" style="width: 220rpx; height: 180rpx; margin: 10rpx auto;"></image>
|
||||
</uni-col>
|
||||
<uni-col :span="16">
|
||||
<view style="font-size: 30rpx; color: #999; margin-top: 10rpx;">Surprise reward</view>
|
||||
<view style="font-size: 60rpx color: #333; font-weight: 600;">Invite friends to get high commission</view>
|
||||
<view style="font-size: 30rpx; color: #999; margin-top: 10rpx;">{{$t('index.text6')}}</view>
|
||||
<view style="font-size: 60rpx color: #333; font-weight: 600;">{{$t('index.text7')}}</view>
|
||||
<view style="font-size: 30rpx; color: #333; margin-top: 10rpx;">
|
||||
<span style="float: left;">View details</span>
|
||||
<span style="float: left;">{{$t('index.text8')}}</span>
|
||||
<span style="float: left;"><uni-icons type="arrow-right" color="#333" size="20"></uni-icons></span>
|
||||
<span style="float: right;">1/3</span>
|
||||
</view>
|
||||
@ -84,13 +84,13 @@
|
||||
<slider :value="item.used" :disabled="true" style="height: 16rpx;" min="0" :max="item.stock+item.used" step="100" />
|
||||
</view>
|
||||
<view style="width: 55%; float: left; line-height: 35px; margin-left: 5%;">
|
||||
Answered: <span style="color: #1D61E7;">{{item.used}}</span>/{{item.stock+item.used}}
|
||||
{{$t('index.text9')}}: <span style="color: #1D61E7;">{{item.used}}</span>/{{item.stock+item.used}}
|
||||
</view>
|
||||
<view style="text-align: left; clear: both;">Period: {{item.billing_cycle}} {{item.cycle_type}}</view>
|
||||
</view>
|
||||
<view style="font-size: 12px; font-weight: 400; color: #999; line-height: 20px; te">
|
||||
<view style="float: left; color: #333; font-size: 16px; font-weight: 500; line-height: 40px;">
|
||||
reward: <span style="font-size: 20px;">${{parseFloat(item.price).toFixed(2)}} </span>
|
||||
{{$t('index.text10')}}: <span style="font-size: 20px;">${{parseFloat(item.price).toFixed(2)}} </span>
|
||||
</view>
|
||||
<view style="float: right;">
|
||||
<button type="primary" class="b" @click="onTokenJump('/pages/questionnaire/details?id='+item.id)">To answer</button>
|
||||
@ -100,7 +100,7 @@
|
||||
</uni-row>
|
||||
</view>
|
||||
<view @click="onPageJump1('/pages/questionnaire/index')" style="border: 1px solid #999; border-radius: 45rpx; font-size: 34rpx; margin: 40rpx auto; color: #333; width: 40%; text-align: center; height: 90rpx; line-height: 90rpx;">
|
||||
View all <uni-icons type="arrow-right" color="#333" size="20"></uni-icons>
|
||||
{{$t('index.text11')}} <uni-icons type="arrow-right" color="#333" size="20"></uni-icons>
|
||||
</view>
|
||||
</uni-section>
|
||||
</view>
|
||||
@ -109,34 +109,34 @@
|
||||
<view class="v2" style="margin-top: 20rpx; padding: 30rpx 20rpx;">
|
||||
<view><image src="/static/images/index6.png" style="width: 130rpx; height: 130rpx; margin: auto;"></image></view>
|
||||
<view style="font-size: 34rpx; font-weight: 600; text-align: center; margin-top: 20rpx;">
|
||||
Application of new technologies (automation tools/AI assistance)
|
||||
{{$t('index.text12')}}
|
||||
</view>
|
||||
<view style="text-align: center; margin-top: 20rpx; color: #999; font-size: 26rpx;">
|
||||
1. Intelligent answer engine<br>
|
||||
2. Dynamic question bank management system<br>
|
||||
3. Multi-mode anti-detection system
|
||||
1. {{$t('index.text13')}}<br>
|
||||
2. {{$t('index.text14')}}<br>
|
||||
3. {{$t('index.text15')}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="v2">
|
||||
<view><image src="/static/images/index7.png" style="width: 130rpx; height: 130rpx; margin: auto;"></image></view>
|
||||
<view style="font-size: 34rpx; font-weight: 600; text-align: center; margin-top: 20rpx;">
|
||||
Construction of Quality Monitoring System
|
||||
{{$t('index.text16')}}
|
||||
</view>
|
||||
<view style="text-align: center; margin-top: 20rpx; color: #999; font-size: 26rpx;">
|
||||
1. Doube-blind audit mechanism<br>
|
||||
2. Dynamic scoring model<br>
|
||||
3. Data traceability
|
||||
1. {{$t('index.text17')}}<br>
|
||||
2. {{$t('index.text18')}}<br>
|
||||
3. {{$t('index.text19')}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="v2">
|
||||
<view><image src="/static/images/index8.png" style="width: 130rpx; height: 130rpx; margin: auto;"></image></view>
|
||||
<view style="font-size: 34rpx; font-weight: 600; text-align: center; margin-top: 20rpx;">
|
||||
Operational guidelines for compliance
|
||||
{{$t('index.text20')}}
|
||||
</view>
|
||||
<view style="text-align: center; margin-top: 20rpx; color: #999; font-size: 26rpx;">
|
||||
1. Identity portrait consistency<br>
|
||||
2. Behavior pattern simulation<br>
|
||||
3. Equipment environment quarantine
|
||||
1. {{$t('index.text21')}}<br>
|
||||
2. {{$t('index.text22')}}<br>
|
||||
3. {{$t('index.text23')}}
|
||||
</view>
|
||||
</view>
|
||||
</uni-section>
|
||||
@ -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)})
|
||||
}
|
||||
},
|
||||
//页面隐藏
|
||||
|
@ -1,44 +1,44 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="forgot password" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('forgot.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;" v-if="show==1">
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">Forgot Password</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">Don't worry it happens. Please enter the address associate with your account.</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">{{$t('forgot.title')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">{{$t('forgot.text1')}}</view>
|
||||
<uni-forms label-position="top" label-width="80px" :model="model">
|
||||
<uni-forms-item label="Email" name="email">
|
||||
<uni-easyinput type="text" v-model="model.email" placeholder="Please enter your email address"></uni-easyinput>
|
||||
<uni-easyinput type="text" v-model="model.email" :placeholder="$t('forgot.text2')"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<button type="primary" round style="width: 100%;" :disabled="isSend" @click="sendcode()">{{sendText}}</button>
|
||||
</view>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;" v-if="show==2">
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">Verification code</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">We have to sent the code verification to Your Email.</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">{{$t('forgot.text5')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">{{$t('forgot.text6')}}</view>
|
||||
<uni-easyinput type="number" :maxlength="1" :clearable="false" :focus="show==2" v-model="code1" style="width: 80rpx; float: left;" ref="myInput0"></uni-easyinput>
|
||||
<uni-easyinput type="number" :clearable="false" :focus="code1.length>0" v-model="code2" style="width: 80rpx; float: left; margin-left: 90rpx;" ref="myInput1"></uni-easyinput>
|
||||
<uni-easyinput type="number" :clearable="false" :focus="code2.length>0" v-model="code3" style="width: 80rpx; float: left; margin-left: 90rpx;" ref="myInput2"></uni-easyinput>
|
||||
<uni-easyinput type="number" :clearable="false" :focus="code3.length>0" v-model="code4" style="width: 80rpx; float: left; margin-left: 90rpx;" ref="myInput3"></uni-easyinput>
|
||||
<view style="font-size: 14px; font-weight: 400; color: #6C7278; text-align: right; line-height: 60px;">Didn't get a code?
|
||||
<span style="color: #1D61E7; margin:0px 10px;">Resend</span></view>
|
||||
<button type="primary" round style="width: 100%;" :disabled="codedisabled" @click="submit()">Submit</button>
|
||||
<view style="font-size: 14px; font-weight: 400; color: #6C7278; text-align: right; line-height: 60px;">{{$t('forgot.text7')}}
|
||||
<span style="color: #1D61E7; margin:0px 10px;" @click="sendcode">{{$t('forgot.text8')}}</span></view>
|
||||
<button type="primary" round style="width: 100%;" :disabled="codedisabled" @click="submit()">{{$t('buttonSubmit')}}</button>
|
||||
</view>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;" v-if="show==3">
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">Change password</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">Don't be afraid of forgetting the password, you can change it to a password that you can remember.</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">{{$t('forgot.text9')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">{{$t('forgot.text10')}}</view>
|
||||
<uni-forms label-position="top" label-width="80px" :model="model" :rules="rules" ref="model">
|
||||
<uni-forms-item label="Password" name="password">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="model.password" placeholder="Please enter your Password" />
|
||||
<uni-forms-item :label="$t('forgot.text11')" name="password">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="model.password" :placeholder="$t('forgot.text12')" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Confirm password" name="cpassword" labelWidth="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="model.cpassword" placeholder="Please enter your confirm Password" />
|
||||
<uni-forms-item :label="$t('forgot.text13')" name="cpassword" labelWidth="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="model.cpassword" :placeholder="$t('forgot.text14')" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<button type="primary" round style="width: 100%;" @click="changePossword()">Submit</button>
|
||||
<button type="primary" round style="width: 100%;" @click="changePossword()">{{$t('buttonSubmit')}}</button>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 50px;">
|
||||
<view style="font-size: 12px; color: #6C7278; font-weight: 500; text-align: center;">
|
||||
You remember your password?
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/login')">Login</span>
|
||||
{{$t('forgot.text15')}}
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/login')">{{$t('forgot.text16')}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -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 => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="minebg">
|
||||
<nav-bar title="" bgColor="rgba(255, 0, 0, 0.9);"></nav-bar>
|
||||
<uni-nav-bar title="" backgroundColor="rgba(0, 0, 0, 1);" :shadow="false" :border="false" height="50rpx"></uni-nav-bar>
|
||||
<view class="v1">
|
||||
<uni-badge :text="noticeCount" absolute="rightTop" size="small" class="item" type="error">
|
||||
<uni-icons size="20" type="chat" @click="onTokenJump('/pages/mine/notice')"></uni-icons>
|
||||
@ -28,7 +28,7 @@
|
||||
</view>
|
||||
<view class="sj" v-if="user.role_id == 1">
|
||||
<view class="sj1">{{$t('mine.text2')}} </view>
|
||||
<view class="sj2">{{$t('mine.text3')}} </view>
|
||||
<view class="sj2">{{$t('mine.text3')}} 🚀 </view>
|
||||
</view>
|
||||
<view class="sj" v-else>
|
||||
<view class="sj1" style="margin-top: 10px;">{{$t('mine.text4')}}</view>
|
||||
@ -58,7 +58,7 @@
|
||||
<uni-col :span="24" style="margin-top: 10px;">
|
||||
<view class="wallet" style="padding: 15px 10px 12px 10px;" @click="onTokenJump('/pages/address/index')">
|
||||
<image class="i" src="/static/images/5.png" mode="cover"></image>
|
||||
<span class="s">Address book</span>
|
||||
<span class="s">{{$t('mine.text7')}}</span>
|
||||
<uni-icons size="20" type="right" style="float: right;"></uni-icons>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
@ -66,7 +66,7 @@
|
||||
<uni-col :span="24" style="margin-top: 10px;">
|
||||
<view class="wallet" style="padding: 15px 10px 12px 10px;">
|
||||
<image class="i" src="/static/images/m4.png" fit="cover"></image>
|
||||
<span class="s" @click="onTokenJump1('/pages/im/index')">Online service</span>
|
||||
<span class="s" @click="onTokenJump1('/pages/im/index')">{{$t('mine.text8')}}</span>
|
||||
<uni-icons size="20" type="right" style="float: right;"></uni-icons>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
@ -74,7 +74,7 @@
|
||||
<uni-col :span="24" style="margin-top: 10px;">
|
||||
<view class="wallet" style="padding: 15px 10px 12px 10px;" @click="onPageJump('/pages/about/help')">
|
||||
<image class="i" src="/static/images/m6.png" fit="cover"></image>
|
||||
<span class="s">Help Center</span>
|
||||
<span class="s">{{$t('mine.text9')}}</span>
|
||||
<uni-icons size="20" type="right" style="float: right;"></uni-icons>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
@ -82,7 +82,7 @@
|
||||
<uni-col :span="24" style="margin-top: 10px;">
|
||||
<view class="wallet" style="padding: 15px 10px 12px 10px;" @click="onPageJump('/pages/about/index')">
|
||||
<image class="i" src="/static/images/m3.png" fit="cover"></image>
|
||||
<span class="s">About us</span>
|
||||
<span class="s">{{$t('mine.text10')}}</span>
|
||||
<uni-icons size="20" type="right" style="float: right;"></uni-icons>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
@ -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 @@
|
||||
<style scoped>
|
||||
.uni-page-body{background-color: #F8F8F8 !important;}
|
||||
.page{min-height: 93vh;position: relative; background-color: #F8F8F8;}
|
||||
::v-deep .header_icon{display: none;}
|
||||
.minebg{
|
||||
width: 100vw;
|
||||
min-height: 93vh;
|
||||
|
@ -1,38 +1,38 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Personal details" bgColor="#F5f5f5"></nav-bar>
|
||||
<nav-bar :title="$t('personal.title')" bgColor="#F5f5f5"></nav-bar>
|
||||
<view class="cell_list" @click="dialogVisible = true">
|
||||
<view class="cell_left txt">Head portrait</view>
|
||||
<view class="cell_left txt">{{$t('personal.text1')}}</view>
|
||||
<view class="cell_right arrow">
|
||||
<image :src="avatar" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
<z-prompt :value="nickname" options="nickname" text="Please enter a nickname" @confirm="onNameChange" :options="popupOptions">
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">User name</view>
|
||||
<view class="cell_left txt">{{$t('personal.text2')}}</view>
|
||||
<view class="cell_right arrow">{{ nickname }}</view>
|
||||
</view>
|
||||
</z-prompt>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">User ID</view>
|
||||
<view class="cell_left txt">{{$t('personal.text3')}}</view>
|
||||
<view class="cell_right ">{{id}}</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Account</view>
|
||||
<view class="cell_left txt">{{$t('personal.text4')}}</view>
|
||||
<view class="cell_right">{{account}}</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Identity</view>
|
||||
<view class="cell_left txt">{{$t('personal.text5')}}</view>
|
||||
<view class="cell_right">{{identity}}</view>
|
||||
</view>
|
||||
|
||||
<popup v-model="dialogVisible">
|
||||
<view class="popup_content">
|
||||
<view @click="takePhoto">Photograph</view>
|
||||
<view @click="onUnloadImg">My Album Selection</view>
|
||||
<view @click="takePhoto">{{$t('personal.text6')}}</view>
|
||||
<view @click="onUnloadImg">{{$t('personal.text7')}}</view>
|
||||
</view>
|
||||
<view class="popup_content1">
|
||||
<view>Cancel</view>
|
||||
<view>{{$t('buttonCancel')}}</view>
|
||||
</view>
|
||||
</popup>
|
||||
</view>
|
||||
|
@ -1,29 +1,29 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Log in" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('login.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;">
|
||||
<view>
|
||||
<image src="/static/images/109.png" style="width: 25px; height: 25px; float: left;" fit="cover"></image>
|
||||
<span style="font-size: 20px; font-weight: 700; float: left; color: #3d3d3d; margin-left: 10px;">Marsh Questionnaire</span>
|
||||
<span style="font-size: 20px; font-weight: 700; float: left; color: #3d3d3d; margin-left: 10px;">{{$t('login.text1')}}</span>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">Sign in to your Account</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px;">Enter your email and password to log in </view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700; margin-top: 20px;">{{$t('login.text2')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px;">{{$t('login.text3')}}</view>
|
||||
<uni-forms label-position="top" label-width="80px" :model="loginModel" :rules="rules" ref="loginModel">
|
||||
<uni-forms-item label="Email" name="username">
|
||||
<uni-easyinput type="text" v-model="loginModel.username" placeholder="Please enter your email address"></uni-easyinput>
|
||||
<uni-easyinput type="text" v-model="loginModel.username" :placeholder="$t('login.text4')"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Password" name="password">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="loginModel.password" placeholder="Please enter your Password" />
|
||||
<uni-forms-item :label="$t('forgot.text11')" name="password">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="loginModel.password" :placeholder="$t('login.text5')" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<view style="font-size: 12px; color:#4D81E7; font-weight: 500; text-align: right; margin-bottom: 30px;" @click="onPageJump('/pages/mine/forgotpassword')">Forgot Password ?</view>
|
||||
<button type="primary" round style="width: 100%;" @click="login()">log in</button>
|
||||
<view style="font-size: 12px; color:#4D81E7; font-weight: 500; text-align: right; margin-bottom: 30px;" @click="onPageJump('/pages/mine/forgotpassword')">{{$t('login.text6')}}</view>
|
||||
<button type="primary" round style="width: 100%;" @click="login()">{{$t('login.title')}}</button>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 50px;">
|
||||
<view style="font-size: 12px; color: #6C7278; font-weight: 500; text-align: center;">
|
||||
Don’t have an account?
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/signup')">Sign Up</span>
|
||||
{{$t('login.text7')}}
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/signup')">{{$t('login.text8')}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -42,8 +42,8 @@
|
||||
password: ''
|
||||
},
|
||||
rules: {
|
||||
username: {rules:[{required: true,errorMessage: 'Please enter your email address'}]},
|
||||
password: {rules:[{required: true,errorMessage: 'Please input a password'}]},
|
||||
username: {rules:[{required: true,errorMessage: this.$t('login.text9')}]},
|
||||
password: {rules:[{required: true,errorMessage: this.$t('login.text10')}]},
|
||||
}
|
||||
};
|
||||
},
|
||||
@ -67,7 +67,7 @@
|
||||
login(){
|
||||
this.$refs.loginModel.validate().then(res=>{
|
||||
if (!this.$base.mailRegular.test(this.loginModel.username)) {
|
||||
uni.showToast({title: 'Email address error', icon:'error'});
|
||||
uni.showToast({title: this.$t('setPasswork.text13'), icon:'error'});
|
||||
return;
|
||||
}
|
||||
this.$http.post('/api/common/login', this.loginModel).then(res => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Notice" bgColor="#fff">
|
||||
<span slot="right" style="margin-right: 10px; font-size: 14px;" @click="allRead">All read</span>
|
||||
<nav-bar :title="$t('notice.title')" bgColor="#fff">
|
||||
<span slot="right" style="margin-right: 10px; font-size: 14px;" @click="allRead">{{$t('notice.text1')}}</span>
|
||||
</nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto;" v-if="list.length > 0">
|
||||
<view class="cell_list" v-for="item in list" :key="item.id" style="margin-top: 10px; border-radius: 10px;" @click="onPageJump(item.id)">
|
||||
@ -18,8 +18,8 @@
|
||||
|
||||
</view>
|
||||
<view style="text-align: center; padding-bottom: 80px;" v-if="list.length == 0">
|
||||
<image style="width: 180px; height: 180px; margin-top: 80px;" src="/static/images/w5.png" mode="cover"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<image style="width: 180px; height: 180px; margin: 160rpx auto 0rpx auto;" src="/static/images/w5.png" mode="cover"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Details" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('noticedetail.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 20px auto;">
|
||||
<view style="font-weight: 700;font-size: 20px;color: #3D3D3D;line-height: 28px;text-transform: none;">
|
||||
{{model.title}}
|
||||
|
@ -1,15 +1,15 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Sign up" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('signup.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: auto; padding: 15px 10px;" v-if="pageShow==1">
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700;">Sign up</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">Create an account to continue!</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700;">{{$t('signup.title')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">{{$t('signup.text1')}}</view>
|
||||
<uni-forms label-position="top" label-width="80px" :modelValue="signupModel" :rules="rules" ref="signupModel">
|
||||
<uni-forms-item label="Email" name="email" label-width="400rpx">
|
||||
<uni-easyinput type="text" v-model="signupModel.email" placeholder="Please enter your email address"></uni-easyinput>
|
||||
<uni-easyinput type="text" v-model="signupModel.email" :placeholder="$t('signup.text2')"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Verification code" name="code" label-width="400rpx">
|
||||
<uni-easyinput type="number" v-model="signupModel.code" placeholder="Enter email verification code">
|
||||
<uni-forms-item :label="$t('signup.text3')" name="code" label-width="400rpx">
|
||||
<uni-easyinput type="number" v-model="signupModel.code" :placeholder="$t('signup.text4')">
|
||||
<template #right>
|
||||
<button type="primary"
|
||||
:disabled="isSend"
|
||||
@ -18,37 +18,37 @@
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Password" name="password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel.password" placeholder="Please enter your Password" />
|
||||
<uni-forms-item :label="$t('forgot.text11')" name="password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel.password" :placeholder="$t('login.text5')" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Confirm password" name="cpassword" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel.cpassword" placeholder="Please enter your confirm password" />
|
||||
<uni-forms-item :label="$t('forgot.text13')" name="cpassword" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel.cpassword" :placeholder="$t('forgot.text14')" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<view class="f">Forgot Password ?</view>
|
||||
<button type="primary" round style="width: 100%;" @click="next">Next</button>
|
||||
<view class="f">{{$t('login.text6')}}</view>
|
||||
<button type="primary" round style="width: 100%;" @click="next">{{$t('signup.text5')}}</button>
|
||||
</view>
|
||||
<view style="width: 92%; margin: auto; padding: 15px 10px;" v-if="pageShow==2">
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700;">Sign up</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">Create an account to continue!</view>
|
||||
<view style="font-size: 32px; color: #333; font-weight: 700;">{{$t('signup.title')}}</view>
|
||||
<view style="color: #6C7278; font-weight: 500; font-size: 14px; margin-bottom: 20px; margin-top: 10px;">{{$t('signup.text1')}}</view>
|
||||
<uni-forms label-position="top" label-width="80px" :modelValue="signupModel1" :rules="rules1" ref="signupModel1">
|
||||
<uni-forms-item label="Trade password" name="trade_password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel1.trade_password" placeholder="Please enter your trade Password" />
|
||||
<uni-forms-item :label="$t('signup.text6')" name="trade_password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel1.trade_password" :placeholder="$t('signup.text7')" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Confirm Trade password" name="ctrade_password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel1.ctrade_password" placeholder="Please enter your confirm trade Password" />
|
||||
<uni-forms-item :label="$t('signup.text10')" name="ctrade_password" label-width="400rpx">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="signupModel1.ctrade_password" :placeholder="$t('signup.text8')" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Invitation code" name="invite_code" label-width="400rpx">
|
||||
<uni-easyinput type="text" v-model="signupModel1.invite_code" placeholder="Please enter your invitation code"></uni-easyinput>
|
||||
<uni-forms-item :label="$t('signup.text11')" name="invite_code" label-width="400rpx">
|
||||
<uni-easyinput type="text" v-model="signupModel1.invite_code" :placeholder="$t('signup.text9')"></uni-easyinput>
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<view style="font-size: 12px; color:#4D81E7; font-weight: 500; text-align: right; margin-bottom: 30px;">Forgot Password ?</view>
|
||||
<button type="primary" round style="width: 100%;" @click="signup">Sign up</button>
|
||||
<view style="font-size: 12px; color:#4D81E7; font-weight: 500; text-align: right; margin-bottom: 30px;">{{$t('login.text6')}}</view>
|
||||
<button type="primary" round style="width: 100%;" @click="signup">{{$t('signup.title')}}</button>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 60rpx;">
|
||||
<view style="font-size: 12px; color: #6C7278; font-weight: 500; text-align: center;">
|
||||
Already have an account?
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/login')">Login</span>
|
||||
{{$t('signup.text13')}}
|
||||
<span style="color: #4D81E7; margin-left: 10px;" @click="onPageJump('/pages/mine/login')">{{$t('forgot.text16')}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -62,7 +62,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
sendText: "Get code",
|
||||
sendText: this.$t('setPasswork.text8'),
|
||||
isSend: false,
|
||||
pageShow: 1,
|
||||
signupModel:{
|
||||
@ -77,18 +77,18 @@
|
||||
ctrade_password:"",
|
||||
},
|
||||
rules: {
|
||||
email: {rules:[{required: true,errorMessage: 'Please enter your email address'}]},
|
||||
code:{rules:[{required: true,errorMessage: 'Please input Verification code'}]},
|
||||
password: {rules:[{required: true,errorMessage: 'Please input a password'}]},
|
||||
cpassword: {rules:[{required: true,errorMessage: 'Please input Confirm password'}]},
|
||||
email: {rules:[{required: true,errorMessage: this.$t('forgot.text2')}]},
|
||||
code:{rules:[{required: true,errorMessage: this.$t('setPasswork.text12')}]},
|
||||
password: {rules:[{required: true,errorMessage: this.$t('login.text10')}]},
|
||||
cpassword: {rules:[{required: true,errorMessage: this.$t('setPasswork.text11')}]},
|
||||
},
|
||||
rules1: {
|
||||
trade_password:{
|
||||
rules:[{required: true,errorMessage: 'Please input trade password'},
|
||||
{minLength: 6, maxLength: 6, errorMessage: 'Please enter a 6-digit transaction password', }],
|
||||
rules:[{required: true,errorMessage: this.$t('putforward.text5')},
|
||||
{minLength: 6, maxLength: 6, errorMessage: this.$t('putforward.text6') }],
|
||||
},
|
||||
ctrade_password: {rules:[{required: true,errorMessage: 'Please input Trade password'}]},
|
||||
invite_code: {rules:[{required: true,errorMessage: 'Please input invitation code'}]}
|
||||
ctrade_password: {rules:[{required: true,errorMessage: this.$t('putforward.text5')}]},
|
||||
invite_code: {rules:[{required: true,errorMessage: this.$t('putforward.text9')}]}
|
||||
}
|
||||
};
|
||||
},
|
||||
@ -111,15 +111,15 @@
|
||||
next(){
|
||||
this.$refs.signupModel.validate().then(res=>{
|
||||
if (!this.$base.mailRegular.test(this.signupModel.email)) {
|
||||
uni.showToast({title:'Please enter the correct email address',icon:'error'});
|
||||
uni.showToast({title:this.$t('signup.text12'),icon:'error'});
|
||||
return;
|
||||
}
|
||||
if(!this.$base.passwordRegular.test(this.signupModel.password)){
|
||||
uni.showToast({title:'Please enter a 6-10 digit password',icon:'error'});
|
||||
uni.showToast({title:this.$t('signup.text14'),icon:'error'});
|
||||
return;
|
||||
}
|
||||
if (this.signupModel.cpassword !== this.signupModel.password) {
|
||||
uni.showToast({title:'Two passwords are inconsistent',icon:'error'});
|
||||
uni.showToast({title:this.$t('signup.text15'),icon:'error'});
|
||||
return;
|
||||
}
|
||||
this.pageShow = 2;
|
||||
@ -128,11 +128,11 @@
|
||||
sendCode(){
|
||||
this.isSend = true;
|
||||
if (this.signupModel.email == '') {
|
||||
uni.showToast({title: 'Email is empty', icon:'error'});
|
||||
uni.showToast({title: this.$t('forgot.text19'), icon:'error'});
|
||||
return;
|
||||
}
|
||||
if (!this.$base.mailRegular.test(this.signupModel.email)) {
|
||||
uni.showToast({title: 'Email address error', icon:'error'});
|
||||
uni.showToast({title: this.$t('forgot.text20'), icon:'error'});
|
||||
return;
|
||||
}
|
||||
let s = 120;
|
||||
@ -145,7 +145,7 @@
|
||||
this.$http.post('/api/common/captcha', data).then(res => {
|
||||
if(res.code == 0){
|
||||
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) {
|
||||
@ -154,7 +154,7 @@
|
||||
this.sendText = "Get code";
|
||||
}
|
||||
else{
|
||||
this.sendText = "Send in " + s + "s";
|
||||
this.sendText = this.$t('forgot.text4',{par: s});
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
@ -163,7 +163,7 @@
|
||||
signup(){
|
||||
this.$refs.signupModel1.validate().then(res=>{
|
||||
if (this.signupModel.trade_password !== this.signupModel.ctrade_password) {
|
||||
uni.showToast({title:'The transaction passwords entered twice are different',icon:'error'});
|
||||
uni.showToast({title:this.$t('setPin.text12'),icon:'error'});
|
||||
return;
|
||||
};
|
||||
let data = {
|
||||
|
@ -1,36 +1,36 @@
|
||||
<template>
|
||||
<view class="minebg">
|
||||
<nav-bar title="Upgrade" bgColor="rgba(0,0,0,0,1)"></nav-bar>
|
||||
<nav-bar :title="$t('upgrade.title')" bgColor="rgba(0,0,0,0,1)"></nav-bar>
|
||||
<view style="font-size: 56rpx; color: #333; font-weight: 700; width: 80%;margin: 30rpx auto; text-align: center;">
|
||||
Upgrade VIP& channel partner
|
||||
{{$t('upgrade.text1')}}
|
||||
</view>
|
||||
<view class="v4">
|
||||
<uni-row :gutter="10">
|
||||
<uni-col :span="24">
|
||||
<view class="wallet" style="padding: 10px ;">
|
||||
<image class="i" src="/static/images/u4.png" mode="cover"></image>
|
||||
<span class="s">Automation tools/AI assistance</span>
|
||||
<span class="s">{{$t('upgrade.text2')}}</span>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="24">
|
||||
<view class="wallet" style="padding: 10px;">
|
||||
<image class="i" src="/static/images/u4.png" mode="cover"></image>
|
||||
<view class="s" style="line-height: 50rpx; width: 90%;">Construction of Quality Monitoring System</view>
|
||||
<view class="s" style="line-height: 50rpx; width: 90%;">{{$t('upgrade.text3')}}</view>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="24">
|
||||
<view class="wallet" style="padding: 10px;">
|
||||
<image class="i" src="/static/images/u4.png" mode="cover"></image>
|
||||
<span class="s">Operational guidelines for compliance</span>
|
||||
<span class="s">{{$t('upgrade.text4')}}</span>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="24">
|
||||
<view class="wallet" style="padding: 10px;">
|
||||
<image class="i" src="/static/images/u4.png" mode="cover"></image>
|
||||
<span class="s">Gain more accelerated benefit</span>
|
||||
<span class="s">{{$t('upgrade.text5')}}</span>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</uni-col>
|
||||
@ -52,15 +52,15 @@
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<view style="font-weight: 400; font-size: 30rpx; color: #3d3d3d; text-align: right; padding: 40rpx;">
|
||||
Available balance: <span style="color: #1D61E7;">{{parseFloat(user.money).toFixed(4)}}</span> USDT
|
||||
{{$t('upgrade.text6')}}: <span style="color: #1D61E7;">{{parseFloat(user.money).toFixed(4)}}</span> USDT
|
||||
</view>
|
||||
<button style="background-color: #333333; color: #fff;" @click="open">Upgrade now</button>
|
||||
<button style="background-color: #333333; color: #fff;" @click="open">{{$t('upgrade.text7')}}</button>
|
||||
</view>
|
||||
<uni-popup ref="popup" type="dialog" :is-mask-click="true" background-color="#fff" borderRadius="40rpx">
|
||||
<view style="width: 80vw; padding: 20rpx 30rpx; border-radius: 40rpx; line-height: 50rpx;">
|
||||
<view style="font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;">PIN code</view>
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="pingcode" placeholder="Enter the PIN code" />
|
||||
<button style="background-color: #1D61E7; color: #fff; margin: 40rpx auto;" @click="submit">Confirm</button>
|
||||
<view style="font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;">{{$t('signup.text6')}}</view>
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="pingcode" :placeholder="$t('signup.text7')" />
|
||||
<button style="background-color: #1D61E7; color: #fff; margin: 40rpx auto;" @click="submit">{{$t('buttonConfirm')}}</button>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
@ -105,7 +105,7 @@
|
||||
open(){
|
||||
if(parseFloat(this.user.money) < 500){
|
||||
uni.showToast({
|
||||
title:'Insufficient user balance',
|
||||
title:this.$t('upgrade.text8'),
|
||||
icon:'error'
|
||||
});
|
||||
return
|
||||
|
@ -2,26 +2,26 @@
|
||||
<view class="page">
|
||||
<nav-bar :title="$t('power.title')" bgColor="#F5f5f5"></nav-bar>
|
||||
<view class="wallet1">
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">My Power Value Balance</view>
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">{{$t('power.text1')}}</view>
|
||||
<view style="width: 500; font-size: 24px; color: #fff; line-height: 55px;">{{power.score.toFixed(4) }}</view>
|
||||
<view style="float: left; width: 30%;">
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">Total Agent</view>
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">{{$t('power.text2')}}</view>
|
||||
<view style="width: 400; font-size: 16px; color: #fff; line-height: 35px;">{{power.total.toFixed(4)}}</view>
|
||||
</view>
|
||||
<view style="width: 30%; float: left; margin-left: 5%;">
|
||||
<view style="width: 400; font-size: 12px; color: #fff; text-align: center;">Not finished</view>
|
||||
<view style="width: 400; font-size: 12px; color: #fff; text-align: center;">{{$t('power.text3')}}</view>
|
||||
<view style="width: 400; font-size: 16px; color: #fff; line-height: 35px; text-align: center;">{{power.notfinished.toFixed(4)}}</view>
|
||||
</view>
|
||||
<view style="width: 30%; float: left; margin-left: 5%;">
|
||||
<view style="width: 400; font-size: 12px; color: #fff; text-align: right;">Expired</view>
|
||||
<view style="width: 400; font-size: 12px; color: #fff; text-align: right;">{{$t('power.text4')}}</view>
|
||||
<view style="width: 400; font-size: 16px; color: #fff; line-height: 35px; text-align: right;">{{power.expired.toFixed(4)}}</view>
|
||||
</view>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
<view style="width: 92%; margin: 10px auto;">
|
||||
<view class="cell_list">
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">Power record</view>
|
||||
<view class="cell_right" @click="dialogVisible=true">Warm tips
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">{{$t('power.text5')}}</view>
|
||||
<view class="cell_right" @click="dialogVisible=true">{{$t('power.text6')}}
|
||||
<uni-icons size="20" type="help-filled" style="float: right; margin-left: 5px;"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
@ -29,23 +29,23 @@
|
||||
<view class="cell_list" style="border-bottom: 1px solid #ddd;" v-for="item in list" :key="item.id">
|
||||
<view class="t">{{item.type}}<view class="d">{{item.created_at.slice(0, 19)}}</view></view>
|
||||
<view class=" u1" style="color: #1D61E7; text-align: right;">{{item.amount}}
|
||||
<view class="d" style="text-align: right; ">balance:{{item.after}}</view></view>
|
||||
<view class="d" style="text-align: right; ">{{$t('power.text7')}}:{{item.after}}</view></view>
|
||||
</view>
|
||||
<view style="text-align: center; padding-bottom: 80px;" v-if="list.length <= 0">
|
||||
<image style="width: 360rpx; height: 360rpx; margin: 160rpx auto 0rpx auto;" src="/static/images/w5.png" mode="cover"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<Popup v-model="dialogVisible" type="2000" @change="handleClose">
|
||||
<view class="popup_box">
|
||||
<view class="popup_title">
|
||||
<view style="text-align: center; width: 100%; font-weight: bold;">Warm tips</view>
|
||||
<view style="text-align: center; width: 100%; font-weight: bold;">{{$t('power.text6')}}</view>
|
||||
</view>
|
||||
<view class="popup_content" style="margin-top: -3px;">
|
||||
<view style="border-bottom: 1px solid #ddd; padding-bottom: 20px; line-height: 25px; text-align: left;">Unsettled USDT will be automatically taken out upon continued participation.</view>
|
||||
<view style="border-bottom: 1px solid #ddd; padding-bottom: 20px; line-height: 25px; text-align: left;">{{$t('power.text8')}}</view>
|
||||
<view style="margin-top: 10px;">
|
||||
<view style="width: 100%; text-align: center; color: #1D61E7; font-size: 16px;" @click="onPageJump('/pages/questionnaire/index')">I got it</view>
|
||||
<view style="width: 100%; text-align: center; color: #1D61E7; font-size: 16px;" @click="onPageJump('/pages/questionnaire/index')">{{$t('power.text9')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -1,40 +1,40 @@
|
||||
<template>
|
||||
<view class="minebg">
|
||||
<nav-bar title="Promotion" bgColor="rgba(255, 0, 0, 0.9);"></nav-bar>
|
||||
<uni-nav-bar title="" backgroundColor="rgba(0, 0, 0, 1);" :shadow="false" :border="false" height="50rpx"></uni-nav-bar>
|
||||
<view class="v2">
|
||||
<view style="width: 200upx; float: left;" @click="onTokenJump('/pages/mine/info')">
|
||||
<image style="width: 80px; height: 80px" :src="url" fit="cover"></image>
|
||||
</view>
|
||||
<view class="login" @click="onPageJump('/pages/mine/login')" v-if="!islogin">
|
||||
Login/Register
|
||||
{{$t('mine.text1')}}
|
||||
</view>
|
||||
<view class="login1" v-else>
|
||||
<view><span @click="onTokenJump('/pages/mine/info')" class="s">{{user.username}}</span></view>
|
||||
<span style="font-size: 14px; font-weight: 400; float: left;">ID:{{user.id}}</span>
|
||||
<button @click="onTokenJump('/pages/promotion/invite')" style="background-color: #1677FF; color: #fff; font-size: 30rpx; height: 70rpx; line-height: 70rpx; width: 200rpx; float: right;">
|
||||
<uni-icons size="20" type="gift" style="color: #fff;"></uni-icons>Invite</button>
|
||||
<uni-icons size="20" type="gift" style="color: #fff;"></uni-icons>{{$t('promotion.text1')}}</button>
|
||||
<image class="i" src="/static/images/copy.png" @click="copy(user.id)" mode="cover"></image>
|
||||
</view>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
<view class="v3">
|
||||
<view style="padding: 0rpx 20rpx;">
|
||||
<view style="font-size: 16px; font-weight: 500; color: #3d3d3d;">My community</view>
|
||||
<view style="font-size: 16px; font-weight: 500; color: #3d3d3d;">{{$t('promotion.text2')}}</view>
|
||||
<view style="font-weight: 500; padding: 10px 0px; font-size: 14px; color: #999; margin-top: 10px; text-align: center; background-color: #EDF1F3;">
|
||||
<view class="cell_list" style="background-color: #EDF1F3; padding: 10px;">
|
||||
<view class="cell_left txt">Total team Size</view>
|
||||
<view class="cell_left txt">{{$t('promotion.text3')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 500;">{{team.total_count}}</view>
|
||||
</view>
|
||||
<view class="cell_list" style="background-color: #EDF1F3; padding: 10px;">
|
||||
<view class="cell_left txt">Direct referral headcount</view>
|
||||
<view class="cell_left txt">{{$t('promotion.text4')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 500;">{{team.direct_total}}</view>
|
||||
</view>
|
||||
<view class="cell_list" style="background-color: #EDF1F3; padding: 10px;">
|
||||
<view class="cell_left txt">KPI Results-Region</view>
|
||||
<view class="cell_left txt">{{$t('promotion.text5')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 500;">{{parseFloat(team.resultsRegion).toFixed(4)}}</view>
|
||||
</view>
|
||||
<view class="cell_list" style="background-color: #EDF1F3; padding: 10px;">
|
||||
<view class="cell_left txt">KPI Results-Cell</view>
|
||||
<view class="cell_left txt">{{$t('promotion.text6')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 500;">{{parseFloat(team.resultsCell).toFixed(4)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -42,8 +42,8 @@
|
||||
</view>
|
||||
<view style="width: 94%; margin: 0px auto;">
|
||||
<view class="cell_list" style="padding: 15px 10px;">
|
||||
<view style="color: #3d3d3d; font-size: 16px; font-weight: 500;">Direct referral list</view>
|
||||
<view class="cell_right arrow" style="color: #999;" @click="onPageJump('/pages/promotion/list')">View all</view>
|
||||
<view style="color: #3d3d3d; font-size: 16px; font-weight: 500;">{{$t('promotion.text7')}}</view>
|
||||
<view class="cell_right arrow" style="color: #999;" @click="onPageJump('/pages/promotion/list')">{{$t('promotion.text8')}}</view>
|
||||
</view>
|
||||
<uni-row :gutter="10" v-for="(item, index) in list" :key="index" :style="index==0 ? '' : 'margin-top: 30px;'">
|
||||
<uni-col :span="6" style="text-align: center;">
|
||||
@ -53,16 +53,16 @@
|
||||
<view style="font-weight: 500; font-size: 16px; color: #3d3d3d;">{{item.username}}</view>
|
||||
<view style="font-size: 12px; font-weight: 400; color: #999; line-height: 40rpx;">
|
||||
ID:{{item.id}}<br>
|
||||
Join date: {{item.created_at}}<br>
|
||||
KPI results: <span style="color: #333; font-weight: 500; margin-left: 6rpx;"> {{parseFloat(item.performance_large).toFixed(4)}}</span><br>
|
||||
Total Team Size: <span style="color: #333; font-weight: 500; margin-left: 6rpx;"> {{item.total_count}}</span>
|
||||
{{$t('promotion.text9')}}: {{item.created_at}}<br>
|
||||
{{$t('promotion.text10')}}: <span style="color: #333; font-weight: 500; margin-left: 6rpx;"> {{parseFloat(item.performance_large).toFixed(4)}}</span><br>
|
||||
{{$t('promotion.text11')}}: <span style="color: #333; font-weight: 500; margin-left: 6rpx;"> {{item.total_count}}</span>
|
||||
</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
|
||||
<view style="text-align: center; padding-bottom: 80px;" v-if="list.length <= 0">
|
||||
<image style="width: 360rpx; height: 180px; margin: 50rpx auto 0rpx auto;" src="/static/images/w5.png" fit="cover"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -107,7 +107,7 @@
|
||||
//第一次加载
|
||||
onShow(e) {
|
||||
uni.showLoading({
|
||||
title:'Array loading...'
|
||||
title:'Data Loading...'
|
||||
})
|
||||
if(this.userInfo.token === typeof(undefined) || this.userInfo.token === undefined){
|
||||
this.islogin = false;
|
||||
@ -205,7 +205,7 @@
|
||||
float: right; margin-top: 10upx; padding-right: 20upx;
|
||||
}
|
||||
.minebg .v2{
|
||||
clear: both; width: 90vw; margin: auto; padding-top: 20px;
|
||||
clear: both; width: 90vw; margin: auto; padding-top: 20rpx;
|
||||
}
|
||||
.minebg .v2 .login{
|
||||
width: 260upx; float: left; font-size: 16pt; font-weight: 700; height:160upx; line-height: 160upx;
|
||||
|
@ -27,11 +27,11 @@
|
||||
<view style="padding: 0px 10%;">
|
||||
<button type="primary" class="b1" @click="onSaveImg">
|
||||
<uni-icons type="download" size="20" color="#fff"></uni-icons>
|
||||
<text style="margin-left: 10rpx;">Save</text>
|
||||
<text style="margin-left: 10rpx;">{{$t('invite.text1')}}</text>
|
||||
</button>
|
||||
<button type="primary" class="b2" @click="copy()">
|
||||
<uni-icons type="undo" size="20" color="#000"></uni-icons>
|
||||
<text style="margin-left: 10rpx;">Share</text>
|
||||
<text style="margin-left: 10rpx;">{{$t('invite.text2')}}</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
@ -39,7 +39,7 @@
|
||||
<view class="h5_press_save" v-if="h5SaveImg" @click="h5SaveImg = ''">
|
||||
<image :src="h5SaveImg" mode="widthFix"></image>
|
||||
<button class="download"><uni-icons type="download" size="20" color="#fff"></uni-icons>
|
||||
长按图片保存图片</button>
|
||||
{{$t('invite.text3')}}</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
@ -66,10 +66,10 @@
|
||||
swiperIndex: 0,
|
||||
posterImgs: [],
|
||||
shareInfo: {
|
||||
shareContent: "商家云系统,点击了解",
|
||||
shareContent: "",
|
||||
shareImg: "http://qn.kemean.cn/upload/202004/08/15863540965488mlv1qgj.png",
|
||||
shareTitle: "商家云",
|
||||
shareUrl: "http://kemean.com/download/3jiayunbz/index.html"
|
||||
shareTitle: "",
|
||||
shareUrl: ""
|
||||
},
|
||||
h5SaveImg: "",
|
||||
|
||||
@ -85,7 +85,7 @@
|
||||
icon: '', //二维码图标
|
||||
iconsize: 30, //二维码图标大小
|
||||
lv: 3, //二维码容错级别
|
||||
loadingText: '加载中', //loading内容,
|
||||
loadingText: 'Loading', //loading内容,
|
||||
result: ''
|
||||
}
|
||||
},
|
||||
@ -108,7 +108,7 @@
|
||||
methods: {
|
||||
copy() {
|
||||
this.$copyText(this.qrcode).then(res => {
|
||||
uni.showToast({title: '复制成功', icon: 'none'});
|
||||
uni.showToast({title: this.$t('copySuccess'), icon: 'none'});
|
||||
});
|
||||
},
|
||||
qrResult(e) {
|
||||
@ -234,7 +234,7 @@
|
||||
success: () => {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: '保存成功'
|
||||
title: 'Successfully'
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -244,7 +244,7 @@
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
uni.showLoading({
|
||||
title: 'Poster download in progress'
|
||||
title: this.$t('invite.text4')
|
||||
});
|
||||
uni.saveImageToPhotosAlbum({
|
||||
filePath: imgUrl,
|
||||
|
@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Direct referral list" bgColor="#F5f5f5"></nav-bar>
|
||||
<nav-bar :title="$t('promotionList.title')" bgColor="#F5f5f5"></nav-bar>
|
||||
<uni-row :gutter="0">
|
||||
<uni-col :span="24">
|
||||
<view class="wallet1">
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">Direct referral headcount</view>
|
||||
<view style="width: 400; font-size: 12px; color: #fff;">{{$t('promotionList.text1')}}</view>
|
||||
<view style="width: 500; font-size: 24px; color: #fff; line-height: 55px;">{{parseFloat(this.team.direct_total).toFixed(4)}}</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
@ -21,9 +21,9 @@
|
||||
<view style="font-weight: 500; font-size: 16px; color: #3d3d3d;">{{item.username}}</view>
|
||||
<view style="font-size: 12px; font-weight: 400; color: #999; line-height: 40rpx;">
|
||||
ID:{{item.id}}<br>
|
||||
Join date: {{item.created_at}}<br>
|
||||
KPI results: <span style="color: #333; font-weight: 500; margin-left: 6rpx;">{{parseFloat(item.performance_large).toFixed(4)}}</span><br>
|
||||
Total Team Size: <span style="color: #333; font-weight: 500; margin-left: 6rpx;">{{item.total_count}}</span>
|
||||
{{$t('promotion.text9')}}: {{item.created_at}}<br>
|
||||
{{$t('promotion.text10')}}: <span style="color: #333; font-weight: 500; margin-left: 6rpx;">{{parseFloat(item.performance_large).toFixed(4)}}</span><br>
|
||||
{{$t('promotion.text11')}}: <span style="color: #333; font-weight: 500; margin-left: 6rpx;">{{item.total_count}}</span>
|
||||
</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Details" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('results.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px; text-align: center;">
|
||||
<image style="width: 100px; height: 100px; margin: 10px auto;" :src="resultsModel.images" mode="cover"></image>
|
||||
<view style="font-size: 28px; font-weight: 600; color: #333; margin-top: 10px;">-{{parseFloat(info.recive_amount).toFixed(4)}} USDT</view>
|
||||
@ -9,15 +9,15 @@
|
||||
</view>
|
||||
<view style=" width:100vw;">
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Network</view>
|
||||
<view class="cell_left txt">{{$t('results.text1')}}</view>
|
||||
<view class="cell_right ">{{info.network}}</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Expected arrival</view>
|
||||
<view class="cell_right">Put forward</view>
|
||||
<view class="cell_left txt">{{$t('results.text2')}}</view>
|
||||
<view class="cell_right">{{$t('putforward.title')}}</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Address title</view>
|
||||
<view class="cell_left txt">{{$t('results.text3')}}</view>
|
||||
<view class="cell_right" style="padding-left: 15%;">
|
||||
<span style="float: right; right: 0; white-space: pre-wrap; word-break: break-all; text-align: right;">
|
||||
{{info.address}}</span>
|
||||
@ -25,15 +25,15 @@
|
||||
--> </view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Service charge</view>
|
||||
<view class="cell_left txt">{{$t('results.text4')}}</view>
|
||||
<view class="cell_right">{{parseFloat(info.fee).toFixed(2)}} USDT</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Time</view>
|
||||
<view class="cell_left txt">{{$t('results.text5')}}</view>
|
||||
<view class="cell_right">{{info.created_at}}</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Reference number</view>
|
||||
<view class="cell_left txt">{{$t('results.text6')}}</view>
|
||||
<view class="cell_right" style="text-align: right;">{{info.id}}
|
||||
<image style="width: 30rpx; height: 30rpx;" src="/static/images/copy.png" @click="copy(info.id)" mode="cover"></image>
|
||||
</view>
|
||||
@ -58,8 +58,8 @@
|
||||
return {
|
||||
network:'trc20',
|
||||
resultsModel:{
|
||||
status:"Under review",
|
||||
txt:"Under review, please be patient",
|
||||
status: this.$t('results.text7'),
|
||||
txt: this.$t('results.text8'),
|
||||
images:"/static/images/p1.png",
|
||||
statuscolor:'#1D61E7'
|
||||
},
|
||||
@ -79,32 +79,32 @@
|
||||
case 0:
|
||||
case 1: //审核
|
||||
this.resultsModel={
|
||||
status:"Under review",
|
||||
txt:"Under review, please be patient",
|
||||
status: this.$t('results.text7'),
|
||||
txt: this.$t('results.text8'),
|
||||
images:"/static/images/p1.png",
|
||||
statuscolor:'#1D61E7'
|
||||
}
|
||||
break;
|
||||
case 2: //完成
|
||||
this.resultsModel={
|
||||
status:"Done",
|
||||
txt:"Extraction succeeded",
|
||||
status: this.$t('results.text9'),
|
||||
txt: this.$t('results.text10'),
|
||||
images:"/static/images/p3.png",
|
||||
statuscolor:'#333333'
|
||||
}
|
||||
break;
|
||||
case -1: //驳回
|
||||
this.resultsModel={
|
||||
status:"Return",
|
||||
txt:"Reason: " + res.data.memo,
|
||||
status: this.$t('results.text11'),
|
||||
txt: this.$t('results.text12') + res.data.memo,
|
||||
images:"/static/images/p4.png",
|
||||
statuscolor:'#F03F61'
|
||||
}
|
||||
break;
|
||||
case -2: //失败
|
||||
this.resultsModel={
|
||||
status:"Failure",
|
||||
txt:"Reason: " + res.data.memo,
|
||||
status: this.$t('results.text13'),
|
||||
txt: this.$t('results.text12') + res.data.memo,
|
||||
images:"/static/images/p2.png",
|
||||
statuscolor:'#F03F61'
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
|
||||
<view class="page">
|
||||
<nav-bar title="Wallet fund records" bgColor="#F3F3F3"></nav-bar>
|
||||
<nav-bar :title="$t('fundrecords.title')" bgColor="#F3F3F3"></nav-bar>
|
||||
<view class="content">
|
||||
<view class="nav">
|
||||
<!-- 选项卡水平方向滑动,scroll-with-animation是滑动到下一个选项时,有一个延时效果 -->
|
||||
@ -38,7 +38,7 @@
|
||||
</view>
|
||||
<view style="width: 92%; margin: auto;">
|
||||
<view class="cell_list" style="border-bottom: 1px solid #ddd;" v-if="list.length > 0" v-for="(n, index) in list" v-bind:key="index">
|
||||
<template v-if="n.name == 'Recharge'">
|
||||
<template v-if="n.name == $t('recharge.title')">
|
||||
<view class="d">
|
||||
{{n.name}}<view class="d1">{{n.created_at}}</view>
|
||||
</view>
|
||||
@ -48,7 +48,7 @@
|
||||
<view class="d" style="text-align: right; color: #1D61E7;">{{ recharge_status_list[n.status]}}</view>
|
||||
</view>
|
||||
</template>
|
||||
<template v-else-if="n.name == 'Put forward'">
|
||||
<template v-else-if="n.name == $t('putforward.title')">
|
||||
<view class="d">
|
||||
{{n.name}}<view class="d1">{{ n.created_at}}</view>
|
||||
</view>
|
||||
@ -69,7 +69,7 @@
|
||||
</view>
|
||||
<view style="text-align: center; padding-bottom: 80px;" v-if="list.length <= 0">
|
||||
<image style="width: 360rpx; height: 180px; margin: 160rpx auto 0rpx auto;" src="/static/images/w5.png" fit="cover"></image>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -94,11 +94,11 @@
|
||||
index: 0,
|
||||
currentindex:0,
|
||||
category:[
|
||||
{id:1,name:'All',},
|
||||
{id:2,name:'Earnings',},
|
||||
{id:3,name:'Recharge',},
|
||||
{id:4,name:'Put forward',},
|
||||
{id:5,name:'Transfer',}
|
||||
{id:1,name: this.$t('fundrecords.text1'),},
|
||||
{id:2,name: this.$t('fundrecords.text2'),},
|
||||
{id:3,name: this.$t('recharge.title'),},
|
||||
{id:4,name: this.$t('putforward.title'),},
|
||||
{id:5,name: this.$t('transfer.title'),}
|
||||
],
|
||||
contentScrollW: 0, // 导航区宽度
|
||||
scrollLeft: 0, // 横向滚动条位置
|
||||
@ -138,7 +138,7 @@
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
uni.showLoading({
|
||||
title: 'Array loading...'
|
||||
title: 'Data Loading...'
|
||||
});
|
||||
if(e.id != typeof(undefined) && e.id != undefined){
|
||||
this.isActive = e.id;
|
||||
@ -148,7 +148,7 @@
|
||||
this.init = res.data;
|
||||
this.withdrawl_status_list = res.data.withdrawl_status_list;
|
||||
this.recharge_status_list = res.data.recharge_status_list;
|
||||
this.items.push('全部');
|
||||
this.items.push(this.$t('fundrecords.text1'));
|
||||
const entries = Object.entries(res.data.balance_type_list); // 获取键值对数组 [['key1', 'value1'], ['key2', 'value2'], ['key3', 'value3']]
|
||||
entries.forEach(([key, value]) => {
|
||||
this.items.push(value);
|
||||
@ -195,7 +195,7 @@
|
||||
}
|
||||
this.isload = true;
|
||||
uni.showLoading({
|
||||
title: 'Array loading...'
|
||||
title: this.$t('loading')
|
||||
});
|
||||
this.isActive = index;
|
||||
this.scrollLeft = 0;
|
||||
@ -231,7 +231,7 @@
|
||||
},
|
||||
onPickerChange(e) {
|
||||
uni.showLoading({
|
||||
title: 'Array loading...'
|
||||
title: this.$t('loading')
|
||||
});
|
||||
this.list = [];
|
||||
this.selectedItem = this.items[e.detail.value];
|
||||
@ -241,14 +241,14 @@
|
||||
this.select.type = key;
|
||||
}
|
||||
});
|
||||
if(this.selectedItem == '全部'){
|
||||
if(this.selectedItem == this.$t('fundrecords.text1')){
|
||||
this.select.type = '';
|
||||
}
|
||||
this.getList();
|
||||
},
|
||||
datachange(e){
|
||||
uni.showLoading({
|
||||
title: 'Array loading...'
|
||||
title: this.$t('loading')
|
||||
});
|
||||
this.list = [];
|
||||
if(e.length > 1){
|
||||
@ -299,7 +299,7 @@
|
||||
this.$http.post('/api/recharge/list', this.select).then(res => {
|
||||
if(res.code == 0){
|
||||
res.data.data.forEach(item => {
|
||||
item.name = 'Recharge';
|
||||
item.name = this.$t('recharge.title');
|
||||
this.list.push(item);
|
||||
});
|
||||
this.last_page = res.data.last_page;
|
||||
@ -315,7 +315,7 @@
|
||||
this.$http.post('/api/withdrawl/list', this.select).then(res => {
|
||||
if(res.code == 0){
|
||||
res.data.data.forEach(item => {
|
||||
item.name = 'Put forward';
|
||||
item.name = this.$t('putforward.title');
|
||||
this.list.push(item);
|
||||
});
|
||||
this.last_page = res.data.last_page;
|
||||
|
@ -1,15 +1,15 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="My wallet" bgColor="#F5f5f5"></nav-bar>
|
||||
<nav-bar :title="$t('wallet.title')" bgColor="#F5f5f5"></nav-bar>
|
||||
<view class="wallet1">
|
||||
<view class="txt">My USDT</view>
|
||||
<view class="txt">{{$t('wallet.text1')}}</view>
|
||||
<view style="width: 500; font-size: 24px; color: #fff; line-height: 55px;">{{user.money.toFixed(4)}}</view>
|
||||
<view style="width: 47%; float: left;">
|
||||
<view class="txt">Accumulated earnings</view>
|
||||
<view class="txt">{{$t('wallet.text2')}}</view>
|
||||
<view class="txt1">{{user.income_total.toFixed(4)}}</view>
|
||||
</view>
|
||||
<view style="width: 47%; float: left; margin-left: 6%;">
|
||||
<view class="txt">Cash withdrawn</view>
|
||||
<view class="txt">{{$t('wallet.text3')}}</view>
|
||||
<view class="txt1">{{user.withdrawl_total.toFixed(4)}}</view>
|
||||
</view>
|
||||
<view style="clear: both;"></view>
|
||||
@ -19,26 +19,26 @@
|
||||
<view class="w" @click="onTokenJump('/pages/wallet/recharge')">
|
||||
<view style="text-align: center;">
|
||||
<image style="width: 25px; height: 25px; margin: auto;" src="/static/images/w3.png" mode="cover"></image></view>
|
||||
<view class="t">Recharge</view>
|
||||
<view class="t">{{$t('recharge.title')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 30%; float: left; margin-left: 5%;">
|
||||
<view class="w" @click="onTokenJump('/pages/wallet/putforward')">
|
||||
<view style="text-align: center;"><image style="width: 25px; height: 25px; margin: auto;" src="/static/images/w2.png" mode="cover"></image></view>
|
||||
<view class="t">Put forward</view>
|
||||
<view class="t">{{$t('putforward.title')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 30%; float: left; margin-left: 5%;">
|
||||
<view class="w" @click="onTokenJump('/pages/wallet/transfer')">
|
||||
<view style="text-align: center;"><image style="width: 25px; height: 25px; margin: auto;" src="/static/images/w4.png" fit="cover"></image></view>
|
||||
<view class="t">Transfer</view>
|
||||
<view class="t">{{$t('transfer.title')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 92%; margin: 10px auto;">
|
||||
<view class="cell_list">
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">Wallet fund records</view>
|
||||
<view class="cell_right arrow" @click="onTokenJump('/pages/wallet/fundrecords')">View details</view>
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">{{$t('wallet.text4')}}</view>
|
||||
<view class="cell_right arrow" @click="onTokenJump('/pages/wallet/fundrecords')">{{$t('wallet.text5')}}</view>
|
||||
</view>
|
||||
<view class="cell_list" style="border-bottom: 1px solid #ddd;" v-if="list.length > 0" v-for="item in list" :key="item.id">
|
||||
<view class="t">{{item.type}}<view class="d1">{{item.created_at.slice(0, 19)}}</view></view>
|
||||
@ -51,7 +51,7 @@
|
||||
<view style="width: 360rpx; height: 360rpx; margin: 160rpx auto 0rpx auto;">
|
||||
<image src="/static/images/w5.png" style="width: 360rpx; height: 360rpx; " mode="cover"></image>
|
||||
</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">No data available</view>
|
||||
<view style="color: #999; font-size: 14px; font-weight: 400;">{{$t('nodata')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Put forward" bgColor="#fff">
|
||||
<nav-bar :title="$t('putforward.title')" bgColor="#fff">
|
||||
<image slot="right" style="width: 40rpx; height: 40rpx; margin-right: 20px;" src="/static/images/r2.png" mode="cover" @click="onTokenJump('/pages/wallet/fundrecords?id=3')"></image>
|
||||
</nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;">
|
||||
<uni-forms :modelValue="putmodel" label-position="top" :rules="rules" ref="form">
|
||||
<uni-forms-item name="address">
|
||||
<view style="padding-bottom: 10px;">
|
||||
<view style="float: left; font-size: 16px; color: #333; font-weight: 400;">Address</view>
|
||||
<view style="float: left; font-size: 16px; color: #333; font-weight: 400;">{{$t('putforward.text7')}}</view>
|
||||
<view style="float: right; font-size: 14px; color: #333; font-weight: 400;" @click="onPageJump('/pages/wallet/switchnetwork')">
|
||||
<image style="width: 18px; height: 18px; float: left;" v-if="network=='TRC-20'" src="/static/images/s1.png" mode="cover"></image>
|
||||
<span style="margin-left: 10px; float: left;" v-if="network=='TRC-20'">Tron(TRC20)</span>
|
||||
@ -18,7 +18,7 @@
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
<view>
|
||||
<uni-easyinput type="text" v-model="putmodel.address" placeholder="Enter address">
|
||||
<uni-easyinput type="text" v-model="putmodel.address" :placeholder="$t('putforward.text8')">
|
||||
<template #right>
|
||||
<picker :range="formattedItems" mode="selector" @change="onPickerChange">
|
||||
<image src="/static/images/r4.png" style="float: left; width: 40rpx; height: 40rpx; margin-right: 20rpx;"></image>
|
||||
@ -27,9 +27,9 @@
|
||||
</uni-easyinput>
|
||||
</view>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Withdrawal amount" labelWidth="400rpx" name="amount">
|
||||
<uni-forms-item :label="$t('putforward.text9')" labelWidth="400rpx" name="amount">
|
||||
<view>
|
||||
<uni-easyinput type="number" v-model="putmodel.amount" :placeholder="'At least ' + withdrawlminimum + ' U'">
|
||||
<uni-easyinput type="number" v-model="putmodel.amount" :placeholder="$t('putforward.text10', {par: withdrawlminimum})">
|
||||
<template #right>
|
||||
<view style="float: left; font-size: 12px;">USDT</view>
|
||||
<view style="margin:20rpx; float: right;">
|
||||
@ -37,25 +37,25 @@
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</view>
|
||||
<view style="font-size: 14px; color: #999; font-weight: 500; line-height: 50upx;">Available balance:
|
||||
<view style="font-size: 14px; color: #999; font-weight: 500; line-height: 50upx;">{{$t('putforward.text11')}}:
|
||||
<span style="color: #1D61E7;">{{user.money }} USDT</span></view>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="PIN code" name="pincode">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="putmodel.pincode" placeholder="Enter PIN code" />
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="putmodel.pincode" :placeholder="$t('putforward.text12')" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 180px;">
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Network costs</view>
|
||||
<view class="cell_left txt">{{$t('putforward.text13')}}</view>
|
||||
<view class="cell_right ">{{costs}} USDT</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Expected arrival</view>
|
||||
<view class="cell_left txt">{{$t('putforward.text14')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 600;">{{totalAmount}} USDT</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<button type="primary" round style="width: 100%;" @click="submit">Submit</button>
|
||||
<button type="primary" round style="width: 100%;" @click="submit">{{$t('buttonSubmit')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -118,7 +118,7 @@
|
||||
}
|
||||
},
|
||||
//第一次加载
|
||||
async onLoad(e) {
|
||||
async onLoad(e) {
|
||||
this.$http.get('/api/common/init?lang='+this.$i18n.locale).then(res => {
|
||||
this.init = res.data;
|
||||
if(e.network != typeof(undefined) && e.network != undefined){
|
||||
|
@ -1,23 +1,23 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Recharge" bgColor="#fff">
|
||||
<nav-bar :title="$t('recharge.title')" bgColor="#fff">
|
||||
<image slot="right" style="width: 40rpx; height: 40rpx; margin-right: 20px;" src="/static/images/r2.png" mode="cover" @click="onTokenJump('/pages/wallet/fundrecords?id=2')"></image>
|
||||
</nav-bar>
|
||||
<view class="rechargeTitle">Network</view>
|
||||
<view class="rechargeTitle">{{$t('recharge.text1')}}</view>
|
||||
<view class="rechargeNet" @click="onPageJump('/pages/wallet/switchnetwork')">{{rechargeModel.name}}
|
||||
<uni-icons size="20" type="down" style="margin-left: 10px;"></uni-icons></view>
|
||||
<view v-if="show==1" style="width: 80vw; margin: 40rpx auto 20rpx auto;">
|
||||
<uni-forms :modelValue="rechargeModel" label-position="left">
|
||||
<uni-forms-item label="Rcharge amount" labelWidth="250rpx">
|
||||
<uni-forms-item :label="$t('recharge.text2')" labelWidth="250rpx">
|
||||
<view>
|
||||
<uni-easyinput type="number" v-model="rechargeModel.amount" :placeholder="'At least'+ init.recharge_minimum +'U'">
|
||||
<uni-easyinput type="number" v-model="rechargeModel.amount" :placeholder="$t('putforward.text10', {par: init.recharge_minimum})">
|
||||
<template #right>
|
||||
<view style="float: left; font-size: 12px; margin-right: 20rpx;">USDT</view>
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</view>
|
||||
</uni-forms-item>
|
||||
<button type="primary" round style="width: 100%;" @click="submit">Recharge</button>
|
||||
<button type="primary" round style="width: 100%;" @click="submit">{{$t('recharge.title')}}</button>
|
||||
</uni-forms>
|
||||
</view>
|
||||
<view v-if="show==2">
|
||||
@ -26,27 +26,27 @@
|
||||
<tki-qrcode ref="qrcode" :val="qrcode" :size="size" :unit="unit" :onval="onval" :load-make="load_make" :show-loading="show_loading" :lv="lv" :background="background" :foreground="foreground" :pdground="pdground" :icon='icon' :iconsize='iconsize' />
|
||||
</view>
|
||||
</view>
|
||||
<view style="font-size: 16px; color: #999; text-align: center;">Single latest recharge amount {{init.recharge_minimum}} USDT</view>
|
||||
<view style="font-size: 16px; color: #999; text-align: center;">{{$t('recharge.text3')}} {{init.recharge_minimum}} USDT</view>
|
||||
<view style="width: 92%; margin: 10px auto; background-color: #F8F8F8; padding: 15px 10px;">
|
||||
<view style="width: 70%; float: left;">
|
||||
<view style="color: #999; font-size: 14px;">Receiving Address</view>
|
||||
<view style="color: #999; font-size: 14px;">{{$t('recharge.text4')}}</view>
|
||||
<view style="width: 100%; font-size: 16px; color: #333; font-weight: 600; margin-top: 10px; white-space: pre-wrap; word-break: break-all;">{{qrcode}}</view>
|
||||
</view>
|
||||
<view>
|
||||
<button type="primary" @click="copy(qrcode)" style="background-color: #1D61E7; margin-top: 25px; padding: 0px 20px; line-height: 35px; border-radius: 10px; color: #fff; float: right;">Copy</button>
|
||||
<button type="primary" @click="copy(qrcode)" style="background-color: #1D61E7; margin-top: 25px; padding: 0px 20px; line-height: 35px; border-radius: 10px; color: #fff; float: right;">{{$t('copy')}}</button>
|
||||
</view>
|
||||
<view style="clear: both;"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 92%; margin: 10px auto;">
|
||||
<view class="cell_list">
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">Warm tips</view>
|
||||
<view style="color: #333; font-size: 18px; font-weight: 600;">{{$t('recharge.text5')}}</view>
|
||||
</view>
|
||||
<view style="color: #999; line-height: 30px; font-size: 16px; font-weight: 400; padding: 5px 10px;">
|
||||
1. Minimum recharge 1 USDT;<br>
|
||||
2. Recharge confirmation: 10 times of network confirmation;<br>
|
||||
3. Please do not recharge assets other than USDT to the above address, otherwise it may lead to the loss of assets.<br>
|
||||
4. Please ensure the security of your mobile device to prevent information from being tampered with or leaked.
|
||||
1. {{$t('recharge.text6')}}<br>
|
||||
2. {{$t('recharge.text7')}}<br>
|
||||
3. {{$t('recharge.text8')}}<br>
|
||||
4. {{$t('recharge.text9')}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -130,14 +130,14 @@
|
||||
if(this.rechargeModel.amount == ''){
|
||||
uni.showToast({
|
||||
icon: 'error',
|
||||
title: 'Please enter the recharge amount'
|
||||
title: this.$t('recharge.text10')
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (parseFloat(this.rechargeModel.amount) < parseFloat(this.init.recharge_minimum)) {
|
||||
uni.showToast({
|
||||
icon: 'error',
|
||||
title: 'The minimum recharge amount is ' + this.init.recharge_minimum
|
||||
title: this.$t('recharge.text11') + this.init.recharge_minimum
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Select a network" bgColor="#fff"></nav-bar>
|
||||
<nav-bar :title="$t('SelectNetwork.title')" bgColor="#fff"></nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; background-color: #F8F8F8; padding: 15px 10px;">
|
||||
<uni-row :gutter="0">
|
||||
<uni-col :span="2">
|
||||
@ -8,7 +8,7 @@
|
||||
</uni-col>
|
||||
<uni-col :span="22">
|
||||
<view style="color: #999; font-size: 14px;">
|
||||
Please make sure that the recharge network you choose is the same as the network you choose when withdrawing coins, otherwise it may cause loss of assets!
|
||||
{{$t('SelectNetwork.text1')}}
|
||||
</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
@ -22,8 +22,9 @@
|
||||
<uni-col :span="18">
|
||||
<view style="color: #999; font-size: 14px;">
|
||||
<view style="font-weight: 600;font-size: 16px;color: #333333;">Tron(TRC20)</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='recharge'">Minimum recharge: 0. 001 USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;">Expected to arrive in about 10 minutes</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='recharge'">{{$t('SelectNetwork.text2')}}: {{recharge_minimum}} USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='putforward'">{{$t('SelectNetwork.text3')}}: {{withdrawl_minimum['TRC-20']}} USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;">{{$t('SelectNetwork.text4')}}</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="2">
|
||||
@ -37,8 +38,9 @@
|
||||
<uni-col :span="18">
|
||||
<view style="color: #999; font-size: 14px;">
|
||||
<view style="font-weight: 600;font-size: 16px;color: #333333;">BSC-BNB Smart Chain(BEP20)</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='recharge'">Minimum recharge: 0. 001 USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;">Expected to arrive in about 10 minutes</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='recharge'">{{$t('SelectNetwork.text2')}}: {{recharge_minimum}} USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;" v-if="page=='putforward'">{{$t('SelectNetwork.text3')}}: {{withdrawl_minimum['BEP-20']}} USDT</view>
|
||||
<view style="font-weight: 400;font-size: 14px;color: #999;">{{$t('SelectNetwork.text4')}}</view>
|
||||
</view>
|
||||
</uni-col>
|
||||
<uni-col :span="2">
|
||||
@ -65,7 +67,8 @@
|
||||
return {
|
||||
onchick:'TRC-20',
|
||||
page:"",
|
||||
|
||||
withdrawl_minimum: 0,
|
||||
recharge_minimum: 0,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -77,6 +80,13 @@
|
||||
this.onchick=e.network;
|
||||
}
|
||||
this.page=e.page;
|
||||
this.$http.get('/api/common/init?lang='+this.$i18n.locale).then(res => {
|
||||
if(this.page=='recharge'){
|
||||
this.recharge_minimum = res.data.recharge_minimum;
|
||||
}else if(this.page=="putforward"){
|
||||
this.withdrawl_minimum = res.data.withdrawl_minimum;
|
||||
}
|
||||
});
|
||||
},
|
||||
//页面显示
|
||||
onShow() {},
|
||||
|
@ -1,16 +1,16 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<nav-bar title="Transfer" bgColor="#fff">
|
||||
<nav-bar :title="$t('transfer.title')" bgColor="#fff">
|
||||
<image slot="right" style="width: 40rpx; height: 40rpx; margin-right: 20px;" src="/static/images/r2.png" mode="cover" @click="onTokenJump('/pages/wallet/fundrecords?id=4')"></image>
|
||||
</nav-bar>
|
||||
<view style="width: 92%; margin: 10px auto; padding: 15px 10px;">
|
||||
<uni-forms :modelValue="transferModel" label-position="top" :rules="rules" ref="form">
|
||||
<uni-forms-item label="Other email" name="email" labelWidth="400rpx">
|
||||
<uni-combox :candidates="formattedItems" placeholder="Enter email" v-model="transferModel.email"></uni-combox>
|
||||
<uni-forms-item :label="$t('transfer.text7')" name="email" labelWidth="400rpx">
|
||||
<uni-combox :candidates="formattedItems" :placeholder="$t('transfer.text8')" v-model="transferModel.email"></uni-combox>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="Transfer amount" labelWidth="400rpx" name="amount">
|
||||
<uni-forms-item :label="$t('transfer.text9')" labelWidth="400rpx" name="amount">
|
||||
<view>
|
||||
<uni-easyinput type="number" v-model="transferModel.amount" placeholder="At least 1U">
|
||||
<uni-easyinput type="number" v-model="transferModel.amount" :placeholder="$t('transfer.text10')">
|
||||
<template #right>
|
||||
<view style="float: left; font-size: 12px;">USDT</view>
|
||||
<view style="margin:20rpx; float: right;">
|
||||
@ -18,21 +18,21 @@
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</view>
|
||||
<view style="font-size: 14px; color: #999; font-weight: 500; line-height: 50upx; margin-top: 10rpx;">Available balance:
|
||||
<view style="font-size: 14px; color: #999; font-weight: 500; line-height: 50upx; margin-top: 10rpx;">{{$t('transfer.text11')}}:
|
||||
<span style="color: #1D61E7;">{{user.money }} USDT</span></view>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="PIN code" name="pincode">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="transferModel.pincode" placeholder="Enter PIN code" />
|
||||
<uni-forms-item :label="$t('transfer.text3')" name="pincode">
|
||||
<uni-easyinput type="password" :passwordIcon="true" v-model="transferModel.pincode" :placeholder="$t('transfer.text5')" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
</view>
|
||||
<view style="bottom: 0px; position: absolute; width:100vw; height: 150px;">
|
||||
<view class="cell_list">
|
||||
<view class="cell_left txt">Expected arrival</view>
|
||||
<view class="cell_left txt">{{$t('transfer.text12')}}</view>
|
||||
<view class="cell_right" style="font-size: 18px; font-weight: 600;">{{transferModel.amount}} USDT</view>
|
||||
</view>
|
||||
<view class="cell_list">
|
||||
<button type="primary" round style="width: 100%;" @click="submit">Submit</button>
|
||||
<button type="primary" round style="width: 100%;" @click="submit">{{$t('buttonSubmit')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user