1
jhzh
2025-04-20 d157d0892f1ab5517dbe3a08328ccb9c4e446615
pages/exchange/exchange-transaction.vue
@@ -148,7 +148,7 @@
                           {{ $t("exchange.c8") }}:
                        </view>
                        <view class="" style="font-weight: 500;font-size: 14px;color: #232533;">
                           {{ kypirce[0].usable_balance }} {{symbol.split('/')[0]}}
                           {{ kypirce[0].usable_balance.toFixed(8) }} {{symbol.split('/')[0]}}
                        </view>
                     </view>
                  </view>
@@ -227,7 +227,7 @@
                     {{ newPrice.price }}
                  </view>
                  <view class="fn-xs" v-if="newPrice.price">
                     ≈ ¥{{ omitTo(newPrice.price * price_cny, 2) }}
                     ≈ ${{ omitTo(newPrice.price * price_cny, 2) }}
                  </view>
               </sell-and-buy>
            </view>
@@ -650,13 +650,14 @@
                  this.form.amount = math.multiple(
                     this.targetBalance.usable_balance / this.form.entrust_price,
                     num,
                     4
                     8
                  );
               } else if (this.form.type == 1) {
                  this.form.amount = this.form.amount = math.multiple(
                     this.targetBalance.usable_balance,
                     num,
                     4
                     8
                  );
               }
            } else if (this.form.direction == "sell") {
@@ -664,7 +665,7 @@
               this.form.amount = math.multiple(
                  this.currentBalance.usable_balance,
                  num,
                  4
                  8
               );
            }
         },