Compare commits

...

2 Commits

  1. 9
      pages/exchange/exchange-transaction.vue

9
pages/exchange/exchange-transaction.vue

@ -495,7 +495,7 @@ export default {
scrollTop:0, scrollTop:0,
refreshing:false, refreshing:false,
marks:{ marks:{
2: '0%', 0: '0%',
25: '25%', 25: '25%',
50: '50%', 50: '50%',
75: '75%', 75: '75%',
@ -713,8 +713,10 @@ export default {
}, },
// //
sliderChange(n,i) { sliderChange(n,i) {
console.log(n,i,'-------');
let num = n/100; let num = n/100;
this.sliderActive=i // this.sliderActive=i;//--
this.sliderActive=n;//--,
if (this.form.direction == "buy") { if (this.form.direction == "buy") {
if (!this.targetBalance.usable_balance) return; if (!this.targetBalance.usable_balance) return;
if (this.form.type == 0) { if (this.form.type == 0) {
@ -820,7 +822,8 @@ export default {
changeDirection(type){ changeDirection(type){
this.form.direction = type; this.form.direction = type;
this.getDefaultPrice(); this.getDefaultPrice();
let n = this.progress[this.sliderActive]; // let n = this.progress[this.sliderActive];// --
let n = this.sliderActive;// --
this.sliderChange(n, this.sliderActive); this.sliderChange(n, this.sliderActive);
}, },
// //

Loading…
Cancel
Save