{% extends "base.html" %} {% block extra_styles %} .chart-container { margin: 16px 0; } .chart-bar { display: flex; align-items: center; margin-bottom: 8px; } .chart-label { width: 80px; font-size: 14px; color: #666; } .chart-value { flex: 1; background-color: #e5e7eb; height: 24px; border-radius: 4px; overflow: hidden; position: relative; margin-right: 8px; } .chart-fill { height: 100%; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); min-width: 2px; } .chart-text { color: #333; font-size: 12px; font-weight: 500; white-space: nowrap; min-width: 40px; text-align: right; } .line-chart-container { margin: 16px 0; padding: 24px 16px 16px 16px; } .line-chart { position: relative; height: 120px; margin: 16px 0; } .chart-line { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .chart-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .chart-line-path { fill: none; stroke: #667eea; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } .chart-point { position: absolute; width: 10px; height: 10px; background-color: #667eea; border: 3px solid white; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 3px 6px rgba(0,0,0,0.15); z-index: 2; } .chart-x-axis { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 12px; font-size: 12px; color: #666; } .chart-x-axis span { text-align: center; } .price-label { position: absolute; background-color: rgba(102, 126, 234, 0.95); color: white; padding: 3px 6px; border-radius: 4px; font-size: 10px; white-space: nowrap; transform: translate(-50%, -140%); font-weight: 500; z-index: 3; box-shadow: 0 2px 4px rgba(0,0,0,0.2); } {% endblock %} {% block content %}
三角洲周报 - {{ statDate_str }}
注:KD为好友KD,带出和带入为本人的数据
{% for friend in friend_list %}