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

228 lines
4.1 KiB
Plaintext

/* packageC/o2o/o2oSearchMultiple/o2oSearchMultiple.wxss */
view,
text {
box-sizing: border-box;
}
.search {
display: flex;
background: #fff;
border-bottom: 2rpx solid #f5f5f5;
width: 100%;
padding-bottom: 10rpx;
position: relative;
z-index: 9;
}
.search .screenBox {
position: relative;
display: flex;
padding-left: 16rpx;
}
.search .screenBox .srceenText {
font-size: 24rpx;
color: #f15353;
}
.search .screenBox .srceenOptions {
position: absolute;
top: 58rpx;
width: 108.992rpx;
padding: 6.5rpx 0;
background-color: #fff;
box-shadow: 0 0 26rpx rgba(198, 198, 198, 0.6);
}
.search .screenBox .srceenOptions .srceenOptionsItem {
padding: 8rpx 0;
text-align: center;
font-size: 24rpx;
color: #404040;
}
.search .screenBox .srceenOptions .srceenOptionsItem.active {
color: #f15353;
}
.search .screenBox .srceenOptions::before {
content: "";
position: absolute;
top: -10rpx;
left: 50%;
transform: translateX(-50%);
display: block;
width: 0;
height: 0;
border-left: 11rpx solid transparent;
border-right: 11rpx solid transparent;
border-bottom: 11rpx solid #fff;
}
.search .searchBox {
position: relative;
font-size: 28rpx;
width: 590rpx;
height: 60rpx;
margin: 0 auto;
display: flex;
align-items: center;
background: #f2f2f2 none;
box-sizing: border-box;
border-radius: 30rpx;
padding: 0 20rpx;
}
.search .searchBox input {
vertical-align: middle;
border: none;
box-sizing: border-box;
outline: 0;
height: 60rpx;
line-height: 60rpx;
color: #8c8c8c;
font-size: 28rpx;
width: 480rpx;
z-index: 10;
}
.search .searchBox .img-icon {
width: 60rpx;
height: 60rpx;
color: #a9a9a9;
opacity: 2;
display: flex;
align-items: center;
justify-content: center;
}
.search .searchBox .img-icon .img-icon-btn {
width: 32rpx;
height: 32rpx;
margin: 0 auto;
background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/search.png") no-repeat center center;
background-size: 80% 80%;
}
.loadingimg {
width: 4rem;
height: 4rem;
margin: 50px auto;
}
.loadingimg image {
width: 100%;
height: 100%;
}
/* 供应商列表 */
.supplierList {
padding: 13rpx 30rpx;
}
.supplierList .supplierItem {
width: 100%;
margin-bottom: 13rpx;
padding: 28rpx 20rpx;
background-color: #fff;
border-radius: 15rpx;
}
.supplierList .supplierItem .supplierInfo {
display: flex;
align-items: center;
}
.supplierList .supplierItem .supplierInfo .face {
width: 80rpx;
height: 80rpx;
background-color: #cdcdcd;
border-radius: 10rpx;
}
.supplierList .supplierItem .supplierInfo .face image {
width: 80rpx;
height: 80rpx;
border-radius: 10rpx;
}
.supplierList .supplierItem .supplierInfo .left-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-left: 17rpx;
text-align: left;
}
.supplierList .supplierItem .supplierInfo .left-content .name {
font-size: 28rpx;
color: #333;
}
.supplierList .supplierItem .supplierInfo .left-content .desc {
font-size: 24rpx;
color: #828282;
}
.supplierList .supplierItem .supplierInfo .btn {
display: flex;
align-items: center;
justify-content: center;
width: 120rpx;
height: 50rpx;
font-size: 24rpx;
color: #fff;
background-color: #f15353;
border-radius: 25rpx;
}
.supplierList .supplierItem .supplierGoods {
display: grid;
grid-template-columns: repeat(3, 198rpx);
justify-content: space-between;
margin-top: 32rpx;
}
.supplierList .supplierItem .supplierGoods .supplierGood {
width: 100%;
text-align: left;
}
.supplierList .supplierItem .supplierGoods .supplierGood .face {
width: 195rpx;
height: 195rpx;
background-color: #ddd;
border-radius: 10rpx;
}
.supplierList .supplierItem .supplierGoods .supplierGood .face image {
width: 195rpx;
height: 195rpx;
border-radius: 10rpx;
}
.supplierList .supplierItem .supplierGoods .supplierGood .name {
margin-top: 16rpx;
font-size: 24rpx;
color: #202020;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.supplierList .supplierItem .supplierGoods .supplierGood .price {
margin-top: 16rpx;
font-size: 24rpx;
color: #f15353;
}