huaxia/css/logshoppingcar/shopcar2.css

205 lines
3.8 KiB
CSS

@charset "UTF-8";
* {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
section {
height: 1200px;
background-color: #f5f5f5;
}
section .whoil {
padding: 15px 240px;
}
section .whoil .whoil-1 {
margin: 20px auto;
padding: 25px;
}
section .whoil .whoil-1 .all {
padding-bottom: 10px;
float: left;
display: contents;
}
section .whoil .whoil-1 .all h2 {
font-weight: 600;
color: #cb1919;
padding: 20px;
background-color: #fff;
border-bottom: #cb1919 2px solid;
}
/* 选择 */
section .whoil .whoil-1 table {
width: 100%;
border: 1;
border-collapse: separate;
border-spacing: 0px 20px;
background-color: #fff;
}
/* 全选 */
section .whoil .whoil-1 table thead {
width: 100%;
background-color: #f3f3f3;
border: 2px solid #000;
margin-bottom: 20px;
}
/* 全选 */
section .whoil .whoil-1 tfoot {
width: 100%;
background-color: #f3f3f3;
border: 2px solid #000;
margin-bottom: 20px;
}
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:nth-child(n + 3) {
padding-left: 55px;
}
section .whoil .whoil-1 table thead th input {
float: left;
}
section .whoil .whoil-1 table tbody .inline {
border: 1px solid #e0e0e0;
}
section .whoil .whoil-1 table tbody .inline td span {
display: inline-block;
margin-left: 15px;
}
section .whoil .whoil-1 table tbody .inline th {
width: 140px;
}
section .whoil .whoil-1 table tbody .inline th input {
position: absolute;
margin:16px 18px;
}
section .whoil .whoil-1 table tbody .inline th img {
margin-left: 55px;
}
section .whoil .whoil-1 table tbody .inline td:nth-child(n + 2) {
padding: 10px 0px;
}
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 tbody .inline td:nth-child(4) button {
width:15px;
}
/* 结算 */
section .whoil .whoil-1 table tfoot {
background-color: #f3f3f3;
height: 50px;
}
section .whoil .whoil-1 table tfoot th {
padding: 10px 20px;
}
section .whoil .whoil-1 table tfoot #allPrice {
color: #cb1919;
font-size: 30px;
font-weight: 800;
}
section .whoil .whoil-1 table tfoot td:last-child span {
color: #f5f5f5;
background-color: #cb1919;
padding: 18px 50px;
float: right;
}
/* 轮播图 */
section .whoil .whoil-1 .swiper-container {
width: 100%;
height: 380px;
background-color: #fff;
}
section .whoil .whoil-1 .swiper-container .swiper-text {
padding: 10px 5px;
border-bottom: #e0e0e0 1px solid;
font-size: 20px;
font-weight: 700;
margin-left: 20px;
margin-right: 20px;
}
/* section .whoil .whoil-1 .swiper-wrapper {
margin-top: 20px;
} */
section .whoil .whoil-1 .swiper-container img {
display: block;
/* width: 100%; */
height: 287px;
overflow: hidden;
}
section .whoil .whoil-1 .swiper-slide .clips1 {
text-align: center;
width: 284px;
padding: 10px 0;
}
section .whoil .whoil-1 .swiper-container .swiper-button-prev,
section .whoil .whoil-1 .swiper-container .swiper-button-next {
height: 24px;
margin: auto;
}
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;
}