stack.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <title>低于桌面堆叠排列</title>
  2. <div class="layui-card layadmin-header">
  3. <div class="layui-breadcrumb" lay-filter="breadcrumb">
  4. <a lay-href="">主页</a>
  5. <a><cite>组件</cite></a>
  6. <a><cite>栅格</cite></a>
  7. <a><cite>低于桌面堆叠排列</cite></a>
  8. </div>
  9. </div>
  10. <style>
  11. /* 这段样式只是用于演示 */
  12. #LAY-component-grid-stack .layui-card-body{display: flex; justify-content: center; flex-direction: column; text-align: center; height: 200px;}
  13. </style>
  14. <div class="layui-fluid" id="LAY-component-grid-stack">
  15. <div class="layui-row layui-col-space10">
  16. <div class="layui-col-md4">
  17. <!-- 填充内容 -->
  18. <div class="layui-card">
  19. <div class="layui-card-header"></div>
  20. <div class="layui-card-body"></div>
  21. </div>
  22. </div>
  23. <div class="layui-col-md4">
  24. <div class="layui-card">
  25. <div class="layui-card-header"></div>
  26. <div class="layui-card-body"></div>
  27. </div>
  28. </div>
  29. <div class="layui-col-md4">
  30. <div class="layui-card">
  31. <div class="layui-card-header"></div>
  32. <div class="layui-card-body"></div>
  33. </div>
  34. </div>
  35. <div class="layui-col-md4">
  36. <div class="layui-card">
  37. <div class="layui-card-header"></div>
  38. <div class="layui-card-body"></div>
  39. </div>
  40. </div>
  41. <div class="layui-col-md4">
  42. <div class="layui-card">
  43. <div class="layui-card-header"></div>
  44. <div class="layui-card-body"></div>
  45. </div>
  46. </div>
  47. <div class="layui-col-md4">
  48. <div class="layui-card">
  49. <div class="layui-card-header"></div>
  50. <div class="layui-card-body"></div>
  51. </div>
  52. </div>
  53. <div class="layui-col-md4">
  54. <div class="layui-card">
  55. <div class="layui-card-header"></div>
  56. <div class="layui-card-body"></div>
  57. </div>
  58. </div>
  59. <div class="layui-col-md4">
  60. <div class="layui-card">
  61. <div class="layui-card-header"></div>
  62. <div class="layui-card-body"></div>
  63. </div>
  64. </div>
  65. <div class="layui-col-md4">
  66. <div class="layui-card">
  67. <div class="layui-card-header"></div>
  68. <div class="layui-card-body"></div>
  69. </div>
  70. </div>
  71. <div class="layui-col-md4">
  72. <div class="layui-card">
  73. <div class="layui-card-header"></div>
  74. <div class="layui-card-body"></div>
  75. </div>
  76. </div>
  77. <div class="layui-col-md4">
  78. <div class="layui-card">
  79. <div class="layui-card-header"></div>
  80. <div class="layui-card-body"></div>
  81. </div>
  82. </div>
  83. <div class="layui-col-md4">
  84. <div class="layui-card">
  85. <div class="layui-card-header"></div>
  86. <div class="layui-card-body"></div>
  87. </div>
  88. </div>
  89. <div class="layui-col-md4">
  90. <div class="layui-card">
  91. <div class="layui-card-header"></div>
  92. <div class="layui-card-body"></div>
  93. </div>
  94. </div>
  95. <div class="layui-col-md4">
  96. <div class="layui-card">
  97. <div class="layui-card-header"></div>
  98. <div class="layui-card-body"></div>
  99. </div>
  100. </div>
  101. <div class="layui-col-md4">
  102. <div class="layui-card">
  103. <div class="layui-card-header"></div>
  104. <div class="layui-card-body"></div>
  105. </div>
  106. </div>
  107. <div class="layui-col-md4">
  108. <div class="layui-card">
  109. <div class="layui-card-header"></div>
  110. <div class="layui-card-body"></div>
  111. </div>
  112. </div>
  113. <div class="layui-col-md4">
  114. <div class="layui-card">
  115. <div class="layui-card-header"></div>
  116. <div class="layui-card-body"></div>
  117. </div>
  118. </div>
  119. <div class="layui-col-md4">
  120. <div class="layui-card">
  121. <div class="layui-card-header"></div>
  122. <div class="layui-card-body"></div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. <script>
  128. layui.use(['admin'], function(){
  129. var $ = layui.$
  130. ,admin = layui.admin
  131. ,table = layui.table
  132. ,element = layui.element;
  133. element.render('breadcrumb', 'breadcrumb');
  134. });
  135. </script>