discovery.scss 3.06 KB
/* pages/tab/output/output.wxss */
page{
  background-color: #fff;
}
.container{
  position: relative;
  .bar-text {
    font-weight: 600;
    font-size: 34rpx;
    color: #2D2D2E;
}
  .header{
    padding-bottom: 8px;
  }
  .scene-wrap {
    white-space: nowrap;
    height: 180rpx;
    .scene-img {
      width: 100%;
    }
  }
  .bg-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 304rpx;
    box-shadow: 0 16rpx 16rpx 0 rgba(230, 236, 245, 0.6);
  }
}

.chat,.applyAct {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 128rpx;
  height: 128rpx;
  border-radius: 50%;
  z-index: 3;
  right: 15rpx;
}
.applyAct{
  top: calc(50% + 200rpx);
}

/* 测算 */
.calculate {
  position: fixed;
  right: 0;
  top: calc(50% + 400rpx);
  transform: translateY(-50%);
  z-index: 3;
}

.icon-calculate {
  width: 150rpx;
  height: 150rpx;
}

/* 测算弹窗 */
.dialog-wrapper {
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(45,45,51,0.50);
  z-index: 4;
  .dialog-box {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 744rpx;
    background-color: #fff;
    box-shadow: 0 -8rpx 20rpx 0 rgba(180,186,204,0.32);
    border-radius: 32rpx 32rpx 0 0;
  }
  .dialog-header {
    display: flex;
    justify-content: space-between;
    padding: 32rpx 48rpx;
    border-bottom: 1rpx solid #eee;
  }
  .header-btn {
    display: inline-block;
    font-size: 32rpx;
    line-height: 48rpx;
  }
  .btn-gray {
    color: #6C737A;
  }
  .btn-primary {
    background-color: #fff;
    border: none;
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #5850FF;
  }
  .btn-primary::after {
    border: none;
  }
  .dialog-content {
    padding: 40rpx 24rpx 60rpx;
  }
  .dialog-title {
    font-weight: 600;
    font-size: 36rpx;
    color: #333333;
    letter-spacing: 0;
    text-align: center;
    line-height: 56rpx;
    margin-bottom: 24rpx;
  }
  .dialog-form {
    width: 100%;
    height: 384rpx;
    background-image: linear-gradient(179deg, rgba(123,112,255,0.02) 15%, rgba(99,92,255,0.10) 100%);
    border-radius: 8rpx;
    padding: 32rpx;
    box-sizing: border-box;
  }
  .form-item {
    display: flex;
    align-items: center;
    height: 80rpx;
    margin-bottom: 24rpx;
    justify-content: space-between;
  }
  .form-label {
    width: 256rpx;
    font-size: 28rpx;
    color: #2D2D33;
  }
  .form-input {
    width: 216rpx;
    padding: 16rpx 20rpx;
    border: 2rpx solid #E6E6E6;
    border-radius: 4rpx;
    margin-left: 64rpx;
    margin-right: 16rpx;
  }
  .form-unit {
    font-size: 28rpx;
    color: #6E6E7A;
  }
  .dialog-btn {
    width: 100%;
    padding: 24rpx 0;
    box-sizing: border-box;
    background: #5850FF;
    border-radius: 8rpx;
    font-weight: 500;
    font-size: 32rpx;
    color: #FFFFFF;
    letter-spacing: 0.8rpx;
    text-align: center;
    line-height: 48rpx;
    margin-top: 40rpx;
  }
}

.emptyData{
  width: 100%;
  text-align: center;
  .tip{
    margin-top: 16rpx;
    font-size: 28rpx;
    color: #7A8299;
    text-align: center;
  }
}