enterpriseListPage.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="shortcut icon" href="favicon.ico"/>
  6. <meta name="Generator" content="EditPlus®">
  7. <meta name="Author" content="">
  8. <meta name="Keywords" content="">
  9. <meta name="Description" content="">
  10. <title></title>
  11. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  12. <link rel="stylesheet" href="${contextPath}/WebPages_170421/css/supermarket/enterpriseList2.css">
  13. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/jquery.js"></script>
  14. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/supermarket/productDetails.js"></script>
  15. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/jquery-1.11.1.min.js"></script>
  16. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/jquery-1.4.2.js"></script>
  17. <script type='text/javascript'>
  18. function tim(){
  19. var date = new Date();
  20. var seperator1 = "-";
  21. var year = date.getFullYear();
  22. var month = date.getMonth() + 1;
  23. var strDate = date.getDate();
  24. if (month >= 1 && month <= 9) {
  25. month = "0" + month;
  26. }
  27. if (strDate >= 0 && strDate <= 9) {
  28. strDate = "0" + strDate;
  29. }
  30. var mydate=new Date();
  31. var myddy=mydate.getDay();
  32. var weekday=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
  33. document.getElementById('days').innerHTML=year+seperator1+month+seperator1+strDate+'&nbsp;&nbsp;'+weekday[myddy];
  34. }
  35. setInterval(tim,1000);
  36. </script>
  37. </head>
  38. <body>
  39. <div class="wrapper">
  40. <%include("/WebPages_170421/commonPage/menu.html"){}%>
  41. <div class="main">
  42. <div class="list">
  43. <div class="listtitle">
  44. <h2>企业列表</h2>
  45. </div>
  46. <div class="wai">
  47. <!-- <div style="width:30px; height: 264px; float:left;"></div> -->
  48. <%for(store in storelist){%>
  49. <div class="qys">
  50. <div class="qy">
  51. <a href="${contextPath}/Supermarket/toEnterpriseDetailsPage?id=${store.id!''}">
  52. <%if(store.imagePath!'' != ''){%>
  53. <img src="${contextPath}/imageFile/getImage?imagePath=${store.imagePath!''}">
  54. <%}else{%>
  55. <img src="${contextPath}/WebPages_170421/img/logo.gif">
  56. <%}%>
  57. <!-- <img src="img/qypic_03.jpg"> -->
  58. <div class="info" style="height:188px; padding-top:0;">
  59. <p style="height:60px; line-height:60px;">企业信息</p>
  60. <p style="margin-bottom:20px;">企业类型:${store.storetypeName!''}<p>
  61. <p style="margin-bottom:20px;">企业编码:${store.enterprisecode!''}<p>
  62. <p>企业地址:${store.addr!''}<p>
  63. </div>
  64. <div class="clear"></div>
  65. <div class="qyname">${store.name!''}</div>
  66. </a>
  67. </div>
  68. <%for(product in store.productlist){%>
  69. <%if(productLP.index == 1){%>
  70. <div class="cp">
  71. <%}else{%>
  72. <div class="cp">
  73. <%}%>
  74. <a href="${contextPath}/Supermarket/toProductDetailsPage?id=${product.id!''}">
  75. <%if(product.image1!'' != ''){%>
  76. <img src="${contextPath}/imageFile/getImage?imagePath=${product.image1!''}">
  77. <%}else{%>
  78. <img src="${contextPath}/WebPages_170421/img/logo.gif">
  79. <%}%>
  80. <!-- <img src="img/produc_03.jpg"> -->
  81. <div class="infos">
  82. <span style="height:35px; width:186px; padding-left:10px; line-height:16px;">${product.name!''}</span>
  83. <span>¥${product.price!''}<pan>
  84. </div>
  85. </a>
  86. </div><%}elsefor{%>
  87. <p style="width: 1118px; padding-left:20px; height: 600px; margin: 33px 0 0 0;">无相关产品</p>
  88. <%}%>
  89. <!-- <div class="clear"></div> -->
  90. </div>
  91. <%}elsefor{%>
  92. <p style="width: 1118px; padding-left:20px; height: 600px; margin: 33px 0 0 0;">无相关企业</p>
  93. <%}%>
  94. <%include("/WebPages_170421/commonPage/c_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/Supermarket/toEnterprisePage?typeCode=" + typeCode! + "&type=" + type! + "&pageNumber=", "urlParas": urlParas!''}){}%>
  95. <!-- <ul class="page">
  96. <li class="fistpage">首页</li>
  97. <li class="leftpage"> << </li>
  98. <li class="tpages" style="background:#2577e3; color:#fff;">1</li>
  99. <li class="tpages">2</li>
  100. <li class="leftpage"> >> </li>
  101. <li class="fistpage">末页</li>
  102. </ul> -->
  103. </div>
  104. </div>
  105. </div>
  106. <div class="footer">
  107. <div>
  108. <p>版权所有:吉林省计算中心</p>
  109. <p>技术支持:长春市福瑞科技有限公司</p>
  110. <p>邮编:130000</p>
  111. <p>传真:239823982</p>
  112. <p>地址:吉林省长春市朝阳区前进大街1244号</p>
  113. <p>电话:0431-1234567</p>
  114. <p>邮箱:123456@163.com</p></div>
  115. </div>
  116. </div></div>
  117. <script type="text/javascript">
  118. </script>
  119. </body>
  120. </html>