- <input type="hidden" name="id" id="id" value="{% if 'info' in data and data['info'] and 'id' in data['info'] and data['info']['id'] > 0 %}{{data['info']['id']}}{% end %}" />
- <div class="form">
- <label><span>页面名称:</span><input type="text" name="update_name" id="update_name" value="{% if 'info' in data and data['info'] and 'name' in data['info'] and data['info']['name'] %}{{data['info']['name']}}{% end %}" placeholder="页面名称" /></label>
- <label><span>页面排序:</span><input type="text" name="update_inorder" id="update_inorder" value="{% if 'info' in data and data['info'] and 'inorder' in data['info'] and data['info']['inorder'] %}{{data['info']['inorder']}}{% end %}" placeholder="排序,数字越小越靠前" /></label>
- <label><span>页面图标:</span>
- {% for v in data['ico'] %}
- <input type="radio" name="update_ico" id="update_ico" value="{{v}}" {% if 'info' in data and data['info'] and 'ico' in data['info'] and data['info']['ico'] == v %}checked{% end %} style="width:20px;" /><i class="icons ico-{{v}}" style="width:38px;"></i>
- {% end %}
- </label>
- <label>
- <input type="checkbox" name="update_stat" id="update_stat" value="1" {% if 'info' in data and data['info'] and 'stat' in data['info'] and data['info']['stat'] == True %}checked{% end %} style="width:20px;" />显示趋势图
- </label>
- </div>
|