1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午5:49
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/dictionaryb/video.js");
- ?>
- <style>
- .layui_box {width:60%;margin:0 auto;margin-top:25px;}
- .layui-code, .layui-upload-list {margin-top:0;}
- hr {width:100%;margin:0 auto;}
- .mt {text-align:center;margin-top:15px;}
- </style>
- <form class="layui-form layui-form-pane" action="" >
- <div class="layui_box">
- <div class="layui-form-item">
- <label class="layui-form-label">分类名称:</label>
- <div class="layui-input-inline">
- <input type="text" name="type_name" lay-verify="required" placeholder="请输入分类名称" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">是否推荐</label>
- <div class="layui-input-block">
- <input type="radio" name="is_recommend" value="1" title="不推荐" checked>
- <input type="radio" name="is_recommend" value="2" title="推荐" >
- </div>
- </div>
- <div class="layui-form-item mt">
- <button class="layui-btn" lay-submit="" lay-filter="add_video_type_name">提交</button>
- </div>
- </div>
- </form>
|