1
jhzh
2025-07-19 d37ceed2ad5b94bbfc71a8a4cbdb7b498ddf724d
src/page/trading/buy.vue
@@ -19,7 +19,7 @@
          <div class="cot">
            <div class="lefts">
              <div class="top_new">
                <span>₹{{ nowPrice | _toLocaleString }}</span>
                <span>¥{{ nowPrice | _toLocaleString }}</span>
              </div>
              <div class="bottom_es">
                <span>{{ $t("hj98") }}</span>
@@ -86,38 +86,38 @@
              </div>
            </div>
          </div>
          <!-- <div class="tr_rs gg" @click="showGg = true">
          <div class="tr_rs gg" @click="showGg = true">
            <div class="top_bzz">
              <span>{{ $t("hj101") }}</span>
              <span>{{ selectCycle }}</span>
            </div>
          </div> -->
          </div>
          <div class="tr_rs">
            <div class="top_bzz" style="padding-bottom: 0.2rem">
              <span style="text-align: left">
                {{ $t("交易总额") }}(₹)
                {{ $t("交易总额") }}(¥)
              </span>
              <span style="text-align: right">
                {{ $t("hj103") }}(₹)
                {{ $t("hj103") }}(¥)
              </span>
            </div>
            <div class="bottom_bzz">
              <span>
                ₹{{
                ¥{{
                  ((nowPrice * selectCycle.replace("X", "")) * num)
                    | _toLocaleString
                }}
              </span>
              <span style="white-space: nowarp">
                ₹{{ moneyData.availableBalance | _toLocaleString }}
                ¥{{ moneyData.availableBalance | _toLocaleString }}
              </span>
            </div>
          </div>
          <div class="tr_rs">
            <div class="top_bzz" style="padding-bottom: 0.2rem">
              <span style="text-align: left">
                {{ $t("hj44") }}(₹)
                {{ $t("hj44") }}(¥)
              </span>
              <span style="text-align: right">
              </span>
@@ -125,7 +125,7 @@
            <div class="bottom_bzz">
              <span>
                ₹{{(
                ¥{{(
                  ((nowPrice * selectCycle.replace("X", "")) * num)*sxf).toFixed(2)}}
              </span>
              <span style="white-space: nowarp">
@@ -548,7 +548,7 @@
          // stockId: this.detail.id,
          // buyNum: this.selectNumber ? this.selectNumber * 100 : 0, // 单位为手
          // buyType: this.selectType,
          // lever: this.selectCycle ? this.selectCycle : 0,
          lever: this.selectCycle ? this.selectCycle : 0,
          // subaccountNumber:this.subaccountNumber
          // 买入是买涨buyType:0, 卖出是买跌buyType:1,卖出的状态是0,买入的状态是1