Use English tagline and open daily K-line when jumping from tradable symbols.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-26 03:23:52 +08:00
parent 4eb5709d71
commit aaf69329cb
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -245,8 +245,8 @@ body {
}
.site-title-sub {
font-size: .68rem;
letter-spacing: .04em;
font-size: .58rem;
letter-spacing: .1em;
}
.site-nav {
+2 -2
View File
@@ -73,8 +73,8 @@
filter:drop-shadow(0 0 24px var(--title-glow));
}
.site-title-sub{
display:block;font-size:.78rem;font-weight:400;
letter-spacing:.06em;text-transform:none;
display:block;font-size:.72rem;font-weight:500;
letter-spacing:.12em;text-transform:uppercase;
color:var(--text-muted);margin-top:.4rem;
-webkit-text-fill-color:var(--text-muted);
filter:none;
+2 -2
View File
@@ -1291,9 +1291,9 @@
var nameCls = r.trend_transition ? ' class="trend-name"' : '';
var name = r.name || '';
if (marketNavEnabled && r.main_code) {
var href = '/market?symbol=' + encodeURIComponent(r.main_code);
var href = '/market?symbol=' + encodeURIComponent(r.main_code) + '&period=d';
return (
'<td><a href="' + href + '" class="rec-market-link" title="查看 K 线">' +
'<td><a href="' + href + '" class="rec-market-link" title="查看日线 K 线">' +
'<strong' + nameCls + '>' + name + '</strong> ' +
'<span class="text-accent">' + r.main_code + '</span></a></td>'
);
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "/",
"name": "国内期货 · 交易复盘系统",
"short_name": "交易复盘",
"description": "专注于仓位管理和纪律执行",
"description": "Position Management · Disciplined Execution",
"start_url": "/login",
"scope": "/",
"display": "standalone",
+1 -1
View File
@@ -516,7 +516,7 @@
<div class="user-bar">{{ session.username or '用户' }}<a href="{{ url_for('logout') }}">退出</a></div>
</div>
<p class="pwa-ios-hint" id="pwa-ios-hint">iOS 安装:Safari 浏览器点击底部分享按钮,选择「添加到主屏幕」。</p>
<h1 class="site-title">国内期货 · 交易复盘系统<span class="site-title-sub">专注于仓位管理和纪律执行</span></h1>
<h1 class="site-title">国内期货 · 交易复盘系统<span class="site-title-sub">Position Management · Disciplined Execution</span></h1>
<button type="button" class="nav-backdrop" id="nav-backdrop" aria-label="关闭菜单" hidden></button>
<nav class="site-nav" id="site-nav">
<a href="{{ url_for('positions') }}" class="{% if request.endpoint in ('positions', 'trade_page', 'recommend_page') %}active{% endif %}">下单监控</a>
+3 -3
View File
@@ -127,8 +127,8 @@
filter:drop-shadow(0 0 20px var(--focus-glow));
}
.login-sub{
text-align:center;font-size:.78rem;letter-spacing:.04em;
color:var(--text-muted);margin-bottom:2rem;
text-align:center;font-size:.68rem;letter-spacing:.12em;
text-transform:uppercase;color:var(--text-muted);margin-bottom:2rem;
}
.form-group{margin-bottom:1.25rem}
.form-group label{
@@ -184,7 +184,7 @@
</div>
<div class="login-box">
<h2>国内期货 · 交易复盘系统</h2>
<p class="login-sub">专注于仓位管理和纪律执行</p>
<p class="login-sub">Position Management · Disciplined Execution</p>
{% with messages = get_flashed_messages() %}
{% if messages %}<div class="flash">{{ messages[0] }}</div>{% endif %}
{% endwith %}
+1 -1
View File
@@ -158,7 +158,7 @@
<tr class="rec-{{ r.status }}{% if r.trend_transition %} rec-trend-break{% endif %}">
<td>
{% if r.main_code and nav_items.market %}
<a href="{{ url_for('market_page', symbol=r.main_code) }}" class="rec-market-link" title="查看 K 线">
<a href="{{ url_for('market_page', symbol=r.main_code, period='d') }}" class="rec-market-link" title="查看日线 K 线">
<strong class="{% if r.trend_transition %}trend-name{% endif %}">{{ r.name }}</strong>
<span class="text-accent">{{ r.main_code }}</span>
</a>