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.
581 lines
11 KiB
581 lines
11 KiB
/* pages/cart/cart.wxss */
|
|
.clearbutton{
|
|
background: #fff;
|
|
display: inline-block;
|
|
margin:3% 3% 2% 3%;
|
|
color: #FB5657;
|
|
font-size: 14px;
|
|
width: 94%;
|
|
}
|
|
page{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.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: #FB5657;
|
|
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;
|
|
}
|
|
|
|
/*左部图片*/
|
|
.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: 30rpx;
|
|
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: 90rpx;
|
|
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: 32rpx;
|
|
margin-left: 8rpx;
|
|
line-height: 10rpx;
|
|
|
|
}
|
|
|
|
/*立即结算按钮*/
|
|
.carts-footer .button {
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
width:200rpx;
|
|
height: 90rpx;
|
|
background-color: #FB5657;
|
|
color: white;
|
|
font-size: 36rpx;
|
|
border-radius: 0;
|
|
border: 0;
|
|
}
|
|
.stepper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 200rpx;
|
|
float:right;
|
|
background-color: #F8F8F8;
|
|
border-top: 1px solid #DDD;
|
|
border-bottom: 1px solid #DDD;
|
|
/* border-radius: 10rpx; */
|
|
}
|
|
/* .stepper {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 200rpx;
|
|
overflow: hidden;
|
|
margin-left: 250rpx;
|
|
background-color: #F8F8F8;
|
|
border-top: 1px solid #DDD;
|
|
border-bottom: 1px solid #DDD;
|
|
border-radius: 8rpx;
|
|
} */
|
|
.stepper text {
|
|
border-left: 1px solid #DDD;
|
|
border-right: 1px solid #DDD;
|
|
width: 25px;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
font-weight: 900;
|
|
}
|
|
.stepper input {
|
|
width: 30px;
|
|
height: 25px;
|
|
text-align: center;
|
|
}
|
|
.normal {
|
|
/* background-color: #f5f5f5; */
|
|
color: #000;
|
|
}
|
|
|
|
.cart_number{
|
|
height: 21px!important;
|
|
font-size: 28rpx;
|
|
line-height: 20px;
|
|
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:300rpx;
|
|
}
|
|
.cla{
|
|
font-family: '微软雅黑';
|
|
color: #ccc;
|
|
}
|
|
.heji{
|
|
display:flex;
|
|
align-items:center;
|
|
width: 71%;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
|
|
/* 顶部编辑 */
|
|
.top-ql{
|
|
width: 100%;
|
|
height: 30px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.top-ql-1{
|
|
float:right;
|
|
font-size:15px;
|
|
line-height:30px;
|
|
padding-right:16px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 闪电图标 */
|
|
|
|
|
|
@font-face {font-family: "iconfont";
|
|
src: url('iconfont.eot?t=1525616251211'); /* IE9*/
|
|
src: url('iconfont.eot?t=1525616251211#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAUoAAsAAAAAB4AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7kgBY21hcAAAAYAAAABeAAABhpmUBr5nbHlmAAAB4AAAAVgAAAFok+eKTGhlYWQAAAM4AAAALwAAADYRSaL1aGhlYQAAA2g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NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgJmRiZGZkYWBsYIzMzk/T7cktbiEgQEAIuYENAAA') format('woff'),
|
|
url('iconfont.ttf?t=1525616251211') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
|
url('iconfont.svg?t=1525616251211#iconfont') format('svg'); /* iOS 4.1- */
|
|
}
|
|
|
|
.iconfont {
|
|
font-family:"iconfont" !important;
|
|
font-size:16px;
|
|
font-style:normal;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.icon-icon-test:before { content: "\e617"; }
|
|
|
|
|
|
|
|
/* 底部 */
|
|
.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;
|
|
}
|
|
.shopView {
|
|
display:flex;
|
|
align-items: center;
|
|
height: 85rpx;
|
|
}
|
|
.shopView image {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
margin-left: 25rpx;
|
|
}
|
|
.shopView text{
|
|
margin-left: 12rpx;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
}
|
|
.shopView .jiantou-img {
|
|
width: 25rpx;
|
|
height: 25rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
/*弹窗*/
|
|
.drawer_screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
background: #000;
|
|
opacity: 0.2;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
color: #fff;
|
|
}
|
|
|
|
.drawer_attr_box {
|
|
width: 100%;
|
|
height: 50%;
|
|
border-radius:10px 10px 0 0;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 2000;
|
|
background: #fff;
|
|
}
|
|
|
|
.close_icon {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
line-height: 60rpx;
|
|
font-size: 60rpx;
|
|
position: absolute;
|
|
right: 5rpx;
|
|
top:5rpx;
|
|
padding: 10rpx;
|
|
color: #ccc;
|
|
/*border: 1rpx solid #ccc;*/
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
background: #fff;
|
|
z-index: 999;
|
|
}
|
|
.drawer_attr_content {
|
|
padding: 20rpx;
|
|
height:85%;
|
|
/* overflow-y: scroll; */
|
|
}
|
|
.text_center{
|
|
width: 97%;
|
|
position: absolute;
|
|
top: -40px;
|
|
}
|
|
.mingcheng{
|
|
width: 65%;
|
|
font-size:35rpx;
|
|
line-height: 50rpx;
|
|
float: right;
|
|
margin-bottom:20px;
|
|
}
|
|
.drawer_image {
|
|
width: 28%;
|
|
height: 200rpx;
|
|
border:1px solid #ddd;
|
|
border-radius:10rpx;
|
|
}
|
|
|
|
.drawer_desc{
|
|
font-size:28rpx;
|
|
margin:20rpx;
|
|
height: 150rpx;
|
|
width: 100%;
|
|
}
|
|
/*每组属性的主盒子*/
|
|
.attr_box {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
border-bottom: 1rpx solid #ececec;
|
|
}
|
|
/*属性名*/
|
|
.attr_name {
|
|
width: 20%;
|
|
float: left;
|
|
padding: 15rpx 0;
|
|
font-size: 30rpx;
|
|
margin-top:20rpx;
|
|
}
|
|
.outStyle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.outStyleText {
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: #999;
|
|
}
|
|
.typeStyle {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 10px;
|
|
}
|
|
.textStyle {
|
|
font-size:14px;
|
|
}
|
|
.buttonPaddingStyle {
|
|
padding-left:10px;
|
|
padding-right:10px;
|
|
padding-top:5px;
|
|
padding-bottom:5px;
|
|
margin-bottom:5px;
|
|
}
|
|
/*数量*/
|
|
.dian{
|
|
position: absolute;
|
|
right: 30rpx;
|
|
}
|
|
.shu{
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
margin-top: 30rpx;
|
|
height: 100rpx;
|
|
}
|
|
.stepper {
|
|
/* text-align: right; */
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 230rpx;
|
|
overflow: hidden;
|
|
margin-left: 210rpx;
|
|
background-color: #F8F8F8;
|
|
border-top: 1px solid #DDD;
|
|
border-bottom: 1px solid #DDD;
|
|
border-radius: 8rpx;
|
|
}
|
|
.stepper text {
|
|
border-left: 1px solid #DDD;
|
|
border-right: 1px solid #DDD;
|
|
width: 25px;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
font-weight: 900;
|
|
}
|
|
.stepper input {
|
|
width: 60px;
|
|
height: 25px;
|
|
text-align: center;
|
|
}
|
|
.normal {
|
|
/* background-color: #f5f5f5; */
|
|
color: #000;
|
|
}
|
|
.cun{
|
|
/* margin: 5px; */
|
|
font-size:30rpx;
|
|
/* padding-left: 20rpx; */
|
|
width: 20%
|
|
}
|
|
.select {
|
|
border-radius: 10px;
|
|
background-color: #FB5657;
|
|
margin-right: 10px;
|
|
color: #fff;
|
|
}
|
|
.footc{
|
|
display:block;
|
|
position:fixed;
|
|
bottom:0;
|
|
left:0;
|
|
background:#FB5657;
|
|
z-index:100;
|
|
width:100%;
|
|
font-size:14px;
|
|
border-top:1px solid #eee;
|
|
line-height:40px;
|
|
font-weight:700;
|
|
color:snow;
|
|
text-align: center;
|
|
background:#FB5657;
|
|
}
|