defense.sass 3.77 KB
/* packageEquity/pages/aiCheck/defense/defense.wxss */
page {
  background-color: #fff;
  position: fixed;
  left: 0;
  right: 0;
}
.navigation-header .navigation-bar {
  background-color: transparent;
  box-shadow: none;
}
.bg {
  box-sizing: border-box;
  width: 100%;
  height: 538rpx;
  position: fixed;
  
  left: 0;
  top: 0;
  z-index: -1;
}
.bg2 {
  background: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/aiCheck/defense/product1-bg.webp') no-repeat;
  background-size: 100%;
  }
.bg3 {
  background: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/aiCheck/defense/product2-bg.webp') no-repeat;
  background-size: 100%;
}
.navigation-header .navigation-bar {
  position: relative;
  box-shadow: none;
  .end-btn {
    position: absolute;
    left: 32rpx;
    bottom: 12rpx;
    width: 164rpx;
    height: 64rpx;
    background-color: #fff;
    border-radius: 50rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    font-weight: 500;
    font-size: 28rpx;

    .icon {
      width: 28rpx;
      height: 28rpx;
      margin-right: 15rpx;
    }
  }
}
.introduce-section {
  margin-top: 152rpx;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 48rpx 48rpx 0 0;
  .introduce-box {
    width: 100%;
    height: 144rpx;
    background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(235, 237, 242, .5) 18%);
    .type-tab {
      display: flex;
      width: 100%;
      flex-wrap: nowrap;
      padding: 32rpx 0;
      box-sizing: border-box;
      .tab-item {
        display: inline-flex;
        align-items: center;
        box-sizing: border-box;
        height: 72rpx;
        background: #FFFFFF;
        border: 2rpx solid #F8F3E9;
        border-radius: 12rpx;
        font-size: 28rpx;
        color: #949494;
        margin-right: 16rpx;
        padding: 0 20rpx 0 16rpx;
        &:last-child {
          margin-right: 32rpx;
        }
        &:first-child {
          margin-left: 32rpx;
        }
        .icon {
          width: 40rpx;
          height: 40rpx;
          margin-right: 4rpx;
        }
        &.active {
          font-weight: 500;
          color: #140A00;
          background-image: linear-gradient(90deg, #F4FCFF 0%, #FFF9F2 100%);
          border: 4rpx solid #FCDEB0;
        }
      }
    }
  }
}
  
scroll-view {
  width: 100%;
  white-space: nowrap;  // 不让它换行
}
.content {
  width: 100%;
  height: calc(100% - 144rpx);
  box-sizing: border-box;
  background-color: rgba(235, 237, 242, .5);
  .content-list {
    padding: 0 32rpx 40rpx;
    box-sizing: border-box;
  }
  &-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    // height: 168rpx;
    box-sizing: border-box;
    border-radius: 16rpx;
    background-color: #fff;
    padding: 28rpx 20rpx 28rpx 28rpx;
    margin-bottom: 20rpx;
    &:last-child {
      margin-bottom: 24rpx;
    }
    .title {
      font-weight: 500;
      font-size: 28rpx;
      color: #333333;
    }
    .child-title {
      display: inline-flex;
      align-items: center;
      font-size: 24rpx;
      color: #333333;
      // line-height: 56rpx;
      background-image: linear-gradient(93deg, #F0FCFF 0%, #F0F5FF 51%, #F8F5FF 100%);
      border-radius: 48rpx 48rpx 48rpx 2rpx;
      margin-top: 16rpx;
      padding: 12rpx 24rpx;
      max-width: 518rpx;
      box-sizing: border-box;
      word-wrap:break-word;
      word-break:normal; 
      white-space: normal;
    }
    .right {
      width: 96rpx;
      height: 96rpx;
    }
  }
}
.end {
  font-size: 24rpx;
  color: #999999;
  text-align: center;
  padding-bottom: 20rpx;
}