123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午5:49
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/ueditor.config.js");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/ueditor.all.min.js");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/lang/zh-cn/zh-cn.js");
- // AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/jquery-3.2.1.min.js");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/video.js");
- ?>
- <style>
- .xm_qytc_box{width:920px;margin:auto;margin-top:20px;}
- .xm_xcxqTc_img{margin:0;}
- .xm_xcxqTc_img #demoText{position:relative;top:12px;right:14px;}
- .xm_xcxqTc_button{position:absolute;bottom:0;left:0;}
- .xm_pr{position:relative;}
- /*.ml{margin-left:18px}*/
- .xm_tgqcTc_qy{width:240px;}
- .xm_tgqcTc_qy .layui-form-select dl{text-align:center;}
- .xm_tgqcTc_qy .layui-form-select .layui-input{text-align:center;}
- .xm_layui-elem-quote{background-color:#d3d3d3;}
- </style>
- <div class="xm_qytc_box">
- <blockquote class="layui-elem-quote xm_layui-elem-quote">
- 新房团购 - 详情
- </blockquote>
- <form class="layui-form layui-form-pane" action="">
- <div class="layui-form-item xm_tgqcTc_qy">
- <label class="layui-form-label">所属城市:</label>
- <div class="layui-input-block">
- <select name="address" lay-filter="aihao">
- <option value="" selected=""></option>
- <!-- <option value="0">海口</option>
- <option value="1">三亚</option>
- <option value="2">万宁</option>
- <option value="3">陵水</option>
- <option value="4">琼海</option> -->
- </select>
- </div>
- </div>
- <div class="layui-form-item xm_tgqcTc_qy">
- <label class="layui-form-label">所属分类:</label>
- <div class="layui-input-block">
- <select name="Category" lay-filter="aihao">
- <option value="" selected=""></option>
- <!-- <option value="0">精彩推荐</option>
- <option value="1">楼盘视频</option>
- <option value="2">资讯视频</option>
- <option value="3">其他视频</option> -->
- </select>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">视频标题:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_bt">
- </div>
- <!--
- <div class="layui-input-inline">
- <button class="layui-btn ml" lay-submit="demo1" lay-filter="demo1">检查重名</button>
- </div> -->
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">关键词</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">描述</label>
- <div class="layui-input-block">
- <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">视频来源:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_xmdz">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">视频路径:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_xmdz">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">楼盘链接:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_xmdz">
- </div>
- </div>
- <div class="layui-form-item xm_pr">
- <div class="layui-inline">
- <label class="layui-form-label" style="width:135px">视频封面图:</label>
- <div class="layui-input-inline" style="width:550px;">
- <input type="text" name="number" autocomplete="off" class="layui-input">
- </div>
- <div class="layui-inline">
- <div class="layui-upload">
- <div class="layui-upload-list xm_xcxqTc_img">
- <img class="layui-upload-img" id="demo1" style="width:100px;height:80px;margin-left:10px;">
- <p id="demoText"></p>
- </div>
- </div>
- </div>
- </div>
- <button type="button" class="layui-btn xm_xcxqTc_button" id="test1">上传图片</button>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">联系电话:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_tglx">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">价格:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input xm_xqtc_zxqk">
- </div>
- </div>
-
- <div class="layui-form-item">
- <div class="layui-inline">
- <label class="layui-form-label">视频时间:</label>
- <div class="layui-input-block">
- <input type="text" name="date" id="date1" autocomplete="off" class="layui-input">
- <!-- <span style="line-height:30px;color:#919090;">不限结束时间请留空</span> -->
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">是否推荐:</label>
- <div class="layui-input-block">
- <input type="checkbox" name="like[read]" title="不推荐" checked="">
- <input type="checkbox" name="like[game]" title="推荐">
- </div>
- </div>
-
- <span>内容</span>
- <hr class="layui-bg-blue">
- <div class="layui-bg-gray" style="padding:3px 15px;">文章内容:</div>
- <div class="editor_box">
- <textarea name="content" id="editor" cols="30" rows="10" style="width:100%;height:400px;float:left;"></textarea>
- </div>
- <div class="layui-form-item">
- <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
- <button class="layui-btn" lay-submit="" lay-filter="demo1" style="margin:35px 0 12px 0;">提交</button>
- </div>
- </div>
- </form>
- </div>
-
|