daofu-applet/pages/the-masses/index/index.wxss
2024-06-04 14:45:44 +08:00

510 lines
8.1 KiB
Plaintext

/**index.wxss**/
/**index.wxss**/
page {
background: linear-gradient( 180deg, #4281FF 0%, #E7EDFA 45%, #F9F9F9 100%);
}
.top{
width: 100vw;
height: 160rpx;
}
.wx-swiper-dots .wx-swiper-dot {
width: 40rpx;
height: 10rpx;
border-radius: 4rpx;
}
.wx-swiper-dots.wx-swiper-dots-horizontal {
bottom: 80rpx;
width: 90%;
text-align: left;
}
/* 背景 */
.item-bg {
padding: 0 32rpx;
margin: 0 20rpx;
margin-top: 20rpx;
box-shadow: 0rpx 2rpx 2rpx 0rpx #E5E5E5;
border-radius: 12rpx;
}
.item-msg {
height: 90rpx;
margin-top: -10rpx;
display: flex;
align-items: center;
}
.item-msg .img {
width: 52rpx;
height: 60rpx;
margin-right: 32rpx;
}
.item-msg .txt {
flex: 1;
font-size: 28rpx;
padding-right: 32rpx;
color: #777777;
}
.swiper-msg {
/* margin-top: -80rpx; */
height: 400rpx;
padding: 0;
}
.swiper-msg .item {
width: 100%;
height: 100%;
border-radius: 12rpx;
position: relative;
}
.swiper-msg .img {
width: 100%;
height: 100% !important;
}
.swiper-msg .item .title {
background-color: #000000BF;
position: absolute;
bottom: 0;
z-index: 1;
left: 0;
right: 0;
color: white;
padding: 15rpx 20rpx;
font-size: 28rpx;
}
.item-bg .title {
padding-top: 20rpx;
}
.item-bg .title .tab {
background-color: #f5f5f5;
border-radius: 10rpx;
}
.item-bg .title .tab text {
padding: 5rpx 25rpx;
font-size: 26rpx;
display: flex;
align-items: center;
justify-content: center;
}
.item-bg .title .tab .checked {
background-color: rgba(116, 180, 240, 1);
color: white;
}
.item-bg .title .tab .left {
border-radius: 10rpx 0 0 10rpx;
}
.item-bg .title .tab .center {}
.item-bg .title .tab .right {
border-radius: 0 10rpx 10rpx 0;
}
.item-bg .title .icon {
width: 24rpx;
height: 24rpx;
margin-right: 20rpx;
}
.item-bg .title .txt {
font-size: 32rpx;
font-weight: bold;
color: #222222;
}
/* 为民服务 */
.service {
width: 95vw;
height: 100rpx;
margin: 32rpx auto;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
display: flex;
align-items: center;
}
.service .serviceFuwuImg {
width: 60rpx;
height: 68rpx;
margin-left: 22rpx;
margin-right: 5rpx;
}
.service .service_con{
display: flex;
background-color: #F4F8FFFF;
height: 60rpx;
flex: 1;
margin-right: 40rpx;
align-items: center;
}
.service .service_con .serviceTitleImg {
width: 132rpx;
height: 46rpx;
margin-right: 22rpx;
margin-left: 22rpx;
}
.service .service_con .con {
width: 264rpx;
height: 34rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #A3A9C4;
}
.study {
width: 95vw;
/* height: 100%; */
border-radius: 12rpx;
background-color: #FFFFFFFF;
margin: auto;
}
.studyOption {
width: 88vw;
height: 200rpx;
margin: auto;
display: flex;
padding: 20rpx 0rpx;
}
.study_left {
display: flex;
position: relative;
}
.study_left image {
width: 262rpx;
height: 154rpx;
border-radius: 8rpx;
}
.study_left view {
position: absolute;
top: 0;
left: 0;
width: 110rpx;
height: 40rpx;
border-radius: 8rpx 0rpx 8rpx 0rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
text-align: center;
background-color: #01010166;
}
.study_right {
width: 100%;
margin-left: 20rpx;
display: flex;
flex-direction:column;
justify-content: space-between;
}
.study_right .study_right_title {
font-family: PingFang SC, PingFang SC;
font-weight: 600;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: left;
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.study_right .study_right_con{
display: flex;
justify-content: space-between;
font-family: PingFang SC, PingFang SC;
font-size: 22rpx;
color: #545454;
}
.cu-item {
font-size: 30rpx;
font-weight: bold;
}
.filter {
margin: -1rpx;
height: 80rpx;
display: flex;
flex-direction: row;
background-color: white;
border-radius: 10rpx;
align-items: center;
}
.filter picker {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
}
/* components/notice/index.wxss */
.swiper-msg {
/* margin-top: -80rpx; */
height: 400rpx;
padding: 0;
}
.swiper-msg .item {
width: 100%;
height: 100%;
border-radius: 12rpx;
position: relative;
}
.swiper-msg .img {
width: 100%;
height: 100% !important;
}
.swiper-msg .item .title {
background-color: #000000BF;
position: absolute;
bottom: 0;
z-index: 1;
left: 0;
right: 0;
color: white;
padding: 15rpx 20rpx;
font-size: 28rpx;
}
.study {
width: 95vw;
/* height: 100%; */
border-radius: 12rpx;
background-color: #FFFFFFFF;
margin: 40rpx auto;
}
.studyOption {
width: 88vw;
height: 200rpx;
margin: auto;
display: flex;
padding: 20rpx 0rpx;
}
.study_left {
display: flex;
position: relative;
}
.study_left image {
width: 262rpx;
height: 154rpx;
border-radius: 8rpx;
}
.study_left view {
position: absolute;
top: 0;
left: 0;
width: 110rpx;
height: 40rpx;
border-radius: 8rpx 0rpx 8rpx 0rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
text-align: center;
background-color: #01010166;
}
.study_right {
margin-left: 20rpx;
display: flex;
flex-direction:column;
justify-content: space-between;
}
.study_right .study_right_title {
font-family: PingFang SC, PingFang SC;
font-weight: 600;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: left;
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.study_right .study_right_con{
display: flex;
justify-content: space-between;
font-family: PingFang SC, PingFang SC;
font-size: 22rpx;
color: #545454;
}
.suqiucontent{
width: 100%;
}
.suqiucontent view:nth-child(1){
display: flex;
justify-content: space-between;
}
.content {
display: flex;
flex-direction: column;
}
.content .filter {
margin: 0 10rpx;
width: calc(100vw - 20rpx);
height: 80rpx;
display: flex;
flex-direction: row;
background-color: white;
border-radius: 10rpx;
align-items: center;
}
.content .filter picker {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
}
.content .item {
background-color: #ffffff;
padding: 32rpx 20rpx 20rpx 20rpx;
box-shadow: 0px 0px 6px 1px #DDECF3;
margin: 16rpx 16rpx 0 16rpx;
border-radius: 10rpx;
}
.content .item .val::before {
display: inline-block;
content: '';
width: 20rpx;
height: 20rpx;
margin-right: 10rpx;
border-radius: 50%;
background-color: var(--blue);
}
.content .item .val {
font-size: 30rpx;
color: #222222;
margin-left: 16rpx;
padding: 10rpx 0;
}
.item .content {
font-size: 32rpx;
margin-right: 30rpx;
}
.item .content .time::before {
display: inline-block;
content: '';
width: 20rpx;
height: 20rpx;
margin-right: 10rpx;
border-radius: 50%;
background-color: var(--blue);
}
.item .content .title {
display: flex;
align-items: center;
}
.item .content .des {
margin: 10rpx 0;
}
.item .content .time {
font-size: 26rpx;
}
.item .content .title::before {
display: inline-block;
content: '';
width: 10rpx;
height: 30rpx;
margin-right: 10rpx;
border-radius: 5rpx;
background-color: var(--blue);
}
.item .content .des {
font-size: 30rpx;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.item .val {
font-size: 26rpx;
color: #222222;
margin-left: 16rpx;
}
.item .add {
color: var(--blue);
margin-left: 15rpx;
font-size: 30rpx;
margin-left: 20rpx;
}
.item .add .add-tv {
margin-left: 10rpx;
}
.item .line {
margin: 10rpx 0;
border-bottom: 1rpx dashed #f5f5f5;
}
.item .record {
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
color: var(--blue);
}
.item .more {
position: absolute;
right: 10rpx;
}
.line {
width: 1rpx;
height: 80%;
background-color: #f5f5f5;
}
.serve{
background-color: #ffffff;
padding: 10rpx;
margin: 10rpx;
}