daytoutiaoadd.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/listclassnev/daytoutiao.js");
  4. ?>
  5. <style>
  6. .layui_box {
  7. width: 80%;
  8. margin: 0 auto;
  9. margin-top: 25px;
  10. }
  11. .layui-code, .layui-upload-list {
  12. margin-top: 0;
  13. }
  14. hr {
  15. width: 100%;
  16. margin: 0 auto;
  17. }
  18. .mt {
  19. text-align: center;
  20. margin-top: 15px;
  21. }
  22. .The_house {
  23. background: #FBFBFB;
  24. color: #333;
  25. }
  26. .The_house:hover {
  27. border: 1px solid #a9a9a9;
  28. color: #333;
  29. }
  30. .xm_xcxqTc_button {
  31. margin-top: -20px;
  32. }
  33. </style>
  34. <form class="layui-form layui-form-pane">
  35. <div class="layui_box">
  36. <div class="layui-form-item">
  37. <label class="layui-form-label"><span style="color:red">*</span>栏目名称:</label>
  38. <div class="layui-input-inline" style="width:64%">
  39. <input type="text" name="day_title" required lay-verify="required" placeholder="请输入栏目名称"
  40. class="layui-input">
  41. </div>
  42. </div>
  43. <div class="layui-form-item">
  44. <label class="layui-form-label"><span style="color:red">*</span>栏目邮箱:</label>
  45. <div class="layui-input-inline" style="width:64%">
  46. <input type="text" name="day_email" required lay-verify="required" placeholder="请输入栏目邮箱"
  47. class="layui-input">
  48. </div>
  49. </div>
  50. <div class="layui-form-item mt">
  51. <button class="layui-btn" lay-submit="" lay-filter="adds">提交</button>
  52. </div>
  53. </div>
  54. </form>