Browse Source

修改

master
453530270@qq.com 2 years ago
parent
commit
205a1b9b45
  1. 74
      src/i18n/de.json
  2. 3
      src/i18n/en.json
  3. 3
      src/i18n/fra.json
  4. 3
      src/i18n/it.json
  5. 3
      src/i18n/jp.json
  6. 3
      src/i18n/kor.json
  7. 3
      src/i18n/pt.json
  8. 3
      src/i18n/spa.json
  9. 3
      src/i18n/tr.json
  10. 6
      src/i18n/tw.json
  11. 42
      src/views/forgotPwd/index.vue
  12. 34
      src/views/setting/login-pwd.vue
  13. 6
      src/views/signUp/agent.vue
  14. 16
      src/views/signUp/index.vue
  15. 112
      src/views/wallet/exchange-assets.vue
  16. 5
      src/views/wallet/funding.vue

74
src/i18n/de.json

@ -272,7 +272,8 @@
"sign-in":"Melden Sie sich",
"find-password":"Finde das Passwort",
"submit":"Senden",
"confirmpassword":"Die beiden Passwörter sind inkonsistent"
"confirmpassword":"Die beiden Passwörter sind inkonsistent",
"Remembered": "Haben Sie Ihr Passwort vergessen?"
},
"application": {
"form":"Antragsformular für die Projektwährung",
@ -1037,52 +1038,37 @@
"m4":"Stornierung der Bestellung"
},
"homeNewText": {
"aa1": "Starten Sie Ihre Kryptowährungsinvestition",
"aa2": "Sicher, stabil und effizient",
"aa3": "Jetzt registrieren",
"aa4": "Sofort mit dem Handel beginnen",
"aa5": "Beliebte Kryptowährungen",
"aa1": "Kryptowährungstor",
"aa2": "Sicherer, schneller und einfacher Handel mit über 100 Kryptowährungen",
"aa3": "Registrieren Sie sich per E-Mail",
"aa4": "Beginnen Sie jetzt mit dem Handel",
"aa5": "Markt Trend",
"aa6": "Digital Asset Quote Express",
"aa7": "Währung",
"bb1": "Aktuellster Preis (USD)",
"bb1": "Aktueller Preis (USD)",
"bb2": "24-Stunden-Erhöhung",
"bb3": "24h-Handelsvolumen",
"bb4": "Eine Kryptowährungsbörse, die das Vertrauen der Benutzer verdient",
"bb5": "Bei AJcoin kaufen und über 100 Kryptowährungen handeln",
"bb6": "Starke unabhängige Forschungs- und Entwicklungskapazitäten",
"bb7": "Entwickeln Sie das Handelssystem der dritten Generation unabhängig von 0 auf 1",
"bb8": "Erstellen Sie das ultimative Handelserlebnis mit hervorragender Leistung",
"bb9": "Globales Layout",
"bb10": "Globales Elitetreffen",
"bb11": "Das Team ist über die ganze Welt verteilt",
"bb12": "Super Spot",
"bb13": "Exklusive Einführung der Spot-Einstandspreisfunktion",
"bb14": "Erstellen Sie ein Spothandelserlebnis auf Vertragsebene",
"bb15": "Höchste Sicherheit",
"bb16": "Risikokontrolle",
"bb17": "Doppelte Mittel zum Schutz der Sicherheit Ihrer Vermögenswerte",
"bb18": "Perfektes Risikokontrollsystem",
"bb19": "Doppelpreis-Liquidationsschutzmechanismus",
"bb20": "Reduzieren Sie das Risiko einer Benutzerliquidation",
"bb21": "7*24-Stunden-Service",
"bb22": "1-Minuten-Reaktionsmechanismus",
"bb23": "Globale Nutzer rund um die Uhr bedienen",
"cc5": "Überall handeln",
"cc8": "Bleiben Sie mit unserer App und unserem Desktop-Client auf dem Laufenden",
"bb3": "24-Stunden-Handelsvolumen",
"bb4": "Kryptowährungsaustausch für alle",
"bb5": "Beginnen Sie hier mit dem Handel und erleben Sie eine bessere Kryptowährungsreise",
"bb6": "Persönlich",
"bb7": "Eine Kryptowährungsbörse für alle. Die vertrauenswürdigste führende Handelsplattform mit einer großen Auswahl an Währungen",
"cc1": "Geschäft",
"cc2": "Entwickelt für Unternehmen und Institutionen. Bereitstellung von Kryptolösungen für institutionelle Anleger und Unternehmen",
"cc3": "Entwickler",
"cc4": "Entwickelt für Entwickler, damit Entwickler die Tools und APIs der Zukunft von Web3 erstellen können",
"cc6": "QR-Code scannen",
"cc7": "Android/IOS-App herunterladen",
"dd1": "Einzigartiges Handelserlebnis",
"dd2": "Ein bahnbrechendes Tool für Investitionen in Kryptowährungen",
"dd3": "Drei wichtige Stop-Profit- und Stop-Loss-Funktionen",
"dd4": "AJcoin bietet drei Modi: Gewinnmitnahme und Stop-Loss für alle Positionen, Gewinnmitnahme und Stop-Loss für einige Positionen und Gewinnmitnahme und Stop-Loss beim Auslösepreis, um Benutzern die Kontrolle von Transaktionsrisiken zu erleichtern",
"dd5": "Bis zu 50 verschiedene Take-Profit- und Stop-Loss-Punkte",
"dd6": "Benutzer können jederzeit Take-Profit- und Stop-Loss-Punkte in Positionen und ausstehenden Aufträgen festlegen, um Risiken flexibel zu kontrollieren; gleichzeitig unterstützt es die Einrichtung von bis zu 50 Take-Profit- und Stop-Loss-Orders für gleiche Position mit unterschiedlichen Anzahlen und Preisen, einschließlich Limit-Orders. oder Marktpreis-Orders, um den unterschiedlichen Anlagestrategien der Benutzer gerecht zu werden.",
"dd7": "Hilfecenter",
"ee1": "Globales Ranking",
"ee2": "Benutzer vertrauen uns",
"ee3": "Extrem niedrige Gebühren",
"ee4": "Länder",
"ee5": "Starten Sie jetzt Ihre Kryptowährungsinvestition"
"cc7": "Laden Sie die Android/IOS-App herunter",
"dd1": "Sicher und stabil, ohne Unfälle",
"dd2": "Mehrere Sicherheitsstrategien und eine 100-prozentige Reservegarantie stellen sicher, dass es seit seiner Gründung zu keinen Sicherheitsvorfällen gekommen ist.",
"dd3": "Handeln Sie Krypto-Assets einfach und bequem",
"dd4": "Bei xxxxxx sind die Produkte leicht zu verstehen, der Transaktionsprozess bequem und die Blockchain-Asset-Service-Plattform aus einer Hand",
"dd5": "Derivate",
"dd6": "Sie können Verträge auf über 100 Kryptowährungen mit bis zu 150-facher Hebelwirkung handeln und hohe Gewinne erzielen",
"ee1": "Unterstützung mehrerer Terminals",
"ee2": "Handeln Sie jederzeit und überall mit digitalen Vermögenswerten",
"ee3": "Unterstützt eine breite Palette von Vermögenswerttypen, wobei alle Währungsinformationen verfügbar sind",
"ee4": "Verstehen Sie schnell den Prozess des Handels mit digitalen Vermögenswerten",
"ee5": "Beginnen Sie Ihre Verschlüsselungsreise",
"ee6": "Grafische Überprüfung"
}
}

3
src/i18n/en.json

@ -364,7 +364,8 @@
"sign-in": "Account Login",
"find-password": "Reset login password",
"submit": "Submit",
"confirmpassword": "The two passwords are inconsistent"
"confirmpassword": "The two passwords are inconsistent",
"Remembered": "Remembered your password?"
},
"application": {
"form": "project’s application form of listing currency",

3
src/i18n/fra.json

@ -272,7 +272,8 @@
"sign-in":"Connexion",
"find-password":"Récupérer le mot de passe",
"submit":"Présentation",
"confirmpassword":"Les mots de passe sont incohérents deux fois"
"confirmpassword":"Les mots de passe sont incohérents deux fois",
"Remembered": "Vous vous souvenez de votre mot de passe ?"
},
"application": {
"form":"Formulaire de demande de monnaie pour le projet",

3
src/i18n/it.json

@ -272,7 +272,8 @@
"sign-in":"Firma in",
"find-password":"Trova la password",
"submit":"Invia",
"confirmpassword":"Le due password sono incoerenti"
"confirmpassword":"Le due password sono incoerenti",
"Remembered": "Hai ricordato la password?"
},
"application": {
"form":"Modulo di richiesta valuta del progetto",

3
src/i18n/jp.json

@ -272,7 +272,8 @@
"enter-account":"アカウントを入力してください",
"sign-in":"ログイン",
"find-password":"パスワードを取得",
"confirmpassword":"二回のパスワードが一致しません。"
"confirmpassword":"二回のパスワードが一致しません。",
"Remembered": "パスワードを覚えていますか?"
},
"application": {
"email":"メールボックス",

3
src/i18n/kor.json

@ -272,7 +272,8 @@
"enter-account":"계 정 을 입력 하 세 요",
"sign-in":"등록 하 다.",
"find-password":"비밀번호 찾기",
"confirmpassword":"두 번 의 비밀번호 가 일치 하지 않 습 니 다."
"confirmpassword":"두 번 의 비밀번호 가 일치 하지 않 습 니 다.",
"Remembered": "비밀번호를 기억하시나요?"
},
"application": {
"email":"메 일주 소",

3
src/i18n/pt.json

@ -272,7 +272,8 @@
"sign-in":"autenticação",
"find-password":"Recupera o código.",
"submit":"apresentação",
"confirmpassword":"Duas vezes as senhas não coincidem"
"confirmpassword":"Duas vezes as senhas não coincidem",
"Remembered": "Lembrou-se da sua senha?"
},
"application": {
"form":"Formulário de candidatura ao financiamento do projecto",

3
src/i18n/spa.json

@ -272,7 +272,8 @@
"sign-in":"Iniciar sesión",
"find-password":"Recuperar contraseña",
"submit":"Submission",
"confirmpassword":"Dos contraseñas inconsistentes"
"confirmpassword":"Dos contraseñas inconsistentes",
"Remembered": "¿Recordaste tu contraseña?"
},
"application": {
"form":"Formulario de solicitud de moneda del proyecto",

3
src/i18n/tr.json

@ -272,7 +272,8 @@
"sign-in":"oturum aç",
"find-password":"Parola Al",
"submit":"Sunmak",
"confirmpassword":"İki şifre tutarsız"
"confirmpassword":"İki şifre tutarsız",
"Remembered": "Şifrenizi hatırladınız mı?"
},
"application":{
"form":"Proje listeleme başvuru formu",

6
src/i18n/tw.json

@ -301,8 +301,12 @@
"password": "密碼",
"login": "登入",
"country": "區號",
"enter-account": "請輸入賬號",
"sign-in": "登錄",
"confirmpassword": "兩次密碼不一致"
"find-password": "找回密碼",
"submit": "提交",
"confirmpassword": "兩次密碼不一致",
"Remembered": "還記得你的密碼?"
},
"application": {
"form": "項目上幣申請表",

42
src/views/forgotPwd/index.vue

@ -29,6 +29,11 @@
<el-input v-model="user.password_confirmation" type="password" data-type="repassword" show-password required :placeholder="$t('login.confirm-password')" ></el-input>
</div>
<!-- 图形验证码 -->
<div class="input-group mb-3">
<input type="text" id="gccode" v-model="user.gc_code" required :placeholder="$t('common.GraphicValidation')" class="form-control col-6" />
<img class="col-6" :src="Graph_che" @click="gett_gc_code" />
</div>
<div class="input-group mb-3" v-if="user.google_status">
<input type="text" v-model="codes.google_code" class="form-control" required pattern="\d{6}" data-message="code needs 6 number" :placeholder="$t('login.google-code')" />
</div>
@ -36,7 +41,7 @@
<div class="input-group mb-3" v-if="user.email_status">
<input type="text" v-model="codes.email_code" required class="form-control" pattern="\d{6}" data-message="code needs 6 number" :placeholder="$t('login.email-code')" />
<div class="input-group-append">
<get-code class="btn get-code btn-outline-primary" :data="{email:user.email}" :type="7" />
<get-code class="btn get-code btn-outline-primary" :data="{email:user.email,gc_code:user.gc_code,gc_key:user.gc_key}" :type="7" />
</div>
</div>
@ -50,8 +55,8 @@
</template>
</form>
<h2>Remembered your password?
<router-link to="/sign-in">Log In</router-link>
<h2>{{$t("login.Remembered")}}
<router-link to="/sign-in">{{$t("common.sign_in")}}</router-link>
</h2>
</div>
</div>
@ -69,12 +74,15 @@ export default {
account: "",
password : "",
password_confirmation : "",
gc_code: '',
gc_key: ''
},
codes : {
google_code : '',
email_code : '',
sms_code : ''
}
},
Graph_che: ''
}
},
@ -95,6 +103,7 @@ export default {
step2() {
if (utils.validate(".chk-body")) {
Member.forgetPwdSumit(Object.assign(this.user, this.codes)).then(dta => {
// console.log(dta, '121323')
this.$message({
type : "success",
message : "修改密码成功,正在跳转到登录页",
@ -104,9 +113,30 @@ export default {
this.$router.push("/sign-in");
}
})
}).catch(err => {})
}).catch(err => {
this.gett_gc_code();
})
}
}
},
// get gc code from api
gett_gc_code(){
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
// console.log("gc",res);
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
duration : 2000,
});
}).catch( err =>{
console.log(err)
});
},
},
mounted(){
// bind get gc code
this.gett_gc_code();
}
}
</script>

34
src/views/setting/login-pwd.vue

@ -20,6 +20,16 @@
:placeholder="$t('setting.pleaseConfirmPassword')"
/>
</div>
<!-- Captcha -->
<div class="form-group">
<label>{{$t('common.GraphicValidation')}}</label>
<div class="col-12 row">
<input type="text" id="gccode" v-model="form.gc_code" required
:placeholder="$t('common.GraphicValidation')" class="form-control col-6" />
<img class="col-6" :src="Graph_che" @click="gett_gc_code">
</div>
</div>
<div class="form-group" v-if="detail.phone_status==1">
<label>{{$t('setting.smsVer')}}</label>
<div class="input-group mb-3">
@ -70,6 +80,7 @@
</template>
<script>
import Member from "@/api/member";
import Setting from "../../api/setting";
export default {
props: ["detail"],
@ -80,11 +91,32 @@ export default {
password_confirmation: "",
sms_code: "",
email_code: "",
gc_code: "",
google_code: ""
}
},
Graph_che:'', // gc code image
gc_key:'', // tuxiangyanzheng key
};
},
mounted(){
// bind get gc code
this.gett_gc_code();
},
methods: {
// get gc code from api
gett_gc_code(){
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
duration : 2000,
});
}).catch( err =>{
//console.log(err)
});
},
setPassword() {
let data = this.form;
if (utils.validate(".edit-password")) {

6
src/views/signUp/agent.vue

@ -567,6 +567,12 @@ export default {
<style lang="scss" scoped>
@import '@/assets/scss/base/_common.scss';
.vh-100 {
height: auto !important;
}
.bg-panel {
margin: 20px;
}
form.register-body {
.form-group {
margin: 1rem auto;

16
src/views/signUp/index.vue

@ -379,7 +379,7 @@ export default {
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
console.log("gc",res);
console.log("gc",res)
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
@ -574,7 +574,6 @@ export default {
window.md5 = md5;
//
window.step2Register = this.step2;
// bind get gc code
this.gett_gc_code();
}
@ -706,17 +705,4 @@ div.verify-code {
.form-control:disabled, .form-control[readonly]{
background-color: #1e2834;
}
.form-control {
background-color: #f8f8f8 !important;
border: none !important;
}
.nav-tabs {
border-bottom-color: #DEE2E6;
}
.nav-tabs .nav-item{
margin-bottom: 0px !important;
}
.nav-tabs .nav-link.active{
border: none !important;
}
</style>

112
src/views/wallet/exchange-assets.vue

@ -109,7 +109,7 @@
<div class="mb-2 mr-sm-2">
<input type="text" v-model="keyword" class="form-control mb-2 mr-sm-2" :placeholder="$t('wallet.searchCurrency')" />
<router-link to="/wallet/address" class="btn btn-primary rounded-pill mb-2">{{$t('wallet.addressManagement')}}</router-link>
<router-link to="/wallet/address" class="btn btn-success rounded-pill mb-2">{{$t('wallet.addressManagement')}}</router-link>
</div>
</form>
<div class="tab-content">
@ -142,8 +142,7 @@
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
<!-- data-target="#deposite" -->
<button type="button" class="btn btn-outline-primary" data-toggle="modal" @click="enterDeposite(item)" :disabled="!item.is_withdraw">{{$t('wallet.recharge')}}</button>
<!-- <button type="button" class="btn btn-outline-primary" data-toggle="modal" data-target="#withdraw" @click="enterWithdraw(item)" :disabled="!item.is_withdraw">{{$t('wallet.withdrawal')}}</button> -->
<button type="button" class="btn btn-outline-primary" data-target="#withdraw" @click="enterWithdraw(item)" :disabled="!item.is_withdraw">{{$t('wallet.withdrawal')}}</button>
<button type="button" class="btn btn-outline-primary" data-toggle="modal" data-target="#withdraw" @click="enterWithdraw(item)" :disabled="!item.is_withdraw">{{$t('wallet.withdrawal')}}</button>
<div class="btn-group btn-group-sm" role="group">
<button id="btnGroupDrop1" type="button" class="btn btn-outline-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{$t('wallet.transaction')}}</button>
@ -360,27 +359,36 @@
<input type="number" v-model="withdraw.amount" step="0.00000001" :placeholder="$t('wallet.enterDrawNum')" class="form-control" />
</div>
<span class="text-right">{{$t('wallet.handlingFee1')}}: {{withdrawCoin=='USDT'&&withdraw.addressType==3?withdrawFee.trc20:withdrawFee.withdrawal_fee }} {{withdrawCoin}}</span>
<div class="input-group input-group-sm password">
<input type="password" v-model="withdraw.password" required :placeholder="$t('login.password')" class="form-control" />
</div>
</div>
<div class="form-group mt-2">
<label class="d-flex justify-content-between" for="formGroupPWDInput">
<span>{{$t('login.password')}}</span>
</label>
<div class="input-group input-group-sm">
<input type="password" v-model="withdraw.password" :placeholder="$t('common.enterPwd')" class="form-control" id="formGroupPWDInput" />
</div>
<div class="form-group mt-2">
<!-- 增加图形验证码 -->
<label class="d-flex justify-content-between" for="" style="align-items: center;">
<span>{{$t('common.GraphicValidation')}}</span>
<img :src="Graph_che" @click="gett_gc_code">
</label>
<div class="input-group input-group-sm">
<input type="text" id="gccode" v-model="withdraw.gc_code" required :placeholder="$t('common.GraphicValidation')" class="form-control" />
</div>
<div class="form-group mt-2">
<label class="d-flex justify-content-between" for="" style="align-items: center;">
<span>{{$t('login.email-code')}}</span>
<span class="getCodeAA" @click="getEmailCode">
<span v-if="!getEmailCodeLock">{{$t('common.getCode')}}</span>
<span v-else>{{ daojishi }}</span>
</span>
</label>
<div class="input-group input-group-sm">
<input type="text" id="EmailCode" v-model="withdraw.emailcode" :placeholder="$t('common.enterEmailCode')" class="form-control" />
</div>
</div>
<!-- 提币验证码 -->
<div class="form-group mt-2">
<label class="d-flex justify-content-between" for="" style="align-items: center;">
<span>{{$t('login.email-code')}}</span>
<span class="getCodeAA" @click="getEmailCode">
<span v-if="!getEmailCodeLock">{{$t('common.getCode')}}</span>
<span v-else>{{ daojishi }}</span>
</span>
</label>
<div class="input-group input-group-sm">
<input type="text" id="EmailCode" v-model="withdraw.emailcode" :placeholder="$t('common.enterEmailCode')" class="form-control" />
</div>
</div>
</form>
</div>
<div class="col-md-6">
@ -433,7 +441,6 @@ export default {
total_assets_usd: 0
},
userInfo:{},//
ProfileDetail: {},
coinAssets: [], //
isHideZero: false, // 0
@ -457,11 +464,12 @@ export default {
coin_id: "",
amount: "",
address: "",
password: "",
addressType: 2, // 1 omni 2 erc20,
code_type: 1,
code: '',
emailcode: ''
password:'',
emailcode: '',
gc_code: ''//
},
withdrawFee: {
@ -627,12 +635,6 @@ export default {
//
enterWithdraw(item) {
// console.log(this.ProfileDetail.status)
if(this.ProfileDetail.status!=2){
this.$router.push("/profile/certification");
return;
}
$('#withdraw').modal('show');
this.withdrawCoin = item.coin_name;
this.withdraw.coin_id = item.coin_id;
//
@ -640,6 +642,7 @@ export default {
coin_name: item.coin_name
})
.then(data => {
this.gett_gc_code();
this.withdrawFee = data;
})
.catch(err => { });
@ -688,22 +691,13 @@ export default {
this.userInfo = res
});
},
getAuthInfo() {
Profile.getAuthInfo({}).then(res => {
this.ProfileDetail = res;
console.log(this.ProfileDetail, 11111)
});
},
//
PageScrollTo(num){
document.documentElement.scrollTop = num;
},
//
getEmailCode(){
if(!this.withdraw.address){
this.$message({
message: this.$t('wallet.enterDrawAddress'),
type: "warn",
// message: 'mlkdfdks',
// type: "warn",
duration : 2000,
});
return;
@ -711,16 +705,15 @@ export default {
if(!this.withdraw.amount){
this.$message({
message: this.$t('wallet.enterDrawNum'),
type: "warn",
// type: "warn",
duration : 2000,
});
return;
}
if(!this.withdraw.password){
this.$message({
// message: this.$t('login.password'),
message: this.$t('common.enterPwd'),
type: "warn",
// type: "warn",
duration : 2000,
});
return;
@ -736,16 +729,34 @@ export default {
this.JStime--;
}, 1000)
this.getEmailCodeLock = true;
//
// let gdata = {bt:this.withdraw.addressType,baddr:this.withdraw.address,bnum:this.withdraw.amount}
let gdata = {bt:this.withdrawCoin,baddr:this.withdraw.address,bnum:this.withdraw.amount}
Member.getWdcode(gdata).then(res => {
// console.log(res, 11111)
console.log(res, 546576798)
this.$message({
message: `${this.$t("login.sendOK")}`,
type: "success",
duration : 2000,
});
}).catch(err=>{
this.gett_gc_code();
});
},
//
gett_gc_code(){
Member.sendGCode().then( (res) =>{
this.gc_key = res.key
this.Graph_che = res.img
console.log("gc",res);
this.$message({
message: `${type} ${this.$t("login.sendOK")}`,
type: "success",
duration : 2000,
});
}).catch( err =>{
console.log(err)
});
}
},
@ -754,8 +765,7 @@ created() {
this.getUserAssets();
this.getCoinAssets();
this.createWalletAddress();
this.getUserInfo();
this.getAuthInfo();
this.getUserInfo()
},
mounted() {
@ -789,14 +799,6 @@ created() {
// console.error('Action:', e.action);
// console.error('Trigger:', e.trigger);
});
//
let isNeedScroll = this.$route.fullPath.split('?buy=')[1];
// console.log(this.$route.fullPath,121212121, isNeedScroll);
if(isNeedScroll){
setTimeout(() => {
this.PageScrollTo(775);
}, 1500);
}
}
};
</script>

5
src/views/wallet/funding.vue

@ -189,10 +189,7 @@ export default {
},
getDepositHistories() {
Wallet.depositHistory().then(data => {
this.depositHistories = data.data;
console.log( this.depositHistories, ' this.depositHistories')
}).catch(err => { });
Wallet.depositHistory().then(data => this.depositHistories = data.data).catch(err => { });
},
getRechargeManualLog() {

Loading…
Cancel
Save