Compare commits

...

2 Commits

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

21
pages/exchange/exchange-transaction.vue

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

Loading…
Cancel
Save