css项目样式

image.png

css

#ywjInfoCenter .content-item {
    height: 1.0rem;
    border-bottom: 0.01rem solid #E6E6E6;
    padding: 0 0.2rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

2.
image.png
#ywjInfoCenter .switchOn {
    display: inline-block;
    width: 1.0rem;
    height: 0.5rem;
    border-radius: 0.24rem;
    background-color: #11C7D5;
    position: relative;
    vertical-align: top;
    cursor: pointer;
}

#ywjInfoCenter .switchOn em {
    display: inline-block;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: #FFFFFF;
    position: absolute;
    right: 0.03rem;
    top: 0.03rem;
    transition: all 0.5s linear;
    box-shadow:0 0 0 0 rgba(103,103,103,0.63);
}

#ywjInfoCenter .switchOn:after {
    content: '';
    font-size: 12px;
    position: absolute;
    left: 6px;
    top: 4px;
    color: #FFFFFF;
}

#ywjInfoCenter .switchOff {
    background-color: #CCCCCC;
    display: inline-block;
    width: 1.0rem;
    height: 0.5rem;
    border-radius: 0.24rem;
    position: relative;
    vertical-align: top;
    cursor: pointer;
}

#ywjInfoCenter .switchOff em {
    left: 0.03rem;
    top: 0.03rem;
    display: inline-block;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: #FFFFFF;
    position: absolute;
    transition: all 0.5s linear;
    box-shadow:0 0 0 0 rgba(103,103,103,0.63);
}

#ywjInfoCenter .switchOff:after {
    content: '';
    font-size: 12px;
    position: absolute;
    left: 6px;
    top: 4px;
    color: #FFFFFF;
}

#ywjInfoCenter .switchOff:before {
    content: '';
    font-size: 12px;
    position: absolute;
    right: 5px;
    top: 4px;
    color: #FFFFFF;
}

html

  1. 模块4个角:应对网页在4K电视上失真的问题


    css项目样式_第1张图片
    image.png

html


        

css

    /*模块的4个角*/
    #data-maintenance-show .triangle-topleft{
        width: 0;
        height: 0;
        border-top: 15px solid #3B4FB2;
        border-right: 15px solid transparent;
        position: absolute;
        margin: -2px 0 0 -2px;
    }
    #data-maintenance-show .triangle-topleft span{
        display: block;
        width: 0;
        height: 0;
        border-top: 12px solid #0A0831;
        border-right: 12px solid transparent;
        position: absolute;
        left: 0;
        top: -15px;
    }
    #data-maintenance-show .triangle-topright{
        width: 0;
        height: 0;
        border-top: 15px solid #3B4FB2;
        border-left: 15px solid transparent;
        position: absolute;
        margin: -2px -2px 0 0;
        right: 0;
    }
    #data-maintenance-show .triangle-topright span{
        display: block;
        width: 0;
        height: 0;
        border-top: 12px solid #0A0831;
        border-left: 12px solid transparent;
        position: absolute;
        right: 0;
        top: -15px;
    }
    #data-maintenance-show .triangle-bottomright{
        width: 0;
        height: 0;
        border-bottom: 15px solid #3B4FB2;
        border-left: 15px solid transparent;
        position: absolute;
        margin: 0 -2px -2px 0;
        right: 0;
        bottom: 0;
    }
    #data-maintenance-show .triangle-bottomright span{
        display: block;
        width: 0;
        height: 0;
        border-bottom: 12px solid #0A0831;
        border-left: 12px solid transparent;
        position: absolute;
        right: 0;
        top: 3px;
    }

    #data-maintenance-show .triangle-bottomleft{
        width: 0;
        height: 0;
        border-bottom: 15px solid #3B4FB2;
        border-right: 15px solid transparent;
        position: absolute;
        margin: 0 0 -2px -2px;
        left: 0;
        bottom: 0;
    }
    #data-maintenance-show .triangle-bottomleft span{
        display: block;
        width: 0;
        height: 0;
        border-bottom: 12px solid #0A0831;
        border-right: 12px solid transparent;
        position: absolute;
        left: 0;
        top: 3px;
    }
    /*模块的4个角*/
css项目样式_第2张图片
image.png

html:

类型: {{item.medicineType}}
药品名称: {{item.medicineName}}
剂量单位: {{item.medicineNumber}}
服用方法: {{item.medicineMethod}}

css:

#goOutHospital-with-medicine .medical-font {
    width: 1.5rem;
    display:inline-block;
    color: #999999;
}
#goOutHospital-with-medicine .goOutHospital-info {
    padding: 0.1rem 0.3rem 0.3rem 0.3rem;
    background: #fff;
    font-size: 0.26rem;
    border-bottom: 0.01rem solid #E6E6E6;
}

#goOutHospital-with-medicine .medical-info {
    padding: 0.1rem 0.3rem 0.3rem 0.3rem;
    background: #fff;
    font-size: 0.26rem;
    border-bottom: 0.01rem solid #E6E6E6;
}
#goOutHospital-with-medicine .goOutHospital-info-item {
    padding-top: 0.1rem;
}

#goOutHospital-with-medicine .medical-info-item {
    padding-top: 0.1rem;
    display: flex;
}

#goOutHospital-with-medicine .span-margin {
    margin-left: 0.4rem;
    display:inline-block;
    flex: 1;
}

你可能感兴趣的:(css项目样式)