jiashicang.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>浙江印刷集团有限公司</title>
  6. <!--浏览器标签 logo -->
  7. <link rel="icon" href="http://xh-erp.7in6.com/img/logo1.png" type="image/png">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
  9. <style>
  10. /* 重置默认样式 */
  11. html, body {
  12. margin: 0;
  13. padding: 0;
  14. height: 100%; /* 确保根元素高度填满整个视口 */
  15. }
  16. body {
  17. overflow: hidden;
  18. /*display: flex;*/
  19. /*align-items: center; !* 水平居中 *!*/
  20. /*justify-content: center; !* 垂直居中 *!*/
  21. /*font-family: 'Kaiti', '楷体', serif; !* 设置字体 *!*/
  22. color: white; /* 设置文字颜色 */
  23. }
  24. .content{
  25. margin: 0px auto;
  26. padding: 0px;
  27. }
  28. /* 背景样式 */
  29. .bg {
  30. width: 100%;
  31. height: 100vh;
  32. /*background-image: url("./img/bg.jpg");!*背景图片*!*/
  33. background-image: url("http://xh-erp.7in6.com/img/bg.jpg");/*背景图片*/
  34. background-size: cover;
  35. background-repeat: no-repeat;
  36. background-position: center;
  37. /*position: relative; !* 调整为 relative,便于子元素定位 *!*/
  38. }
  39. /* 大标题样式 */
  40. .head {
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. width: 400px;
  45. height: 50px;
  46. position: absolute;
  47. top: 5%;
  48. left: 50%;
  49. transform: translate(-50%, -50%);
  50. }
  51. /* 大标题样式 */
  52. .head .head-title {
  53. font-size: 24px;
  54. margin: 0;
  55. text-align: center;
  56. font-family: 'Songti', '宋体', serif;
  57. }
  58. /* 容器样式 */
  59. .container {
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: center;
  63. align-items: center;
  64. height: 109%;
  65. /*height: 85%;*/
  66. }
  67. /* 按钮容器样式 */
  68. .button-row {
  69. text-align: center;
  70. display: flex;/*浮动*/
  71. justify-content: center;
  72. align-items: center;
  73. flex-wrap: wrap;
  74. }
  75. /* 按钮样式 */
  76. .my-button {
  77. width: 150px; /* 按钮宽度 */
  78. height: 100px; /* 按钮高度 */
  79. border: 2px solid #0D4888; /* 边框样式和颜色 */
  80. background: linear-gradient(to bottom, #0D4888, #074477); /* 背景渐变色 */
  81. border-radius: 20%; /* 圆角边框 */
  82. /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); !* 移除悬停时的模糊效果 *!*/
  83. transition: background 0.3s, transform 0.3s; /* 过渡效果,用于背景颜色和变换 */
  84. margin: 15px; /* 外边距 */
  85. font-size: 16px; /* 按钮字体大小 */
  86. }
  87. /*退出*/
  88. .my-button-color {
  89. width: 100px; /* 按钮宽度 */
  90. height: 50px; /* 按钮高度 */
  91. /*border: 2px solid #0D4888; !* 边框样式和颜色 *!*/
  92. background: linear-gradient(to bottom, red, red); /* 背景渐变色 */
  93. border-radius: 20%; /* 圆角边框 */
  94. /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); !* 移除悬停时的模糊效果 *!*/
  95. transition: background 0.3s, transform 0.3s; /* 过渡效果,用于背景颜色和变换 */
  96. margin: 15px; /* 外边距 */
  97. font-size: 16px; /* 按钮字体大小 */
  98. }
  99. /* 按钮悬停样式 */
  100. .my-button:hover {
  101. background: linear-gradient(to bottom, #0d7be0, #085da6);
  102. transform: scale(1.05);
  103. cursor: pointer;
  104. }
  105. /* 标题样式 */
  106. .head-title {
  107. font-size: 36px;
  108. font-weight: bold;
  109. text-align: center;
  110. }
  111. /* 底部信息样式 */
  112. .footer {
  113. position: fixed;
  114. bottom: 0;
  115. width: 100%;
  116. /*background-color: #333;*/
  117. color: white;
  118. text-align: center;
  119. /*padding: 10px;*/
  120. font-family: 'Songti', '宋体', serif;
  121. }
  122. /* 图片容器样式 */
  123. .image-container {
  124. display: none;
  125. position: absolute;
  126. top: 100%;
  127. left: 50%;
  128. transform: translateX(-50%);
  129. z-index: 1;
  130. }
  131. /* 触碰按钮显示图片样式 */
  132. .image-container img {
  133. width: 200px;
  134. height: auto;
  135. }
  136. /* 按钮悬停时显示图片容器 */
  137. .my-button:hover .image-container {
  138. display: block;
  139. }
  140. /*按钮文字设置*/
  141. .title{
  142. color: white;/*按钮文字颜色*/
  143. }
  144. /* 响应式布局 */
  145. @media (max-width: 768px) {
  146. .head .head-title {
  147. font-size: 16px;
  148. }
  149. }
  150. @media (max-width: 480px) {
  151. .head .head-title {
  152. font-size: 12px;
  153. }
  154. }
  155. @media (max-width: 1920px) {
  156. .head .head-title {
  157. font-size: 30px;
  158. }
  159. }
  160. .button-tui{
  161. padding: 10px 20px;
  162. background-color: #f44336;
  163. color: white;
  164. border: none;
  165. border-radius: 5px;
  166. cursor: pointer;
  167. font-size: 16px;
  168. margin: 50px 0px 0px 0px;
  169. }
  170. </style>
  171. </head>
  172. <body>
  173. <!-- 背景容器 -->
  174. <div class="bg">
  175. <!-- 大标题 -->
  176. <div class="head">
  177. <p class="head-title">浙江印刷集团有限公司</p>
  178. </div>
  179. <!-- <form action="{:url('/index.php/index/index/logout')}" method="post">-->
  180. <!-- <div style="text-align: right; margin-right: 30px;">-->
  181. <!-- <input type="hidden" id="tuichu" name="tuichu" value="退出">-->
  182. <!-- <button type="submit" class="button-tui">-->
  183. <!-- <i class="fas fa-sign-out-alt"></i> 退出登录-->
  184. <!-- </button>-->
  185. <!-- </div>-->
  186. <!-- </form>-->
  187. <!-- 主内容容器 -->
  188. <div class="container">
  189. <!-- 按钮行 -->
  190. <div class="button-row">
  191. <button class="my-button" title="业务总览(第一页)" onclick="window.open('https://sugar.aipage.com/slider/1e8b117c278d0274e915da75f13fb6f4')">
  192. <p class="title">业务总览</p>
  193. <div class="image-container">
  194. <img src="__CDN__/img/yiy.jpg" alt="业务总览图片">
  195. </div>
  196. </button>
  197. <button class="my-button" title="业务总览(第二页)" onclick="window.open('https://sugar.aipage.com/slider/e3db9646983f86b87c1e0abfce4e0e1f')">
  198. <p class="title">每月生产走势</p>
  199. <div class="image-container">
  200. <img src="__CDN__/img/yier.jpg" alt="每月生产走势图片">
  201. </div>
  202. </button>
  203. <button class="my-button" title="营销管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/cd8084adf3f785304085db229dfc2377')">
  204. <p class="title">经营总览</p>
  205. <div class="image-container">
  206. <img src="__CDN__/img/sy.jpg" alt="经营总览图片">
  207. </div>
  208. </button>
  209. <button class="my-button" title="营销管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/edb2f972411cb1856c63cf4fb7b8605b')">
  210. <p class="title">客户分析</p>
  211. <div class="image-container">
  212. <img src="__CDN__/img/sier.jpg" alt="客户分析图片">
  213. </div>
  214. </button>
  215. </div>
  216. <!-- 第二行-->
  217. <div class="button-row">
  218. <button class="my-button" title="生产管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/cfbf4e7df6d3ca6864c7baa09b796a46')">
  219. <p class="title">实时生产进度</p>
  220. <div class="image-container">
  221. <img src="__CDN__/img/sany.jpg" alt="实时生产进度图片">
  222. </div>
  223. </button>
  224. <button class="my-button" title="生产管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/7cffa4091eed25ebd2b1e089e261fe0c')">
  225. <p class="title">生产效率分析</p>
  226. <div class="image-container">
  227. <img src="__CDN__/img/saner.jpg" alt="生产效率分析图片">
  228. </div>
  229. </button>
  230. <button class="my-button" title="主要机台每月生产走势" onclick="window.open('https://sugar.aipage.com/slider/536729d13e733546dfdfa32817b5c970')">
  231. <p class="title">主要机台每月生产走势</p>
  232. <div class="image-container">
  233. <img src="__CDN__/img/yuejt.jpg" alt="主要机台每月生产走势">
  234. </div>
  235. </button>
  236. <button class="my-button" title="当月班组产量对比" onclick="window.open('https://sugar.aipage.com/dashboard/012b8b9d571e8b32e25b237f251769fc')">
  237. <p class="title">当月班组产量对比</p>
  238. <div class="image-container">
  239. <img src="__CDN__/img/cpkc.png" alt="当月班组产量对比">
  240. </div>
  241. </button>
  242. </div>
  243. <!-- 第三行-->
  244. <div class="button-row">
  245. <button class="my-button" title="营销管理(第二页)" onclick="window.open('https://sugar.aipage.com/dashboard/0950125942b5daec4324afc1a6d5c04d')">
  246. <p class="title">成品库存</p>
  247. <div class="image-container">
  248. <img src="__CDN__/img/cpkc.png" alt="客户分析图片">
  249. </div>
  250. </button>
  251. <button class="my-button" title="生产管理(第三页)" onclick="window.open('https://sugar.aipage.com/slider/ca485092b13c48ffaf911529fbf00b7f')">
  252. <p class="title">质量管控</p>
  253. <div class="image-container">
  254. <img src="__CDN__/img/zlgg.png" alt="质量管控质量管控图片">
  255. </div>
  256. </button>
  257. <button class="my-button" title="采购管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/1988989bc6eec768d634dc58107ad92e')">
  258. <p class="title">原辅材料总览</p>
  259. <div class="image-container">
  260. <img src="__CDN__/img/ery.jpg" alt="原辅材料总览图片">
  261. </div>
  262. </button>
  263. <button class="my-button" title="采购管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/04db16287f3e6f1a7f6edfbd4d634a10')">
  264. <p class="title">纸张每月采购均价</p>
  265. <div class="image-container">
  266. <img src="__CDN__/img/erer.jpg" alt="纸张每月采购均价图片">
  267. </div>
  268. </button>
  269. </div>
  270. <!-- <div class="button-row" style="margin: 0 540px 0 0">-->
  271. <div class="button-row">
  272. <button disabled class="my-button">
  273. <p class="title">能源管理</p>
  274. <div class="image-container">
  275. </div>
  276. </button>
  277. </div>
  278. <!-- 底部信息 -->
  279. <div class="footer">
  280. <div class="container">
  281. <p>Copyright @ 浙江易盒包装科技有限公司 2023-{:date('Y',time())} 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
  282. </div>
  283. </div>
  284. </div>
  285. </div>
  286. </body>
  287. </html>
  288. <script>
  289. // 点击按钮跳转新窗口
  290. document.querySelectorAll('.my-button').forEach(button => {
  291. button.addEventListener('click', function(event) {
  292. event.preventDefault();
  293. window.open(this.getAttribute('data-href'));
  294. });
  295. });
  296. // 禁止在页面上进行放大缩小
  297. document.addEventListener('wheel', function(event){
  298. if (event.ctrlKey === true || event.metaKey) {
  299. event.preventDefault();
  300. }
  301. }, { passive: false });
  302. //禁止右键
  303. // document.addEventListener('contextmenu', function(e) {
  304. // e.preventDefault();
  305. // });
  306. </script>