store/packageG/mycomponent/shopfor/shopfor.wxss

63 lines
1.1 KiB
Plaintext

/* packageE/shopfor/shopfor.wxss */
.shopfor .shop {
position: relative;
width: 100%;
min-height: 180px;
box-sizing: content-box;
}
.shopfor .shop .content-style1 {
position: absolute;
bottom: 0;
min-height: 70px;
width: 100%;
display: flex;
align-items: center;
background: linear-gradient(0deg, #0006, hsla(0, 1%, 77%, 0.1));
}
.shopfor .shop .content-style1 .image {
border-radius: 4px;
margin: 0 0 0 10px;
}
.shopfor .shop .content-style1 .image image {
width: 100%;
height: 100%;
border-radius: 4px;
}
.shopfor .shop .content-style1 .title {
margin-left: 10px;
}
.shopfor .shop .content-style2 {
position: absolute;
bottom: 0;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.3);
}
.shopfor .shop .content-style2 .image {
border-radius: 4px;
margin: 0 10px;
}
.shopfor .shop .content-style2 .image image {
width: 100%;
height: 100%;
border-radius: 4px;
}
.shopfor .shop .content-style2 .title {
margin-top: 10px;
width: 100%;
text-align: center;
}