交易所前端蓝色ui, 4.5 jiem
lxf
2025-05-13 cf9ea58d271102178f56ef91e7a938a358469d27
修改可用张数
2 files modified
12 ■■■■■ changed files
src/components/perpetual-open/index.vue 11 ●●●●● patch | view | raw | blame | history
src/config/index.js 1 ●●●● patch | view | raw | blame | history
src/components/perpetual-open/index.vue
@@ -103,7 +103,7 @@
                        <div class="mt-40 mb-30 w-full flex justify-between items-center">
                            <span class="font-22 font-400 text-grey">{{ $t("可开张数") }}</span>
                            <span class="font-22 font-400 textColor">
                                {{ initData.volume }}
                                {{ Math.floor(initOpen.volume/form.lever_rate)  || initData.volume }}
                                {{ $t("张") }}
                            </span>
                        </div>
@@ -410,6 +410,15 @@
            },
        },
        watch: {
            // 'form.lever_rate': {
            //      handler(val) {
      //       if (this.selectIndex / 1 === 1) {
      //           // 当杠杆率变化时,重新计算可开张数
      //           this.handleInitSliderOption();
      //       }
      //   },
      //   immediate: true
            // },
            price(val) {
                if (this.type === "1") {
                    // !this.focus &&
src/config/index.js
@@ -4,6 +4,7 @@
// const ENV_DEV = 'dapp.trullcpro.top' // dev123123csjys.gayssad.comwww.trullcpro.top
// const ENV_DEV = 'www.trullcpro.top' // dev123123csjys.gayssad.com
const ENV_DEV = 'btc.btcwapo.com' // dev123123 
// const ENV_DEV = '192.168.10.4:8091' // dev123123
// const ENV_DEV = 'www.blackstone.top' // yunge