/* 版心的公共类 */ .container { position: relative; width: 1240px; margin: 0 auto; } /* ------------快捷菜单模块:xtx-shortcut----------- */ .xtx-shortcut .text { position: absolute; top: 12px; /*文本 1*/ left: 61px; top: 12px; width: 216px; height: 58px; opacity: 1; } .xtx-shortcut .text1 { /** 文本1 */ font-size: 24px; font-weight: 400; letter-spacing: 0px; line-height: 34.75px; color: rgba(0, 0, 0, 1); } .xtx-shortcut .text2 { /** 文本2 */ font-size: 16px; font-weight: 400; letter-spacing: 0px; line-height: 23.17px; color: rgba(0, 0, 0, 1); text-align: left; vertical-align: top; } .xtx-shortcut .list { position: absolute; right: 60px; } .xtx-shortcut { height: 82px; background-color: #ffffff; } .xtx-shortcut .container { height: 82px; /* background-color: skyblue; */ } .xtx-shortcut list { position: absolute; right: 58px; } .xtx-shortcut ul li { float: left; line-height: 82px; color: #666666; } .xtx-shortcut ul a { margin: 0 16px; font-size: 16px; font-weight: 400; letter-spacing: 0px; line-height: 23.17px; color: rgba(0, 0, 0, 1); text-align: left; } .xtx-shortcut li:last-child a { margin-right: 0 ; } .xtx-shortcut .line { position: absolute; left: 0px; top: 82px; width: 1920px; height: 0px; /* opacity: 1; */ border: 1px solid rgba(166, 166, 166, 1); } /* -----------------下拉菜单---------------- */ .dropdown { position: relative; display: inline-block; z-index:1000; } .dropdown-content { display: none; position: absolute; min-width: 160px; box-shadow: 0 8 16px 0 rgba(0,0,0,0.2); z-index: 1; } .dropdown-content a { color: black; margin: 0 auto; padding: 12px 16px; text-decoration: none; display: block; } .dropdown:hover .dropdown-content {display: block;} .dropdown-content a:hover {background-color: #ddd;margin: 0 auto;} /* ---------------------------------------- */ .box1 { position: relative; /*矩形 1*/ height: 500px; width: 500px; left: 60px; top: 110px; opacity: 1; /* background-color: skyblue; */ } .box1 .show{ position: absolute; margin: auto auto; } .box1 .show{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .show video{ width: 100%; height: auto; } /* .show audio { width: 100%; height: auto; } */ #video_show{ width: 250px; /* height: 100px; */ position: absolute; top: -250px; right: 10px; /* background: yellow; */ } #audio_show{ width: 250px; /* height: 100px; */ position: absolute; left: 10px; top: -250px; /* background: pink; */ } .box2 { position: absolute; right: 30px; top: 68px; background-color: #ffffff; /* 设置div块背景为白色 */ height: 600px; width: 540px; margin: 0 auto; box-shadow: 0 0 10px 6px #adabab; border-radius: 5%; transition: transform .3s; } .box2:hover { transform: scale(1.01); } .box2 img { position: absolute; width: 107px; height: 97px; margin-top: 50px; margin-left: 20px; } .box2 .sum_analysis { position: absolute; right: 160px; margin-top: 36px; width:260px; height: 113px; } .box2 .sum_analysis .text{ font-size: 16px; font-weight: 400; letter-spacing: 0px; line-height: 25px; color: rgba(0, 0, 0, 1); } .box2 .button { position: absolute; right: 60px; margin-top: 36px; width: 100px; height: 113px; } .box2 .button a{ text-decoration: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 18px; background:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4); background-size: 400%; width: 100px; height: 40px; line-height: 36px; text-align: center; color: white; text-transform: uppercase; border-radius: 50px; z-index: 1; } .box2 .button a::before{ content: ""; position: absolute; left: -5px; right: -5px; bottom: -5px; top: -5px; background:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4); background-size: 400%; border-radius: 50px; filter: blur(20px); z-index: -1; } .box2 .button a:hover::before{ animation: sun 8s infinite; } .box2 .button a:hover{ animation: sun 8s infinite; } .button2 { position: absolute; top: 550px; left: 250px; margin-top: 36px; width: 100px; height: 113px; } .button2 a{ text-decoration: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 18px; background:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4); background-size: 400%; width: 100px; height: 40px; line-height: 36px; text-align: center; color: white; text-transform: uppercase; border-radius: 50px; z-index: 1; } .button2 a::before{ content: ""; position: absolute; left: -5px; right: -5px; bottom: -5px; top: -5px; background:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4); background-size: 400%; border-radius: 50px; filter: blur(20px); z-index: -1; } .button2 a:hover::before{ animation: sun 8s infinite; } .button2 a:hover{ animation: sun 8s infinite; } @keyframes sun{ 100%{ background-position: -400% 0; } } .box2 .main_analysis { position: absolute; top: 426px; width:260px; height: 150px; } .box2 .main_analysis .text{ font-size: 14px; font-weight: 400; letter-spacing: 0px; line-height: 31px; color: rgba(0, 0, 0, 1); } #show-box-id img, #show-box-id video, #show-box-id audio { /* 根据文件的大小设置宽度和高度 */ width: 300px; /* 你可以根据需要调整这个值 */ height: 300px; /* 你可以根据需要调整这个值 */ /* 控制内容如何适应盒子的大小 */ object-fit: contain; } .filepond { margin-top: 20px; height: 780px; } #show-box-id { width: 1200px; display: flex; flex-wrap: wrap; gap: 10px; /* 设置图片之间的间距 */ } #show-box-id > img:first-of-type { display: none; } .modal { display: none; position: fixed; z-index: 2; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; width: 100%; max-width: 1200px; } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } .loader-modal { display: none; position: fixed; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); } .loader { position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 30px; background-color: #f3f3f3; border-radius: 10px; padding: 10px; box-sizing: border-box; } .loader-progress { height: 100%; width: 0; background-color: #3498db; border-radius: 10px; transition: width 0.4s ease-in-out; } .loader-text { position: absolute; top: 60%; left: 85%; transform: translate(-50%, -50%); font-size: 14px; color: rgb(72, 69, 69,.7); } .cancel-link { position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%); margin-top: 50px; color: #323131; text-decoration: none; font-size: 18px; cursor: pointer; } .loader-modal .center-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 250px; background-color: white; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); padding: 20px; box-sizing: border-box; } .loader-modal .img_loading{ position: fixed; top: 30%; left: 50%; transform: translate(-50%, -50%); width: 60px; }