index.scss 4.64 KB
/* packageEquity/pages/parking/index/index.wxss */
.map-box {
    height: 100vh;
    overflow: hidden;
}

#myMap {
    width: 100%;
    position: absolute;
    top: 0rpx;
    height: calc(100vh - 456rpx);
    left: 0rpx;
}

.draw-box {
    width: 100%;
    height: 456rpx;
    border-radius: 32rpx 32rpx 0 0;
    transition: all ease 1s;
    margin-top: -10rpx;
    background: #f8f8f8;
    position: absolute;
    bottom: 0rpx;
    left: 0rpx;
}

.cover-view {
    width: 112rpx;
    height: 112rpx;
    position: absolute;
    bottom: 20rpx;
    right: 20rpx;
    transition: all ease 1s;
}

.draw-tab {
    display: flex;
    margin: 0rpx 20rpx 10rpx;
    align-items: center;

    .tab-item {
        width: 160rpx;
        height: 60rpx;
        line-height: 60rpx;
        background: #FFFFFF;
        border: 2rpx solid #D9D9D9;
        border-radius: 30rpx;
        font-size: 26rpx;
        color: #333333;
        text-align: center;
        margin-right: 10rpx;

        &.checked {
            background: rgba(55, 114, 236, 0.1);
            border: 2rpx solid #3772EC;
            color: #3772EC;
        }
    }

    .tab-btn {
        font-size: 28rpx;
        color: #5878DB;
        margin-left: auto;
        display: flex;
        align-items: center;

        .parking-refresh {
            width: 32rpx;
            height: 32rpx;
            margin-left: 4rpx;

            &.rotate {
                transition: all 1s;
                transform: rotate(360deg);
            }
        }
    }
}

.draw-header {
    height: 112rpx;
    background-image: linear-gradient(180deg, #D6E8FE 0%, #F8F8F8 100%);
    border-radius: 32rpx 32rpx 0 0;
    display: flex;
    align-items: center;
    padding: 0rpx 24rpx;
    position: relative;

    .parking-arrow-icon { 
        position: absolute;
            width: 72rpx;
            height: 8rpx;
            border-radius: 4rpx;
            left: 350rpx;
            top: 10rpx;
            z-index: 10000;background: #FFFFFF;

    }

    .parking-logo {
        width: 56rpx;
        height: 56rpx;
    }

    .parking-desc {
        font-size: 32rpx;
        color: #333333;

        text {
            color: #3772EC;
            font-weight: 600;
        }
    }

    .parking-btn {
        margin-left: auto;
        font-size: 28rpx;
        color: #5878DB;
    }
}

.draw-body {
    background: #F8F8F8;
    height: calc(100% - 200rpx);
    overflow-y: auto;
}

.customCallout-box {
    width: 408rpx;
    height: 88rpx;
    background: #FFFFFF;
    box-shadow: 0 4rpx 20rpx 0 rgba(147, 149, 153, 0.3);
    border-radius: 44rpx;
}

.car-item {
    width: 345px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 4px;
    margin: 10rpx auto;
    display: flex;
    align-items: center;
    padding: 0rpx 24rpx;

    .parking-logo {
        width: 44rpx;
        height: 44rpx;
        margin-right: 6rpx;
        margin-top: -15rpx;
    }

    .parking-desc {
        width: calc(100% - 200rpx);
        .parking-num {
            font-weight: 600;
            font-size: 28rpx;
            color: #333333;
            line-height: 44rpx;
            margin-bottom: 10rpx;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            &.disabeld {
                color: #999999;
            }
        }

        .parking-status {
            width: 64rpx;
            height: 32rpx;
            border-radius: 4rpx;
            text-align: center;
            line-height: 32rpx;
            font-size: 22rpx;

            &.idle {
                color: #3772EC;
                background: #3772ec1a;
                border: 1rpx solid #3772ec33;
            }

            &.occupy {
                color: #EC3C1F;
                background: #ec3c1f1a;
                border: 1rpx solid #ec3c1f33;
            }

            &.unknown {
                color: #999999;
                background: #9999991a;
                border: 1rpx solid #99999933;
                border-radius: 4rpx;
            }
        }
    }

    .parking-btn {
        width: 132rpx;
        height: 60rpx;
        line-height: 60rpx;
        font-size: 26rpx;
        color: #3772EC;
        border: 2rpx solid #3772EC;
        border-radius: 30rpx;
        text-align: center;
        margin-left: auto;
    }
}

.empty-box {
    .empty-header {
        width: 750rpx;
        height: 112rpx;
        background-image: linear-gradient(180deg, #D6E8FE 0%, #F8F8F8 100%);
        border-radius: 32rpx 32rpx 0 0;
    }

    .empty-text {
        text-align: center;
        color: #999999;
        text-align: center;
    }

    .empty-body {
        width: 320rpx;
        height: 320rpx;
        margin: -50rpx auto -10rpx;
    }
}