Commit 990cb1c8 authored by usgeek's avatar usgeek Committed by linlinjava
Browse files

购物车编辑样式调整

parent 7efe35dc
page{ page {
height: 100%; height: 100%;
min-height: 100%; min-height: 100%;
background: #f4f4f4; background: #f4f4f4;
} }
.container{
background: #f4f4f4; .container {
width: 100%; background: #f4f4f4;
height: auto; width: 100%;
min-height: 100%; height: auto;
overflow: hidden; min-height: 100%;
} overflow: hidden;
.service-policy{ }
width: 750rpx;
height: 73rpx; .service-policy {
background: #f4f4f4; width: 750rpx;
padding: 0 31.25rpx; height: 73rpx;
display: flex; background: #f4f4f4;
flex-flow: row nowrap; padding: 0 31.25rpx;
align-items: center; display: flex;
justify-content: space-between; flex-flow: row nowrap;
} align-items: center;
justify-content: space-between;
.service-policy .item{ }
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
background-size: 10rpx; .service-policy .item {
padding-left: 15rpx; background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
display: flex; background-size: 10rpx;
align-items: center; padding-left: 15rpx;
font-size: 25rpx; display: flex;
color: #666; align-items: center;
} font-size: 25rpx;
color: #666;
}
.no-login{
width: 100%; .no-login {
height: auto; width: 100%;
margin: 0 auto; height: auto;
} margin: 0 auto;
}
.no-login .c{
width: 100%; .no-login .c {
height: auto; width: 100%;
margin-top: 200rpx; height: auto;
} margin-top: 200rpx;
}
.no-login .c image{
margin: 0 auto; .no-login .c image {
display: block; margin: 0 auto;
text-align: center; display: block;
width: 258rpx; text-align: center;
height: 258rpx; width: 258rpx;
} height: 258rpx;
}
.no-login .c text{
margin: 0 auto; .no-login .c text {
display: block; margin: 0 auto;
width: 258rpx; display: block;
height: 59rpx; width: 258rpx;
line-height: 29rpx; height: 59rpx;
text-align: center; line-height: 29rpx;
font-size: 50rpx; text-align: center;
color: #999; font-size: 35rpx;
} color: #999;
}
.no-login button{
width: 60%; .no-login button {
margin: 0 auto; width: 90%;
} margin: 0 auto;
color: #fff;
.no-cart{ font-size: 30rpx;
width: 100%; height: 96rpx;
height: auto; line-height: 96rpx;
margin: 0 auto; right: 0;
} display: flex;
justify-content: center;
.no-cart .c{ align-items: center;
width: 100%; position: flex;
height: auto; bottom: 0;
margin-top: 200rpx; left: 0;
} border-radius: 0;
padding: 0;
.no-cart .c image{ margin-left: 5%;
margin: 0 auto; text-align: center;
display: block; /* padding-left: -5rpx; */
text-align: center; border-top-left-radius: 50rpx;
width: 258rpx; border-bottom-left-radius: 50rpx;
height: 258rpx; border-top-right-radius: 50rpx;
} border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
.no-cart .c text{ background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
margin: 0 auto; }
display: block;
width: 258rpx; .no-cart {
height: 29rpx; width: 100%;
line-height: 29rpx; height: auto;
text-align: center; margin: 0 auto;
font-size: 29rpx; }
color: #999;
} .no-cart .c {
width: 100%;
height: auto;
.cart-view{ margin-top: 200rpx;
width: 100%; }
height: auto;
overflow: hidden; .no-cart .c image {
margin: 0 auto;
} display: block;
text-align: center;
.cart-view .list{ width: 258rpx;
height: auto; height: 258rpx;
width: 100%; }
overflow: hidden;
margin-bottom: 120rpx; .no-cart .c text {
} margin: 0 auto;
display: block;
.cart-view .group-item{ width: 258rpx;
height: auto; height: 29rpx;
width: 100%; line-height: 29rpx;
background: #fff; text-align: center;
margin-bottom: 18rpx; font-size: 29rpx;
} color: #999;
}
.cart-view {
width: 100%;
height: auto;
overflow: hidden;
}
.cart-view .item{ .cart-view .list {
height: 164rpx; height: auto;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
} margin-bottom: 120rpx;
.cart-view .item .checkbox{ }
float: left;
height: 34rpx; .cart-view .group-item {
width: 34rpx; height: auto;
margin: 65rpx 18rpx 65rpx 26rpx; width: 100%;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat; background: #fff;
background-size: 34rpx; margin-bottom: 18rpx;
} }
.cart-view .item .checkbox.checked{ .cart-view .item {
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat; height: 164rpx;
background-size: 34rpx; width: 100%;
} overflow: hidden;
}
.cart-view .item .cart-goods{
float: left; .cart-view .item .checkbox {
height: 164rpx; float: left;
width: 672rpx; height: 34rpx;
border-bottom: 1px solid #f4f4f4; width: 34rpx;
} margin: 65rpx 18rpx 65rpx 26rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
.cart-view .item .img{ background-size: 34rpx;
float: left; }
height:125rpx;
width: 125rpx; .cart-view .item .checkbox.checked {
background: #f4f4f4; background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
margin: 19.5rpx 18rpx 19.5rpx 0; background-size: 34rpx;
} }
.cart-view .item .info{ .cart-view .item .cart-goods {
float: left; float: left;
height:125rpx; height: 164rpx;
width: 503rpx; width: 672rpx;
margin: 19.5rpx 26rpx 19.5rpx 0; border-bottom: 1px solid #f4f4f4;
} }
.cart-view .item .t{ .cart-view .item .img {
margin: 8rpx 0; float: left;
height: 28rpx; height: 125rpx;
font-size: 25rpx; width: 125rpx;
color: #333; background: #f4f4f4;
overflow: hidden; margin: 19.5rpx 18rpx 19.5rpx 0;
} }
.cart-view .item .info {
.cart-view .item .name{ float: left;
height: 28rpx; height: 125rpx;
max-width: 310rpx; width: 503rpx;
line-height: 28rpx; margin: 19.5rpx 26rpx 19.5rpx 0;
font-size: 25rpx;
color: #333;
overflow: hidden;
}
.cart-view .item .num{
height: 28rpx;
line-height: 28rpx;
float: right;
}
.cart-view .item .attr{
margin-bottom: 17rpx;
height: 24rpx;
line-height: 24rpx;
font-size: 22rpx;
color: #666;
overflow: hidden;
}
.cart-view .item .b{
height: 28rpx;
line-height: 28rpx;
font-size: 25rpx;
color: #333;
overflow: hidden;
} }
.cart-view .item .price{ .cart-view .item .t {
float: left; margin: 8rpx 0;
height: 28rpx;
font-size: 25rpx;
color: #333;
overflow: hidden;
} }
.cart-view .item .open{ .cart-view .item .name {
height: 28rpx; height: 28rpx;
width: 150rpx; max-width: 310rpx;
display: block; line-height: 28rpx;
float: right; font-size: 25rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/arrowDown-d48093db25.png) right center no-repeat; color: #333;
background-size: 25rpx; overflow: hidden;
font-size: 25rpx;
color: #333;
} }
.cart-view .item.edit .t{ .cart-view .item .num {
display: none; height: 28rpx;
line-height: 28rpx;
float: right;
} }
.cart-view .item.edit .attr{ .cart-view .item .attr {
text-align: right; margin-bottom: 17rpx;
background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/arrow-right1-e9828c5b35.png) right center no-repeat; height: 24rpx;
padding-right: 25rpx; line-height: 24rpx;
background-size: 12rpx 20rpx; font-size: 22rpx;
margin-bottom: 24rpx; color: #666;
height: 39rpx; overflow: hidden;
line-height: 39rpx;
font-size: 24rpx;
color: #999;
overflow: hidden;
} }
.cart-view .item.edit .b{ .cart-view .item .b {
display: flex; height: 28rpx;
height: 52rpx; line-height: 28rpx;
overflow: hidden; font-size: 25rpx;
color: #333;
overflow: hidden;
} }
.cart-view .item.edit .price{ .cart-view .item .price {
line-height: 52rpx; float: left;
height: 52rpx;
flex: 1;
} }
.cart-view .item .selnum{ .cart-view .item .open {
display: none; height: 28rpx;
width: 150rpx;
display: block;
float: right;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/arrowDown-d48093db25.png) right center no-repeat;
background-size: 25rpx;
font-size: 25rpx;
color: #333;
} }
.cart-view .item.edit .selnum{ .cart-view .item.edit .t {
width: 235rpx; display: none;
height: 52rpx;
border: 1rpx solid #ccc;
display: flex;
} }
.selnum .cut{ .cart-view .item.edit .attr {
width: 70rpx; text-align: right;
height: 100%; background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/arrow-right1-e9828c5b35.png) right center no-repeat;
text-align: center; padding-right: 25rpx;
line-height: 50rpx; background-size: 12rpx 20rpx;
margin-bottom: 24rpx;
height: 39rpx;
line-height: 39rpx;
font-size: 24rpx;
color: #999;
overflow: hidden;
} }
.selnum .number{ .cart-view .item.edit .b {
flex: 1; display: flex;
height: 100%; height: 52rpx;
text-align: center; overflow: hidden;
line-height: 68.75rpx;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
float: left;
} }
.selnum .add{ .cart-view .item.edit .price {
width: 80rpx; line-height: 52rpx;
height: 100%; height: 52rpx;
text-align: center; flex: 1;
line-height: 50rpx;
} }
.cart-view .item .selnum {
.cart-view .group-item .header{ display: none;
width: 100%;
height: 94rpx;
line-height: 94rpx;
padding: 0 26rpx;
border-bottom: 1px solid #f4f4f4;
} }
.cart-view .promotion .icon{ .cart-view .item.edit .selnum {
display: inline-block; width: 235rpx;
height: 24rpx; height: 52rpx;
width: 15rpx; border: 1rpx solid #ccc;
display: flex;
} }
.cart-view .promotion{ .selnum .cut {
margin-top: 25.5rpx; width: 70rpx;
float: left; height: 100%;
height: 43rpx; text-align: center;
width: 480rpx; line-height: 50rpx;
/*margin-right: 84rpx;*/
line-height: 43rpx;
font-size: 0;
} }
.cart-view .promotion .tag{ .selnum .number {
border: 1px solid #f48f18; flex: 1;
height: 37rpx; height: 100%;
line-height: 31rpx; text-align: center;
padding: 0 9rpx; line-height: 68.75rpx;
margin-right: 10rpx; border-left: 1px solid #ccc;
color: #f48f18; border-right: 1px solid #ccc;
font-size: 24.5rpx; float: left;
} }
.cart-view .promotion .txt{ .selnum .add {
height: 43rpx; width: 80rpx;
line-height: 43rpx; height: 100%;
padding-right: 10rpx; text-align: center;
color: #333; line-height: 50rpx;
font-size: 29rpx; }
overflow: hidden;
.cart-view .group-item .header {
width: 100%;
height: 94rpx;
line-height: 94rpx;
padding: 0 26rpx;
border-bottom: 1px solid #f4f4f4;
}
.cart-view .promotion .icon {
display: inline-block;
height: 24rpx;
width: 15rpx;
}
.cart-view .promotion {
margin-top: 25.5rpx;
float: left;
height: 43rpx;
width: 480rpx;
/*margin-right: 84rpx;*/
line-height: 43rpx;
font-size: 0;
}
.cart-view .promotion .tag {
border: 1px solid #f48f18;
height: 37rpx;
line-height: 31rpx;
padding: 0 9rpx;
margin-right: 10rpx;
color: #f48f18;
font-size: 24.5rpx;
}
.cart-view .promotion .txt {
height: 43rpx;
line-height: 43rpx;
padding-right: 10rpx;
color: #333;
font-size: 29rpx;
overflow: hidden;
}
.cart-view .get {
margin-top: 18rpx;
float: right;
height: 58rpx;
padding-left: 14rpx;
border-left: 1px solid #d9d9d9;
line-height: 58rpx;
font-size: 29rpx;
color: #333;
}
.cart-bottom {
position: fixed;
bottom: 0;
left: 0;
height: 100rpx;
width: 100%;
background: #fff;
display: flex;
}
.cart-bottom .checkbox {
height: 34rpx;
padding-left: 60rpx;
line-height: 34rpx;
margin: 33rpx 18rpx 33rpx 26rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
background-size: 34rpx;
font-size: 29rpx;
}
.cart-bottom .checkbox.checked {
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
background-size: 34rpx;
}
.cart-bottom .total {
height: 34rpx;
flex: 1;
margin: 33rpx 10rpx;
font-size: 29rpx;
}
.cart-bottom .delete {
text-align: center;
width: 180rpx;
height: 80rpx;
line-height: 82rpx;
padding: 0;
margin: 0;
margin-left: -5rpx;
padding-right: 25rpx;
font-size: 25rpx;
color: #f4f4f4;
/* text-align: center; */
border-top-left-radius: 0rpx;
border-bottom-left-radius: 0rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #ae8b9c 100%);
}
.cart-bottom .checkout {
height: 100rpx;
width: 210rpx;
text-align: center;
line-height: 100rpx;
font-size: 29rpx;
background: #b4282d;
color: #fff;
}
.action_btn_area {
/* border: 1px solid #333; */
position: absolute;
display: flex;
justify-content: center;
align-items: center;
right: 0;
top: 0;
width: 380rpx;
height: 100rpx;
}
.action_btn_area .edit {
width: 140rpx;
/* border: 1px solid #000; */
height: 80rpx;
line-height: 82rpx;
padding: 0;
margin: 0;
margin-right: 5rpx;
text-align: center;
/* padding-left: 25rpx; */
font-size: 25rpx;
color: #f4f4f4;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
/* background-image: linear-gradient(to right, #ff7701 100%); */
background-image: linear-gradient(to right, #AB956D 0%, #AB956D 100%);
}
.action_btn_area .checkout {
width: 140rpx;
height: 80rpx;
line-height: 82rpx;
padding: 0;
margin: 0;
margin-left: 5rpx;
/* padding-right: 25rpx; */
font-size: 25rpx;
color: #f4f4f4;
text-align: center;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
}
.action_btn_area .delete {
width: 140rpx;
/* border: 1px solid #000; */
height: 80rpx;
line-height: 82rpx;
padding: 0;
margin: 0;
margin-right: 5rpx;
text-align: center;
padding-left: -5rpx;
font-size: 25rpx;
color: #f4f4f4;
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
}
.action_btn_area .sure {
text-align: center;
width: 140rpx;
height: 80rpx;
line-height: 82rpx;
padding: 0;
margin: 0;
margin-right: 10rpx;
padding-left: -5rpx;
font-size: 25rpx;
color: #f4f4f4;
/* text-align: center; */
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #AB956D 0%, #AB956D 100%);
/* background-image: linear-gradient(to right, #ff7701 0%, #fe4800 100%); */
}
.auth_btn {
position: fixed;
top: 55vh;
left: 10vw;
width: 80vw;
height: 96rpx;
line-height: 96rpx;
font-size: 25rpx;
color: #f4f4f4;
/* text-align: center; */
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
background-image: linear-gradient(to right, #8baaaa 0%, #9a9ba1 100%);
} }
.cart-view .get{
margin-top: 18rpx;
float: right;
height: 58rpx;
padding-left: 14rpx;
border-left: 1px solid #d9d9d9;
line-height: 58rpx;
font-size: 29rpx;
color: #333;
}
.cart-bottom{
position: fixed;
bottom:0;
left:0;
height: 100rpx;
width: 100%;
background: #fff;
display: flex;
}
.cart-bottom .checkbox{
height: 34rpx;
padding-left: 60rpx;
line-height: 34rpx;
margin: 33rpx 18rpx 33rpx 26rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
background-size: 34rpx;
font-size: 29rpx;
}
.cart-bottom .checkbox.checked{
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
background-size: 34rpx;
}
.cart-bottom .total{
height: 34rpx;
flex: 1;
margin: 33rpx 10rpx;
font-size: 29rpx;
}
.cart-bottom .delete{
height: 34rpx;
width: auto;
margin: 33rpx 18rpx;
font-size: 29rpx;
}
.cart-bottom .checkout{
height: 100rpx;
width: 210rpx;
text-align: center;
line-height: 100rpx;
font-size: 29rpx;
background: #b4282d;
color: #fff;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment