| | |
| | | </text> |
| | | <i class="iconfont"></i> |
| | | </v-picker> --> |
| | | <v-dropdwon class="w-60 m-r-xs bg-form-panel-3 p-y-xxs rounded posi" :list="commissionTypes" |
| | | @onClick="dropDownChange"> |
| | | <v-dropdwon class="w-60 m-r-xs bg-form-panel-3 p-y-xxs rounded posi" :current="1" |
| | | :list="commissionTypes" @onClick="dropDownChange"> |
| | | </v-dropdwon> |
| | | <!-- <v-picker |
| | | :list="lever_rage" |
| | |
| | | </v-picker> --> |
| | | <v-dropdwon v-if="lever_rage.length>0" |
| | | class="w-20 m-r-xs posi bg-form-panel-3 p-y-xxs rounded" :contract="contract" |
| | | :current="current" :list="lever_rage" @onClick="openNum"> |
| | | :current="4" :list="lever_rage" @onClick="openNum"> |
| | | </v-dropdwon> |
| | | </view> |
| | | <view class="m-b-ms"> |
| | |
| | | <span class="color-light fn-bold"> USDT </span> |
| | | </template> |
| | | </v-input> --> |
| | | <v-input :placeholder="$t('contract.a0')+$t('common.money')" v-model="form.amount" @input="sliderActive=-1" |
| | | class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3"> |
| | | <v-input :placeholder="$t('contract.a0')+$t('common.money')" v-model="form.amount" |
| | | @input="sliderActive=-1" class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3"> |
| | | <template #right> |
| | | <span class="color-light fn-bold"> USDT </span> |
| | | </template> |
| | |
| | | // 最多可开张数 |
| | | maxNum: 0, |
| | | form: { |
| | | type: 0, |
| | | type: 2, |
| | | entrust_price: "", |
| | | amount: "", |
| | | lever_rate: "", |
| | | lever_rate: "100x", |
| | | tp_trigger_price: "", |
| | | sl_trigger_price: "", |
| | | }, |
| | |
| | | sliderActive: -1, |
| | | pingActive: 3, |
| | | contract: "1", |
| | | current: 0, |
| | | current: 4, |
| | | popshow: false, |
| | | contractInstruction: '', |
| | | commissionTypes: [{ |
| | |
| | | ws: "ws1", |
| | | }), |
| | | symbol() { |
| | | // if (this.$route.query) { |
| | | // const username = this.$route.query; |
| | | // console.log(decodeURIComponent(username.symbol)); // 输出:JohnDoe |
| | | // this.query.symbol = decodeURIComponent(username.symbol) |
| | | // } |
| | | return this.query.symbol; |
| | | }, |
| | | symbolLeft() { |
| | |
| | | myCanvas.font = '12px Arial'; //绘制文字 |
| | | myCanvas.fillText('全球合约领跑者', 88, windowHeight * 0.653); |
| | | myCanvas.font = '16px Arial'; |
| | | myCanvas.fillText('WmagiBIT', 88, windowHeight * 0.63); |
| | | myCanvas.fillText('KCS', 88, windowHeight * 0.63); |
| | | myCanvas.font = '14px Arial'; |
| | | myCanvas.setFillStyle('#717171') |
| | | myCanvas.fillText(i.pair_name, 25, windowHeight * 0.53); |
| | |
| | | } |
| | | // console.log(this.lever_rage) |
| | | //默认第一个 |
| | | this.form.lever_rate = res.data.lever_rage[0]; |
| | | this.form.lever_rate = res.data.lever_rage[res.data.lever_rage.length-1]; |
| | | // let e= this.lever_rage[0] |
| | | this.openNum(); |
| | | // } |