1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?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/other/about.js')
- ?>
- <style>
- .xm_right_box {width:80%;margin:0 auto;}
- .xm_zjzx_Submit {text-align:center;}
- </style>
- <div class="xm_right_box"> <!-- 你的内容 10/12 -->
- <form id="house_form" action="">
- <div class="layui-tab" lay-filter="test1">
- <ul class="layui-tab-title">
- <li class="site-demo-active layui-this" lay-id="assign_1" >公司简介</li>
- <li class="site-demo-active" lay-id="assign_2">资质荣誉</li>
- <li class="site-demo-active" lay-id="assign_3">联系我们</li>
- <li class="site-demo-active" lay-id="assign_4">版权声明</li>
- </ul>
- <div class="layui-tab-content">
- <div id="assign_1" class="layui-tab-item layui-show">
- <div class="layui-bg-gray" style="width:96%;padding:8px 15px;">公司简介:</div>
- <div class="editor_box layui-form-item" style="width:98%">
- <textarea name="company" id="editor" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php if(isset($about)) echo $about[0]['company']?></textarea>
- </div>
- </div>
- <div id="assign_2" class="layui-tab-item">
- <div class="layui-bg-gray" style="width:96%;padding:8px 15px;">资质荣誉:</div>
- <div class="editor_box layui-form-item" style="width:98%">
- <textarea name="aptitude" id="editor1" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php
- if(isset($about)) echo $about[0]['aptitude']?></textarea>
- </div>
- </div>
- <div id="assign_3" class="layui-tab-item">
- <div class="layui-bg-gray" style="width:96%;padding:8px 15px;">联系我们:</div>
- <div class="editor_box layui-form-item" style="width:98%">
- <textarea name="contact" id="editor2" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php if(isset($about)) echo $about[0]['contact']?></textarea>
- </div>
- </div>
- <div id="assign_4" class="layui-tab-item">
- <div class="layui-bg-gray" style="width:96%;padding:8px 15px;">版权声明:</div>
- <div class="editor_box layui-form-item" style="width:98%">
- <textarea name="copyright" id="editor3" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php if(isset($about)) echo $about[0]['contact']?></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="layui-form-item xm_zjzx_Submit">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao" >提交</button>
- </div>
- <input type="hidden" name="id" value="<?php if(isset($about)) echo $about[0]['id']?>">
- </form>
- </div> <!-- 你的内容 9/12 -->
|