268 lines
5.5 KiB
SCSS
268 lines
5.5 KiB
SCSS
|
|
|
|
.select-stadium {
|
|
width: 100%;
|
|
max-height: 80vh;
|
|
min-height: 80vh;
|
|
background: #f5f5f5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
box-sizing: border-box;
|
|
// 搜索区域
|
|
.search-section {
|
|
background: #f5f5f5;
|
|
padding: 26px 15px 0px 15px;
|
|
|
|
.search-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
.search-bar {
|
|
font-size: 16px;
|
|
display: flex;
|
|
height: 44px;
|
|
padding: 0 12px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 1;
|
|
border-radius: 999px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.06);
|
|
background: #FFF;
|
|
box-shadow: 0 4px 48px 0 rgba(0, 0, 0, 0.08);
|
|
.search-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.clear-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
&:active {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
}
|
|
.clear-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
font-size: 16px;
|
|
color: #333;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
.search-placeholder{
|
|
color: rgba(60, 60, 67, 0.60);
|
|
}
|
|
}
|
|
|
|
.map-btn {
|
|
display: flex;
|
|
height: 44px;
|
|
padding: 0 12px;
|
|
align-items: center;
|
|
gap: 2px;
|
|
border-radius: 999px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.06);
|
|
background: #FFF;
|
|
box-shadow: 0 4px 48px 0 rgba(0, 0, 0, 0.08);
|
|
box-sizing: border-box;
|
|
&:active {
|
|
background: #e0f0ff;
|
|
}
|
|
.map-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.map-text {
|
|
font-size: 16px;
|
|
color: #000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 热门球场区域
|
|
.hot-section {
|
|
padding: 23px 20px 10px 20px;
|
|
|
|
.hot-header {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.hot-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #000;
|
|
}
|
|
.hot-stadium-line{
|
|
height: 6px;
|
|
width: 1px;
|
|
background: rgba(22, 24, 35, 0.12);
|
|
margin: 0 12px;;
|
|
}
|
|
|
|
.booking-section {
|
|
display: flex;
|
|
align-items: center;
|
|
color: rgba(0, 0, 0, 0.50);
|
|
gap: 4px;
|
|
|
|
.booking-title {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.booking-status {
|
|
display: flex;
|
|
padding: 2px 5px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border-radius: 999px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.16);
|
|
background: #FFF;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.stadium-item-loading{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
.loading-icon{
|
|
color: #666;
|
|
font-size: 30px;
|
|
.nut-loading-icon{
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.nut-loading-text{
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
}
|
|
}
|
|
// 场馆列表
|
|
.stadium-list {
|
|
width: auto;
|
|
height: calc(80vh - 130px);
|
|
-webkit-overflow-scrolling: touch;
|
|
.stadium-item {
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
gap: 12px;
|
|
.stadium-item-left{
|
|
display: flex;
|
|
padding: 14px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 12px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.08);
|
|
background: rgba(0, 0, 0, 0.06);
|
|
.stadium-icon{
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
.stadium-item-right{
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
.stadium-name{
|
|
font-size: 16px;
|
|
color: #000;
|
|
font-weight: 600;
|
|
line-height: 24px;
|
|
display: flex;
|
|
|
|
.highlight-text {
|
|
color: #007AFF;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
.stadium-address{
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: rgba(0, 0, 0, 0.80);
|
|
font-size: 12px;
|
|
.stadium-address-text{
|
|
max-width: 70%;
|
|
overflow: hidden;
|
|
height: 16px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
.stadium-map-icon{
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 底部按钮区域
|
|
.bottom-actions {
|
|
background: white;
|
|
padding: 16px;
|
|
padding-bottom: calc(16px + env(safe-area-inset-bottom));
|
|
border-top: 1px solid #e5e5e5;
|
|
flex-shrink: 0;
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
|
|
.cancel-btn,
|
|
.confirm-btn {
|
|
flex: 1;
|
|
height: 48px;
|
|
border-radius: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cancel-btn {
|
|
background: #f5f5f5;
|
|
border: 1px solid #e0e0e0;
|
|
|
|
.cancel-text {
|
|
font-size: 16px;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.confirm-btn {
|
|
background: #333;
|
|
|
|
.confirm-text {
|
|
font-size: 16px;
|
|
color: white;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 搜索框占位符样式
|
|
.search-input::placeholder {
|
|
color: #999;
|
|
} |