<ul class="tabs" id="menu">
    <li {% if data['cur'] == 'index' %}class="cur"{% end %}><a href="{{data['url']['index']}}">成长记录</a></li>
    <li {% if data['cur'] == 'work' %}class="cur"{% end %}><a href="{{data['url']['work']}}">农事记录</a></li>
    <li {% if data['cur'] == 'env' %}class="cur"{% end %}><a href="{{data['url']['env']}}">生长环境</a></li>
    <li {% if data['cur'] == 'farm' %}class="cur"{% end %}><a href="{{data['url']['farm']}}">农场信息</a></li>
</ul>