chooseK_body.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>简约表格插件</title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  7. <script src="../../script/jquery.min.js"></script>
  8. <script src="../../script/tableXR.js"></script>
  9. <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
  10. <link rel="stylesheet" type="text/css" href="../../css/html.css"/>
  11. <style>
  12. table.gridtable {
  13. font-family: verdana, arial, sans-serif;
  14. font-size: 11px;
  15. color: #333333;
  16. border-width: 1px;
  17. border-color: #666666;
  18. border-collapse: collapse;
  19. width: 100%;
  20. margin-top: 1.5rem;
  21. }
  22. table.gridtable th {
  23. border-width: 1px;
  24. padding: 8px 2px;
  25. border-style: solid;
  26. background-color: #007f86;
  27. color : #fff;
  28. }
  29. table.gridtable td {
  30. border-width: 1px;
  31. padding: 8px 2px;
  32. border-style: solid;
  33. border-color: #666666;
  34. text-align: center;
  35. }
  36. .aui-flex {
  37. display: flex;
  38. display: -webkit-flex;
  39. margin: 10px;
  40. float: right;
  41. }
  42. .aui-input {
  43. width: 2rem !important;
  44. border: 1px solid #999 !important;
  45. height: 1.3rem !important;
  46. margin: 0 10px !important;
  47. }
  48. .aui-img {
  49. width: 4rem;
  50. position: absolute;
  51. margin-left: -.6rem;
  52. margin-top: -.9rem;
  53. }
  54. .aui-flex1 {
  55. display : flex;
  56. display: -webkit-flex;
  57. justify-content: space-around;
  58. }
  59. .aui-flex1 p {
  60. font-weight: bold;
  61. color:#007F86;
  62. font-size : 1rem;
  63. }
  64. .aui-flex1-input {
  65. width: 2rem;
  66. border: 1px solid#ddd;
  67. margin: 0px;
  68. text-align: center;
  69. }
  70. .brand {
  71. width : 2rem;
  72. background-color: #007F86;
  73. color: #fff;
  74. padding: 3px 4px;
  75. margin: 0 auto;
  76. border-radius: 5px;
  77. }
  78. .aui-btn {
  79. background-color: #007F86;
  80. width: 80%;
  81. padding: 8px 0;
  82. text-align: center;
  83. color: #fff;
  84. border-radius: 5px;
  85. margin: 10px 10%;
  86. box-shadow: 1px 1px 1px #ddd;
  87. }
  88. table.gridtable tr:nth-child(odd) {
  89. background: #d1f8ff !important;
  90. }
  91. table tr:nth-child(even) {
  92. background: #fff !important;
  93. }
  94. </style>
  95. </head>
  96. <body>
  97. <div id="app">
  98. <table class="gridtable">
  99. <tr>
  100. <th>规格</th><th>花纹</th><th>数量</th><th>品牌</th><th>操作</th>
  101. </tr>
  102. <tr>
  103. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand">金宇</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  104. </tr>
  105. <tr>
  106. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand" style="background-color: #009944">金路</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  107. </tr>
  108. <tr>
  109. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand">金宇</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  110. </tr>
  111. <tr>
  112. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand">金宇</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  113. </tr>
  114. <tr>
  115. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand" style="background-color: #009944">金路</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  116. </tr>
  117. <tr>
  118. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand">金宇</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  119. </tr>
  120. <tr>
  121. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand" style="background-color: #009944">金路</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  122. </tr>
  123. <tr>
  124. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand">金宇</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  125. </tr>
  126. <tr>
  127. <td>12R22.5-18</td><td>JT538</td><td style="color: #8ec31f">充足</td><td><div class="brand" style="background-color: #009944">金路</div></td><td><div class="aui-flex1"><p>-</p><input class="aui-flex1-input" type="text" value="100"/><p>+</p></div></td>
  128. </tr>
  129. </table>
  130. <footer class="aui-footer zmq-footer-fixed">
  131. <div class="zmq-width-90 aui-footer-text-info zmq-textAlign-center zmq-padding-btn zmq-btn-img">
  132. <a href="javascript:;" class="aui-payment zmq-text-white">提交订货</a>
  133. </div>
  134. </footer>
  135. </div>
  136. </body>
  137. <script type="text/javascript" src="../../script/api.js"></script>
  138. <script type="text/javascript" src="../../script/vue.js"></script>
  139. <script type="text/javascript" src="../../script/httpRequest.js"></script>
  140. <script type="text/javascript" src="../../script/vue_plugins.js"></script>
  141. <script type="text/javascript">
  142. new Vue({
  143. el : '#app',
  144. data : {
  145. btns : [{
  146. title : '规格',
  147. checked : false,
  148. code : 'gg'
  149. }, {
  150. title : '花纹',
  151. checked : false,
  152. code : 'hw'
  153. }, {
  154. title : '用途',
  155. checked : false,
  156. code : 'cc'
  157. }],
  158. },
  159. methods : {
  160. },
  161. mounted : function() {
  162. }
  163. })
  164. </script>
  165. </html>