JMApp/pages/map/map.wxss
2025-04-05 23:47:00 +08:00

235 lines
3.3 KiB
Plaintext

.map {
position: relative;
}
.custom-btn {
bottom: 200rpx;
left: 20rpx;
position: fixed;
}
.custom-btn .btn {
background: #fff;
border: 2rpx solid #e4e4e4;
border-radius: 50%;
box-sizing: border-box;
font-size: 44rpx;
height: 88rpx;
line-height: 84rpx;
margin-bottom: 28rpx;
text-align: center;
width: 88rpx;
z-index: 130;
}
.iconfont {
color: #333;
font-size: 48rpx;
}
.circle {
border: 2rpx solid #333;
border-radius: 50%;
box-sizing: border-box;
height: 40rpx;
margin: 22rpx;
width: 40rpx;
}
.circle-s {
height: 16rpx;
margin: 10rpx;
width: 16rpx;
}
.btn .img {
display: block;
height: 40rpx;
margin: 22rpx;
width: 40rpx;
}
map {
height: 100vh;
width: 100vw;
z-index: 0;
}
.weather {
left: 0;
position: fixed;
top: 0;
width: 100vw;
z-index: 100;
}
.blue-bg,.weather {
box-sizing: border-box;
}
.blue-bg {
background: #4cadf1;
overflow: hidden;
}
.inner-text {
padding: 70px 20px 10px;
position: relative;
z-index: 8;
}
.sun {
height: 174px;
left: 0;
position: absolute;
top: 0;
width: 100vw;
}
.air_tips {
color: #fff;
font-size: 13px;
overflow: hidden;
padding: 0 20px;
text-align: center;
text-overflow: ellipsis;
white-space: pre-wrap;
white-space: nowrap;
word-break: break-all;
}
.wea {
color: #333;
padding: 10px 0 4px;
}
.wea .temp {
display: inline-block;
font-size: 44px;
font-weight: 200;
line-height: 44px;
margin-right: 4px;
vertical-align: bottom;
}
.wea .text {
display: inline;
font-size: 14px;
line-height: 32px;
}
.intro {
align-items: center;
color: #333;
display: flex;
font-size: 13px;
justify-content: space-between;
}
.bottom {
position: relative;
top: -24px;
}
.top {
background: #a2cefb;
border-radius: 50%;
display: block;
margin: 0 auto;
z-index: 10;
}
.top,.top image {
height: 48px;
width: 48px;
}
.inner {
position: relative;
transition: all .3s;
}
.inner.totop {
top: -144px;
}
.inner.totop .bottom {
top: 0;
transform: rotateZ(180deg);
}
.shop {
background: #fff;
border-radius: 10px;
left: 5vw;
position: fixed;
top: -900px;
width: 90vw;
z-index: 102;
}
.shop.showshop {
top: 90px;
}
.shop .name {
color: #333;
font-size: 16px;
line-height: 1.5;
padding: 14px;
}
.border {
background: #f2f2f2;
height: 1px;
width: 100%;
}
.shop .add {
color: #666;
display: flex;
font-size: 14px;
justify-content: space-between;
line-height: 1.5;
padding: 14px;
}
.shop .add,.shop .add .l {
align-items: center;
}
.shop .add .l {
display: inline-flex;
}
.shop .add .text {
line-height: 1.5;
max-width: 50vw;
white-space: pre-wrap;
word-break: break-all;
}
.shop .add .location {
display: inline-block;
height: 14px;
margin-right: 3px;
width: 14px;
}
.shop .add .r {
align-items: center;
color: #4cadf1;
}
.shop .add .right {
display: inline-block;
height: 12px;
margin-left: 3px;
width: 12px;
}
.shop .tomap {
color: #4cadf1;
padding: 20px 0;
text-align: center;
}