/**
*全局样式，以 App- 前缀命名
*/
* {
    margin: 0;
    padding: 0;
}

page,
body {
    font-family: "microsoft yahei";
    font-size: 24px;
    // height: 100%;
    // line-height: 1;
}
.app-wh100 {
    width: 100%;
    height: 100%;
}
// .App_bg {
// 	height: 100%;
// }
.App {
    // line-height: 1;
    min-height: 100vh;
}
.App_gray {
    // line-height: 1;
    min-height: 100vh;
    background-color: $backColor;
}
.App_row {
    display: flex;
    justify-content: center;
}
.App_col {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.App_border-box * {
    box-sizing: border-box;
}

// 按钮公共样式
.button-com {
    display: inline-block;
    color: $mainColor;
    font-size: 28px;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 100px;
    border: 1px solid $mainColor;
    text-align: center;
    line-height: 1;
    margin: 0;
    &:active {
        color: rgb(245, 63, 85);
        border-color: rgb(245, 63, 85);
    }
}
.button-com.big {
    padding-top: 30px;
    padding-bottom: 30px;
}
.button-com.red {
    color: #fff;
    background-color: $mainColor;
    &:active {
        background-color: rgb(245, 63, 85);
    }
}
.button-com.green {
    color: #fff;
    background-color: #07be0b;
    border-color: #07be0b;
    &:active {
        background-color: rgb(45, 194, 47);
    }
}
.button-com.default {
    color: $fontColor2;
    border-color: #dddddd;
    &:active {
        background-color: #f5f5f5;
    }
}
.button-com.disable {
    color: #fff;
    background-color: #ccc;
    border-color: #ccc;
}
// ============ 后台 =============
.admin-button-com {
    display: inline-block;
    color: $mainColor;
    font-size: 26px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid $mainColor;
    text-align: center;
    line-height: 1;
    margin: 0;
    &:active {
        color: #3876d4;
        border-color: #3876d4;
    }
}
.admin-button-com.middle {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 28px;
}
.admin-button-com.big {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 32px;
}
.admin-button-com.blue {
    color: #fff;
    background-color: $mainColor;
    &:active {
        background-color: #3876d4;
    }
}

.admin-button-com.default {
    color: $fontColor2;
    border-color: #dddddd;
    &:active {
        background-color: #f5f5f5;
    }
}

.admin-button-com.disable {
    color: #fff;
    background-color: #ccc;
    border-color: #ccc;
}
// ======================= 输入框公共样式 - start ====================
.input-line-wrap {
    // 是否必填
    .required::before {
        content: "*";
        color: #f04545;
        font-size: 28px;
        margin-right: 8px;
    }
    // 公共
    .line-cell {
        &.between {
            justify-content: space-between;
        }
        // &.switch {
        //     padding-top: 14px;
        //     padding-bottom: 14px;
        // }
        .tui-title {
            width: 210px;
            color: $fontColor2;
            flex-shrink: 0;
        }
        .tui-input {
            width: calc(100% - 210px);
            font-size: 28px;
        }
        .tui-textarea {
            width: 100%;
            font-size: 28px;
        }
        .tui-operate {
            width: calc(100% - 210px);
            font-size: 28px;
        }
        .tui-placeholder {
            color: #ccc;
        }
        .tui-prompt {
            flex-shrink: 0;
            color: $fontColor2;
            margin-left: 20px;
        }
    }
    .phcolor {
        color: #ccc;
    }
    .prompt-text {
        color: $fontColor3;
        margin-top: 20px;
        margin-left: 30px;
    }
    .btn-wrap {
        width: calc(100% - 60px);
        margin: 60px auto;
        .button-com {
            width: 100%;
            margin: 0 auto;
        }
        .admin-button-com {
            width: 100%;
            margin: 0 auto;
        }
    }
}
// ======================= 输入框公共样式 - end ====================

// ======================= 弹窗输入框公共样式 - start ====================
.app-modal-input-wrap {
    width: 100%;
    .inp-list-line {
        width: 100%;
        @include disFlex(center, space-between);
        font-size: 32px;
        margin-bottom: 20px;
        color: $fontColor2;
        text-align: left;
        &:last-child {
            margin-bottom: 0;
        }
        .line-label {
            margin-right: 20px;
            flex-shrink: 0;
        }
        .line-input {
            width: 100%;
            @include disFlex(center, center);
            &.flex-strat {
                justify-content: flex-start;
            }
            .inp-input,
            .inp-select {
                width: 100%;
                height: 90px;
                border: 2px solid $borderColor;
                padding-left: 20px;
                border-radius: 4px;
                color: #333;
            }
            .inp-select {
                position: relative;
                line-height: 90px;
                &:active {
                    background-color: $backColor;
                }
                &::before {
                    content: " ";
                    height: 20px;
                    width: 20px;
                    border-width: 2px 2px 0 0;
                    border-color: #bbbbbb;
                    border-style: solid;
                    transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
                    position: absolute;
                    top: 50%;
                    margin-top: -12px;
                    right: 16px;
                }
            }
            .inp-prompt {
                flex-shrink: 0;
                margin-left: 20px;
            }
            .tui-placeholder {
                color: #ccc;
            }
        }
    }
}
// ======================= 弹窗输入框公共样式 - end ====================

// ======================= admin 操作弹窗 公共 =========================

.operate-icon-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    .operate-icon {
        position: absolute;
        bottom: -18px;
        left: -18px;
        padding: 20px;
        .iconcaozuojihuo {
            color: $mainColor !important;
        }
    }
}

.app-margin-left-20 {
    margin-left: 20px;
}

// 带统计字数文本域
.textarea_wrap {
    position: relative;
    textarea {
        display: block;
        background-color: #fff;
        padding: 30px 31px;
        border: 0 none;
        width: 100%;
        height: 270px;
    }
    .count {
        position: absolute;
        line-height: 1;
        right: 30px;
        bottom: 30px;
        font-size: 24px;
        color: rgba(153, 153, 153, 1);
    }
}

/* 超出隐藏 */
.ellipsis_line_com {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 超出两行隐藏 */
.ellipsis_two_line_com {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

/* 黑色蒙版 */
.black_mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    &.center {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.app-footer {
    width: 100%;
    max-width: 750px; /*no*/
    min-width: 320px; /*no*/
    height: 100px;
    position: fixed;
    text-align: center;
    bottom: 0;
    background: white;
    box-shadow: -4px -4px 6px #eee;
    z-index: 100;
    // font-size: 32px;
    // line-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    // letter-spacing: 3px;
    & .add {
        width: 38px;
        height: 38px;
        margin-right: 20px;
    }
}

.noMore {
    color: #969799;
    font-size: 24upx;
    line-height: 50px;
    text-align: center;
    padding: 30px 0;
}
li {
    list-style: none;
}

// .app-seach-box {
// 	position: relative;
// 	z-index: 999;
// 	& .app-filter_wrap {
// 		padding-left: 30px;
// 		display: flex;
// 		justify-content: center;
// 		align-items: center;
// 		position: relative;
// 		color: #666666;
// 		border-right: 1px;
// 		& > view {
// 			padding: 0 5px;
// 		}
// 		&::after {
// 			content: '';
// 			height: 60px;
// 			position: absolute;
// 			background-color: #dddddd;
// 			width: 1Px;
// 			left: 0;
// 			top: 50%;
// 			transform: translate(0 ,-50%);
// 		}
// 	}
// }

.includecontent p img {
    width: 100%;
    height: auto;
}
.uni-overflow-hidden {
    overflow: hidden;
    height: 100vh;
}

.inputTip_box {
    position: relative;
    width: 100%;
    .inputTip {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        color: #f44;
        font-size: 28upx;
    }
}

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.animate-open {
    transform: rotate(180);
}

.animate-close {
    transform: rotate(0);
}