officialAccount/unpackage/dist/dev/mp-weixin/pages/map/index.wxss

211 lines
4.5 KiB
Plaintext
Raw Normal View History

2025-06-11 17:33:34 +08:00
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
2025-06-09 17:33:50 +08:00
.container.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
2025-06-09 17:33:50 +08:00
}
.search-bar.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
position: absolute;
top: 0;
left: 0;
display: flex;
width: 100%;
height: 120rpx;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 3;
/* background: #fff; */
2025-06-09 17:33:50 +08:00
}
.search-bar input.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
flex: 1;
padding: 6px;
border: 1px solid #ccc;
border-radius: 4px;
2025-06-09 17:33:50 +08:00
}
.map.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.map .map-dian.data-v-a3704cdf {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
z-index: 2;
margin-bottom: 65rpx;
}
.goback.data-v-a3704cdf {
position: fixed;
bottom: 43vh;
right: 40rpx;
width: 100rpx;
height: 100rpx;
background-color: #fff;
border-radius: 20rpx;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 4rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
}
.goback .goback-imge.data-v-a3704cdf {
width: 55rpx;
height: 55rpx;
2025-06-09 17:33:50 +08:00
}
.result-list.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
position: fixed;
bottom: 0;
left: 0;
height: 40vh;
width: 94%;
margin-left: 3%;
border-top-right-radius: 35rpx;
border-top-left-radius: 35rpx;
background: #fff;
display: flex;
flex-direction: column;
align-items: center;
2025-06-09 17:33:50 +08:00
}
.poi-item.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
margin-top: 30rpx;
height: calc(40vh - 110rpx);
width: 100%;
overflow-y: auto;
2025-06-09 17:33:50 +08:00
}
.poi-name.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
font-weight: bold;
2025-06-09 17:33:50 +08:00
}
.poi-address.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
font-size: 12px;
color: #666;
2025-06-09 17:33:50 +08:00
}
.info.data-v-a3704cdf {
2025-06-11 17:33:34 +08:00
padding: 16px;
background: #fff;
text-align: center;
color: #999;
}
.search-bar-left.data-v-a3704cdf {
margin-left: 30rpx;
font-size: 32rpx;
font-weight: 600;
display: flex;
align-items: center;
}
.search-bar-right.data-v-a3704cdf {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: #fff;
background-color: #01a8ff;
}
.search-bar-right-bad.data-v-a3704cdf {
margin-right: 30rpx;
width: 120rpx;
height: 60rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
color: #eeeeee;
background-color: #fff;
}
.sousuo-bgc.data-v-a3704cdf {
width: 90%;
background-color: #eeeeee;
border-radius: 15rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin-top: 30rpx;
color: #999999;
}
.sousuo-bgc .sousuo-imge.data-v-a3704cdf {
width: 50rpx;
height: 50rpx;
margin-right: 20rpx;
}
.input-father.data-v-a3704cdf {
width: 100%;
display: flex;
align-items: center;
margin-top: 30rpx;
}
.input-father .input.data-v-a3704cdf {
margin: 0 5%;
padding-left: 5%;
width: 70%;
background-color: #eeeeee;
border-radius: 15rpx;
height: 75rpx;
color: #999999;
}
.input-father .input-button.data-v-a3704cdf {
font-size: 25rpx;
}
.left-imge.data-v-a3704cdf {
width: 30rpx;
height: 30rpx;
}
.poi-card.data-v-a3704cdf {
width: 100%;
height: 150rpx;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 50rpx;
position: relative;
}
.poi-card .card-title.data-v-a3704cdf {
font-size: 28rpx;
margin-bottom: 20rpx;
}
.poi-card .card-text.data-v-a3704cdf {
font-size: 25rpx;
color: #a7a7a7;
display: block;
width: calc(100% - 10rpx);
/* 视需要调整 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2025-06-09 17:33:50 +08:00
}
2025-06-11 17:33:34 +08:00
.target.data-v-a3704cdf {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 80rpx;
font-size: 40rpx;
color: skyblue;
}