parentadd.php 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/frontend.js')
  4. ?>
  5. <form class="layui-form" action="" style="margin-top: 50px" id="tosigin">
  6. <div class="layui-form-item">
  7. <label class="layui-form-label">菜单名称</label>
  8. <div class="layui-input-block" style="width: 200px;">
  9. <input type="text" name="name" required lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
  10. </div>
  11. <p><span>备注:</span><span style="color:red">该菜单名称为父名称,请勿随意添加,添加前请联系管理员</span></p>
  12. </div>
  13. <div class="layui-form-item">
  14. <label class="layui-form-label">排序</label>
  15. <div class="layui-input-block" style="width: 200px;">
  16. <input type="text" name="sort" placeholder="请输入标题" autocomplete="off" class="layui-input">
  17. </div>
  18. </div>
  19. <div class="layui-form-item">
  20. <div class="layui-input-block">
  21. <button class="layui-btn" lay-submit lay-filter="addmenu">立即提交</button>
  22. <button type="reset" class="layui-btn layui-btn-primary">重置</button>
  23. </div>
  24. </div>
  25. </form>