1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?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($data)){ foreach ($data as $val){?>
- <option value="<?=$val['id']?>"><?=$val['day_title']?></option>
- <?php }} ?>
- </select>
- </div>
- </div>
- <table id="test3" lay-filter="test3"></table>
- <div class="layui-form-item" style="text-align: right">
- <a class="layui-btn" id="addrow">+</a>
- </div>
- <div class="layui-form-item mt">
- <button class="layui-btn" lay-submit="" lay-filter="adds">提交</button>
- </div>
- </div>
- </form>
|