page {
  background-image: url('@/static/index_bg.png');
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
}

.wrapper {
}

.logo {
  display: block;
  width: 358rpx;
}

.address {
  display: flex;
  align-items: center;

  &-text {
    font-size: 24rpx;
    text-align: right;
    color: #ffffff;
    margin-right: 16rpx;
  }

  &-icon {
    $size: 34rpx;

    width: $size;
    height: $size;
    display: block;
  }
}

.banner {
  border-radius: 15rpx;
  padding: 0 30rpx;
  overflow: hidden;

  &-list {
    height: 350rpx;
    border-radius: 15rpx;
    overflow: hidden;
  }

  &-item {
    width: 100%;
    height: 100%;
  }

  &-img {
    width: 100%;
    height: 100%;
    border-radius: 15rpx;
  }
}

/* 修改圆点样式 */
::v-deep .uni-swiper-dots.uni-swiper-dots-horizontal {
  margin-bottom: 0rpx;
  float: left;
  text-align: center;
}
::v-deep .uni-swiper-dot::before {
  content: '';
  flex-grow: 1;
  background: #fff;
  border-radius: 15rpx;
  border: 0rpx;
}
::v-deep .uni-swiper-dot.uni-swiper-dot {
  width: 14rpx;
  height: 6rpx;
  opacity: 0.5;
  background: #ffffff;
  border-radius: 4rpx;
}
::v-deep .uni-swiper-dot.uni-swiper-dot-active {
  width: 22rpx;
  height: 6rpx;
  opacity: 1;
  background: #ffffff;
  border-radius: 4rpx;
}

.notice {
  height: (72rpx * 3);
  padding: 0 30rpx;

  &-content {
    font-size: 28rpx;
    font-weight: 400;
    color: #333333;
  }

  &-box {
    border-top-color: #f6f6f6;
    background: #ffffff;
    box-shadow: 0rpx 2rpx 0rpx 0rpx #f6f6f6 inset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15rpx 0;
  }

  &-right {
    width: 104rpx;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    &-icon {
      width: 40rpx;
      height: 40rpx;

      flex-shrink: 0;
    }

    &-number {
      font-size: 28rpx;
      font-weight: 700;
      color: #8171fc;
      margin-left: 12rpx;
    }
  }
}

.article {
  padding: 0 30rpx;

  &-list {
    width: 100%;
    padding: 20rpx 0;
    display: flex;
    align-items: center;
    overflow-x: scroll;
  }

  &-item {
    flex: 1;
    margin-right: 0;
    padding: 0 46rpx 0 55rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    &-name {
      &--none {
        width: 128rpx;
        font-size: 32rpx;
        font-weight: 500;
        text-align: center;
      }

      &--action {
        width: 128rpx;
        font-size: 32rpx;
        font-weight: 500;
        color: #8171fc;
        text-align: center;
      }
    }
  }

  &-task-line {
    &--none {
      margin-top: 20rpx;
      width: 70rpx;
      height: 4rpx;
      background: #fff;
      border-radius: 4rpx;
    }

    &--action {
      margin-top: 20rpx;
      width: 70rpx;
      height: 4rpx;
      background: #8171fc;
      border-radius: 4rpx;
    }
  }

  &-left {
    display: flex;
    margin-right: 30rpx;
    flex-direction: column;
    position: relative;
  }

  &-title {
    width: 420rpx;
    font-size: 28rpx;
    font-weight: 400;
    color: #333333;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  &-date {
    margin-top: 10rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #999999;
    position: absolute;
    bottom: 60rpx;
  }

  &-other {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
  }

  &-img {
    width: 294rpx;
    height: 192rpx;
    border-radius: 20rpx;
  }

  &-content {
    width: 100%;
    padding: 32rpx 0;
    border-bottom: 2rpx solid #f1f1f1;
    display: flex;
    justify-content: space-between;
  }
}

.browse {
  display: flex;
  align-items: center;
  margin-top: 30rpx;
  margin-right: 50rpx;

  &-icon {
    width: 32rpx;
    height: 32rpx;
  }

  &-icon2 {
    width: 36rpx;
    height: 36rpx;
  }

  &-number {
    font-size: 24rpx;
    font-weight: bold;
    color: #666666;
    margin-left: 12rpx;
  }
}

.look_more {
  font-size: 28rpx;
  color: #333333;
  text-align: center;
  line-height: 90rpx;
}
