WebApp【公共组件库】@前端(For Git Submodule)
‘chensiAb’
2025-04-01 196aac76666571c60536973418bff3da63bef1d8
forms/textarea/cTextArea.scss
@@ -1,22 +1,62 @@
/**
 * image picker
 * textarea
 * @author Tevin
 */
@import "../../common/sassMixin";
.c-textarea {
    .at-input__input {
        .weui-input {
    &.read-only {
        pointer-events: none;
        background-color: #f6f6f6;
        .at-input__title {
            &::before {
                display: block;
                position: absolute;
                top: 50%;
                left: -23px;
                width: 12px;
                height: 12px;
                content: " ";
                border: #777 1PX solid;
                border-radius: 50%;
                transform: translateY(-50%);
            }
            &::after {
                display: block;
                position: absolute;
                top: 50%;
                left: -23px;
                width: 14px;
                height: 0px;
                margin-top: 0px;
                content: " ";
                border-bottom: #777 1PX solid;
                transform: rotate(-45deg);
            }
        }
    }
    .at-input__container {
        .weui-input,
        input {
            display: none;
        }
        .textarea {
            flex: 1;
            width: 100%;
            height: 2rem;
            min-height: 94px;
            padding-right: 18px;
            font-size: 36px;
            textarea {
                resize: none;
                @include flexbox(flex, center center);
            }
            .textarea-placeholder {
                color: #ccc;
            }
        }
    }
    .at-input__icon {
        display: none;
    }
}