sensitivewords.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/ueditor.config.js");
  4. AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/ueditor.all.min.js");
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/ueditor/1.4.3/lang/zh-cn/zh-cn.js");
  6. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/sensitivewords/sensitivewords.js");
  7. ?>
  8. <div>
  9. <form class="layui-form" action="" id="signupForm">
  10. <div class="layui-row">
  11. <div class="layui-col-md10 xm_right_box">
  12. <div class="layui-tab" lay-filter="test1">
  13. <ul class="layui-tab-title">
  14. <li class="site-demo-active layui-this" lay-id="assign_1" >广告词库</li>
  15. <li class="site-demo-active" lay-id="assign_4">点评词库</li>
  16. </ul>
  17. <div class="layui-tab-content">
  18. <div id="assign_1" class="layui-tab-item layui-show">
  19. <!-- <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">广告词库</div> -->
  20. <div class="editor_box layui-form-item" style="width:99%">
  21. <textarea name="content" id="editor_content" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php echo $words['content']; ?></textarea>
  22. </div>
  23. </div>
  24. <div id="assign_4" class="layui-tab-item">
  25. <!-- <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">点评词库</div> -->
  26. <div class="editor_box layui-form-item" style="width:99%">
  27. <textarea name="info" id="editor" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php echo $words['info']; ?></textarea>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="layui-form-item xm_zjzx_Submit">
  33. <input type="hidden" name="id" value="<?php echo $words['id']; ?>">
  34. <button class="layui-btn" style="margin-left: 50%;" lay-submit="" lay-filter="edit">提交</button>
  35. </div>
  36. </div>
  37. </div>
  38. </form>
  39. <div id="ad0"></div>
  40. </div>