overView.scss 3.15 KB
/* packageStoreAssistant/sopJourney/pages/overView/overView.wxss */
.overView {
    &::before {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 400rpx;
        z-index: -1;
        content: '';
        background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant/marketing/bg.png') no-repeat;
        background-size: cover;
    }

    &::after {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 2792rpx;
        background-image: linear-gradient(180deg, #F0F5FF 0%, #EDF3FF 100%);
        z-index: -2;
        content: '';
    }

    .tab-box {
      position: sticky;
      top: 0;
      left: 0;
      z-index: 2;
      display: flex;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
      background-color: #FFF;

      .tab-scroll {
          height: 100%;
          height: 88rpx;
      }

      .tab_element {
          display: inline-block;
          width: 176rpx;
          position: relative;
          padding: 20rpx 0;
          box-sizing: border-box;

          .inner {
              width: 100%;
              display: flex;
              flex-flow: column;
              align-items: center;
              font-size: 30rpx;
              color: #1B233D;
              text-align: center;
          }

          .active {
              font-weight: 600;
              font-size: 32rpx;
          }

          .line {
              width: 48rpx;
              height: 8rpx;
              background: #708CFF;
              border-radius: 3px 3px 0 0;
              transform: scale(1);
              position: absolute;
              left: 50%;
              transform: translateX(-50%);
              bottom: 0;
          }
      }

  }

    .list-box {
        height: calc(100vh - 112rpx);
        padding: 24rpx;
        box-sizing: border-box;

        .title {
            font-weight: 600;
            font-size: 32rpx;
            color: #1B233D;
            margin-bottom: 16rpx;
        }

        .list-item {
            height: auto;
            background-color: #fff;
            display: flex;
            margin-bottom: 16rpx;
            border-radius: 16rpx;
            padding: 24rpx 32rpx;
            box-sizing: border-box;

            .icon {
                width: 96rpx;
                height: 96rpx;
                border-radius: 16rpx;
                margin-right: 24rpx;
            }

            .text {
                width:500rpx;

                .content {
                    font-size: 32rpx;
                    color: #1B233D;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 48rpx;
                }

                .intro {
                    font-size: 24rpx;
                    color: #9299AD;
                    line-height: 32rpx;
                    margin-top:8rpx;
                }

            }
        }

        // .safe-area {
        //   display: block;
        //   width: 100%;
        //   height: 0;
        //   opacity: 0;
        // }
    }
}
.list-nothing {
  padding: 30rpx 0;
}