mainMobileMenu.htm 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>mainBody</title>
  5. <script type="text/javascript" src="views/mobile/weixin/mainMobileMenu.js"></script>
  6. <style type="text/css">
  7. #menuBody{
  8. height:100%;
  9. width:130px;
  10. background-color:white;
  11. }
  12. .menutitle{
  13. height:40px;
  14. width:100%;
  15. padding:15px 0px 0px 0px;
  16. }
  17. img{
  18. margin-right:5px;
  19. }
  20. li.firstLi{
  21. padding:30px 0px 15px 50px;
  22. float:left;
  23. width:80px;
  24. height:30px;
  25. background-color:white;
  26. }
  27. li.checkLi{
  28. padding:30px 0px 15px 50px;
  29. float:left;
  30. width:80px;
  31. height:30px;
  32. background-color:#00a7ff;
  33. color:white;
  34. text-shadow: 0 0 0;
  35. }
  36. li.SecoundLi{
  37. padding:15px 0px 15px 60px;
  38. float:left;
  39. width:70px;
  40. height:20px;
  41. list-style: outside none none;
  42. background:url("css/jqm/images/bt/ejbt1.png") no-repeat scroll 10% 50% transparent;
  43. background-color:#e4e4e4;
  44. }
  45. li.checkLi2{
  46. padding:15px 0 15px 60px;
  47. float:left;
  48. width:70px;
  49. height:20px;
  50. background:url("css/jqm/images/bt/ejbt2.png") no-repeat scroll 10% 50% transparent;
  51. background-color:#00a7ff;
  52. color:white;
  53. text-shadow: 0 0 0;
  54. }
  55. li.syNotCheck {
  56. background:url("css/jqm/images/bt/zy1.png") no-repeat scroll 10% 50% transparent;
  57. }
  58. li.xxNotCheck {
  59. background:url("css/jqm/images/bt/xx1.png") no-repeat scroll 10% 50% transparent;
  60. }
  61. li.znsNotCheck {
  62. background:url("css/jqm/images/bt/cds1.png") no-repeat scroll 10% 50% transparent;
  63. }
  64. li.ptsNotCheck {
  65. background:url("css/jqm/images/bt/pts1.png") no-repeat scroll 10% 50% transparent;
  66. }
  67. li.syCheck {
  68. background:url("css/jqm/images/bt/zy2.png") no-repeat scroll 10% 50% transparent;
  69. background-color:#00a7ff;
  70. }
  71. li.xxCheck {
  72. background:url("css/jqm/images/bt/xx2.png") no-repeat scroll 10% 50% transparent;
  73. background-color:#00a7ff;
  74. }
  75. li.ptsCheck {
  76. background:url("css/jqm/images/bt/pts2.png") no-repeat scroll 10% 50% transparent;
  77. background-color:#00a7ff;
  78. }
  79. </style>
  80. </head>
  81. <body>
  82. <div id="menuBody">
  83. <div class="menutitle"><center><img src="css/jqm/images/user-black.png" />$!yhxm</center></div>
  84. <div id="menuFir">
  85. <ul>
  86. <li class="firstLi" onclick="menuLiClick('sy');" flag="sy">主页</li>
  87. #if("$!kz_xxtz_mk" == "true")
  88. <li class="firstLi" onclick="menuLiClick('xx', '', '$!xxUrl');" flag="xx">消息</li>
  89. #end
  90. #if("$!kz_mcsj_mk" == "true")
  91. <li class="firstLi" onclick="menuLiClick('zns');" flag="zns">测定舍</li>
  92. #end
  93. <li>
  94. <div style="display:none;" id="zns">
  95. <ul>
  96. #if("$!mcsj_kz_yzgk" == "true")
  97. <li class="SecoundLi" onclick="menuLiClick('yzgk', '', '$!yzgkUrl');" flag="yzgk">养殖概况</li>
  98. #end
  99. #if("$!mcsj_kz_qtsz" == "true")
  100. <li class="SecoundLi" onclick="menuLiClick('qtsz', '', '$!qtszUrl');" flag="qtsz">群体生长</li>
  101. #end
  102. #if("$!mcsj_kz_slxh" == "true")
  103. <li class="SecoundLi" onclick="menuLiClick('slxh', '', '$!slxhUrl');" flag="slxh">饲料消耗</li>
  104. #end
  105. #if("$!mcsj_kz_snhj" == "true")
  106. <li class="SecoundLi" onclick="menuLiClick('snhj', '', '$!snhjUrl');" flag="snhj">舍内环境</li>
  107. #end
  108. </ul>
  109. </div>
  110. </li>
  111. #if("$!kz_ptssj_mk" == "true")
  112. <li class="firstLi" onclick="menuLiClick('pts');" flag="pts">普通舍</li>
  113. #end
  114. </ul>
  115. </div>
  116. </div>
  117. </body>
  118. </html>