159 lines
2.5 KiB
Plaintext
159 lines
2.5 KiB
Plaintext
// pages/main/travel-location-detail/index.less
|
|
.travel-location-detail {
|
|
width: 100vw;
|
|
min-height: 100vh;
|
|
box-sizing: border-box;
|
|
|
|
.status-card {
|
|
padding: 64rpx 24rpx;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
padding-top: 48rpx;
|
|
flex-direction: column;
|
|
padding-bottom: 128rpx;
|
|
|
|
.section {
|
|
margin-top: 32rpx;
|
|
|
|
> .title {
|
|
color: var(--theme-text-secondary);
|
|
padding: 0 32rpx;
|
|
font-size: 28rpx;
|
|
line-height: 64rpx;
|
|
}
|
|
|
|
&.title {
|
|
color: var(--theme-text-primary);
|
|
padding: 24rpx;
|
|
text-align: center;
|
|
margin-top: 24rpx;
|
|
background: var(--theme-bg-card);
|
|
box-shadow: 0 2px 12px var(--theme-shadow-light);
|
|
|
|
.title-text {
|
|
color: var(--theme-text-primary);
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--theme-text-secondary);
|
|
display: block;
|
|
font-size: 28rpx;
|
|
margin-top: 12rpx;
|
|
}
|
|
}
|
|
|
|
&.location {
|
|
|
|
.t-cell__title {
|
|
margin: 0;
|
|
}
|
|
|
|
.map {
|
|
padding: 0;
|
|
}
|
|
|
|
.mini-map {
|
|
width: 100%;
|
|
height: 520rpx;
|
|
}
|
|
|
|
.custom-callout {
|
|
width: fit-content;
|
|
max-width: 400rpx;
|
|
background: var(--theme-bg-card-secondary);
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, .15);
|
|
border-radius: 8rpx;
|
|
|
|
.callout-content {
|
|
padding: 12rpx 20rpx;
|
|
|
|
.callout-text {
|
|
color: var(--theme-text-primary);
|
|
overflow: hidden;
|
|
font-size: 28rpx;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.media {
|
|
|
|
.media-grid {
|
|
gap: 16rpx;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
.media-item {
|
|
width: 100%;
|
|
height: 200rpx;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border-radius: 12rpx;
|
|
|
|
.thumbnail {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.video-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
|
|
.thumbnail {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.play-icon {
|
|
top: 50%;
|
|
left: 50%;
|
|
color: rgba(255, 255, 255, .9);
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.navigate {
|
|
padding: 0 16rpx;
|
|
margin-top: 90rpx;
|
|
}
|
|
|
|
&.action {
|
|
gap: 24rpx;
|
|
display: flex;
|
|
padding: 0 16rpx;
|
|
|
|
.edit {
|
|
flex: 2;
|
|
}
|
|
|
|
.delete {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.delete-dialog {
|
|
padding: 16rpx 0;
|
|
|
|
.tips {
|
|
color: var(--theme-text-secondary);
|
|
font-size: 28rpx;
|
|
line-height: 1.5;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
}
|