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.
346 lines
5.4 KiB
346 lines
5.4 KiB
2 years ago
|
/* pages/cart/cart.wxss */
|
||
|
.clearbutton{
|
||
|
background: #fff;
|
||
|
display: inline-block;
|
||
|
margin:3% 3% 2% 3%;
|
||
|
color: #d62418;
|
||
|
font-size: 14px;
|
||
|
width: 94%;
|
||
|
}
|
||
|
page{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
.shop{
|
||
|
background: #fff;
|
||
|
padding: 4%;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
.shop checkbox{
|
||
|
margin-top: 27px;
|
||
|
}
|
||
|
.sh_slt{
|
||
|
width: 80px;
|
||
|
height: 80px;
|
||
|
overflow: hidden;
|
||
|
border-radius: 5px;
|
||
|
margin-right: 4%;
|
||
|
margin-left: 3%;
|
||
|
float: left;
|
||
|
}
|
||
|
.sp_text{
|
||
|
float: left;
|
||
|
line-height: 20px;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.sp_tit{
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
.sp_neb{
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
font-size: 12px;
|
||
|
color: #999;
|
||
|
}
|
||
|
.sp_jg{
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
font-size: 14px;
|
||
|
color: #FF8247;
|
||
|
}
|
||
|
.dle{
|
||
|
color: #999;
|
||
|
font-size: 12px;
|
||
|
float: right;
|
||
|
margin-left: 10px;
|
||
|
}
|
||
|
.dle image{
|
||
|
width: 18px;
|
||
|
height: 18px;
|
||
|
vertical-align: sub;
|
||
|
}
|
||
|
.jk_bottom{
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
background: #fff;
|
||
|
width: 100%;
|
||
|
display: inline-flex;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
font-size: 14px;
|
||
|
color: #999;
|
||
|
}
|
||
|
.jk_bottom checkbox{
|
||
|
margin: 4% 0 4% 4%;
|
||
|
}
|
||
|
.jk_bottom .heji{
|
||
|
margin-top: 5.5%;
|
||
|
width: 30%;
|
||
|
text-align: right;
|
||
|
}
|
||
|
.jk_bottom .all{
|
||
|
margin-top: 5.5%;
|
||
|
padding-left: 2%;
|
||
|
}
|
||
|
.jk_bottom .js_button{
|
||
|
background: #FF8247;
|
||
|
float: right;
|
||
|
color: #fff;
|
||
|
font-size: 16px;
|
||
|
text-align: center;
|
||
|
width: 40%;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
line-height: 50px;
|
||
|
}
|
||
|
.bottom_clear{
|
||
|
clear: clear;
|
||
|
height: 1px;
|
||
|
margin-top: 60px;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/*外部容器*/
|
||
|
.container {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
/*复选框样式*/
|
||
|
.carts-list icon {
|
||
|
margin-top: 60rpx;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
/*整体列表*/
|
||
|
.carts-list {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
padding:0 40rpx 20rpx 40rpx;
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
/*每行单元格*/
|
||
|
.carts-item {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
height:180rpx;
|
||
|
/*width属性解决标题文字太短而缩略图偏移*/
|
||
|
width:100%;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
padding: 30rpx 0;
|
||
|
}
|
||
|
view:last-child.carts-item {border-bottom: none;}
|
||
|
|
||
|
/*左部图片*/
|
||
|
.carts-image {
|
||
|
width:160rpx;
|
||
|
height:160rpx;
|
||
|
border: 1px solid #eee;
|
||
|
}
|
||
|
.kong{
|
||
|
width:200rpx;
|
||
|
height:200rpx;
|
||
|
}
|
||
|
|
||
|
/*右部描述*/
|
||
|
.carts-text {
|
||
|
width: 100%;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
position:relative;
|
||
|
padding-left:10px;
|
||
|
}
|
||
|
|
||
|
.title{
|
||
|
clear: both;
|
||
|
width: 100%;
|
||
|
height:40rpx;
|
||
|
}
|
||
|
|
||
|
|
||
|
/*右上部分标题*/
|
||
|
.carts-title {
|
||
|
margin-top: 1px;
|
||
|
margin-bottom: 10rpx;
|
||
|
font-size: 28rpx;
|
||
|
line-height:34rpx;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
width: 100%;
|
||
|
}
|
||
|
/*右下部分价格与数量*/
|
||
|
.carts-subtitle {
|
||
|
font-size: 25rpx;
|
||
|
color:darkgray;
|
||
|
padding: 0 20rpx;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content:space-between;
|
||
|
}
|
||
|
|
||
|
/*价格*/
|
||
|
.carts-price {
|
||
|
color: #f60;
|
||
|
}
|
||
|
/*底部按钮*/
|
||
|
.carts-footer {
|
||
|
width: 100%;
|
||
|
height: 80rpx;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-between;
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
background: #ffffff;
|
||
|
z-index:999;
|
||
|
}
|
||
|
/*复选框*/
|
||
|
.carts-footer icon {
|
||
|
margin-left: 20rpx;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
/*全选字样*/
|
||
|
.carts-footer text {
|
||
|
font-size: 28rpx;
|
||
|
margin-left: 8rpx;
|
||
|
line-height: 10rpx;
|
||
|
|
||
|
}
|
||
|
|
||
|
/*立即结算按钮*/
|
||
|
.carts-footer .button {
|
||
|
line-height: 80rpx;
|
||
|
text-align: center;
|
||
|
width:220rpx;
|
||
|
height: 80rpx;
|
||
|
background-color: #FF8247;
|
||
|
color: white;
|
||
|
font-size: 36rpx;
|
||
|
border-radius: 0;
|
||
|
border: 0;
|
||
|
}
|
||
|
.stepper {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
width:48%;
|
||
|
float:right;
|
||
|
}
|
||
|
.stepper text {
|
||
|
background-color: #f2f2f2;
|
||
|
margin: 0;
|
||
|
width: 23px;
|
||
|
height: 23px;
|
||
|
line-height: 23px;
|
||
|
text-align: center;
|
||
|
font-weight: 900;
|
||
|
color: #939393;
|
||
|
border-radius:6rpx;
|
||
|
border: 0
|
||
|
}
|
||
|
.stepper input {
|
||
|
width: 43px;
|
||
|
/* height: 25px; */
|
||
|
text-align: center;
|
||
|
border-radius:6rpx;
|
||
|
border-top: 1px solid #f2f2f2;
|
||
|
border-bottom: 1px solid #f2f2f2
|
||
|
}
|
||
|
|
||
|
.cart_number{
|
||
|
height: 21px!important;
|
||
|
font-size: 28rpx;
|
||
|
line-height: 20px;
|
||
|
min-height: 21px!important;
|
||
|
color: #666
|
||
|
}
|
||
|
|
||
|
.modal-close{
|
||
|
float:right;
|
||
|
position:absolute;
|
||
|
top:3px;
|
||
|
right:5px;
|
||
|
color: #939393;
|
||
|
}
|
||
|
.page{
|
||
|
|
||
|
padding-bottom: 60rpx;
|
||
|
}
|
||
|
.reds{
|
||
|
color: red;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
.pp{
|
||
|
text-align: center;
|
||
|
margin-top:264rpx;
|
||
|
}
|
||
|
.cla{
|
||
|
font-family: '微软雅黑';
|
||
|
color: #ccc;
|
||
|
}
|
||
|
.heji{
|
||
|
display:flex;
|
||
|
align-items:center;
|
||
|
width: 71%;
|
||
|
border-top: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* 顶部编辑 */
|
||
|
.top-ql{
|
||
|
width: 100%;
|
||
|
height: 80rpx;
|
||
|
background-color: #fff;
|
||
|
position: relative;
|
||
|
margin-bottom: 20rpx;
|
||
|
|
||
|
}
|
||
|
.top-ql-1{
|
||
|
float:right;
|
||
|
font-size: 24rpx;
|
||
|
line-height: 80rpx;
|
||
|
padding-right: 30rpx;
|
||
|
color: #333;
|
||
|
}
|
||
|
.cart-nub {float: left; padding-left: 30rpx;}
|
||
|
|
||
|
|
||
|
/* 底部 */
|
||
|
.bottom_1{
|
||
|
width:61%;
|
||
|
display:flex;
|
||
|
align-items:center;
|
||
|
border-top:1px solid #eee;
|
||
|
justify-content:flex-end;
|
||
|
padding-right:40rpx;
|
||
|
}
|
||
|
.button_1_1{
|
||
|
background:#fff;
|
||
|
font-size:13px;
|
||
|
height:50rpx;
|
||
|
line-height:50rpx;
|
||
|
margin-right: 5px;
|
||
|
color:#333333;
|
||
|
border:1px solid #333333;
|
||
|
padding:0 5px;
|
||
|
}
|
||
|
.button_1_2{
|
||
|
font-size:13px;
|
||
|
height:50rpx;
|
||
|
line-height:50rpx;
|
||
|
margin-left: 5px;
|
||
|
color:#fff;
|
||
|
padding:0 18px;
|
||
|
}
|