245 lines
3.7 KiB
Plaintext
245 lines
3.7 KiB
Plaintext
/* pages/home/index.wxss */
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: 160rpx;
|
|
background: #fff;
|
|
border-bottom: 2rpx solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.header .item-box {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #747377;
|
|
font-size: 24rpx;
|
|
line-height: 24rpx;
|
|
}
|
|
|
|
.header .item-box.isActive {
|
|
color: #ffca00;
|
|
}
|
|
|
|
.header .item-box>image {
|
|
width: 66rpx;
|
|
height: 58rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.body {
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
/* .body .swiper-box {
|
|
position: absolute;
|
|
top: 4rpx;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 700rpx;
|
|
height: 200rpx;
|
|
background: #fff;
|
|
z-index: 10001;
|
|
border-radius: 10rpx;
|
|
box-shadow: 0px 2rpx 8rpx rgba(136, 136, 136, 0.6);
|
|
} */
|
|
|
|
.body .map-box {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-item-box {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
height: 160rpx;
|
|
padding: 10rpx 30rpx;
|
|
background: #fff;
|
|
}
|
|
|
|
.notice-item-box .image-box {
|
|
position: relative;
|
|
width: 220rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-item-box .image-box .shadow-image {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 50rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-item-box .image-box .show-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-item-box .text-box {
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.notice-item-box .text-box .tip {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 36rpx;
|
|
padding: 4rpx 12rpx;
|
|
line-height: 36rpx;
|
|
font-size: 24rpx;
|
|
background: #424242;
|
|
color: #fff;
|
|
}
|
|
|
|
.notice-item-box .text-box .message {
|
|
margin-top: 56rpx;
|
|
margin-right: 20rpx;
|
|
height: 90rpx;
|
|
font-size: 22rpx;
|
|
line-height: 30rpx;
|
|
white-space: normal;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
color: #8f8f8f;
|
|
}
|
|
|
|
/* .notice-box {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.notice-box .notice {
|
|
position: relative;
|
|
padding: 20rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: calc(100% - 40rpx);
|
|
}
|
|
|
|
.notice-box .notice .text-box {
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.notice-box .notice .text-box .tip {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 36rpx;
|
|
line-height: 36rpx;
|
|
font-size: 24rpx;
|
|
background: #424242;
|
|
color: #fff;
|
|
}
|
|
|
|
.notice-box .notice .text-box .message {
|
|
margin-top: 56rpx;
|
|
margin-right: 20rpx;
|
|
height: 90rpx;
|
|
font-size: 22rpx;
|
|
line-height: 30rpx;
|
|
white-space: normal;
|
|
color: #8f8f8f;
|
|
}
|
|
|
|
.notice-box .notice .image-box {
|
|
position: relative;
|
|
width: 220rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-box .notice .image-box .shadow-image {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 50rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.notice-box .notice .image-box .show-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
} */
|
|
|
|
.share-box {
|
|
position: absolute;
|
|
top: 30rpx;
|
|
/* left: 30rpx; */
|
|
width: 130rpx;
|
|
height: 190rpx;
|
|
}
|
|
|
|
.share-box .title {
|
|
font-size: 22rpx;
|
|
line-height: 30rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.phone-box {
|
|
position: absolute;
|
|
bottom: 30rpx;
|
|
left: 30rpx;
|
|
width: 130rpx;
|
|
height: 130rpx;
|
|
}
|
|
|
|
.mine-box {
|
|
position: absolute;
|
|
bottom: 30rpx;
|
|
right: 30rpx;
|
|
width: 130rpx;
|
|
height: 130rpx;
|
|
}
|
|
|
|
.hide-btn {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: none;
|
|
z-index: 10001;
|
|
}
|
|
|
|
.hide-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.wx-button-cover-view-wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
.wx-button-cover-view-inner {
|
|
height: 100%;
|
|
}
|
|
|
|
.img {
|
|
width: 130rpx;
|
|
height: 130rpx;
|
|
}
|