zzzz
2024-04-22 44db498cedee7573d090797b1fe5c331c413b00a
src/page/trading/buy.vue
@@ -113,7 +113,12 @@
              </div>
            </div>
          </div>
          <div class="tr_rs gg" @click="showGg = true">
            <div class="top_bzz">
              <span>{{ $t("hj101") }}</span>
              <span>{{ selectCycle + "X" }}</span>
            </div>
          </div>
          <div class="tr_rs">
            <div class="top_bzz" style="padding-bottom: 0.2rem">
              <span style="text-align: left">
@@ -432,7 +437,7 @@
      let opts = {
        stockId: this.code,
        buyNum: this.num,
        lever: this.selectCycle ? this.selectCycle : 0,
        lever: 1,
        targetPrice: this.nums,
      };
      if (this.tabsCurrentIndex == 0) {
@@ -490,7 +495,7 @@
        // 买入是买涨buyType:0, 卖出是买跌buyType:1,卖出的状态是0,买入的状态是1
        buyNum: this.num, // 单位为手
        // buyNum: (this.num.match(/\d+/g))[0] * 100, // 单位为手
        lever: this.selectCycle ? this.selectCycle : 0,
        lever: 1,
      };
      if (this.tabsCurrentIndex == 0) {
        opts.buyType = 1;