原始起卦状态
{% if cast_trace.kind == "random" %}
随机一卦内部采用:{% if cast_trace.selected_method == "yarrow" %}大衍筮法概率模拟{% else %}三枚铜钱法{% endif %}。
{% endif %}
{% if has_coins %}
铜钱状态按自下而上记录。
{% for group in coins %}
第 {{ loop.index }} 爻
{% for face in group %}
{{ face }}{% endfor %}
{% endfor %}
{% elif has_yarrow_trace %}
手动大衍按自下而上六爻、每爻三变记录。
{% for line in cast_trace.lines_bottom_up %}
- 第 {{ line.position }} 爻:得 {{ line.value }};{% for change in line.changes %}第 {{ change.change }} 变 {{ change.total_before }} → 去 {{ change.removed }} → 余 {{ change.total_after }}{% if not loop.last %};{% endif %}{% endfor %}
{% endfor %}
{% else %}
{{ method }} 未产生逐步原始投掷记录。
{% endif %}
本卦与变卦
{{ primary.symbol }}
本卦:{{ primary.name }}
{{ primary.palace_name }} · {{ primary.lower_trigram }}下{{ primary.upper_trigram }}上
{% if changed %}
{{ changed.symbol }}
变卦:{{ changed.name }}
{{ changed.palace_name }} · {{ changed.lower_trigram }}下{{ changed.upper_trigram }}上
{% else %}
—
无变卦
本次无动爻,重在本卦。
{% endif %}
六爻结果(上爻在上,初爻在下)
{% for row in line_rows %}
{{ row.label }}
{{ row.shape }}
{{ row.value }} · {{ row.name }}
{{ row.change }};{{ row.yaoci }}
{% endfor %}
原始经传资料
卦辞{{ primary_text.guaci.text }}
{% if primary_text.tuan and primary_text.tuan.status != "placeholder" %}
彖传{{ primary_text.tuan.text }}
{% endif %}
大象{{ primary_text.xiang.daxiang }}
{% if changed_text %}
变卦卦辞{{ changed_text.guaci.text }}
变卦大象{{ changed_text.xiang.daxiang }}
{% endif %}
{% if primary_text.wenyan and primary_text.wenyan.status != "placeholder" %}
文言{{ primary_text.wenyan.text }}
{% endif %}
{% if primary_text.special_texts %}
特殊辞
{% for item in primary_text.special_texts %}
- {{ item.label }}:{{ item.text }}
{% endfor %}
{% endif %}
六爻
{% for row in line_rows|reverse %}
- {{ row.label }}:{{ row.yaoci }}
{% endfor %}
综合分析
{{ interpretation.summary }}
当前处境:{{ interpretation.current_situation }}
变化趋势:{{ interpretation.change_trend }}
{% if interpretation.advice %}
建议:
{% for item in interpretation.advice %}- {{ item }}
{% endfor %}
{% endif %}
{% if preprocess.warnings or interpretation.risks %}
风险提示
{% for item in preprocess.warnings %}- {{ item }}
{% endfor %}
{% for item in interpretation.risks %}- {{ item }}
{% endfor %}
{% endif %}