GoodsAction.wxss 1.52 KB
/* components/GoodsAction/GoodsAction.wxss */
@import '/sprite.wxss';

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

.goods-action-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 9;
  animation: show-goods-action .55s forwards;
}

@keyframes show-goods-action {
  0% {
    bottom: -100%;
  }

  100% {
    bottom: 0;
  }
}

.goods-action {
  padding: 10rpx var(--margin);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 100rpx;
}


.isFullSucreen {
  padding-bottom: constant(safe-area-inset-bottom) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
}

.navigation-box {
  display: flex;
  align-items: center;
  font-size: 20rpx;
  justify-content: space-between;
}

.navigation-box .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 14rpx;
}

.navigation-box .icon {
  width: 40rpx;
  height: 40rpx;
}

.btn-box {
  display: flex;
  align-items: center;
  margin-left: auto;
  border-radius: var(--borderRadius);
  overflow: hidden;
}

.btn-box .btn {
  width: 258rpx;
  height: 80rpx;
  color: #fff;
  font-size: 28rpx;
}

.btn-box .pay {
  background-color: var(--btnColor);
}

.btn-box .join {
  background-color: #FDC23E;
}

.btn-box.true .join {
  display: none;
}

.btn-box.true .btn {
  width: 588rpx;
  background-color: var(--themeColor);
}

.btn-box .pay.disabled {
  background-color: #B1B1B3 !important;
}

.btn-box .disabled {
  background-color: #B1B1B3 !important;
}