bysyaIndex.htm 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>bysyaIndex</title>
  5. <style>
  6. .mui-content {
  7. background-color: #fff;
  8. }
  9. .mui-table-view {
  10. color: #fff;
  11. }
  12. ul.row li{
  13. padding: 0;
  14. }
  15. .col-xs-2 {
  16. padding: 0 0.08rem;
  17. }
  18. .base-gb{
  19. font-size: 0.28rem;
  20. background: #4E768F;
  21. text-align: left;
  22. margin: 0.2rem;
  23. border-radius: 0.1rem;
  24. }
  25. .rowflex{
  26. width: 100%;
  27. padding: 0.1rem 0;
  28. }
  29. .rowBox{
  30. padding-top: 0;
  31. border-radius: 0.2rem;
  32. }
  33. li.mui-table-view-cell {
  34. display: flex;
  35. align-items: center;
  36. margin: 0.16rem;
  37. font-size: 0.24rem;
  38. background: #4E768F;
  39. justify-content: space-around;
  40. }
  41. .rowBox:last-child {
  42. padding-bottom: 0.45rem;
  43. }
  44. input[placeholder], [placeholder], *[placeholder] {
  45. color: #BFBFBF !important;
  46. }
  47. input[type=text]{
  48. width: 1.2rem;
  49. height: 0.4rem;
  50. padding: 0.05rem 0.1rem;
  51. }
  52. ::-webkit-input-placeholder {
  53. color: #BFBFBF !important;
  54. }
  55. .mui-table-view-cell>.mui-badge, .mui-table-view-cell>.mui-btn, .mui-table-view-cell>.mui-switch, .mui-table-view-cell>a>.mui-badge, .mui-table-view-cell>a>.mui-btn, .mui-table-view-cell>a>.mui-switch{
  56. position: relative;
  57. top: 10px;
  58. right: 0;
  59. }
  60. .mui-switch .mui-switch-handle {
  61. background-color: #fff;
  62. width: 20px;
  63. height: 20px;
  64. }
  65. .mui-switch.mui-active .mui-switch-handle {
  66. -webkit-transform: translate(22px,0);
  67. transform: translate(22px,0);
  68. }
  69. .ggys {
  70. margin-left: 0;
  71. }
  72. .md-content .titlebz {
  73. width: 106%;
  74. margin-left: -3%;
  75. margin-top: 0.4rem;
  76. border-radius: 0;
  77. padding: 0.1rem 0;
  78. }
  79. .msg{
  80. position: absolute;
  81. top: 50%;
  82. left: 50%;
  83. z-index: 999;
  84. font-size: 0.32rem;
  85. transform: translate(-50%,-50%);
  86. -webkit-transform: translate(-50%,-50%);
  87. -o-transform: translate(-50%,-50%);
  88. -moz-transform: translate(-50%,-50%);
  89. }
  90. </style>
  91. <script type="text/javascript" src="views/haifmv/mc/bysyaEx/bysyaIndex.js"></script>
  92. </head>
  93. <body>
  94. <input type="hidden" id="dwsl" value="$!dwsl"/>
  95. <input type="hidden" id="dksl" value="$!dksl"/>
  96. <input type="hidden" id="jqid" value="$!jqid"/>
  97. <input type="hidden" id="zsid" value="$!zsid"/>
  98. <input type="hidden" id="dataSize" value="$!yaLists.size()"/>
  99. <input type="hidden" id="yaLists" value="$!yaLists"/>
  100. <input type="hidden" id="dwnr" value="$!dwnr"/>
  101. <input type="hidden" id="zsbz" value="$!zsbz"/>
  102. <input type="hidden" id="jrqTemp" value="$!jrqTemp"/>
  103. <input type="hidden" id="sfgl" value="$!sfgl"/>
  104. <div id="wrap">
  105. <header>
  106. <span class="glyphicon glyphicon-chevron-left" aria-hidden="true" onclick="yaBackUrl();"></span>
  107. <p>保育舍预案设置</p>
  108. #if("$!xt_hjkz_yxcs_update" == "true" && "$!dwnr" != "")
  109. <span class="glyphicon glyphicon-ok" aria-hidden="true" onclick="javascript:yaSave('bc')"></span>
  110. #else
  111. <span class="glyphicon" aria-hidden="true" style="width: 18px;height: 18px;"></span>
  112. #end
  113. </header>
  114. <div class="middle ">
  115. <div class="msg" style="display : none">当前猪舍无档位信息</div>
  116. <section class="bysyaIscroll" style="background: #fff;">
  117. <div class="mui-content">
  118. <div class="mui-control-content mui-active">
  119. <ul>
  120. #set($count = 1)
  121. #foreach($!obj in $!yaLists)
  122. <!--日龄1-->
  123. <li class="align-itemscenter">
  124. <ul class="mui-table-view" style="width: 100%;">
  125. <li class="mui-table-view-cell">
  126. <span>日龄</span>
  127. <input type="text" class="form-control" placeholder="" aria-describedby="sizing-addon3" value = "$!obj.rlks" disabled="disabled"/>
  128. <input type="text" class="form-control" placeholder="" aria-describedby="sizing-addon3" value = "$!obj.rljs" disabled="disabled"/>
  129. <span>下偏移量</span>
  130. <input type="text" class="form-control" placeholder="" aria-describedby="sizing-addon3" value = "$!obj.pyl"/>
  131. <div class="mui-switch mui-switch-mini hidden" data-type="$!count">
  132. <div class="mui-switch-handle"></div>
  133. </div>
  134. </li>
  135. </ul>
  136. </li>
  137. <li class="hiddenli" style="display: none;">
  138. <div class="rowBox container-fluid" id = "yzConstant$!count">
  139. </div>
  140. </li>
  141. #set($count = $count + 1)
  142. #end
  143. </ul>
  144. <ul>
  145. <li class="hiddenli">
  146. <div class="base-gb">
  147. <div class="titlePz" style="color: #fff;padding:0.1rem 0;text-align: center;">基准配置</div>
  148. </div>
  149. #if("$!jrqTemp" != "")
  150. <div class="rowBox container-fluid" style="position:relative;position: relative;display: flex;flex-direction: row;justify-content: space-around;font-size: 14px;margin-bottom: 10px;color: #4E768F;">
  151. <div style="display: flex;flex-direction: row;align-items: center;">
  152. <input type="checkbox" id="jrqck1" value="1" style="height:0.35rem;width:0.3rem;margin-right: 0.1rem;"/>是否关联加热器
  153. </div>
  154. </div>
  155. #end
  156. #if("$!jrqTemp" != "")
  157. <div class="rowBox container-fluid" style="position:relative;position: relative;display: flex;flex-direction: column;justify-content: space-around;font-size: 0.28rem;margin-bottom: 0.2rem;color: #4E768F;">
  158. <div style="display: flex;flex-direction: row;align-items: center;justify-content: space-around;margin: 0.1rem 0;padding: 0.08rem 0.3rem;font-size: 0.26rem;">
  159. <span>加热器基准目标温度:</span>
  160. <input type="text" class="form-control" placeholder="" value = "$!jrqTemp" style="width: 45%;" disabled="disabled";/>
  161. </div>
  162. <!-- <div style="display: flex;flex-direction: row;align-items: center;justify-content: space-around;margin: 10px 0;padding: 4px 15px;">
  163. <span>加热器2目标温度:</span>
  164. <input type="text" class="form-control" placeholder="" value = "" style="width: 60%;" disabled="disabled";/>
  165. </div> -->
  166. </div>
  167. #end
  168. <div class="rowBox container-fluid" id = "yzConstantEx"></div>
  169. </li>
  170. </ul>
  171. </div>
  172. </div>
  173. </section>
  174. </div>
  175. <div class="btn-group" id = "btn-add" role="group" aria-label="..." style="position: absolute;bottom: 2%;left: 35%;background: #4E768F;z-index: 1;padding: 5px 15px;border-radius: 5px;">
  176. <span class="glyphicon glyphicon-plus" aria-hidden="true" style="color: #fff;"></span>
  177. </div>
  178. <div class="btn-group" id = "btn-del" role="group" aria-label="..." style="position: absolute;bottom: 2%;right: 35%;background: #4E768F;z-index: 1;padding: 5px 15px;border-radius: 5px;">
  179. <span class="glyphicon glyphicon-minus" aria-hidden="true" style="color: #fff;"></span>
  180. </div>
  181. </div>
  182. #if("$!xt_hjkz_yxcs_update" == "true" && "$!dwnr" != "")
  183. <div id="tb">同步</div>
  184. #end
  185. <div class="xgmsgbox md-modal md-effect-1 ggys" id="" style="height: auto; overflow: initial;z-index: 1220;">
  186. <div class="md-content bzmd-content" style="height: 5rem;display: flex;flex-direction: column;">
  187. <div class="title titlebz">
  188. <h5>$!zsmc</h5>
  189. <div class="leftsanjiao"></div>
  190. <div class="rightsanjiao"></div>
  191. </div>
  192. <div style="position: relative;flex: 1;">
  193. <div class="iscrollCenter">
  194. <ul class="listcenter">
  195. #foreach ($!obj in $!zsdaList)
  196. <li>
  197. <div class="checkBox">
  198. <input type="checkbox" name="checkBox" id="dmid" value="$!obj.id" />
  199. <label for="dmid"></label>
  200. </div>
  201. <span>$!obj.zsmc</span>
  202. </li>
  203. #end
  204. </ul>
  205. </div>
  206. </div>
  207. <div class="sjokbox" style="border-top: 2px #6C98B1 solid;">
  208. <div id='toastBtn' class="sjok oksl">
  209. <span class="mui-icon mui-icon-checkmarkempty"></span>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. </body>
  215. </html>