add_wechat.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {extend name="public/layout" /} {block name="title"}分享内容{/block} {block name="body"}
  2. <!--<link rel="stylesheet" href="__LAYUI__/common.css" media="all">-->
  3. <style type="text/css">
  4. html,
  5. body {
  6. display: block;
  7. background-color: #fff;
  8. }
  9. .layui-fluid {
  10. display: block;
  11. border-radius: 5px;
  12. background-color: #ffffff;
  13. padding: 15px 30px;
  14. }
  15. .layui-tab {
  16. padding: 15px;
  17. height: 100%;
  18. }
  19. .layui-table-view .layui-table th,
  20. .layui-table-view .layui-table td {
  21. text-align: center;
  22. border-color: #B6CADE;
  23. }
  24. .layui-table thead tr,
  25. .layui-table-header {
  26. background-color: #D8E6F1 !important;
  27. }
  28. .input-indent-box {
  29. display: inline;
  30. width: 80%;
  31. }
  32. .input-indent-box-small {
  33. display: inline;
  34. width: 20%;
  35. }
  36. .adding {
  37. cursor: pointer;
  38. }
  39. .upload-img .area i {
  40. font-size: 50px;
  41. color: #009688;
  42. }
  43. .evi-block {
  44. float: left;
  45. margin-right: 10px;
  46. }
  47. /*///*/
  48. .imageDiv {
  49. display: inline-block;
  50. width: 140px;
  51. height: 125px;
  52. -webkit-box-sizing: border-box;
  53. -moz-box-sizing: border-box;
  54. box-sizing: border-box;
  55. border: 1px dashed darkgray;
  56. background: #f8f8f8;
  57. position: relative;
  58. overflow: hidden;
  59. }
  60. .addImages {
  61. display: inline-block;
  62. width: 140px;
  63. height: 125px;
  64. -webkit-box-sizing: border-box;
  65. -moz-box-sizing: border-box;
  66. box-sizing: border-box;
  67. border: 1px dashed darkgray;
  68. background: #f8f8f8;
  69. position: relative;
  70. overflow: hidden;
  71. }
  72. .text-detail {
  73. margin-top: 40px;
  74. text-align: center;
  75. }
  76. .text-detail>span {
  77. font-size: 40px;
  78. }
  79. .imageDiv div {
  80. width: 100%;
  81. height: 100%;
  82. position: absolute;
  83. top: 0px;
  84. background-color: #e6e6e600;
  85. }
  86. .imageDiv div i {
  87. display: none;
  88. font-size: 31px;
  89. position: absolute;
  90. top: 37%;
  91. left: 40%;
  92. }
  93. .imageDiv div:hover {
  94. background-color: #e6e6e680;
  95. }
  96. .imageDiv div:hover i {
  97. display: block;
  98. cursor: pointer;
  99. }
  100. .rotate180 {
  101. -webkit-transform: rotate(180deg);
  102. transform: rotate(180deg);
  103. }
  104. .layui-edge.rotate180 {
  105. margin-top: -9px;
  106. }
  107. .layui-card-body {
  108. padding: 0px;
  109. }
  110. </style>
  111. <body>
  112. <div class="layui-fluid">
  113. <div class="layui-card">
  114. <div class="layui-card-body">
  115. <table id="list"></table>
  116. </div>
  117. </div>
  118. </div>
  119. </body>
  120. {/block} {block name="js"}
  121. <script>
  122. layui.config({
  123. base: '__LAYUI__/' //静态资源所在路径
  124. ,
  125. urlbase: '/sys'
  126. }).extend({
  127. index: 'lib/index' //主入口模块
  128. }).use(['index', 'table'], function () {
  129. var $ = layui.$,
  130. table = layui.table;
  131. var field = '{$fields|raw}';
  132. field = JSON.parse(field);
  133. table.render({
  134. elem: '#list'
  135. , height: 'full-50'
  136. , url: '{$url|raw}'
  137. , page: true //开启分页
  138. , cols: [field]
  139. });
  140. });
  141. </script>
  142. {/block}