修改菜单编辑界面

dev
曾超新 5 years ago
parent c94aec1e44
commit 278c2507e2
  1. 20
      frontend/views/menu/edit.php

@ -13,12 +13,12 @@ use \common\libs\MyLib;
<form role="form" class="form-horizontal data-from" id="theFrm"> <form role="form" class="form-horizontal data-from" id="theFrm">
<input type="hidden" name="id" value="<?=intval($info->id)?>"> <input type="hidden" name="id" value="<?=intval($info->id)?>">
<div class="form-group"> <div class="form-group">
<label class="col-sm-1 control-label">菜单名称</label> <label class="col-sm-2 control-label">菜单名称</label>
<div class="col-sm-3"> <div class="col-sm-4">
<input type="text" name="name" value="<?=$info->name?>" class="form-control"> <input type="text" name="name" value="<?=$info->name?>" class="form-control">
</div> </div>
<label class="col-sm-1 control-label">上级菜单</label> <label class="col-sm-2 control-label">上级菜单</label>
<div class="col-sm-3"> <div class="col-sm-4">
<select name="parent_id" class="form-control"> <select name="parent_id" class="form-control">
<option value="0"></option> <option value="0"></option>
<?php <?php
@ -33,18 +33,18 @@ use \common\libs\MyLib;
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-1 control-label">图标</label> <label class="col-sm-2 control-label">图标</label>
<div class="col-sm-3"> <div class="col-sm-4">
<input type="text" name="icon" value="<?=$info->icon?>" class="form-control"> <input type="text" name="icon" value="<?=$info->icon?>" class="form-control">
</div> </div>
<label class="col-sm-1 control-label">路径</label> <label class="col-sm-2 control-label">路径</label>
<div class="col-sm-3"> <div class="col-sm-4">
<input type="text" name="path" value="<?=$info->path?>" class="form-control"> <input type="text" name="path" value="<?=$info->path?>" class="form-control">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-1 control-label">排序</label> <label class="col-sm-2 control-label">排序</label>
<div class="col-sm-3"> <div class="col-sm-4">
<input type="text" name="order_id" value="<?=$info->order_id?>" class="form-control"> <input type="text" name="order_id" value="<?=$info->order_id?>" class="form-control">
</div> </div>
</div> </div>

Loading…
Cancel
Save