device.less 6.53 KB
.car_info {
    //height: 140px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
    //padding: 0 16px;

    .head {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 32px;

        .name {
            font-family: PingFangSC-Medium;
            font-size: 14px;
            color: #437FCC;
            letter-spacing: 0;
        }

        .right {
            display: flex;
            align-items: center;

            .tag {
                span {
                    display: block;
                    min-width: 40px;
                    height: 20px;
                    background: #FF3B3B;
                    border-radius: 2px;
                    text-align: center;
                    font-family: PingFangSC-Regular;
                    font-size: 12px;
                    color: #FFFFFF;
                    margin-left: 12px;
                }
            }
        }


    }

    .head:after {
        position: absolute;
        display: block;
        content: "";
        height: 1px;
        background: #eee;
        bottom: 0;
        left: 16px;
        right: 16px;
    }

    .cell_box {
        padding: 16px 32px;

        .line {
            display: flex;
            margin-bottom: 6px;

            .name {
                width: 60px;
                font-family: PingFangSC-Regular;
                font-size: 14px;
                color: #333333;
                letter-spacing: 0;
            }

            .txt {
                font-family: PingFangSC-Regular;
                font-size: 14px;
                color: #666666;
                letter-spacing: 1px;

                p {
                    margin: 0 0 6px 0;
                    padding: 0;
                }
            }
        }
    }
}


.device_list {
    margin: 16px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
    border-radius: 8px;

    .cell {
        position: relative;
        display: flex;
        align-items: center;
        height: 54px;
        padding-right: 16px;

        .status {
            min-width: 66px;
            height: 24px;
            background: rgba(77, 138, 210, 0.15);
            font-family: PingFangSC-Regular;
            font-size: 14px;
            color: #3B74C5;
            letter-spacing: 0;
            text-align: center;
            line-height: 24px;
            margin-right: 12px;
        }

        .cgrey {
            background: rgba(238, 238, 238, 1);
            color: #999;
        }

        .info {
            flex: 1;
            font-family: PingFangSC-Regular;
            font-size: 14px;
            color: #333333;
            letter-spacing: 0;
        }
    }

    .cell:after {
        display: block;
        content: "";
        height: 1px;
        background: #eee;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .cell:last-child::after {
        display: none;
    }

    .cell:active {
        background: #f2f3f5;
    }
}

// tabbar
.tabbar_box {
    /deep/ .van-tabs__line {
        background-color: #3B74C5;
    }

    /deep/ .van-tab {
        /deep/ .van-tab__text {
            font-family: PingFangSC-Regular;
            font-size: 14px;
            color: #999999;
            letter-spacing: 0;
        }
    }

    /deep/ .van-tab--active {
        /deep/ .van-tab__text {
            font-family: PingFangSC-Medium;
            font-size: 14px;
            color: #3B74C5;
            letter-spacing: 0;
        }
    }
}

.content_box {
    padding: 16px;

    .panel_box {
        background: #FFFFFF;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
        border-radius: 4px;
        padding: 0 16px;

        .title_box {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;

            .left {
                font-family: PingFangSC-Regular;
                font-size: 14px;
                color: #333333;
                letter-spacing: 0;
                line-height: 14px;

                .sp2 {
                    font-family: PingFangSC-Medium;
                    font-size: 20px;
                    color: #437FCC;
                    line-height: 20px;
                }
            }

            .right {
                display: flex;
                align-items: center;

                .tag {
                    width: 40px;
                    height: 14px;
                    background: #EEEEEE;
                    border-radius: 2px;
                    font-family: PingFangSC-Regular;
                    font-size: 10px;
                    color: #999999;
                    text-align: center;
                    margin-left: 10px;
                }

                .active {
                    background: rgba(77, 138, 210, 0.15);
                    color: #3B74C5;
                }
            }
        }

        .title_box:after {
            display: block;
            content: "";
            height: 1px;
            background: #eee;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .list_box {
            .tab_tr {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-family: PingFangSC-Regular;
                font-size: 12px;
                color: #666666;
                letter-spacing: 0;
                padding: 6px 0;
            }

            .tab_tr:after {
                display: block;
                position: absolute;
                content: "";
                height: 1px;
                background: #eee;
                left: 0;
                right: 0;
                bottom: 0;
                transform: scaleY(0.5);
            }

            .tab_tr:last-child:after {
                display: none;
            }

            .tab_head {
                font-family: PingFangSC-Regular;
                font-size: 12px;
                color: #333333;
                letter-spacing: 0;
            }

            .tab_head:after {
                display: none;
            }
        }

        .tab_more {
            text-align: center;
            font-family: PingFangSC-Regular;
            font-size: 10px;
            color: #999999;
            letter-spacing: 0;
            padding: 10px 0;

            .sp {
                margin-right: 4px;
            }
        }
    }
}