yuminge-app/yun-min-program-plugin-master/packageD/o2o/recommendind/recommendind.wxss

138 lines
2.4 KiB
Plaintext

/* packageD/o2o/recommendind/recommendind.wxss */
/* 显示一选取商品 */
.show_box {
min-height: 100vh;
background: #fff;
overflow: hidden;
}
.show_box .toptext {
padding-top: 30rpx;
padding-left: 30rpx;
font-size: 28rpx;
color: #000;
line-height: 36rpx;
}
.no_showlist {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 62rpx;
}
.no_showlist image {
width: 140rpx;
height: 164rpx;
margin-bottom: 38rpx;
}
.no_showlist text {
font-size: 28rpx;
color: #999;
}
.is_showlist {
margin: 0 25rpx;
margin-top: 35rpx;
}
.showlist_box {
width: 100%;
height: 186rpx;
background-color: #fff;
box-shadow:
0rpx 0rpx 25rpx 0rpx
rgba(0, 0, 0, 0.15);
border-radius: 10rpx;
display: flex;
align-items: center;
margin-bottom: 34rpx;
}
.nameimg {
width: 120rpx;
height: 120rpx;
border-radius: 10rpx;
margin-left: 27rpx;
}
.nameimg image {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.list_particular {
flex: 1;
height: 130rpx;
margin-right: 33rpx;
margin-left: 16rpx;
display: flex;
flex-direction: column;
}
.list_particular .text {
/* text-overflow: -o-ellipsis-lastline; */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
flex: 1;
font-size: 32rpx;
color: #000;
line-height: 42rpx;
}
.list_particular .list_particular_bottom {
height: 40rpx;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.list_particular_bottom .left_text {
display: flex;
align-items: center;
}
.list_particular_bottom .left_text .np {
font-size: 24rpx;
color: #f01414;
margin-top: 5rpx;
}
.list_particular_bottom .left_text .zp {
font-size: 32rpx;
color: #f01414;
}
.list_particular_bottom .right_text {
width: 100rpx;
height: 39rpx;
border: solid 2rpx #f31d1d;
text-align: center;
border-radius: 20rpx;
color: #f01414;
}
/* 添加按钮 */
.addBtn {
position: fixed;
bottom: 120rpx;
right: 33rpx;
width: 84rpx;
height: 84rpx;
box-shadow: 0rpx 0rpx 25rpx 0rpx rgba(245, 57, 57, 0.5);
border-radius: 50%;
background-image: url('https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/zhibo_add@2x.png');
background-size: 96rpx 96rpx;
background-position: -3px -3px;
background-repeat: no-repeat;
}