yuminge-app/yun-min-program-plugin-master/packageC/o2o/o2oHome/o2oHome.wxss

280 lines
4.6 KiB
Plaintext

/* pages/o2oHome/o2oHome.wxss */
.all {
background: #fff;
}
.search_box .search {
height: 88rpx;
line-height: 88rpx;
display: flex;
justify-content: space-between;
-ms-flex-align: center;
align-items: center;
padding: 0 28rpx;
background-color: #fff;
}
.search_box .search .left {
font-size: 30rpx;
display: flex;
}
.search_box .search .left icon {
color: #999;
font-size: 32rpx;
}
.search_box .search .left .span {
display: block;
margin: 0 8rpx;
max-width: 120rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #999;
}
.search_box .search .left icon:last-child {
font-size: 36rpx;
}
.search_box .search .right {
width: 460rpx;
height: 60rpx;
background: #f5f5f5;
display: flex;
line-height: 60rpx;
border-radius: 32rpx;
padding: 0 20rpx;
font-size: 28rpx;
}
.search_box .search .right icon {
font-size: 36rpx;
color: #999;
margin-right: 12rpx;
margin-top: -5rpx;
}
.search_box .search .right input {
display: block;
border: none;
width: 100%;
height: 100%;
}
.c_swipe image {
width: 100%;
}
.oads {
display: flex;
/* margin-top: 16rpx;
margin-bottom: 16rpx; */
}
.oads .oads-right {
width: 100%;
display: flex;
flex-wrap: wrap;
margin: 9rpx;
}
.oads .oads-right image {
width: 48%;
height: 30vw;
padding: 1px;
border-radius: 18rpx;
}
.oads-img {
margin: 0 16rpx;
}
.oads-img image {
width: 100%;
}
.ment {
background: #fff;
padding-top: 28rpx;
}
#o2o_group_cart .main {
display: flex;
flex-direction: column;
}
#o2o_group_cart .main .boxTop {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.875rem;
}
#o2o_group_cart .main .boxTop .boxIcon {
height: 1.25rem;
line-height: 1.25rem;
color: #424242;
}
#o2o_group_cart .main .boxTop .boxIcon image {
height: 1.25rem;
object-fit: contain;
}
#o2o_group_cart .main .boxTop .topRight {
color: #666;
font-size: 12px;
}
#o2o_group_cart .main .boxTop .topRight icon {
font-size: 12px;
display: inline-flex;
}
#o2o_group_cart .main .boxList {
padding: 0 0.875rem 0.875rem;
display: flex;
}
#o2o_group_cart .main .boxList .boxlis {
display: flex;
flex-direction: column;
width: 6.875rem;
margin-left: 0.5rem;
}
#o2o_group_cart .main .boxList .boxlis .listT {
width: 6.875rem;
height: 6.875rem;
background-color: #e3e3e3;
border-radius: 0.5rem;
overflow: hidden;
}
#o2o_group_cart .main .boxList .boxlis .listT image {
width: 100%;
height: 100%;
object-fit: contain;
}
#o2o_group_cart .main .boxList .boxlis .listB {
padding-top: 0.75rem;
text-align: left;
}
#o2o_group_cart .main .boxList .boxlis .listB .listBtitle {
width: 100%;
overflow: hidden;
/* 超出部分隐藏 */
text-overflow: ellipsis;
/* 超出部分显示省略号 */
white-space: nowrap;
/* 规定段落中的文本不进行换行 */
}
#o2o_group_cart .main .boxList .boxlis .listB .listBPrice {
color: #f14e4e;
}
#o2o_group_cart .main .boxList .boxlis:nth-child(1) {
margin: 0;
}
.toker {
margin: 0 30rpx;
border-radius: 20rpx 20rpx 0 0;
background-image:
linear-gradient(
0deg,
#fff 0%,
#fe612a 100%
);
margin-top: 18rpx;
overflow: hidden;
display: flex;
flex-direction: column;
padding-bottom: 35rpx;
box-sizing: border-box;
}
.toker .tokerTop {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 0.75rem;
margin-top: 0.78rem;
padding-bottom: 0.78rem;
color: #fff;
box-sizing: border-box;
}
.toker .tokerTop .topRight {
display: flex;
align-items: center;
font-size: 0.75rem;
}
.toker .tokerList {
flex: 1;
margin: 0 0.59rem;
display: flex;
overflow-x: scroll;
}
.toker .tokerList .tokerlis:last-child {
margin-right: 0;
}
.toker .tokerList .tokerlis {
margin-right: 0.56rem;
width: 6.41rem;
height: 10rem;
background-color: #fff;
box-shadow: 0 0.06rem 0.22rem 0 rgba(221, 221, 221, 0.59);
border-radius: 0.47rem;
display: flex;
flex-direction: column;
}
.toker .tokerList .tokerlis .listT {
width: 6.41rem;
height: 6.41rem;
background-color: #e3e3e3;
border-radius: 0.47rem 0.47rem 0 0;
}
.toker .tokerList .tokerlis .listT image {
width: 100%;
height: 100%;
border-radius: 0.47rem 0.47rem 0 0;
}
.toker .tokerList .tokerlis .listB {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 0.53rem 0 0.56rem;
}
.toker .tokerList .tokerlis .listB .listBtitle {
font-size: 0.81rem;
color: #333;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.toker .tokerList .tokerlis .listB .listBPrice {
font-size: 0.81rem;
color: #f14e4e;
text-align: left;
}