|
- <?php
- /**
- * Created by PhpStorm.
- * User: tianlionfire
- * Date: 2018/3/8
- * Time: 14:00
- */
-
- use backend\modules\zzcs\assets\ZzcsAsset;
-
- ZzcsAsset::addCss($this, '/plug/My97DatePicker/skin/WdatePicker.css');
- ZzcsAsset::addCss($this, '/global/css/combo.select.css');
- ZzcsAsset::addCss($this, '/hotel-affiche/css/add_affiche.css');
- ZzcsAsset::addCss($this, '/plug/jqueryPage/new_page.css');
- ZzcsAsset::addCss($this, '/plug/font-awesome-4.7.0/css/font-awesome.css');
- ZzcsAsset::addCss($this, '/plug/froala/css/froala_editor.min.css');
- ZzcsAsset::addScript($this, '/hotel-affiche/js/add_affiche.js');
- ZzcsAsset::addScript($this, '/plug/My97DatePicker/WdatePicker.js');
- ZzcsAsset::addScript($this, '/plug/jqueryPage/jquery.page.js');
- ZzcsAsset::addScript($this, '/plug/layer/layer.js');
- ZzcsAsset::addScript($this, '/plug/froala/js/froala_editor.min.js');
- ZzcsAsset::addScript($this, '/global/js/jquery.combo.select.js');
- ZzcsAsset::addScript($this, '/des-ticket/js/sweetalert2.min.js');
- ZzcsAsset::addCss($this, '/des-ticket/css/sweetalert2.min.css');
- ?>
- <?php
- //echo '<pre>';
- //print_r($hotelList);
- //echo '</pre>';
- //?>
- <div class="container" style="margin-left:0px;">
- <div style="font-size: 14px;color: #858585;clear:both;">
- <span class="name_span">酒店名称:</span>
- <input type="text" id="hotel_name" list="companys">
- <datalist id="companys">
- <?php foreach ($hotelList as $key => $vel) { ?>
- <option value="<?php echo $vel['hotel_name']?>"></option>
- <?php } ?>
- </datalist>
- </div>
- <div style="margin-top:10px;font-size: 14px;color: #858585;clear:both;">
- <span class="name_span">公告类型:</span>
- <select style="" id="affiche_type">
- <option value="-1" style="font-size: 12px;">请选择</option>
- <option value="1" style="font-size: 12px;">价格调整</option>
- <option value="2" style="font-size: 12px;">预定信息</option>
- <option value="3" style="font-size: 12px;">酒店信息</option>
- <option value="0" style="font-size: 12px;">其他</option>
- </select>
- </div>
- <div style="margin-top:10px;font-size: 14px;color: #858585;clear:both;">
- <span class="name_span">重要等级:</span>
- <select style=";" id="important_level">
- <option value="1" style="font-size: 12px;">S级,紧急</option>
- <option value="2" style="font-size: 12px;">A级,重要</option>
- <option value="3" style="font-size: 12px;">B级,普通</option>
- </select>
- </div>
- <div style="margin-top:20px" class="input-group col-xs-4">
- <span class="input-group-addon">排序:</span>
- <input id="sort" type="number" placeholder="优先级(0-1000,升序排列)" step="1" class="form-control">
- </div>
- <div style="margin-top:20px" class="input-group ">
- <span class="input-group-addon">标题:</span>
- <input id="title" type="text" placeholder="公告标题" name="title" class="form-control" maxlength="30">
- </div>
- <section id="editor">
- <div id='edit' style="margin-top: 30px;">
- </div>
- </section>
- <button class="btn btn-primary" style="margin-top: 10px" onclick="save(1)">保存并发布</button>
- <button class="btn btn-default" style="margin-top: 10px;margin-left: 10px;" onclick="save(0)">保存</button>
- </div>
-
|