币本位隐藏 USDT↔USDC 兑换,持仓区与设置仅保留划转。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{# 期权页·持仓卡内:兑换 + 划转(默认折叠;独立 ID 避免与系统设置冲突) #}
|
||||
<details class="opt-close-rule options-funds-fold" id="options-funds-card">
|
||||
<summary>兑换 / 划转</summary>
|
||||
{# 期权页·持仓卡内:划转(+ USDC 模式下的兑换);默认折叠 #}
|
||||
{% set _mm = (options_margin_mode|default('coin'))|string|lower %}
|
||||
{% set _coin = (_mm == 'coin') %}
|
||||
<details class="opt-close-rule options-funds-fold" id="options-funds-card"{% if _coin %} data-margin-mode="coin"{% else %} data-margin-mode="usdc"{% endif %}>
|
||||
<summary>{% if _coin %}划转{% else %}兑换 / 划转{% endif %}</summary>
|
||||
<div class="opt-close-rule-body options-funds-fold-body">
|
||||
<div class="options-settings-section">
|
||||
{% if not _coin %}
|
||||
<div class="options-settings-section" id="options-funds-swap-section">
|
||||
<p class="options-settings-hint">账户资金账户:USDT ↔ USDC 现货市价单.</p>
|
||||
<div class="form-row settings-transfer-form options-settings-row">
|
||||
<input type="text" name="username" autocomplete="username" tabindex="-1" aria-hidden="true"
|
||||
@@ -18,14 +21,21 @@
|
||||
</div>
|
||||
<div id="opt-page-swap-msg" class="options-settings-msg muted"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="options-settings-section">
|
||||
<div class="options-settings-subtitle">账户内划转</div>
|
||||
<div class="form-row settings-transfer-form options-settings-row options-funds-row--single">
|
||||
<input type="text" name="username" autocomplete="username" tabindex="-1" aria-hidden="true"
|
||||
style="position:absolute;left:-9999px;width:1px;height:1px;opacity:0" value="">
|
||||
<select id="opt-page-int-ccy" aria-label="币种" autocomplete="off">
|
||||
{% if _coin %}
|
||||
<option value="USDT" selected>USDT</option>
|
||||
<option value="ETH">ETH</option>
|
||||
<option value="BTC">BTC</option>
|
||||
{% else %}
|
||||
<option value="USDC" selected>USDC</option>
|
||||
<option value="USDT">USDT</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
<select id="opt-page-int-from" aria-label="划出账户">
|
||||
<option value="funding" selected>from: 资金</option>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{# 期权设置脚本挂载点(卡片在 settings_panel 中拆分) #}
|
||||
<div id="options-settings-root" hidden></div>
|
||||
<script src="/static/options_settings.js?v=11"></script>
|
||||
<script src="/static/options_settings.js?v=12"></script>
|
||||
|
||||
@@ -4,8 +4,15 @@
|
||||
<input type="text" name="username" autocomplete="username" tabindex="-1" aria-hidden="true"
|
||||
style="position:absolute;left:-9999px;width:1px;height:1px;opacity:0" value="">
|
||||
<select id="opt-set-int-ccy" aria-label="币种" autocomplete="off">
|
||||
{% set _mm = (options_margin_mode|default('coin'))|string|lower %}
|
||||
{% if _mm == 'coin' %}
|
||||
<option value="USDT" selected>USDT</option>
|
||||
<option value="ETH">ETH</option>
|
||||
<option value="BTC">BTC</option>
|
||||
{% else %}
|
||||
<option value="USDC" selected>USDC</option>
|
||||
<option value="USDT">USDT</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
<select id="opt-set-int-from" aria-label="划出账户">
|
||||
<option value="funding" selected>from: 资金</option>
|
||||
|
||||
Reference in New Issue
Block a user