锦水居民端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

422 lines
6.4 KiB

page {
width: 100%;
height: auto;
overflow-y: auto;
background: #fff;
}
.header {
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}
.header .header-bg {
width: 100%;
height: 100%;
position: absolute;
z-index: 10;
left: 0;
top: 0;
}
.header .navigation {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.9);
font-size: 32rpx;
position: relative;
z-index: 100;
letter-spacing: 2rpx;
}
.home {
width: 100%;
}
.belong-grid {
width: 100%;
height: 100rpx;
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.belong-grid .belong-grid-bg {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.belong-grid .grid {
width: 90%;
height: 100%;
position: relative;
z-index: 100;
display: flex;
align-items: center;
}
.belong-grid .grid .party-logo {
width: 24rpx;
height: 30rpx;
margin: 0 14rpx 0 22rpx;
}
.belong-grid .grid .grid-name {
font-size: 32rpx;
color: #fff;
}
.belong-grid .grid .more-grid {
width: 16rpx;
height: 22rpx;
margin-left: 10rpx;
margin-top: 5rpx;
}
.belong-grid .news {
width: 34rpx;
height: 34rpx;
margin-right: 22rpx;
position: relative;
z-index: 100;
}
/* bannner *********** start */
.banner {
width: 100%;
height: 340rpx;
}
.banner swiper {
width: 100%;
height: 340rpx;
}
.banner-item {
width: 100%;
height: 340rpx;
position: relative;
}
.banner-item .banner-img {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.banner-item .banner-content {
position: relative;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 100;
display: flex;
align-items: flex-end;
}
.banner-item .banner-content .title {
width: 100%;
height: 91rpx;
background: rgba(0, 0, 0, 0.4);
box-sizing: border-box;
padding: 0 20rpx;
display: flex;
/* align-items: center; */
justify-content: space-between;
}
.banner-item .banner-content .title .title-text {
width: 75%;
/* height: 50rpx; */
color: #fff;
font-size: 26rpx;
/* line-height: 50rpx; */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 10rpx;
}
/* 自定义轮播指示点样式 */
.indication {
height: 70rpx;
display: flex;
position: absolute;
/* bottom: -2rpx; */
right: 20rpx;
flex-direction: row;
/* align-items: center; */
justify-content: center;
}
/* 未选中指示点样式 */
.spot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
margin-right: 10rpx;
background-color: #c6c6c8;
}
/*选中指示样式 */
.spot.active {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background-color: #fff;
}
/* bannner *********** end */
/* 通知 start*/
.notice {
width: calc(100% - 88rpx);
height: 90rpx;
margin-left: 24rpx;
position: relative;
z-index: 888;
margin-top: -31rpx;
border-radius: 10rpx;
background: rgba(253, 253, 253, 1);
box-shadow: 0px 4px 29px 0px rgba(63, 63, 63, 0.1);
padding: 0 20rpx;
display: flex;
align-items: center;
}
.notice .left {
height: 28rpx;
width: calc(100% - 44rpx);
display: flex;
align-items: center;
}
.notice .left image {
height: 28rpx;
width: 62rpx;
}
.notice .left .circle {
width: 8rpx;
height: 8rpx;
background: #666;
border-radius: 50%;
margin-left: 21rpx;
}
.notice .left .notice-info {
height: 24rpx;
width: calc(100%-148rpx);
font-size: 24rpx;
font-weight: 500;
color: rgba(153, 153, 153, 1);
line-height: 24rpx;
margin-left: 22rpx;
}
/* 滚动start */
5 years ago
.havenotice {
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
5 years ago
width: calc(100%-148rpx);
}
.notice-broadcast-content {
margin-left: 12rpx;
width: 85%;
height: 20px;
position: relative;
top: 1px;
overflow: hidden;
}
.notice_list {
width: 100%;
}
.li {
5 years ago
color: #333;
font-size: 28rpx;
width: 100%;
height: 40rpx;
line-height: 40rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notice-broadcast-more {
font-size: 28rpx;
font-weight: normal;
color: #ffa650;
margin-top: 16rpx;
}
.nomorenotice {
5 years ago
color: #666;
margin-left: 14rpx;
}
.swiperitem {
height: 100%;
line-height: 30rpx;
}
.swiper-txt {
font-size: 28rpx;
5 years ago
color: #333;
line-height: 40rpx;
}
.swiper-position {
position: absolute;
margin: -20rpx 0 0 20rpx;
width: calc(100% - 200rpx);
z-index: 2;
height: 46rpx;
overflow: hidden;
}
.swiperview .wx-swiper-dots {
display: none;
}
/* 滚动end */
.notice .right {
height: 32rpx;
width: 44rpx;
position: relative;
}
.notice .right image {
position: absolute;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
}
.notice .right .name {
position: absolute;
text-align: center;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
font-size: 22rpx;
font-weight: 500;
color: rgba(255, 255, 255, 1);
line-height: 32rpx;
}
/* 通知 end*/
/* 我有事说 */
.grid-all {
height: 356rpx;
width: calc(100% - 54rpx);
margin-top: 29rpx;
margin-left: 27rpx;
}
.grid-all image {
height: 50%;
width: 50%;
float: left;
}
/* 我有事说 end*/
/* 列表样式 */
.list-all {
width: calc(100% - 48rpx);
margin-left: 21rpx;
}
.list-all .list-item {
border-bottom: 1rpx solid #eaeaea;
padding: 41rpx 18rpx 31rpx 15rpx;
display: flex;
align-items: center;
}
5 years ago
.list-all .list-item:last-child {
border: none;
}
.list-all .list-item .item-info {
width: calc(100% - 220rpx);
height: 146rpx;
position: relative;
}
.list-all .list-item .item-info .item-info-name {
width: calc(100% - 47rpx);
font-size: 32rpx;
font-weight: 500;
color: rgba(63, 63, 63, 1);
line-height: 50rpx;
5 years ago
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.list-all .list-item .item-info .item-info-time {
width: calc(100% - 23rpx);
height: 22rpx;
position: absolute;
bottom: 5rpx;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.list-all .list-item .item-info .item-info-time text {
font-size: 22rpx;
font-weight: 500;
color: rgba(170, 170, 170, 1);
line-height: 22rpx;
}
.list-all .list-item image {
width: 220rpx;
height: 146rpx;
border-radius: 10rpx;
}
5 years ago
.nomorenews {
display: flex;
justify-content: center;
align-items: center;
5 years ago
font-size: 28rpx;
color: #999;
padding: 20rpx;
}