281 lines
4.8 KiB
Plaintext
281 lines
4.8 KiB
Plaintext
/* pages/demand/list/index.wxss */
|
|
page {
|
|
box-sizing: border-box;
|
|
padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx);
|
|
}
|
|
|
|
.t-tabs.t-tabs--top .t-tabs__scroll {
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
.home-page-header {
|
|
background: linear-gradient(#fff, var(--bg-grey));
|
|
}
|
|
|
|
.home-page-container {
|
|
background: var(--bg-grey);
|
|
}
|
|
|
|
.home-page-container,
|
|
.home-page-header {
|
|
display: block;
|
|
padding: 0 24rpx;
|
|
}
|
|
|
|
/* ===== 搜索区 ===== */
|
|
.search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 18rpx 0 12rpx;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.search-bar__search {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.search-bar__box {
|
|
height: 68rpx !important;
|
|
border-radius: 34rpx !important;
|
|
background: #fff !important;
|
|
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.search-bar__input {
|
|
font-size: 28rpx !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.search-bar__left {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 4rpx;
|
|
}
|
|
|
|
/* ===== 刷新按钮 ===== */
|
|
.refresh-btn {
|
|
flex-shrink: 0;
|
|
width: 68rpx;
|
|
height: 68rpx;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
}
|
|
|
|
.refresh-btn--hover {
|
|
transform: scale(0.92);
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.refresh-btn--loading {
|
|
animation: refresh-spin 0.9s linear infinite;
|
|
}
|
|
|
|
@keyframes refresh-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.home-page-header .swiper-wrap {
|
|
margin-top: 0rpx;
|
|
}
|
|
|
|
.home-page-header .t-swiper__image {
|
|
width: 100%;
|
|
height: 200rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.home-page-container .t-tabs {
|
|
background: #fff !important;
|
|
}
|
|
|
|
.home-page-container .t-tabs .t-tabs__nav {
|
|
background-color: transparent;
|
|
line-height: 80rpx;
|
|
font-size: 28rpx;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.home-page-container .t-tabs .t-tabs__scroll {
|
|
border: none !important;
|
|
}
|
|
|
|
/* 半个字 */
|
|
.home-page-container .tab.order-nav .order-nav-item.scroll-width {
|
|
min-width: 165rpx;
|
|
}
|
|
|
|
.home-page-container .tab .order-nav-item.active {
|
|
color: var(--brand) !important;
|
|
}
|
|
|
|
.home-page-container .tab .bottom-line {
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
.home-page-container .tab .order-nav-item.active .bottom-line {
|
|
background-color: var(--brand) !important;
|
|
}
|
|
|
|
.home-page-container .tabs-external__item {
|
|
/* color: var(--text-secondary) !important; */
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.home-page-container .tabs-external__active {
|
|
color: var(--text-primary) !important;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.home-page-container .tabs-external__track {
|
|
height: 6rpx !important;
|
|
border-radius: 4rpx !important;
|
|
width: 48rpx !important;
|
|
}
|
|
|
|
.t-tabs.t-tabs--top .t-tabs__item,
|
|
.t-tabs.t-tabs--bottom .t-tabs__item {
|
|
height: 86rpx !important;
|
|
}
|
|
|
|
.home-page-container .goods-list-container {
|
|
background: var(--bg-grey) !important;
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.home-page-tabs {
|
|
--td-tab-nav-bg-color: transparent;
|
|
--td-tab-border-color: transparent;
|
|
--td-tab-item-color: var(--text-secondary);
|
|
--td-tab-track-color: red;
|
|
margin-bottom: 10rpx;
|
|
margin-left: -24rpx;
|
|
margin-right: -24rpx;
|
|
width: 100vw;
|
|
}
|
|
|
|
.home-page-margin {
|
|
display: block;
|
|
height: 20rpx;
|
|
}
|
|
|
|
.home-page-padding {
|
|
padding: 15rpx 0rpx;
|
|
}
|
|
|
|
.list-wrapper {
|
|
margin-bottom: 10rpx;
|
|
padding: 10rpx 0;
|
|
background-color: white;
|
|
border-radius: 15rpx;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
margin-bottom: px;
|
|
}
|
|
|
|
.content {
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.bottom-row {
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
.add-time {
|
|
color: var(--text-tertiary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.content-img-list {
|
|
margin-top: 15rpx;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
align-content: stretch;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.content-img {
|
|
width: 105px;
|
|
height: 105px;
|
|
padding-right: 8rpx;
|
|
padding-bottom: 8rpx;
|
|
display: block;
|
|
}
|
|
|
|
.horizontal-distribute {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.action-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.action-text {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.t-button--danger {
|
|
background-color: var(--brand-hover) !important;
|
|
border-color: var(--brand-hover) !important;
|
|
}
|
|
|
|
.action-btn {
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.user-avatar {
|
|
padding-left: 6rpx;
|
|
}
|
|
|
|
.empty-container {
|
|
min-height: 100vh;
|
|
padding-top: 50%;
|
|
}
|
|
|
|
.content-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.toggle-btn {
|
|
color: var(--brand);
|
|
font-size: 24rpx;
|
|
margin-top: 8rpx;
|
|
cursor: pointer;
|
|
position: relative;
|
|
z-index: 2;
|
|
background: #fff;
|
|
display: inline-block;
|
|
}
|
|
|
|
.no-more {
|
|
text-align: center;
|
|
color: var(--text-tertiary);
|
|
font-size: 26rpx;
|
|
padding: 32rpx 0 32rpx 0;
|
|
} |