index.sass 7.41 KB
/* 自定义导航栏开始 */

page {
  // height: 100vh;
  background-color: #F8F9F9;
  font-size: var(--fontSize24);
}

.layout {
  opacity: 0;
  // height: 100%;
  // height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: scroll;
}

.opacity {
  opacity: 1;
}

.move {
  transform: rotate(-180deg) translateY(0);
}

.headerContainer {
  height: var(--fontSize306);
  background-image: linear-gradient(0deg, #347BFF 0%, #3B8FFE 100%);
  box-shadow: inset -1px -1px 2px 0 #0064f099, inset 0 -1px 6px 0 #1BB1FE;
  width: 100%;

  .businessDataContainer {
    display: flex;
    width: 100%;
    height: var(--fontSize186);
    text-align: center;
    color: #FFFFFF;

    .turnover,
    .bill {

      flex: 1;
      // text-align: center;
      display: flex;
      justify-content: center;
      flex-direction: column;

    }

    .num {

      // height: var(--fontSize60);
      margin-bottom: var(--fontSize10);
      // display: inline;
      font-size: var(--fontSize48);
      font-weight: 600;
    }

    .lab {
      // height: var(--fontSize42);
      font-size: var(--fontSize24);
      color: rgba(255, 255, 255, .5);
    }
  }

  .menu {
    // width: var(--fontSize710);
    width: calc(100% - var(--fontSize40));
    margin: 0 auto;
    height: var(--fontSize186);
    background-color: #fff;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: var(--fontSize12);
    // background-image: linear-gradient(166deg, #65B8F8 0%, #347BFF 100%);
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    color: #666;
    // font-size: 2;
  }

  .menu .item {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: var(--fontSize24);
    // color: #FFFFFF;
  }

  .menu .item image {
    width: var(--fontSize80);
    height: var(--fontSize80);
    margin-bottom: var(--fontSize8);
  }

}

.Container {
  // width: var(--fontSize710);
  width: calc(100% - var(--fontSize40));
  flex: 1;
  margin: var(--fontSize90) auto var(--fontSize75);
  overflow: scroll;
  // background-color: #F8F9F9;

  .dateContainer {
    height: var(--fontSize106);
    padding: 0 var(--fontSize24);
    background-color: #fff;
    border-radius: var(--fontSize12);

    .date {
      height: 100%;
      width: 100%;
      // text-align: center;
      // background: #999;
      position: relative;
      display: flex;

      align-items: center;

      // justify-content: space-between;

      .onBeforeDay {
        flex: 1;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        // padding-left: var(--fontSize25);
        // margin-right: var(--fontSize110);
        height: var(--fontSize60);
        font-size: var(--fontSize26);
        // color: #333;
        color: #000;

        .arrow {
          width: var(--fontSize14);
          height: var(--fontSize20);
          margin-right: var(--fontSize10);
        }


        // &::before {
        //   position: absolute;
        //   left: 25%;
        //   top: 50%;
        //   content: '';
        //   width: var(--fontSize10);
        //   height: var(--fontSize10);
        //   border-top: var(--fontSize2) solid #666;
        //   border-right: var(--fontSize2) solid transparent;
        //   border-bottom: var(--fontSize2) solid transparent;
        //   border-left: var(--fontSize2) solid #666;
        //   transform: rotate(-45deg)translateY(-50%);
        //   // transform: translateY(calc(-1 * var(--fontSize4)));
        //   transition: all .3s;
        // }
      }



      .nextDay {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        color: #000;
        font-size: var(--fontSize26);
        height: var(--fontSize60);

        .arrow {
          width: var(--fontSize14);
          height: var(--fontSize20);
          margin-left: var(--fontSize10);
        }

        // &::before {
        //   position: absolute;
        //   right: 20%;
        //   top: 50%;
        //   content: '';
        //   width: var(--fontSize10);
        //   height: var(--fontSize10);
        //   border-top: var(--fontSize2) solid transparent;
        //   border-right: var(--fontSize2) solid #666;
        //   border-bottom: var(--fontSize2) solid #666;
        //   border-left: var(--fontSize2) solid transparent;
        //   transform: rotate(-45deg)translateY(-50%);
        //   // transform: translateY(calc(-1 * var(--fontSize4)));
        //   transition: all .3s;
        // }
      }

      .hidden {
        visibility: hidden;
      }


      .item {
        // display: inline;
        // color: #666;

        // flex: 1
        .solidArrow {
          // width: var(--fontSize10);
          // height: var(--fontSize6);
          // vertical-align: middle;
          width: var(--fontSize14);
          height: var(--fontSize10);
          /* vertical-align: middle; */
          margin-left: var(--fontSize10);
          margin-top: var(--fontSize5);
        }
      }

      .dateNum {
        color: #347BFF;
        padding: var(--fontSize12) var(--fontSize24);
        border-radius: var(--fontSize8);
        border: 1px solid #347BFF;
        // font-size: var(--fontSize24);
      }


    }
  }



  .componentContainer {
    // height: var(--fontSize1000);
  }

  .cellTab {
    height: var(--fontSize88);
    width: 100%;
    background-color: #fff;
    border-radius: 0 0 var(--fontSize12) var(--fontSize12);
  }

  .tabContainer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: var(--fontSize670);
    height: var(--fontSize64);
    margin: 0 auto;
    background: #F7F7F7;
    border-radius: var(--fontSize8);

    .tabItem {
      width: var(--fontSize202);
      height: var(--fontSize50);
      text-align: center;
      line-height: var(--fontSize50);
      font-size: var(--fontSize28);
      color: #666;
      // border: 2px solid #F7F7F7;
      transition: all .5s;

      &.active {
        background: #FFFFFF;
        font-weight: 600;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.06);
        border-radius: var(--fontSize8);
        color: #333;
      }
    }


  }

  .componentContainer {
    // height: calc(100% - var(--fontSize194));
    // height: calc(100%);
    background: #F8F9F9;
  }

  // 去除滚动条样式
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
  }


}

.btn-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 2;
}

.btn-box .tips {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--fontSize75);
  color: #347BFF;
  font-size: var(--fontSize24);
  font-weight: 600;
  background-color: #EFF5FE;
}

.btn-box .contentText {
  margin: 0 var(--fontSize20);
}

.tipsIcon,
.closeIcon {
  width: var(--fontSize32);
  height: var(--fontSize32);
}

.isFullSucreen-btn {
  padding-bottom: var(--fontSize68);
}

.navigation-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation-title-text {
  text-align: center;
  max-width: calc(100% - var(--fontSize24));
}

.navigation-title .arrow {
  width: var(--fontSize20);
  height: var(--fontSize16);
  margin-left: var(--fontSize4);
  transform: translateY(25%);
  transition: all 0.5s;
}

.navigation-title .move {
  transform: rotate(-180deg) translateY(0);
}

.tipsShow {
  .item {
    font-size: var(--fontSize28);
    margin-bottom: var(--fontSize20);
  }
}