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.
|
|
#store-list{ .commodity-top{ position: fixed; top: 0; width: 100%; z-index: 10; .sidebar{ background: #FFFFFF; font-size: 18px; width: 100%; height: 50px; display: flex; align-items: center;
.sidebar-left{ flex: 1; height: 100%;
span{ display: inline-block; line-height: 50px; height: 100%; padding-left: 15px; } } .sidebar-right{ width: 120px; height: 100%; overflow: hidden;
view{ display: inline-block; width: 40px; height: 100%; text-align: center; line-height: 50px; font-size: 20px; } } } .filter-box{ display: flex; justify-content: space-between; align-items: center; font-size: 14px; background: #FFFFFF;
.filter-item{ display: flex; flex: 1; width: 0%; justify-content: center; align-items: center; line-height: 40px; height: 40px;
.left{ flex: 1; margin-left: 20px; text-align: center;
&.active { color: #099FFF; }
} &.dis { color: #eeeeee; } .right{ width: 20px; height: 100%; margin-right: 5px; background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/ico-filter.png") no-repeat center; background-size: 8px 12px;
&.asc { background-image: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/ico-filter1.png"); transform: rotate(180deg); } &.desc { background-image: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/ico-filter1.png"); } } } } } .commodity-bottom{ //height: 100%; font-size: 0; box-sizing: border-box; padding: 90px 5px 20px 5px; .commodity-out{ width: 50%; display: inline-block; font-size: 12px; padding: 10px 5px 0 5px; box-sizing: border-box; .commodity-box{ background: #ffffff; overflow: hidden; width: 100%; padding: 10px; box-sizing: border-box; font-size: 14px;
.commodity-img { overflow: hidden; text-align: center; image{ width: 290rpx; //height: 310rpx; } } .commodity-name{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .commodity-money{ display: flex; align-items: center; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 25px; .money{ color: #ED3327; margin-top: 2px; .origin-money{ color: #AAAAAA; font-size: 12px; display: inline-block; padding-left:2px; text-decoration: line-through; } } .discount-tags{ font-size: 0; overflow: hidden;
.tags-item{ display: block; float: left; color: #ffffff; background: #EB7073; border-radius: 2px; padding: 2px 5px; font-size: 12px; margin: 0 0 0px 5px;
} } .vip-type { width: 15px; height: 15px; margin-left: 5px; image { width: 100%; height: 100%; } } } } } .commodity-out-vertical{ display: flex; align-items: center; padding-right:5px; background-color: #FFFFFF; margin-top: 10px; .img-box{ width:110px; margin-right: 10px; image{ vertical-align: middle; width: 100%; } } .right-box{ flex: 1; overflow: hidden; .goods-name{ color: #111111; font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient: vertical; padding-top: 10px; } .goods-money{ color:#FB5054; font-size: 14px; padding:26px 0px 13px 0; .origin-money{ color: #AAAAAA; font-size: 12px; display: inline-block; padding-left:2px; text-decoration: line-through; } } } } .loadingbox{ margin-top: 10px; height: 40px; line-height: 40px; text-align: center; font-size:14px; } }}
.right-filter-box{ overflow: auto; position: fixed; top: 0; bottom: 0; width: 100%; padding: 6px; background: #FFFFFF; font-size: 14px; //overflow: hidden; z-index: 10; //transform: translateX(100%); .box{ height: 100%; .title{ padding: 10px 5px; } .list{ font-size: 0; .list-block{ display: inline-block; width: 33.33%; font-size: 12px; margin-bottom: 10px; padding: 0 5px;
.selected{ background-color: #fff; border-color: #f9be00; }
view{ display: block; height: 34px; line-height: 30px; text-align: center; background: #ededed; width: 100%; border: 2px solid #ededed; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .price-inputs{ padding: 0 5px; display: flex;
input{ display: block; text-align: center; width: 31%; height: 35px; outline: none; background: #f8f8f8; } .minus{ font-size: 12px; height: 35px; line-height: 35px; text-align: center; padding: 0 5px; } } } .button-box{ display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin: 15px 0;
button{ width: 0%; height: 40px; line-height: 40px; text-align: center; flex: 1; margin: 0 8px; } } }}
|