You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

423 lines
7.4 KiB

.flex{
display: flex;
}
#page-numbers {
display: flex;
flex-wrap: wrap;
list-style: none;
color: #8a8a8a;
padding: 0;
user-select: none;
}
#page-numbers span {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
cursor: pointer;
}
#page-numbers span {
margin-left: 10px;
}
#page-numbers span:hover {
color: #006AFF;
}
#page-numbers .pagActive:hover {
color: #fff;
}
#next-page{
margin-right: 16px;
}
.input-page span{
display: inline-block;
}
/* 分页容器样式 */
.pagination {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.pagination input {
width: 50px;
padding: 5px;
text-align: center;
}
.pagActive {
background: #006AFF;
color: #fff;
border-radius: 4px;
}
.home-page {
width: 100%;
height: 100%;
}
.header-wrap {
/* position: absolute;
left: 0px;
top: 0px; */
width: calc(100% - 64px);
height: 46px;
/* 自动布局 */
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 8px 32px;
display: flex;
justify-content: space-between;
background: linear-gradient(270deg, #4EA4F3 0%, #3D85EA 100%);
}
.home-logo {
width: 168px;
}
/* Dropdown 容器 */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown 按钮 */
.dropdown-toggle {
background-color: transparent;
padding: 10px 20px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
color: #fff;
}
/* Dropdown 面板 */
.dropdown-panel {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
/* Dropdown 面板中的链接 */
.dropdown-panel a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Dropdown 面板中的链接悬停效果 */
.dropdown-panel a:hover {
background-color: #f1f1f1;
}
/* 图标旋转效果 */
.icon {
transition: transform 0.3s ease;
}
/* 面板展开时图标的旋转 */
.icon.rotate {
transform: rotate(180deg);
}
.header-right {
align-items: center;
}
.home-main {
margin: 20px;
background: #fff;
padding: 0 14px;
}
.tab-list {
justify-content: space-between;
}
.index-nav-wrap ul {
width: 346px;
height: 20px;
display: flex;
text-align: center;
justify-content: space-between;
letter-spacing: 1px;
box-sizing: border-box;
position: relative;
}
.index-nav-wrap ul::after {
content: '';
display: block;
position: absolute;
width: 500px;
height: 1px;
left: 50%;
transform: translateX(-50%);
bottom: -8px;
background: linear-gradient(270deg, rgba(140, 145, 157, 0.1) 0%, rgba(140, 145, 157, 0.2) 50%, rgba(140, 145, 157, 0.1) 100%);
}
.index-nav-wrap ul li {
color: #3D4B54;
font-size: 14px;
font-weight: 500;
text-align: center;
position: relative;
cursor: pointer;
}
.index-nav-wrap ul li span {
position: relative;
color: #3D4B54;
font-size: 14px;
font-weight: 500;
}
.index-nav-wrap ul li span.active {
color: #1675FF !important;
font-weight: 600;
}
.index-nav-wrap ul li span.active::after {
content: '';
display: block;
position: absolute;
width: 100%;
height: 2px;
background: #1675FF;
border-radius: 2px;
left: 50%;
margin-left: -50%;
bottom: -11px;
}
/* 小版视频容器 */
#small-video-container {
width: 200px;
cursor: pointer;
}
/* 小版视频封面图 */
#small-video-cover {
width: 100%;
height: auto;
border: 2px solid #ccc;
}
/* vedio */
/* 初始小版视频样式 */
/* 放大后的视频容器 */
#large-video-container {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 800px;
max-width: 800px;
z-index: 1000;
background: black;
padding: 50px;
border-radius: 16px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
/* 放大后的视频 */
#large-video {
width: 100%;
height: auto;
}
/* 关闭按钮 */
#close-btn ,#close-btn1{
position: absolute;
top: 10px;
right: 10px;
background: red;
color: white;
border: none;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
/* padding: 10px; */
width: 30px;
border-radius: 50%;
cursor: pointer;
font-size: 16px;
}
/* 小版图片容器 */
#small-image-container {
width: 170px;
cursor: pointer;
}
/* 小版图片 */
.small-image {
/* width: 100%; */
/* height: 100%; */
border-radius: 5px;
position: relative;
}
.small-image-desc{
position: absolute;
left: 6px;
bottom: 8px;
border-radius: 2px;
background: rgba(0, 0, 0, 0.4);
padding: 4px 10px 5px 10px;
font-size: 12px;
z-index: 1;
line-height: 13px;
letter-spacing: 0.08em;
color: #FFFFFF;
}
.play-video{
position: absolute;
left: 50%;
top: 50%;transform: translate(-50%,-50%);
}
/* 放大后的图片容器 */
#large-image-container {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
/* width: 800px; */
/* height: 100%; */
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
text-align: center;
border-radius: 16px;
}
#large-image-container h2{
color: #fff;
}
/* 放大后的图片 */
#large-image {
margin: 20px 50px 50px;
width: 800px;
border: 5px solid white;
border-radius: 10px;
}
/* 关闭按钮 */
#close-btn2 {
position: absolute;
top: 20px;
right: 20px;
background: #fff;
color: #000;
border: none;
padding: 10px 15px;
border-radius: 50%;
cursor: pointer;
font-size: 20px;
}
.button {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 7px 22px;
border-radius: 3px;
background: #FFFFFF;
box-sizing: border-box;
letter-spacing: 0.08em;
border: 1px solid #DFE2E6;
margin-left: 20px;
color: #23242B;
cursor: pointer;
}
button:hover{
opacity: .8;
}
.button-primary {
background: #006AFF;
color: #FFFFFF;
}
.button-normal {}
.btngroups {
justify-content: flex-end;
}
/* 数据列表样式 */
#data-list {
list-style: none;
padding: 0;
}
#data-list li {
padding: 10px;
border-bottom: 1px solid #ccc;
}
.list_all{
display: flex;
flex-direction: column;
align-items: center;
}
.list_item{
margin: 18px 12px;
padding-bottom: 18px;
width: 100%;
border-bottom: 1px solid #eee;
}
.list_item_top{
color: #8A9099;
display: flex;
justify-content: space-between;
}
.list_item_top b{
color: #1E2226;
}
.desc_text{
line-height: 18px;
letter-spacing: 0.08em;
color: #1E2226;
margin-top: 12px;
}
.img_list{
margin: 8px 0;
display: flex;
flex-wrap: wrap;
}
.img_list img{
width: 170px;
margin-right: 8px;
cursor: pointer;
}
.green,.blue{
padding: 2px 10px;
border-radius: 4px;
opacity: 1;
letter-spacing: 0.08em;
color: #0DAF49;
background: rgba(239, 255, 224, 0.5);
box-sizing: border-box;
border: 1px solid rgba(0, 194, 97, 0.6);
}
.blue{
color: #006AFF;
background: #F2F7FF;
border: 1px solid #BFDAFF;
}