news_list.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!DOCTYPE html>
  2. <html data-bs-theme="light" lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  6. <title>test1</title>
  7. <link rel="stylesheet" href="{dreamer-cms:template /}assets/bootstrap/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto.css">
  9. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto%20Slab.css">
  10. <!-- <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/bs-theme-overrides.css">
  11. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Hero-Carousel-images.css">
  12. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Navbar-Right-Links-icons.css">
  13. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/smjy-header.css">
  14. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/sticky-dark-top-nav-with-dropdown.css"> -->
  15. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/styles.css">
  16. <link rel="stylesheet" type="text/css" href="{dreamer-cms:template /}assets/css/animate.min.css">
  17. <style>
  18. /* .card{
  19. --bs-card-color: rgb(137, 137, 137);
  20. } */
  21. .card-title{
  22. --bs-card-title-color: rgb(137, 137, 137);
  23. font-weight: bold;
  24. }
  25. @media (min-width:768px) {
  26. .new-img{
  27. width: 60%!important;
  28. flex-shrink: 0;
  29. height: 100%;
  30. }
  31. .card{
  32. height: 350px!important;
  33. --bs-card-bg: rgb(247,247,247)!important;
  34. }
  35. }
  36. @media (max-width:769px) {
  37. .new-img{
  38. height: 300px;
  39. width: 100%!important;
  40. }
  41. .content-text{
  42. display: none!important;
  43. }
  44. h4{
  45. font-size: calc(1rem + .3vw)!important;
  46. }
  47. }
  48. </style>
  49. </head>
  50. <body>
  51. {dreamer-cms:include file='loading.html'/}
  52. {dreamer-cms:include file='header.html'/}
  53. <main>
  54. <section>
  55. <div class="">
  56. <div class="pt-2 pt-md-3 pt-xl-4">
  57. {dreamer-cms:type typeid="927c5jck"}
  58. <img class="auto-img"
  59. src="{dreamer-cms:template /}assets/img/none.png"
  60. data-aos="zoom-in-right" data-aos-duration="800" data-aos-once="true"
  61. data-src="[field:typeimg/]" />
  62. {/dreamer-cms:type}
  63. </div>
  64. </div>
  65. </section>
  66. <div class="px-2 py-4 py-xl-5">
  67. <div class="row gx-0 gy-4 row-cols-1 new-row">
  68. {dreamer-cms:list typeid="927c5jck" pagenum="0" flag="p"}
  69. <div class="col">
  70. <div class="card flex-column flex-md-row flex-lg-row flex-xl-row"
  71. style="border: none;--bs-card-color:rgb(137,137,137);--bs-border-radius:0">
  72. <img class="card-img-top d-block fit-cover new-img"
  73. src="{dreamer-cms:template /}assets/img/none.png"
  74. data-aos="zoom-in" data-aos-duration="800" data-aos-once="true"
  75. data-src="[field:litpic/]"
  76. loading="lazy">
  77. <div class="card-body p-2 p-md-4" style="display: flex;flex-direction: column;justify-content: space-between;">
  78. <div>
  79. <h4 class="card-title">[field:title/]</h4>
  80. <p class="card-text" style="margin-bottom: 5px;font-size: 13px;">[field:updatetime function="format('yyyy-MM-dd')"/]</p>
  81. <p class="card-text mb-0 link-default content-text" style="overflow: hidden;text-overflow: ellipsis;-webkit-line-clamp: 2;word-wrap: break-word;display: -webkit-box;-webkit-box-orient: vertical;line-height: 20px;">
  82. [field:remark/]
  83. </p>
  84. </div>
  85. <div>
  86. <a class="card-link mb-0 link-default" href="[field:arcurl/]" style="font-size: 13px;">阅读更多&gt;</a>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. {/dreamer-cms:list}
  92. </div>
  93. </div>
  94. </main>
  95. {dreamer-cms:include file='footer.html'/}
  96. <script src="{dreamer-cms:template /}assets/js/jquery.min.js"></script>
  97. <script type="text/javascript" src="{dreamer-cms:template /}assets/js/wow.min.js"></script>
  98. <script src="{dreamer-cms:template /}assets/js/main.js"></script>
  99. <script src="{dreamer-cms:template /}assets/bootstrap/js/bootstrap.min.js"></script>
  100. <script src="{dreamer-cms:template /}assets/js/aos.min.js"></script>
  101. <script src="{dreamer-cms:template /}assets/js/bs-init.js"></script>
  102. <script src="{dreamer-cms:template /}assets/js/image.js"></script>
  103. </body>
  104. </html>