daytoutiaoedit.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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" value="<?=$data['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" value="<?=$data['day_email']?>" required lay-verify="required" placeholder="请输入栏目邮箱"
  47. class="layui-input">
  48. </div>
  49. </div>
  50. <div class="layui-form-item mt">
  51. <input type="hidden" name="id" value="<?=$data['id']?>">
  52. <button class="layui-btn" lay-submit="" lay-filter="edits">提交</button>
  53. </div>
  54. </div>
  55. </form>