index.sass 6.23 KB
/* tabWorkOrder/pages/residentManage/components/accountAllocation/index.wxss */
.search-input {
  // border: 1rpx solid #979797;
  background: #ffffff;
  border-radius: var(--fontSize38);
  width: calc(100% - var(--fontSize64));
  height: var(--fontSize72);
  display: flex;
  align-items: center;
  margin: 16rpx 32rpx;
}

.search-input .search-icon {
  width: var(--fontSize28);
  height: var(--fontSize28);
  margin: 0 var(--fontSize10) 0 var(--fontSize26);
}

.search-input .search-clear {
  width: var(--fontSize36);
  height: var(--fontSize36);
  margin: 0 var(--fontSize26) 0 var(--fontSize10);
}

.search-input .input {
  font-size: var(--fontSize28);
  height: var(--fontSize38);
  line-height: var(--fontSize38);
  width: calc(100% - var(--fontSize136));
}

.input-placeholder {
  color: rgba(200, 201, 204, .89);
}

.info {
  padding: 32rpx 40rpx;
  box-sizing: border-box;
  color: #999ea8;
  font-size: 24rpx;
  border-radius: 16rpx;
  opacity: 1;
  background: #ffffff;
  margin: 0 20rpx;
}

.title {
  color: #181a1f;
  font-size: 32rpx;
  font-weight: bold;
  margin: 32rpx 0 16rpx 30rpx;
  display: flex;
  align-items: center;

  text {
    color: #999ea8;
    font-size: 20rpx;
    font-weight: normal;
    margin-left: 12rpx;
  }
}

.list {
  margin: 0 20rpx;

  .item {
    border-radius: 16rpx;
    background: #ffffff;
    box-shadow: 0 4rpx 16rpx 0 #cdcdd180;
    padding: 0 32rpx;
    margin-bottom: 20rpx;

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1.6rpx solid #f7f8fa;
      padding: 32rpx 0;

      .left {
        .name {
          color: #292d33;
          font-size: 32rpx;
          font-weight: bold;
          margin-bottom: 8rpx;
          white-space: nowrap;
          display: flex;
          align-items: center;
          .staff{
             white-space: nowrap;
             max-width: 204rpx;
             overflow: hidden;
             text-overflow: ellipsis;
             white-space: nowrap;
          }
          text {
            font-size: 28rpx;
            font-weight: normal;
            margin-left: 16rpx;
          }
        }

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

          .tag {
            color: #999ea8;
            font-size: 24rpx;
            padding: 0 8rpx;
            line-height: 36rpx;
            border-radius: 4rpx;
            border: 2rpx solid #e8ecf0;
            margin-right: 8rpx;
          }
        }


      }

      .right {
        padding: 8rpx 32rpx;
        border-radius: 32rpx;
        background: #347bff;
        color: #ffffff;
        font-size: 28rpx;
        font-weight: 400;
      }
    }

    .item-content {
      margin-top: 20rpx;

      .content-account {
        margin-top: 2rpx;

        .account-header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 34rpx;

          .park-name {
            color: #999ea8;
            font-size: 24rpx;
            margin-right: 56rpx;
            display: flex;
            align-items: center;
            white-space: nowrap;
            width: calc(100% - 164rpx);

            .yqMerchant-box {
              display: flex;
              align-items: center;
              font-size: 28rpx;
              color: #292d33;
              margin-left: 16rpx;
              width: calc(100% - 74rpx);
            }

            .text-hide {
              max-width: calc(100vw - 100rpx);
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }

          .operation {
            width:auto;
            height: 44rpx;
            position: relative;

          }
        }

        .store-list {
          border-radius: 12rpx;
          background: #f5f5f7;

          .store {
            height: 100rpx;
            display: flex;
            align-items: center;
            border-bottom: 2rpx solid #ffffff;
            padding: 16rpx 32rpx;
            box-sizing:border-box;
            .choose-open {
              width: 32rpx;
              height: 32rpx;

              .select {
                width: 100%;
                height: 100%;
              }
            }

            .store-info {
              margin-left: 32rpx;
              width: calc(100% - 64rpx);

              .name {
                color: #292d33;
                font-size: 24rpx;
                line-height: 36rpx;
                margin-bottom: 4rpx;
                white-space: nowrap;
                display: flex;
                align-items: center;

                .text-hide {
                  max-width: calc(100vw - 100rpx);
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                }
              }

              .time {
                color: #999ea8;
                font-size: 20rpx;
              }
            }
          }
        }

        .more {
          padding: 32rpx;
          color: #999ea8;
          font-size: 24rpx;
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: center;

          .pack-up {
            width: 32rpx;
            height: 32rpx;
            margin-left: 14rpx;


            image {
              width: 100%;
              height: 100%;
            }

          }

          .down {
            transform: rotate(180deg);
          }
        }
      }
    }
  }
}

/*swtich整体大小及背景色*/


/*白色样式(false的样式)*/
.wx-switch-input::before {
  width: 108rpx !important;
  height: 44rpx !important;
}

/* 中间的小圆球 */
/*绿色样式(true的样式)*/
.wx-switch-input::after {
  width: 108rpx !important;
  height: 44rpx !important;
}

.wx-switch-input {
  zoom: 0.8;
}

.list-nothing,
.list-not {
  text-align: center;
}

.operation {
  .switch-text {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 22rpx;
    view{
      position: absolute;
      top:10rpx;
    }
  }
 .active{
   margin-left:8rpx;
   white-space:nowrap;
 }
  .disabled{
    margin-left:52rpx;
    white-space:nowrap;
  }
}
.active-switch{
.van-switch  {
  width: 108rpx !important;
  height: 44rpx !important;
}
}