input-box.sass 3.96 KB
/* packageEquity/pages/aiExcercise/list/components/input-box.wxss */
.box {
  height:100%;
  display:flex;
  align-items:center;
  padding: var(--fontSize10) var(--fontSize16) 0;
    border-top: 1rpx solid #F5F6F7;
  .input-icon {
    width: var(--fontSize76);
height: var(--fontSize76);
  }
  .input-k {
   flex:1;
   overflow: auto;
background: #F7F8FA;
border-radius: 38rpx;
min-height: var(--fontSize76);
box-sizing:border-box;
color: #333;
font-size: var(--fontSize28);
margin: 0 var(--fontSize12);
display:flex;
align-items:center;
van-cell {
  background: #F7F8FA;
   width: 100%;
}
  }
    .input-s {
      font-size: var(--fontSize28);
    // width:var(--fontSize480);
      flex: 1;
height: var(--fontSize76);
line-height: var(--fontSize76);
background: #EAF2FD;
border: 1rpx solid #8CBAFA;
border-radius: var(--fontSize38);
box-sizing:border-box;
text-align:center;
color: #333333;
margin: 0 var(--fontSize12);
  }
  .btn {
    width: var(--fontSize120);
height: var(--fontSize76);
background: #3582EE;
border-radius: var(--fontSize38);
text-align:center;
font-size: var(--fontSize28);
line-height: var(--fontSize76);
color:#fff;
&.btn-disable {
  opacity:.5
}
  }
}
.btn-box {
  font-size: var(--fontSize20);
  padding:  var(--fontSize36);
  display:flex;
  justify-content: space-between;
  .btn-b {
    width: calc(50% - var(--fontSize16));
    height: var(--fontSize76);
    line-height: var(--fontSize76);
    color:#fff;
    text-align:center;
background: #3582EE;
border-radius: var(--fontSize38);
&.cancel {
  background: #EAF2FD;
  color: #333333;
}
  }
}
.audio-box {
    position: fixed;
    left:0;
    bottom: calc(var(--fontSize104) + var(--envSafeAreaInsetBottom));
    width: 100%;
    height: calc(100vh - var(--fontSize104) - var(--envSafeAreaInsetBottom));
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    image {
      width: 100%;
      height: var(--fontSize100);
      position: absolute;
      bottom: 0;
      left: 0;
    }
  }
  audio-box{
  width: 84px;
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.inspiration-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 216rpx;
    height: 72rpx;
    background: #F0F6FF;
    border-radius: 486rpx;
    font-weight: 500;
    font-size: 28rpx;
    color: #3989FE;
    .inspiration-icon {
      width: 32rpx;
      height: 32rpx;
      margin-right: 8rpx;
    }
}
.loading-img {
  margin-top:60rpx;
  display:flex;
   justify-content: center;
  height: 50rpx;
}
.audio-block{
  width: 10rpx;
  height:20rpx;
  border-radius:5rpx;
  margin-right:10rpx;
  display:flex;
  justify-content: center;
  align-items:center;
  box-sizing: border-box;
  background-color: #3582EE;
  animation: audio-eff 2s linear infinite;
}
.audio-block:nth-of-type(2n){
  animation-delay: .3s;
  animation-duration: 2.4s;
}
.audio-block:nth-of-type(3n){
  animation-delay: .38s;
}
@keyframes audio-eff{
  0%{
    height: 0;
  }
  50%{
    transform: translateY(-20rpx);
    height: 40rpx;
  }
  100%{
    height: 0;
  }
}
@media screen and (min-device-width: 1000px) and (-webkit-min-device-pixel-ratio: 1) {
  .box {
      .input-icon {
    width: var(--fontSize44);
height: var(--fontSize44);
  }
    .input-icon {
      image {
        width: var(--fontSize48);
        height: var(--fontSize48);
        }
      }
     .input-k{
      font-size: var(--fontSize20);
min-height: var(--fontSize44);
   }
    .input-s {
      height: var(--fontSize44) !important;
      line-height: var(--fontSize44) !important;
      font-size: var(--fontSize20);
      }
   .btn{
     height: var(--fontSize44);
line-height: var(--fontSize44);
    font-size: var(--fontSize20);
   }
  }
   .inspiration-title-icon {
    width: 208rpx;
    height: 36rpx;
    font-size: 20rpx;
    border-radius: 243rpx;
  }
  .loading-img {
  margin-top:30rpx;
  display:flex;
   justify-content: center;
  height: 25rpx;
}
.audio-block{
  width: 5rpx;
  height:10rpx;
  border-radius:2rpx;
  margin-right:5rpx;
}
}