1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/daytoutiao/daytoutiao.js");
- ?>
- <style>
- .layui_box {
- width: 80%;
- 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;
- }
- .The_house {
- background: #FBFBFB;
- color: #333;
- }
- .The_house:hover {
- border: 1px solid #a9a9a9;
- color: #333;
- }
- .xm_xcxqTc_button {
- margin-top: -20px;
- }
- </style>
- <form class="layui-form layui-form-pane">
- <div class="layui_box">
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red">*</span>栏目名称:</label>
- <div class="layui-input-inline" style="width:64%">
- <select name="list_id" id="">
- <?php if(!empty($lanmu)){ foreach ($lanmu as $val){?>
- <option value="<?=$val['id']?>" <?php echo $val['id'] == $data['list_id'] ? 'selected' :'';?>><?=$val['day_title']?></option>
- <?php }}?>
- </select>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red">*</span>姓名:</label>
- <div class="layui-input-inline" style="width:64%;">
- <input type="text" name="name" value="<?=$data['name']?>" required lay-verify="required" placeholder="姓名"
- class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red">*</span>电话:</label>
- <div class="layui-input-inline" style="width:64%">
- <input type="text" name="phone" value="<?=$data['phone']?>" required lay-verify="required" placeholder="电话"
- class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red">*</span>是否有效:</label>
- <div class="layui-input-inline" style="width:64%">
- <input type="radio" name="efficacious" value="2" title="有效" <?php echo $data['efficacious']==2?'checked': '';?>>
- <input type="radio" name="efficacious" value="1" title="未知" <?php echo $data['efficacious']==1?'checked': '';?>>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red">*</span>重新发送:</label>
- <div class="layui-input-inline" style="width:64%">
- <input type="checkbox" name="like" value="yes" title="重新发送邮箱">
- </div>
- </div>
- <div class="layui-form-item mt">
- <input type="hidden" name="id" value="<?=$data['id']?>">
- <button class="layui-btn" lay-submit="" lay-filter="edits">提交</button>
- </div>
- </div>
- </form>
|