index.wxss 4.8 KB
page {
  background-color: rgb(240, 240, 240);
}

.slide-image {
  height: 300rpx;
  width: 100%;
}

.slide-image image {
  width: 100%;
  height: 100%;
}

/* 菜单 */
.home_menu {
  width: 608rpx;
  margin: 0rpx auto;
  margin-top: 40rpx;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.home_time {
  padding-left: 20rpx;
  width: 96rpx;
  font-size: 22rpx;
  text-align: center;
  margin-right: 30rpx;
  margin-bottom: 32rpx;
}

.home_time image {
  width: 96rpx;
  height: 96rpx;
}

.home_title {
  font-size: 24rpx;
  margin-top: 17rpx;
}


.index_volunteertitle {
  color: #666;
  font-size: 26rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32rpx 32rpx 0 32rpx;
}

.title {
  color: #333;
  padding: 0 0 0 20rpx;
  font-size: 32rpx;
  font-weight: bold;
  position: relative;
}


.more {
  color: #009E5F;
}

.more image {
  width: 10rpx;
  height: 17rpx;
}

.title::after {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 4rpx;
  height: 32rpx;
  background: #21ae59;
}

.volunteerbox {
  margin: 0 32rpx;
  color: #999;
  font-size: 26rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.volunteercell {
  /* width: 48%; */
  /* padding: 56rpx 0; */
  padding: 24rpx 0;
  box-sizing: border-box;
}

.cell_top {
  width: 160rpx;
  height: 246rpx;
  text-align: center;
  padding-top: 24rpx;
  /* display: flex;
  align-items: center; */
  color: #333;
  border-radius: 7px;
  background-color: #ffffff;
}

.cellimg {
  /* display: flex;
  align-items: cneter;
  justify-content: center; */
  /* margin-right: 19rpx; */
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.cellimg image {
  width: 100%;
  height: 100%;
  display: block;
}

.c_right {
  /* width: 210rpx; */
  margin: 0 auto;

}

.c_right .name {
  padding-top: 8rpx;
  font-size: 30rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c_right .province {
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(153, 153, 153, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.index_newbox {
  margin: 32rpx 0rpx 0 0rpx;
}

.new_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #999;
  margin-top: 24rpx;
  padding: 0 32rpx;
  font-size: 24rpx;
  flex-wrap: wrap;
  /* border-bottom: 2rpx solid #e6e6e6; */

}

.new_cell {
  width: 48%;
  /* padding: 29rpx 0rpx; */

  background-color: #ffffff;
  border-radius: 7px;
  overflow: hidden;

}

.new_cell:nth-child(2n) {
  margin: 0 0 0 10rpx;
}

.new_cellmain {
  overflow: hidden;
}

.new_img {
  width: 336rpx;
  height: 220rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.new_img image {
  width: 100%;
  height: 100%;
  display: block;
}

.new_title {
  padding: 0 16rpx;
  height: 76rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 18rpx 0 13rpx 0;
  color: #292929;
  font-size: 28rpx;
}

.activity_title {
  margin: 0 32rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title_box {
  padding: 0 16rpx;
  margin: 18rpx 0 13rpx 0;
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(153, 153, 153, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wz_box {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title_box .word {
  max-width: 200rpx;
  color: #FF976A;
  font-size: 24rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.star_box {
  width: auto;
  height: auto;
}

.star_box image {
  width: 18rpx;
  height: 18rpx;
  padding-right: 10rpx;
}

.star_box image:last-child {
  padding-right: 0;
}

.review_box {
  width: 100%;
  margin-top: 23rpx;
  padding: 0 32rpx;
  box-sizing: border-box;

}

.review_wrap {
  background: #ffffff;
  border-radius: 5px;
  padding: 0 16rpx;
  margin-bottom: 24rpx;
}



.r_item {
  width: 100%;
  padding: 33rpx 0 27rpx;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-bottom: 2rpx solid #E6E6E6; */
}

.r_item:last-child {
  border-bottom: none;
}

.r_item .r_left {
  width: 637rpx;
}

.r_item .r_left .r_title {
  font-size: 30rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(41, 41, 41, 1);
}

.r_item .r_left .r_info {
  width: 100%;
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(153, 153, 153, 1);
}

.r_item .r_left .r_info text:first-child {
  margin-right: 78rpx;
}

.r_item .r_right {
  width: 14rpx;
  height: 24rpx;
}