223 lines
3.9 KiB
Plaintext
223 lines
3.9 KiB
Plaintext
/* pageage/mobile_attendance/attendance_config/add/index.wxss */
|
|
|
|
.map-hint {
|
|
color: #1989fa;
|
|
font-size: 28rpx;
|
|
padding: 20rpx 0;
|
|
text-align: center;
|
|
background-color: #2d323c; /* 深色背景 */
|
|
border-radius: 8rpx;
|
|
margin-bottom: 20rpx;
|
|
border: 2rpx solid #3d424d;
|
|
}
|
|
|
|
.map-container {
|
|
height: 400rpx;
|
|
border: 2rpx solid #3d424d;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
background-color: #2d323c; /* 深色背景 */
|
|
}
|
|
|
|
.map {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.selected-location {
|
|
padding: 30rpx;
|
|
background-color: #212737; /* 深色背景 */
|
|
border-radius: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
font-size: 28rpx;
|
|
color: #fff; /* 浅色文字 */
|
|
text-align: left;
|
|
}
|
|
|
|
/* 全屏地图样式 */
|
|
.full-screen-map {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9999;
|
|
background-color: #191d28; /* 使用项目主色调 */
|
|
}
|
|
|
|
.map-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 100rpx;
|
|
padding: 0 30rpx;
|
|
background-color: #191d28; /* 使用项目主色调 */
|
|
box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.3);
|
|
position: fixed;
|
|
top: 75rpx;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1001;
|
|
box-sizing: border-box;
|
|
border-bottom: 2rpx solid #2d323c;
|
|
}
|
|
|
|
.back-btn {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
padding: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.back-btn image {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
}
|
|
|
|
.map-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #ffffff; /* 白色文字 */
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 搜索框样式 */
|
|
.search-container {
|
|
position: fixed;
|
|
top: 160rpx;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 20rpx 30rpx;
|
|
background-color: #191d28;
|
|
z-index: 1001;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
border-bottom: 2rpx solid #2d323c;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
height: 72rpx;
|
|
padding: 0 24rpx;
|
|
background-color: #2d323c;
|
|
border: 2rpx solid #3d424d;
|
|
border-radius: 8rpx;
|
|
color: #ffffff;
|
|
font-size: 28rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: #999999;
|
|
}
|
|
|
|
.search-btn {
|
|
width: 120rpx;
|
|
height: 72rpx;
|
|
background-color: #1989fa;
|
|
border-radius: 8rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.dept-name{
|
|
display: inline-block;
|
|
color:orange;
|
|
}
|
|
.search-btn:active {
|
|
background-color: #0c7ae6;
|
|
}
|
|
|
|
.full-map {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-top: 194rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.location-info {
|
|
position: fixed;
|
|
bottom: 160rpx;
|
|
left: 40rpx;
|
|
right: 40rpx;
|
|
background-color: rgba(40, 44, 52, 0.95); /* 深色背景 */
|
|
padding: 30rpx;
|
|
border-radius: 16rpx;
|
|
box-shadow: 0 4rpx 24rpx rgba(0,0,0,0.3);
|
|
z-index: 1000;
|
|
backdrop-filter: blur(20rpx);
|
|
box-sizing: border-box;
|
|
border: 2rpx solid #2d323c;
|
|
}
|
|
|
|
.location-address {
|
|
font-size: 28rpx;
|
|
color: #e0e0e0; /* 浅灰色文字 */
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.confirm-bottom-btn {
|
|
position: fixed;
|
|
bottom: 40rpx;
|
|
left: 40rpx;
|
|
right: 40rpx;
|
|
background-color: #1989fa; /* 保持蓝色按钮 */
|
|
color: white;
|
|
border-radius: 16rpx;
|
|
font-size: 32rpx;
|
|
text-align: center;
|
|
padding: 30rpx;
|
|
z-index: 1000;
|
|
box-shadow: 0 8rpx 24rpx rgba(25, 137, 250, 0.3);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.confirm-bottom-btn:active {
|
|
background-color: #0c7ae6;
|
|
}
|
|
|
|
/* 搜索结果列表样式 */
|
|
.search-results {
|
|
position: fixed;
|
|
top: 270rpx;
|
|
left: 0;
|
|
right: 0;
|
|
max-height: 90%;
|
|
background-color: #2d323c;
|
|
z-index: 1002;
|
|
overflow-y: auto;
|
|
box-sizing: border-box;
|
|
border-bottom: 2rpx solid #3d424d;
|
|
height:calc(100vh - 270rpx);
|
|
}
|
|
|
|
.search-result-item {
|
|
padding: 30rpx;
|
|
border-bottom: 2rpx solid #3d424d;
|
|
color: #e0e0e0;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.search-result-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.search-result-item:active {
|
|
background-color: #3d424d;
|
|
}
|
|
|
|
.search-result-title {
|
|
font-weight: bold;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.search-result-address {
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
} |