You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
180 lines
3.4 KiB
180 lines
3.4 KiB
10 months ago
|
/* 收藏 */
|
||
|
.favorite .tabbar {
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
z-index: 2;
|
||
|
|
||
|
display: flex;
|
||
|
border-bottom: 1px solid #f5f5f5;
|
||
|
background-color: #ffffff;
|
||
|
}
|
||
|
|
||
|
.favorite .tabbar view {
|
||
|
flex: 1;
|
||
|
position: relative;
|
||
|
height: 90rpx;
|
||
|
font-size: 28rpx;
|
||
|
line-height: 90rpx;
|
||
|
text-align: center;
|
||
|
color: #333;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.favorite .tabbar .on {
|
||
|
color: #2c8eff;
|
||
|
}
|
||
|
|
||
|
.favorite .tabbar .on::after {
|
||
|
content: " ";
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
left: 50%;
|
||
|
width: 40rpx;
|
||
|
height: 8rpx;
|
||
|
border-radius: 8rpx;
|
||
|
background-color: #2c8eff;
|
||
|
|
||
|
transform: translateX(-50%);
|
||
|
}
|
||
|
|
||
|
.favorite {
|
||
|
padding-bottom: constant(safe-area-inset-bottom);
|
||
|
padding-bottom: env(safe-area-inset-bottom);
|
||
|
}
|
||
|
|
||
|
.favorite .list {
|
||
|
padding-top: 15rpx;
|
||
|
padding-bottom: 15rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator {
|
||
|
display: flex;
|
||
|
padding: 30rpx 30rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:first-child {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.favorite .list image {
|
||
|
display: block;
|
||
|
width: 250rpx;
|
||
|
height: 140rpx;
|
||
|
border-radius: 10rpx;
|
||
|
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:first-child view {
|
||
|
position: absolute;
|
||
|
right: 10rpx;
|
||
|
bottom: 10rpx;
|
||
|
z-index: 1;
|
||
|
height: 34rpx;
|
||
|
padding-right: 11rpx;
|
||
|
padding-left: 11rpx;
|
||
|
border-radius: 3rpx;
|
||
|
background-color: rgba(0, 0, 0, 0.5);
|
||
|
font-size: 22rpx;
|
||
|
line-height: 34rpx;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:last-child {
|
||
|
flex: 1;
|
||
|
|
||
|
display: flex;
|
||
|
|
||
|
flex-direction: column;
|
||
|
|
||
|
justify-content: space-between;
|
||
|
min-width: 0;
|
||
|
margin-left: 30rpx;
|
||
|
font-size: 22rpx;
|
||
|
color: #999999;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view > view:first-child {
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
text-overflow: ellipsis;
|
||
|
font-size: 30rpx;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:last-child > view:nth-child(2) {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:last-child > view:nth-child(2) view {
|
||
|
height: 40rpx;
|
||
|
padding-right: 12rpx;
|
||
|
padding-left: 12rpx;
|
||
|
border-radius: 3rpx;
|
||
|
background-color: rgba(44, 142, 255, 0.06);
|
||
|
font-size: 24rpx;
|
||
|
line-height: 40rpx;
|
||
|
color: #2c8eff;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view:last-child > view:nth-child(2) view view {
|
||
|
margin-left: 14rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view > view:nth-child(3) {
|
||
|
display: flex;
|
||
|
|
||
|
justify-content: space-between;
|
||
|
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view > view:nth-child(3) view:first-child {
|
||
|
font-weight: bold;
|
||
|
font-size: 28rpx;
|
||
|
color: #ff6b00;
|
||
|
}
|
||
|
|
||
|
.favorite .list navigator > view > view:nth-child(3) view.money {
|
||
|
font-size: 22rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list .money text {
|
||
|
font-size: 32rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list.material navigator > view > view:nth-child(2) {
|
||
|
display: block;
|
||
|
font-weight: bold;
|
||
|
font-size: 28rpx;
|
||
|
color: #ff6b00;
|
||
|
}
|
||
|
|
||
|
.favorite .list.material navigator > view > view.money {
|
||
|
font-size: 22rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list.material .money text {
|
||
|
font-size: 32rpx;
|
||
|
}
|
||
|
|
||
|
.favorite .list.material navigator > view > view:nth-child(3) view:first-child {
|
||
|
font-weight: normal;
|
||
|
font-size: 22rpx;
|
||
|
color: #999999;
|
||
|
}
|
||
|
|
||
|
.favorite .list.material button {
|
||
|
width: 105rpx;
|
||
|
height: 38rpx;
|
||
|
border-radius: 19rpx;
|
||
|
background-color: #2c8eff;
|
||
|
font-family: inherit;
|
||
|
font-weight: normal;
|
||
|
font-size: 22rpx;
|
||
|
line-height: normal;
|
||
|
color: #ffffff;
|
||
|
}
|