index.wxss 3.8 KB
.slide-image {
  height: 300rpx;
  width: 100%;
}

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

.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;
}

.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;
  box-sizing: border-box;
}

.cell_top {
  display: flex;
  align-items: center;
  color: #333;
}

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

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

.c_right {
  width: 210rpx;
}

.c_right .name {
  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;
  padding: 0 32rpx;
  font-size: 24rpx;
  flex-wrap: wrap;
  border-bottom: 2rpx solid #e6e6e6;
}

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

.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 {
  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 {
  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: #666;
  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;
}

.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;
}