| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>浙江印刷集团有限公司</title>
- <!--浏览器标签 logo -->
- <link rel="icon" href="http://xh-erp.7in6.com/img/logo1.png" type="image/png">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
- <style>
- /* 重置默认样式 */
- html, body {
- margin: 0;
- padding: 0;
- height: 100%; /* 确保根元素高度填满整个视口 */
- }
- body {
- overflow: hidden;
- /*display: flex;*/
- /*align-items: center; !* 水平居中 *!*/
- /*justify-content: center; !* 垂直居中 *!*/
- /*font-family: 'Kaiti', '楷体', serif; !* 设置字体 *!*/
- color: white; /* 设置文字颜色 */
- }
- .content{
- margin: 0px auto;
- padding: 0px;
- }
- /* 背景样式 */
- .bg {
- width: 100%;
- height: 100vh;
- /*background-image: url("./img/bg.jpg");!*背景图片*!*/
- background-image: url("http://xh-erp.7in6.com/img/bg.jpg");/*背景图片*/
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- /*position: relative; !* 调整为 relative,便于子元素定位 *!*/
- }
- /* 大标题样式 */
- .head {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 400px;
- height: 50px;
- position: absolute;
- top: 5%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- /* 大标题样式 */
- .head .head-title {
- font-size: 24px;
- margin: 0;
- text-align: center;
- font-family: 'Songti', '宋体', serif;
- }
- /* 容器样式 */
- .container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 109%;
- /*height: 85%;*/
- }
- /* 按钮容器样式 */
- .button-row {
- text-align: center;
- display: flex;/*浮动*/
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- }
- /* 按钮样式 */
- .my-button {
- width: 150px; /* 按钮宽度 */
- height: 100px; /* 按钮高度 */
- border: 2px solid #0D4888; /* 边框样式和颜色 */
- background: linear-gradient(to bottom, #0D4888, #074477); /* 背景渐变色 */
- border-radius: 20%; /* 圆角边框 */
- /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); !* 移除悬停时的模糊效果 *!*/
- transition: background 0.3s, transform 0.3s; /* 过渡效果,用于背景颜色和变换 */
- margin: 15px; /* 外边距 */
- font-size: 16px; /* 按钮字体大小 */
- }
- /*退出*/
- .my-button-color {
- width: 100px; /* 按钮宽度 */
- height: 50px; /* 按钮高度 */
- /*border: 2px solid #0D4888; !* 边框样式和颜色 *!*/
- background: linear-gradient(to bottom, red, red); /* 背景渐变色 */
- border-radius: 20%; /* 圆角边框 */
- /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); !* 移除悬停时的模糊效果 *!*/
- transition: background 0.3s, transform 0.3s; /* 过渡效果,用于背景颜色和变换 */
- margin: 15px; /* 外边距 */
- font-size: 16px; /* 按钮字体大小 */
- }
- /* 按钮悬停样式 */
- .my-button:hover {
- background: linear-gradient(to bottom, #0d7be0, #085da6);
- transform: scale(1.05);
- cursor: pointer;
- }
- /* 标题样式 */
- .head-title {
- font-size: 36px;
- font-weight: bold;
- text-align: center;
- }
- /* 底部信息样式 */
- .footer {
- position: fixed;
- bottom: 0;
- width: 100%;
- /*background-color: #333;*/
- color: white;
- text-align: center;
- /*padding: 10px;*/
- font-family: 'Songti', '宋体', serif;
- }
- /* 图片容器样式 */
- .image-container {
- display: none;
- position: absolute;
- top: 100%;
- left: 50%;
- transform: translateX(-50%);
- z-index: 1;
- }
- /* 触碰按钮显示图片样式 */
- .image-container img {
- width: 200px;
- height: auto;
- }
- /* 按钮悬停时显示图片容器 */
- .my-button:hover .image-container {
- display: block;
- }
- /*按钮文字设置*/
- .title{
- color: white;/*按钮文字颜色*/
- }
- /* 响应式布局 */
- @media (max-width: 768px) {
- .head .head-title {
- font-size: 16px;
- }
- }
- @media (max-width: 480px) {
- .head .head-title {
- font-size: 12px;
- }
- }
- @media (max-width: 1920px) {
- .head .head-title {
- font-size: 30px;
- }
- }
- .button-tui{
- padding: 10px 20px;
- background-color: #f44336;
- color: white;
- border: none;
- border-radius: 5px;
- cursor: pointer;
- font-size: 16px;
- margin: 50px 0px 0px 0px;
- }
- </style>
- </head>
- <body>
- <!-- 背景容器 -->
- <div class="bg">
- <!-- 大标题 -->
- <div class="head">
- <p class="head-title">浙江印刷集团有限公司</p>
- </div>
- <!-- <form action="{:url('/index.php/index/index/logout')}" method="post">-->
- <!-- <div style="text-align: right; margin-right: 30px;">-->
- <!-- <input type="hidden" id="tuichu" name="tuichu" value="退出">-->
- <!-- <button type="submit" class="button-tui">-->
- <!-- <i class="fas fa-sign-out-alt"></i> 退出登录-->
- <!-- </button>-->
- <!-- </div>-->
- <!-- </form>-->
- <!-- 主内容容器 -->
- <div class="container">
- <!-- 按钮行 -->
- <div class="button-row">
- <button class="my-button" title="业务总览(第一页)" onclick="window.open('https://sugar.aipage.com/slider/1e8b117c278d0274e915da75f13fb6f4')">
- <p class="title">业务总览</p>
- <div class="image-container">
- <img src="__CDN__/img/yiy.jpg" alt="业务总览图片">
- </div>
- </button>
- <button class="my-button" title="业务总览(第二页)" onclick="window.open('https://sugar.aipage.com/slider/e3db9646983f86b87c1e0abfce4e0e1f')">
- <p class="title">每月生产走势</p>
- <div class="image-container">
- <img src="__CDN__/img/yier.jpg" alt="每月生产走势图片">
- </div>
- </button>
- <button class="my-button" title="营销管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/cd8084adf3f785304085db229dfc2377')">
- <p class="title">经营总览</p>
- <div class="image-container">
- <img src="__CDN__/img/sy.jpg" alt="经营总览图片">
- </div>
- </button>
- <button class="my-button" title="营销管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/edb2f972411cb1856c63cf4fb7b8605b')">
- <p class="title">客户分析</p>
- <div class="image-container">
- <img src="__CDN__/img/sier.jpg" alt="客户分析图片">
- </div>
- </button>
- </div>
- <!-- 第二行-->
- <div class="button-row">
- <button class="my-button" title="生产管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/cfbf4e7df6d3ca6864c7baa09b796a46')">
- <p class="title">实时生产进度</p>
- <div class="image-container">
- <img src="__CDN__/img/sany.jpg" alt="实时生产进度图片">
- </div>
- </button>
- <button class="my-button" title="生产管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/7cffa4091eed25ebd2b1e089e261fe0c')">
- <p class="title">生产效率分析</p>
- <div class="image-container">
- <img src="__CDN__/img/saner.jpg" alt="生产效率分析图片">
- </div>
- </button>
- <button class="my-button" title="主要机台每月生产走势" onclick="window.open('https://sugar.aipage.com/slider/536729d13e733546dfdfa32817b5c970')">
- <p class="title">主要机台每月生产走势</p>
- <div class="image-container">
- <img src="__CDN__/img/yuejt.jpg" alt="主要机台每月生产走势">
- </div>
- </button>
- <button class="my-button" title="当月班组产量对比" onclick="window.open('https://sugar.aipage.com/dashboard/012b8b9d571e8b32e25b237f251769fc')">
- <p class="title">当月班组产量对比</p>
- <div class="image-container">
- <img src="__CDN__/img/cpkc.png" alt="当月班组产量对比">
- </div>
- </button>
- </div>
- <!-- 第三行-->
- <div class="button-row">
- <button class="my-button" title="营销管理(第二页)" onclick="window.open('https://sugar.aipage.com/dashboard/0950125942b5daec4324afc1a6d5c04d')">
- <p class="title">成品库存</p>
- <div class="image-container">
- <img src="__CDN__/img/cpkc.png" alt="客户分析图片">
- </div>
- </button>
- <button class="my-button" title="生产管理(第三页)" onclick="window.open('https://sugar.aipage.com/slider/ca485092b13c48ffaf911529fbf00b7f')">
- <p class="title">质量管控</p>
- <div class="image-container">
- <img src="__CDN__/img/zlgg.png" alt="质量管控质量管控图片">
- </div>
- </button>
- <button class="my-button" title="采购管理(第一页)" onclick="window.open('https://sugar.aipage.com/slider/1988989bc6eec768d634dc58107ad92e')">
- <p class="title">原辅材料总览</p>
- <div class="image-container">
- <img src="__CDN__/img/ery.jpg" alt="原辅材料总览图片">
- </div>
- </button>
- <button class="my-button" title="采购管理(第二页)" onclick="window.open('https://sugar.aipage.com/slider/04db16287f3e6f1a7f6edfbd4d634a10')">
- <p class="title">纸张每月采购均价</p>
- <div class="image-container">
- <img src="__CDN__/img/erer.jpg" alt="纸张每月采购均价图片">
- </div>
- </button>
- </div>
- <!-- <div class="button-row" style="margin: 0 540px 0 0">-->
- <div class="button-row">
- <button disabled class="my-button">
- <p class="title">能源管理</p>
- <div class="image-container">
- </div>
- </button>
- </div>
- <!-- 底部信息 -->
- <div class="footer">
- <div class="container">
- <p>Copyright @ 浙江易盒包装科技有限公司 2023-{:date('Y',time())} 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
- <script>
- // 点击按钮跳转新窗口
- document.querySelectorAll('.my-button').forEach(button => {
- button.addEventListener('click', function(event) {
- event.preventDefault();
- window.open(this.getAttribute('data-href'));
- });
- });
- // 禁止在页面上进行放大缩小
- document.addEventListener('wheel', function(event){
- if (event.ctrlKey === true || event.metaKey) {
- event.preventDefault();
- }
- }, { passive: false });
- //禁止右键
- // document.addEventListener('contextmenu', function(e) {
- // e.preventDefault();
- // });
- </script>
|