system-copyright-react/src/route/ProductRelease/product-release.css

322 lines
5.8 KiB
CSS
Raw Normal View History

2024-05-31 09:19:30 +08:00
.product-release {
2024-05-28 18:00:42 +08:00
margin-top: 18px;
background-color: rgb(255, 255, 255);
2025-04-11 16:20:46 +08:00
padding: 0px 19px 0px 19px;
2024-05-28 18:00:42 +08:00
box-sizing: border-box;
2025-04-11 16:20:46 +08:00
/* background: skyblue; */
2024-05-31 09:19:30 +08:00
}
.product-release-table {
width: 100%;
margin-top: 15px;
}
.product-release-table-head {
display: flex;
}
.product-release-table-img {
2025-04-11 16:20:46 +08:00
/* width: 74px;
2024-05-31 09:19:30 +08:00
height: 74px;
background: #F5F5F5;
2025-04-11 16:20:46 +08:00
margin-left: 20px; */
2024-05-31 09:19:30 +08:00
}
.product-release-table table tbody td {
border: 1px solid #E6E6E6;
}
.product-release-table-img-td {}
.nodata {
/* background-color: red; */
display: flex;
align-items: center;
justify-content: center;
}
2025-05-12 16:21:46 +08:00
2025-04-11 16:20:46 +08:00
.product-release-table-name-td {
max-width: 130px;
2024-05-31 09:19:30 +08:00
font-size: 16px;
color: #1B8BD2;
2025-04-11 16:20:46 +08:00
text-align: center;
2024-05-31 09:19:30 +08:00
}
2025-05-12 16:21:46 +08:00
2025-04-11 16:20:46 +08:00
/* .product-release-table-name {
font-size: 16px;
color: #1B8BD2;
text-align: center ;
background-color: red;
} */
2024-06-11 17:45:40 +08:00
.product-release-table-btn {
2024-05-31 09:19:30 +08:00
cursor: pointer;
}
2024-06-11 17:45:40 +08:00
.product-btn {
2024-05-31 09:19:30 +08:00
margin-left: 20px;
}
2024-06-11 17:45:40 +08:00
.product-release-pagination {
height: 50px;
display: flex;
justify-content: end;
align-items: center;
/* position: fixed;
bottom: 30px;
right: 30px;
width:calc(100vw - 280px); */
background: rgb(255, 255, 255);
2025-04-11 16:20:46 +08:00
/* background: pink; */
2024-06-11 17:45:40 +08:00
z-index: 2;
2025-05-12 16:21:46 +08:00
2024-06-11 17:45:40 +08:00
}
thead {
position: sticky;
top: 0;
background: #F7F7F7;
z-index: 1;
2025-05-12 16:21:46 +08:00
}
.showGoodsBox {
2025-06-04 10:52:03 +08:00
margin-top: 80px;
2025-05-12 16:21:46 +08:00
width: calc(100% - 2px);
2025-05-16 17:48:03 +08:00
/* height: 100%; */
2025-05-12 16:21:46 +08:00
/* background-color: pink; */
/* 使用 grid 布局 */
display: grid;
/* 自动填充列,每列最小宽度 183px最大宽度 1fr */
2025-05-22 11:31:37 +08:00
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
2025-05-12 16:21:46 +08:00
/* 行间距 10px */
2025-05-16 17:48:03 +08:00
row-gap: 20px;
2025-05-12 16:21:46 +08:00
/* 列间距 10px */
2025-05-16 17:48:03 +08:00
column-gap: 20px;
2025-05-12 16:21:46 +08:00
/* cursor: pointer; */
}
.goodSBox {
2025-05-16 17:48:03 +08:00
position: relative;
2025-05-12 16:21:46 +08:00
width: 100%;
2025-05-16 17:48:03 +08:00
/* height: 340px; */
2025-05-12 16:21:46 +08:00
/* background-color: skyblue; */
margin: 0;
2025-05-16 17:48:03 +08:00
/* cursor: pointer; */
border: 1px solid #EEEEEE;
2025-05-12 16:21:46 +08:00
/* 初始设置透明边框,避免元素位置跳动 */
transition: border-color 0.3s ease;
/* 添加过渡效果,让边框显示更平滑 */
}
2025-05-16 17:48:03 +08:00
.delBtn {
position: absolute;
right: 0;
top: 0;
width: 50px;
height: 50px;
/* background-color: rgba(0, 0, 0, 0.5); */
background: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.3) 50%);
/* background: linear-gradient(45deg, transparent 50%, rgb(197, 197, 197) 50%); */
cursor: pointer;
z-index: 100;
/* display: flex; */
align-items: flex-start;
justify-content: flex-end;
color: rgb(255, 255, 255);
}
.delBtn:hover {
background: linear-gradient(45deg, transparent 50%, rgba(204, 155, 155, 0.5) 50%);
color: rgb(209, 24, 24);
}
.delBtnIcons {
margin-top: 4px;
margin-left: 28px;
z-index: 100;
font-size: 18px;
}
2025-05-12 16:21:46 +08:00
.goodSBox:hover {
2025-05-16 17:48:03 +08:00
/* border-color: #f8a12f; */
2025-05-12 16:21:46 +08:00
}
.goodsImg {
width: 100%;
2025-05-22 11:31:37 +08:00
height: 245px;
2025-05-12 16:21:46 +08:00
object-fit: cover;
2025-05-16 17:48:03 +08:00
/* background: pink; */
padding: 15px 9px 0px 9px;
box-sizing: border-box;
overflow: hidden;
2025-05-22 11:31:37 +08:00
position: relative;
}
.goodsTime {
font-size: 14px;
color: #e6e6e6;
/* margin-top: 10px; */
position: absolute;
/* background-color: skyblue; */
height: 33px;
background: rgba(11, 70, 75, 0.41);
width: 100%;
left: 0;
bottom: 0;
text-align: center;
line-height: 33px;
}
.tipsPrice {
width: 63px;
height: 32px;
background: #FF9F08;
border-radius: 0px 0px 0px 10px;
color: white;
font-size: 18px;
text-align: center;
line-height: 32px;
position: absolute;
right: 0;
top: 0;
2025-05-12 16:21:46 +08:00
}
.goodsBot {
2025-05-16 17:48:03 +08:00
padding: 10px 5px 10px 5px;
2025-05-12 16:21:46 +08:00
box-sizing: border-box;
2025-05-16 17:48:03 +08:00
/* height: 157px; */
2025-05-22 11:31:37 +08:00
/* background-color: rgb(175, 64, 64); */
2025-05-12 16:21:46 +08:00
}
.goodsPrice {
color: #E30000;
font-size: 24px;
font-weight: 700;
2025-05-16 17:48:03 +08:00
display: flex;
justify-content: space-between;
align-items: center;
}
.goodsStatus {
font-size: 16px;
2025-05-12 16:21:46 +08:00
}
.goodsNameBox {
display: flex;
align-items: center;
width: 100%;
/* background-color: #1B8BD2; */
margin-top: 10px;
}
2025-05-22 11:31:37 +08:00
2025-05-12 16:21:46 +08:00
.goodsName {
width: calc(100% - 29px);
/* background-color: #1bd258; */
2025-05-22 11:31:37 +08:00
/* font-weight: bold; */
2025-05-12 16:21:46 +08:00
font-size: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* cursor: pointer; */
}
2025-05-22 11:31:37 +08:00
2025-05-12 16:21:46 +08:00
.goodsBtnBox {
display: flex;
margin-top: 10px;
2025-05-22 11:31:37 +08:00
2025-05-12 16:21:46 +08:00
}
.goodsBtn {
2025-05-16 17:48:03 +08:00
margin-left: 10px;
}
.goodsBtn:hover {
border: 1px solid #f8a12f;
color: #f8a12f;
}
.goodsBtnIng {
2025-05-12 16:21:46 +08:00
padding: 5px 10px;
2025-05-16 17:48:03 +08:00
/* border: 1px solid #DCDCDC; */
2025-05-12 16:21:46 +08:00
font-size: 16px;
color: #959595;
2025-05-16 17:48:03 +08:00
/* margin-left: 10px; */
2025-05-12 16:21:46 +08:00
}
2025-05-16 17:48:03 +08:00
2025-05-12 16:21:46 +08:00
.goodsBtnBox .goodsBtn:first-child {
2025-05-16 17:48:03 +08:00
margin-left: 0;
/* 让第一个按钮的左边距为 0 */
}
2025-06-04 10:52:03 +08:00
@media (min-width: 1571px) {
.goodsTypeArrayBox {
width: calc(100% - 338px);
background-color: #F6F6F6;
padding: 15px;
/* box-sizing: border-box; */
margin-bottom: 15px;
display: flex;
/* background-color: pink; */
position: fixed;
/* width: 100%; */
z-index: 999;
}
}
@media (max-width: 1570px) {
.goodsTypeArrayBox {
width: calc(100% - 298px);
background-color: #F6F6F6;
padding: 15px;
/* box-sizing: border-box; */
margin-bottom: 15px;
display: flex;
/* background-color: pink; */
position: fixed;
/* width: 100%; */
z-index: 999;
2025-05-16 17:48:03 +08:00
2025-06-04 10:52:03 +08:00
}
2025-05-16 17:48:03 +08:00
}
2025-06-04 10:52:03 +08:00
2025-05-16 17:48:03 +08:00
.goodsTypeTitle {
font-size: 18px;
color: #707070;
font-weight: 700;
text-wrap: nowrap;
}
.goodsTypeArray {
display: flex;
font-size: 18px;
2025-05-22 11:31:37 +08:00
flex-wrap: wrap;
2025-05-16 17:48:03 +08:00
}
2025-05-22 11:31:37 +08:00
.typeName {
2025-05-16 17:48:03 +08:00
margin-left: 10px;
margin-bottom: 5px;
/* background-color: pink; */
position: relative;
cursor: pointer;
color: #707070;
2025-05-12 16:21:46 +08:00
}