市北党建引领小程序初始化
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.
 

528 lines
8.8 KiB

page {
background: #f7f7f7;
}
.home {
width: 100%;
height: 100%;
}
.nav {
height: 94rpx;
width: 100%;
padding: 0 20rpx;
box-sizing: border-box;
display: flex;
background: #ff4e4a;
justify-content: flex-start;
align-items: center;
}
.nav-logo {
width: 40rpx;
height: 40rpx;
}
.nav-logo image {
display: flex;
justify-content: center;
margin-top: 4rpx;
width: 32rpx;
height: 32rpx;
}
.nav-subjection {
font-size: 32rpx;
color: #fff;
margin-left: 6rpx;
}
.nav-next {
width: 26rpx;
height: 40rpx;
position: relative;
margin-left: 12rpx;
}
.nav-next image {
display: flex;
justify-content: center;
margin-top: 10rpx;
width: 16rpx;
height: 26rpx;
}
.border {
padding: 20rpx 20rpx 0;
box-sizing: border-box;
width: 100%;
}
.slider-layout {
height: 360rpx;
width: 100%;
padding: 20rpx 0;
box-sizing: border-box;
background: linear-gradient(to bottom, #ff4e4a 20%, #f7f7f7 20%, #f7f7f7 100%);
}
.slider {
min-width: 100%;
height: 320rpx;
}
.slider swiper-item navigator {
width: 100%;
height: 320rpx;
position: relative;
padding: 0rpx 30rpx;
box-sizing: border-box;
}
.banner {
overflow: hidden;
height: 320rpx;
display: flex;
width: 100%;
margin: 0rpx auto;
border-radius: 8px;
}
.swiper-label {
position: absolute;
bottom: 2rpx;
display: flex;
border-radius: 0 0 14rpx 14rpx;
left: 30rpx;
right: 30rpx;
height: 50rpx;
color: #ffffff;
font-size: 26rpx;
line-height: 50rpx;
padding-left: 20rpx;
background-color: rgba(0, 0, 0, 0.3);
}
.swiper-label-text{
width:70%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wx-swiper-dots {
position: absolute;
left: unset!important;
right: 20rpx;
}
.wx-swiper-dots.wx-swiper-dots-horizontal {
margin-bottom: -3rpx;
margin-left: 170rpx;
}
.swiper-item navigator,.swiper-item2 navigator {
width: 100%;
height: 320rpx;
position: relative;
}
.slide-image {
width: 600rpx;
height: 100%;
border-radius: 4rpx;
}
.swiper-slide-active {
height: 360rpx;
transition: all .1s;
}
.notice {
height: 128rpx;
width: 100%;
background: #ffffff;
border-radius: 16rpx;
margin-bottom: 16rpx;
}
.notice-myinfo {
height: 128rpx;
width: 100%;
box-sizing: border-box;
padding: 0 24rpx;
}
.notice-myinfo-logo {
width: 72rpx;
height: 72rpx;
margin-top: 28rpx;
float: left;
}
.notice-myinfo-logo image {
width: 100%;
height: 100%;
}
.notice-myinfo-content {
margin-left: 100rpx;
height: 126rpx;
line-height: 126rpx;
font-size: 28rpx;
text-indent: 8rpx;
color: #999999;
}
.notice-myinfo-content-top {
display: flex;
justify-content: space-between;
padding-top: 22rpx;
}
.notice-myinfo-content-top span {
display: inline-block;
font-size: 32rpx;
font-weight: normal;
font-stretch: normal;
line-height: 42rpx;
letter-spacing: 0rpx;
color: #333333;
}
.notice-myinfo-content-top .amount {
width: 44rpx;
height: 34rpx;
font-size: 22rpx;
line-height: 30rpx;
text-align: center;
border-radius: 8rpx;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAgCAYAAABpRpp6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARtJREFUeNrs2L9qwlAUx/FjrOjmI0iHONS9r+C/h3Com9CCi5N7u7az7k4digi+gLi4WDq2g0NjO3VQ1Laxv4NHCYGu4Ry4B74QcpcP4SaQmwovixSbC3SFaugcZSnZ2aJXNEI99BJdTEXAZ+gOXcu1hvlB96gj1ydYGj2hCuka9rVRCdXRrycLtwqx0SmLkRjsoxvSP2z0PXnBMgbAbGwyuEp2psLgoiFwgcE5Q+C8R8bGgR3YgR3YgR3YgTXNzho4sAaeWgMPLIFn6NEK+As1UGgB/CH/nc/aP2sr9ECHQ5TJ8eZ/R1J8vjWUffOZMHSDFvxFQOv4Yhy8R33URe8aHzuDv+WQIpCNPda8oRk8R2+ohZba38A/AQYAbb8vEivhOYkAAAAASUVORK5CYII=);
background-size: 44rpx 34rpx;
text-indent: -1rpx;
color: #ffffff;
}
.notice-myinfo-content-bottom {
display: flex;
justify-content: space-between;
}
.notice-myinfo-content-bottom span {
font-size: 24rpx;
font-weight: normal;
font-stretch: normal;
line-height: 42rpx;
letter-spacing: 0rpx;
color: #999999;
}
.notice-broadcast {
height: 80rpx;
width: 100%;
padding: 0 23rpx;
box-sizing: border-box;
display: flex;
align-items: center;
}
.notice-broadcast-logo {
width: 32rpx;
height: 32rpx;
}
.notice-broadcast-logo image {
width: 100%;
height: 100%;
}
.havenotice {
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
width: calc(100% - 37rpx);
}
.notice-broadcast-content {
margin-left: 12rpx;
width: 85%;
height: 20px;
position: relative;
top: 1px;
overflow: hidden;
}
.notice_list {
width: 100%;
}
.li {
color: #333333;
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 {
color: #666666;
margin-left: 14rpx;
}
.swiperitem {
height: 100%;
}
.swiper-txt {
font-size: 28rpx;
color: #333333;
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;
}
.news-list {
width: 100%;
background: #ffffff;
list-style: none;
border-radius: 15rpx;
}
.nomorenews{
display: flex;
justify-content: center;
align-items: center;
font-size:28rpx;
color:#999999;
padding: 20rpx;
}
.news-list-li {
height: 220rpx;
margin: 0 25rpx;
padding-top: 28rpx;
box-sizing: border-box;
border-bottom: 1px solid #eaeaea;
}
.news-list-li:last-child {
border:none;
}
.item-left {
width: 62%;
float: left;
height: 100%;
position: relative;
box-sizing: border-box;
padding-left: 8rpx;
}
.item-left .title {
white-space: normal !important;
width: 100%;
max-height: 100rpx;
font-size: 36rpx;
line-height: 40rpx;
letter-spacing: 1rpx;
color: #333333;
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
word-wrap:break-word;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
margin-top: -4rpx;
}
.time {
font-size: 22rpx;
font-weight: normal;
color: #999999;
}
.address {
font-size: 22rpx;
font-weight: normal;
color: #999999;
position: absolute;
left: 8rpx;
bottom: 30rpx;
}
.item-right {
float: right;
width: 240rpx;
height: 170rpx;
}
.item-right image{
width: 240rpx;
height: 160rpx;
border-radius: 10rpx;
}
.swiper-wrapper {
width: 100%;
height: 100%;
}
.swiper-slide {
width: 100%;
height: 100%;
border-radius: 15rpx;
overflow: hidden;
}
.content {
width: 100%;
height: 100%;
background: #fdf6e3;
box-sizing: border-box;
padding: 0 20rpx;
}
.top {
height: 64rpx;
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 5px;
}
.content .top .div {
width: 118rpx;
height: 44rpx;
color: #ffffff;
line-height: 38rpx;
text-align: center;
font-size: 24rpx;
}
.picture {
width: 100%;
height: 240rpx;
border-radius: 8rpx;
overflow: hidden;
}
.picture image{
width: 100%;
height: 240rpx;
}
.content .top .p {
color: #999999;
font-size: 20rpx;
}
.title {
height: 80rpx;
width: 100%;
line-height: 80rpx;
font-size: 36rpx;
color: #333333;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.remark {
width: 100%;
height: 48rpx;
line-height: 48rpx;
background: rgba(0, 0, 0, 0.05);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
color: #777777;
font-size: 28rpx;
border-radius: 24rpx;
text-indent: 10px;
margin-bottom: 25rpx;
}
.info {
width: 100%;
height: 87rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.info .left {
display: flex;
align-items: center;
height: 100%;
position: relative;
top: 1px;
}
.info .left image {
width: 30rpx;
height: 30rpx;
margin-right: 8rpx;
border-radius: 50%;
overflow: hidden;
}
.info .left span {
display: inline-block;
color: #444444;
font-size: 20rpx;
}
.right {
width: 110rpx;
height: 36rpx;
border-radius: 18rpx;
background: rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: center;
}
.right .div {
height: 36rpx;
line-height: 32rpx;
color: #999999;
font-size: 20rpx;
margin-right: 8rpx;
position: relative;
top: 1px;
}
.right image {
width: 26rpx;
height: 26rpx;
}
.sudoku {
width: 100%;
height: auto;
background: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 20rpx;
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 20rpx;
grid-row-gap: 20rpx;
margin-bottom: 20rpx;
}
.sudoku .item {
position: relative;
height: 156rpx;
}
.sudoku .item image {
width: 100%;
height: 100%;
}
.sudoku .shadow {
border-radius: 16rpx;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.sudoku .hover-sudoku {
background: rgba(0,0,0,0.2);
}