GoodsAction.wxss 1.63 KB
/* components/GoodsAction/GoodsAction.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: 12rpx 24rpx;
  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;
  position: relative;
}

.navigation-box .item .goods-num {
  position: absolute;
  top: -10rpx;
  right: -16rpx;
  height: 28rpx;
  background: #F75454;
  border: 1rpx solid #FFFFFF;
  border-radius: 14rpx;
  font-size: 18rpx;
  color: #FFFFFF;
  padding: 0 8rpx;
}
.navigation-box  .sprite-icon{
  width: 40rpx;
  height: 40rpx;
}

.btn-box {
  display: flex;
  align-items: center;
  margin-left: auto;
  border-radius: 20rpx;
  overflow: hidden;
  font-weight: 500;
}

.btn-box .btn {
  width: 304rpx;
  height: 84rpx;
  color: #fff;
  font-size: 32rpx;
}

.btn-box .pay {
  background-color: #FB8A32;
}

.btn-box .join {
  color: #FB8A32;
  background-color: #FEF2EA;
}
.btn-box.true .join{
  display: none;
}
.btn-box.true .btn{
  width: 588rpx;
  background-color: var(--themeColor);
}