1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?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/usersignup/label.js')
- ?>
- <form class="layui-form" action="" style="margin-top: 50px">
- <div class="layui-form-item">
- <label class="layui-form-label">来源名称</label>
- <div class="layui-input-block" style="width: 200px;">
- <input type="text" name="name" required 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">
- <?php foreach ($source as $key=>$val){ ?>
- <input type="radio" name="type" value="<?= $key ?>" title="<?= $val ?>" checked>
- <?php } ?>
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">备注信息</label>
- <div class="layui-input-block" style="width: 200px;">
- <textarea name="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <div class="layui-input-block">
- <button class="layui-btn" lay-submit lay-filter="addnews">立即提交</button>
- <button type="reset" class="layui-btn layui-btn-primary">重置</button>
- </div>
- </div>
- </form>
|