41 lines
3.2 KiB
Plaintext
41 lines
3.2 KiB
Plaintext
/* 按 mentor_listing_screen 设计稿 */
|
|
.page { background: #000; min-height: 100vh; color: #fff; }
|
|
.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 24rpx; background: rgba(0,0,0,0.95); border-bottom: 1rpx solid #27272a; }
|
|
.nav-back { width: 60rpx; }
|
|
.back-icon { font-size: 44rpx; color: #fff; }
|
|
.nav-title { font-size: 34rpx; font-weight: 500; }
|
|
.nav-placeholder-r { width: 60rpx; }
|
|
|
|
.search-bar { padding: 24rpx 24rpx 16rpx; }
|
|
.search-input-wrap { display: flex; align-items: center; background: #1C1C1E; border-radius: 24rpx; padding: 24rpx 32rpx; border: 1rpx solid #27272a; }
|
|
.search-icon { font-size: 36rpx; color: #71717a; margin-right: 16rpx; flex-shrink: 0; }
|
|
.search-input { flex: 1; font-size: 28rpx; color: #fff; background: transparent; }
|
|
.filter-row { display: flex; gap: 24rpx; padding: 24rpx; overflow-x: auto; }
|
|
.filter-tag { flex-shrink: 0; padding: 12rpx 32rpx; border-radius: 999rpx; font-size: 24rpx; background: #1C1C1E; border: 1rpx solid #27272a; color: #d4d4d8; }
|
|
.filter-active { background: #4FD1C5; border-color: #4FD1C5; color: #000; font-weight: 600; }
|
|
|
|
.section-header { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 24rpx 24rpx; }
|
|
.section-title { font-size: 32rpx; font-weight: bold; color: #e4e4e7; }
|
|
.section-more { font-size: 24rpx; color: #4FD1C5; font-weight: 500; }
|
|
|
|
.loading { padding: 48rpx; text-align: center; color: #71717a; }
|
|
.mentor-list { padding: 0 24rpx 48rpx; }
|
|
.mentor-card { margin-bottom: 24rpx; background: #1C1C1E; border-radius: 32rpx; padding: 32rpx; border: 1rpx solid #27272a; }
|
|
.mentor-card-inner { display: flex; gap: 32rpx; }
|
|
.mentor-avatar-wrap { width: 112rpx; height: 112rpx; flex-shrink: 0; }
|
|
.mentor-avatar { width: 112rpx; height: 112rpx; border-radius: 50%; display: block; border: 1rpx solid #3f3f46; }
|
|
.mentor-avatar-placeholder { width: 112rpx; height: 112rpx; border-radius: 50%; background: rgba(79,209,197,0.2); border: 1rpx solid #3f3f46; display: flex; align-items: center; justify-content: center; font-size: 40rpx; font-weight: bold; color: #4FD1C5; }
|
|
.mentor-info { flex: 1; min-width: 0; }
|
|
.mentor-name { display: block; font-size: 32rpx; font-weight: bold; color: #fff; margin-bottom: 8rpx; }
|
|
.mentor-intro { display: block; font-size: 24rpx; color: #A1A1AA; margin-bottom: 16rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.mentor-tags { display: flex; flex-wrap: wrap; gap: 12rpx; margin-bottom: 24rpx; }
|
|
.mentor-tag { font-size: 20rpx; padding: 8rpx 16rpx; background: #2C2C2E; color: #E5E7EB; border-radius: 12rpx; border: 1rpx solid rgba(63,63,70,0.5); }
|
|
.mentor-price-row { display: flex; justify-content: space-between; align-items: center; padding-top: 24rpx; border-top: 1rpx solid #27272a; }
|
|
.mentor-price-wrap { display: flex; align-items: baseline; gap: 8rpx; }
|
|
.mentor-price-num { font-size: 36rpx; font-weight: bold; color: #4FD1C5; }
|
|
.mentor-price-unit { font-size: 24rpx; color: #71717a; }
|
|
.mentor-btn { padding: 12rpx 32rpx; background: #fff; color: #000; font-size: 24rpx; font-weight: bold; border-radius: 999rpx; }
|
|
|
|
.empty { padding: 96rpx; text-align: center; color: rgba(255,255,255,0.4); }
|
|
.bottom-space { height: 80rpx; }
|