yuminge-app/yun-min-program-plugin-master/packageB/member/business_card/CardGoods/CardGoods.wxss

210 lines
3.6 KiB
Plaintext

.card_goods {
padding-bottom: 60px;
}
.card_goods .tips_box {
background: #fff;
border-radius: 12rpx;
height: 336rpx;
}
.card_goods .tips_box .text {
padding: 72rpx 28rpx;
font-size: 16px;
}
.card_goods .tips_box button {
border: none;
color: #50a6f9;
font-size: 16px;
width: 100%;
height: 92rpx;
line-height: 92rpx;
border-top: solid 2rpx #ebebeb;
}
.card_goods .search_box {
position: fixed;
top: 0;
z-index: 100;
width: 100%;
background: #fff;
height: 88rpx;
line-height: 88rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.card_goods .search_box .fa {
font-size: 48rpx;
color: #333;
width: 80rpx;
}
.card_goods .search_box .text_box {
width: 560rpx;
border-radius: 32rpx;
height: 56rpx;
display: flex;
align-items: center;
background: #f2f2f2;
padding: 0 0rpx 0 20rpx;
}
.card_goods .search_box .text_box .iconfont {
font-size: 32rpx;
color: #999;
margin-right: 20rpx;
}
.card_goods .search_box .text_box .form {
width: 100%;
}
.card_goods .search_box .text_box input {
border: none;
width: 90%;
}
.card_goods .search_box .span {
width: 120rpx;
font-size: 16px;
}
.card_goods .title {
display: flex;
justify-content: center;
align-items: center;
height: 80rpx;
}
.card_goods .title .line_left,
.card_goods .title .line-right {
width: 200rpx;
height: 2rpx;
background: #ebebeb;
}
.card_goods .title .h1 {
font-size: 15px;
color: #999;
margin: 0 28rpx;
}
.card_goods .goods_list {
padding: 20rpx 30rpx;
background: #fff;
}
.card_goods .goods_list .goods_box {
background: #fafafa;
padding: 20rpx;
display: flex;
margin-bottom: 20rpx;
}
.card_goods .goods_list .goods_box .goods_img {
width: 168rpx;
height: 168rpx;
overflow: hidden;
margin-right: 20rpx;
background: #f2f2f2;
}
.card_goods .goods_list .goods_box .goods_img image {
width: 100%;
height: 100%;
}
.card_goods .goods_list .goods_box .goods_text {
width: 462rpx;
position: relative;
}
.card_goods .goods_list .goods_box .goods_text .name {
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 15px;
text-align: left;
}
.card_goods .goods_list .goods_box .goods_text .sum {
position: absolute;
bottom: 0;
display: flex;
line-height: 48rpx;
width: 100%;
justify-content: space-between;
}
.card_goods .goods_list .goods_box .goods_text .sum .span {
color: #f15353;
font-size: 16px;
}
.card_goods .goods_list .goods_box .goods_text .sum .span .font {
font-size: 12px;
}
.card_goods .goods_list .goods_box .goods_text .sum .icon-record_go {
font-size: 28rpx;
color: #fff;
width: 48rpx;
height: 48rpx;
line-height: 48rpx;
border: solid 2rpx #50a6f9;
border-radius: 64rpx;
display: flex;
justify-content: center;
align-items: center;
background: #50a6f9;
}
.card_goods .goods_list .goods_box .goods_text .sum .no_current {
font-size: 28rpx;
color: #ccc;
width: 48rpx;
height: 48rpx;
line-height: 48rpx;
border: solid 2rpx #ccc;
border-radius: 64rpx;
background: #fff;
}
.card_goods .card_goods_btm {
position: fixed;
bottom: 0;
width: 100%;
height: 98rpx;
border-top: solid 2rpx #ebebeb;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
}
.card_goods .card_goods_btm .p {
padding: 0 20rpx;
font-size: 16px;
}
.card_goods .card_goods_btm .p .span {
color: #f15353;
margin: 0 8rpx;
}
.card_goods .card_goods_btm button {
border: none;
background: #50a6f9;
color: #fff;
border-radius: 0;
width: 220rpx;
height: 100%;
margin-right: 0;
font-size: 16px;
}