406406
407407 .quick-form {
408408 display : grid;
409- grid-template-columns : minmax (0 , 1.2fr ) minmax (0 , 1 fr );
409+ grid-template-columns : minmax (0 , 1.2fr ) repeat ( 2 , minmax (0 , 0.5 fr ) );
410410 align-items : start;
411411 gap : 14px ;
412412 }
422422 font-weight : 760 ;
423423 }
424424
425+ .account-block ,
425426 .mode-block {
426427 grid-column : 1 ;
427428 }
428429
429- .reserve-policy-block ,
430- .min-reserve-block ,
431- .reserve-ratio-block {
430+ .strategy-block ,
431+ .reserve-policy-block {
432+ grid-column : 2 / span 2 ;
433+ }
434+
435+ .min-reserve-block {
432436 grid-column : 2 ;
433437 }
434438
439+ .reserve-ratio-block {
440+ grid-column : 3 ;
441+ }
442+
435443 select ,
436444 input {
437445 width : 100% ;
660668 grid-template-columns : 1fr ;
661669 }
662670
671+ .account-block ,
672+ .strategy-block ,
663673 .mode-block ,
664674 .reserve-policy-block ,
665675 .min-reserve-block ,
@@ -756,13 +766,13 @@ <h2 id="platform-title">LongBridge</h2>
756766 < p class ="public-note " id ="public-note " hidden data-i18n ="publicReadonly "> 登录后查看账号配置。</ p >
757767
758768 < div class ="quick-form " id ="quick-form ">
759- < label class ="control-block ">
769+ < label class ="control-block account-block ">
760770 < span data-i18n ="account "> 目标账号</ span >
761771 < select id ="account-select "> </ select >
762772 < span class ="selection-meta " id ="account-meta "> </ span >
763773 </ label >
764774
765- < label class ="control-block ">
775+ < label class ="control-block strategy-block ">
766776 < span data-i18n ="strategy "> 策略</ span >
767777 < select id ="strategy-select "> </ select >
768778 < span class ="selection-meta " id ="strategy-meta "> </ span >
@@ -906,6 +916,7 @@ <h2 data-i18n="summary">切换摘要</h2>
906916 reservePolicyMax : "固定金额和比例取较大值" ,
907917 reservedCashModeMeta : "选择是否沿用、清空或覆盖平台预留现金。" ,
908918 reservedCashNone : "不设置" ,
919+ reservedCashDefault : "未配置(使用平台内置默认)" ,
909920 reservedCashMeta : "固定金额下限,可单独设置或与比例取较大值。" ,
910921 reservedCashRatioMeta : "例如 0.03 表示 3%。" ,
911922 summary : "当前 / 待提交" ,
@@ -973,6 +984,7 @@ <h2 data-i18n="summary">切换摘要</h2>
973984 reservePolicyMax : "Max of amount and ratio" ,
974985 reservedCashModeMeta : "Choose whether to keep, clear, or override platform reserved cash." ,
975986 reservedCashNone : "None" ,
987+ reservedCashDefault : "Not configured (uses platform built-in default)" ,
976988 reservedCashMeta : "Fixed cash floor. Use alone or with a ratio." ,
977989 reservedCashRatioMeta : "Use 0.03 for 3%." ,
978990 summary : "Current / Pending" ,
@@ -1420,6 +1432,7 @@ <h2 data-i18n="summary">切换摘要</h2>
14201432 }
14211433
14221434 function currentReservedCashPolicyText ( platform = state . selected , account = selectedAccount ( platform ) ) {
1435+ const entry = currentEntryForAccount ( platform , account ) ;
14231436 const policy = currentReservePolicyForAccount ( platform , account ) ;
14241437 return reservedCashPolicyText (
14251438 {
@@ -1428,7 +1441,7 @@ <h2 data-i18n="summary">切换摘要</h2>
14281441 } ,
14291442 platform ,
14301443 account ,
1431- t ( "notRead" ) ,
1444+ entry ? t ( "reservedCashDefault" ) : t ( "notRead" ) ,
14321445 ) ;
14331446 }
14341447
0 commit comments