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.
 

463 lines
7.7 KiB

/* pages/store/store.wxss */
.container {
background-color: #F6F6F6;
/* min-height: 100vh; */
}
.storeTop {
background-color: #FA5151;
padding: 30rpx;
width: 100%;
}
.storeTop_title {
display: flex;
justify-content: space-between;
}
.storeTopLeft {
flex: 1;
display: flex;
justify-content: space-between;
}
.storeTopLeft image {
width: 100rpx;
height: 100rpx;
}
.storeTopLeftText {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-left: 20rpx;
padding: 11rpx 0;
}
.storeTop_content {
padding-top: 28rpx;
}
.storeTop_content_top {
display: flex;
align-items: center;
font-size: 26rpx;
color: #777777;
}
.storeTop_content_bottom {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
font-size: 24rpx;
color: #b8b8b8;
overflow: hidden;
transition: all 0.3s linear;
}
.storeTop_content_bottom p {
padding-top: 16rpx;
}
.storeTop_content img {
width: 22rpx;
height: 12rpx;
margin-left: 9rpx;
}
.storeName {
display: flex;
align-items: center;
font-size: 30rpx;
line-height: 30rpx;
color: white;
font-weight: 600;
}
.storeSellNum {
font-size: 22rpx;
line-height: 22rpx;
color: white;
}
.storeTopRight {
font-size: 22rpx;
color: #fff;
}
.storeTopRight img {
width: 26rpx;
height: 24rpx;
}
.collectionBtn {
display: flex;
align-items: center;
justify-content: center;
width: 33rpx;
height: 31rpx;
margin-left: auto;
padding: 0 20rpx;
box-sizing: content-box;
}
.collectionBtn img,.shareBtn img{
width: 100%;
height: 100%;
}
.storeTop_bottom{
display: flex;
align-items: center;
margin-top: 25rpx;
}
.addressBox{
flex: 1;
display: flex;
align-items: center;
margin-right: 150rpx;
color: rgba(255, 255, 255, 0.7);
}
.addressBox image{
width: 24rpx;
height: 31rpx;
}
.addressBox text{
margin-left: 10rpx;
font-size: 24rpx;
line-height: 24rpx;
}
.seeStore{
display: flex;
align-items: center;
font-size: 24rpx;
width: 208rpx;
height: 60rpx;
background: #ffffff;
border-radius: 30rpx 0 0 30rpx;
margin-right: 25rpx;
padding: 0 20rpx 0 25rpx;
box-sizing: border-box;
color: #FA5151;
}
.seeStore image{
width: 12rpx;
height: 22rpx;
margin-left: auto;
}
.tab-view{
/* position: fixed; */
width: 100%;
height: 100rpx;
background-color: #F6F6F6;
white-space: nowrap;
}
.tab-itemActive{
color: #FA5151;
width: 25%;
height: 100rpx;
line-height: 100rpx;
text-align: center;
font-size: 30rpx;
font-weight: bold;
display: inline-block;
}
.tab-item {
color: #888888;
width: 25%;
height: 100rpx;
line-height: 100rpx;
text-align: center;
font-size: 30rpx;
display: inline-block;
}
.tab-lineActive{
width: 78rpx;
height: 6rpx;
margin-top: -10rpx;
margin-left: 31%;
background-color: #FA5151;
z-index: 655;
}
.tab-badge{
position: absolute;
margin-top: -80rpx;
margin-left: 45rpx;
width: 35rpx;
height: 35rpx;
border-radius: 17.5rpx;
line-height: 35rpx;
font-size: 28rpx;
text-align: center;
font-weight: normal;
color: white;
background-color: red;
}
.tab-line{
width: 100%;
height: 2rpx;
margin-top: -8rpx;
background-color: #F6F6F6;
}
.list-table {
margin-top:5rpx;
width: 100%;
padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
}
.list-cell {
display: inline-table;
width: 46%;
margin:5rpx 0rpx 20rpx 20rpx;
padding-bottom: 5rpx;
background-color: white;
border-radius: 10rpx;
overflow: hidden;
}
.goods_view {
width: 345rpx;
height: 345rpx;
}
.goods_img{
width:345rpx;
height:345rpx;
}
.dowmPro {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.6);
position: absolute;
top: 50%;
left: 25%;
transform: translate(-50%, -50%);
color: #FFFFFF;
font-size: 26rpx;
line-height: 120rpx;
text-align: center;
}
.overtitle {
font-size: 30rpx;
line-height: 30rpx;
margin-top: 5rpx!important;
margin-left: 25rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.goods_mun {
display: flex;
align-items: center;
margin-top: 10rpx;
padding: 0rpx 20rpx 20rpx 25rpx;
}
.goods_mun image{
width: 58rpx;
height: 58rpx;
margin-left: auto;
}
.goods_mun .price{
font-size: 32rpx;
line-height: 32rpx;
font-weight: bold;
color: #FA5151;
}
.list-label{
margin: 0rpx 20rpx 20rpx 20rpx;
height:100rpx;
border-radius: 10rpx;
overflow: hidden;
background-color: white;
display: flex;
align-items:center;
}
.list-label .title{
margin-left: 20rpx;
font-size: 32rpx;
color: black;
}
.list-label image{
position: absolute;
right: 40rpx;
width: 25rpx;
height: 25rpx;
}
/*全部属性的主盒子*/
.commodity_attr_list {
background: #fff;
padding: 0 20rpx;
font-size: 26rpx;
overflow: hidden;
width: 100%;
}
/*弹窗*/
.drawer_screen {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #000;
opacity: 0.2;
overflow: hidden;
z-index: 1000;
color: #fff;
}
.drawer_attr_box {
width: 100%;
height: 80%;
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: 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;
}
.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;
padding-bottom: env(safe-area-inset-bottom);
}