Action.wxss 5.32 KB
/* pages/crowdfunding/components/Action/Action.wxss */
.draw-btn {
    width: 222.91rpx;
    height: 61rpx;
    position: absolute;
    bottom: 190rpx;
    left: 130rpx;
}

.action-fixed {
    position: fixed;
    left: 0;
    width: calc(100% - 64rpx);
    height: 100rpx;
    background: #ffffff;
    z-index: 3;
    padding: 0 32rpx;
    animation: show-goods-action 0.5s forwards;
}

.action {
    position: absolute;
    left: 0;
    bottom: 100rpx;
    width: calc(100% - 64rpx);
    height: 100rpx;
    background: #ffffff;
    z-index: 3;
    padding: 0 32rpx;
    animation: show-goods-action 0.5s forwards;
}

.btn-box {
    font-size: 26rpx;
    font-weight: bold;
    color: #656566;
}

.btn-box .item {
    margin-right: 16rpx;
    width: 56rpx;
    height: 70rpx;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.item .icon {
    width: 40rpx;
    height: 40rpx;
}

.price {
    font-weight: 600;
    color: #f13c3d;
    font-size: 48rpx;
    display: flex;
    align-items: baseline;
    margin-left: 20rpx;
}

.festival-price {
    color: #F13C3D;
}

.price .unit {
    font-size: 24rpx;
}

.price .decimal {
    font-size: 28rpx;
}

.wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 540rpx;
    height: 1110rpx;
    background: #ffffff;
    box-shadow: 0px 2px 8px 0px rgba(201, 202, 204, 0.5);
    border-radius: 4px;
}

.btn {
    width: 400rpx;
    height: 80rpx;
    background: #f13c3d;
    box-shadow: 0px 4rpx 12rpx 4rpx rgba(241, 60, 61, 0.1);
    border-radius: 8rpx;
    border: 2rpx solid #f13c3d;
    margin: 0 0 0 auto !important;
    font-size: 28rpx;
    font-weight: 500;
    color: #ffffff;
    box-sizing: border-box;
    line-height: 80rpx;
    position: relative;
    padding: 0 !important;
}

.btn-hover {
    opacity: .75;
}

.btn::after {
    display: none;
}

.btn .mini {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
}

.btn .mini-btn {
    width: 100%;
    height: 100%;
}

.festival-btn {
    width: 400rpx;
    height: 68rpx;
    background: #EE6528;
    border: 3rpx solid #E26D3E;
    box-shadow: 0 4rpx 0 0 #000000;
    border-radius: 32rpx;
}

.sprite-icon {
    margin: 0 auto;
}

.btn[disabled]:not([type]) {
    background: #b1b1b1 !important;
    color: #fff !important;
    border-color: #b1b1b1 !important;
    box-shadow: none;
}

.short {
    width: 150px;
}

.bgBlack {
    background: rgba(#000000, 0.6);
    z-index: 9;
}

.action.liveBtn {
    position: relative;
    padding: 0 0 !important;
    width: 100%;
    height: 80rpx;
    background-color: transparent;
    /* background: url('../assets/images/live-btn.png') no-repeat;
  background-size: 100% 80rpx; */
}

.liveBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80rpx;
}

.action.liveBtn .price {
    color: #ffffff;
    width: calc(100% - 96px);
    z-index: 3;
}

.action.liveBtn .btn {
    background: transparent;
    width: 96px;
    text-align: center;
    border-width: 0;
}

.apply-box {
    width: 100%;
    position: fixed;
    bottom: -60rpx;
    background: #FA7F2D;
    height: 190rpx;
    text-align: center;
    padding: 40rpx 0rpx;
}

.apply-btn {
    width: 689rpx;
    height: 100rpx;
}

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

    100% {
        bottom: 0;
    }
}

.wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 540rpx;
    height: 1110rpx;
    background: #ffffff;
    box-shadow: 0px 4rpx 16rpx 0px rgba(201, 202, 204, 0.5);
    border-radius: 8rpx;
}

.liveBtn .wwork {
    font-size: 20rpx;
    border-radius: 0 40rpx 40rpx 0;
}

.dialog-panel {
    background-color: rgba(0, 0, 0, .7);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
}

.dialog-box {
    width: 540rpx;
    height: 352rpx;
    background: #FFFFFF;
    border-radius: 4rpx;
    margin: auto;
    box-sizing: border-box;
    position: relative;
}

.dialog-body {
    font-size: 28rpx;
    color: #333333;
    letter-spacing: 2rpx;
    text-align: center;
    line-height: 44rpx;
    padding: 96rpx 60rpx 0rpx;
}

.dialog-header {
    position: absolute;
    top: -88rpx;
    left: 120rpx;
    text-align: center;
}

.dialog-header .icon {
    width: 288rpx;
    height: 60rpx;
    margin: 0 auto;
}

.dialog-header .title {
    width: 320rpx;
    height: 56rpx;
    line-height: 56rpx;
    font-size: 28rpx;
    color: #683800;
    text-align: center;
    background-image: linear-gradient(to right,#FFEAD1 0%, #E6BB8A 100%);
    border-radius: 28rpx;
    position: relative;
}

.dialog-header .title::before {
    content: '';
    position: absolute;
    width: 48rpx;
    height: 2rpx;
    left: 32rpx;
    top: 24rpx;
    background-image: linear-gradient(90deg, #E6BB8A 0%, #683800 100%);
    border-radius: 1rpx;
}

.dialog-header .title::after {
    content: '';
    position: absolute;
    width: 48rpx;
    height: 2rpx;
    right: 32rpx;
    top: 24rpx;
    background-image: linear-gradient(90deg, #683800 0%, #E6BB8A 100%);
    border-radius: 1rpx;
}

.dialog-footer {
    position: absolute;
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
    font-size: 28rpx;
    color: #FC5B32;
    width: 100%;
    border-top: 1rpx solid #f2f2f2;
    bottom: 0px;
}