huaxia/css/logshoppingcar/shopcar2.css

175 lines
3.1 KiB
CSS
Raw Normal View History

2021-09-09 09:58:19 +00:00
@charset "UTF-8";
2021-09-08 10:04:04 +00:00
* {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
section {
2021-09-09 09:58:19 +00:00
height: 1200px;
2021-09-08 10:04:04 +00:00
background-color: #f5f5f5;
}
2021-09-09 09:58:19 +00:00
section .whoil {
2021-09-08 10:04:04 +00:00
padding: 15px 50px;
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 {
margin: 20px auto;
padding: 25px;
2021-09-10 10:09:08 +00:00
2021-09-09 09:58:19 +00:00
}
section .whoil .whoil-1 .all {
padding-bottom: 10px;
float: left;
display: contents;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .all h2 {
2021-09-08 10:04:04 +00:00
font-weight: 600;
color: #cb1919;
2021-09-09 09:58:19 +00:00
padding: 20px;
background-color: #fff;
border-bottom: #cb1919 2px solid;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table {
width: 100%;
border: 1;
border-collapse: separate;
border-spacing: 0px 20px;
background-color: #fff;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table thead {
2021-09-08 10:04:04 +00:00
width: 100%;
background-color: #f3f3f3;
2021-09-09 09:58:19 +00:00
border: 2px solid #000;
2021-09-08 10:04:04 +00:00
margin-bottom: 20px;
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table thead th {
padding: 10px 20px;
}
section .whoil .whoil-1 table thead th:nth-child(2) {
float: left;
}
section .whoil .whoil-1 table thead th input {
float: left;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tbody .inline {
border: 1px solid #e0e0e0;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tbody .inline td span {
display: inline-block;
2021-09-08 10:04:04 +00:00
margin-left: 10px;
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tbody .inline td:nth-child(1) {
width: 70px;
padding: 0px 10px;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tbody .inline td:nth-child(n + 2) {
padding: 10px 20px;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tbody .inline td:nth-child(n + 3) {
text-align: center;
}
section .whoil .whoil-1 table tbody .inline td:nth-child(4) span {
width: 20px;
margin: 0;
}
section .whoil .whoil-1 table tbody .inline td:nth-child(4) input {
width: 40px;
text-align: center;
}
section .whoil .whoil-1 table tfoot {
2021-09-08 10:04:04 +00:00
background-color: #f3f3f3;
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tfoot td:nth-child(1) {
padding: 10px 20px;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tfoot td:nth-child(5) {
width: 200px;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 table tfoot td:nth-child(5) #allPrice {
color: #cb1919;
font-size: 30px;
font-weight: 800;
}
section .whoil .whoil-1 table tfoot td:nth-child(6) span {
background-color: #cb1919;
padding: 15px 25px;
}
section .whoil .whoil-1 .swiper-container {
width: 100%;
height: 380px;
background-color: #fff;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .swiper-container .swiper-text {
padding: 10px 5px;
border-bottom: #e0e0e0 1px solid;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .swiper-wrapper {
margin-top: 20px;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .swiper-container img {
display: block;
height: 287px;
overflow: hidden;
2021-09-08 10:04:04 +00:00
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .swiper-container .swiper-button-prev,
section .whoil .whoil-1 .swiper-container .swiper-button-next {
height: 24px;
2021-09-08 10:04:04 +00:00
margin: auto;
}
2021-09-09 09:58:19 +00:00
section .whoil .whoil-1 .swiper-container {
--swiper-theme-color: #ff6600;
}
section .whoil .whoil-1 .swiper-container .swiper-pagination {
bottom: 10px;
}
section .whoil .whoil-1 .swiper-container .swiper-pagination span {
width: 10px;
height: 10px;
--swiper-pagination-color: red;
}
section .whoil .whoil-1 .swiper-container .hide {
opacity: 0;
}
section .whoil .whoil-1 .swiper-button-next,
section .whoil .whoil-1 .swiper-button-prev {
transition: opacity 0.5s;
2021-09-08 10:04:04 +00:00
}