更改上传框的大小

时间:2020-02-19 23:37:10   收藏:0   阅读:76
更改上传框的大小
    <div class="editor-after-div">
        <el-upload
            class="updata-after-upload" 
                action="https://jsonplaceholder.typicode.com/posts/"
                list-type="picture-card"
                :on-success="updateAddSuceess"
                :on-preview="updataViewLoginImg"
                :on-remove="updataRemoveImg">
        </el-upload>
        <el-dialog :visible.sync="updataAddFlag">
                 <img width="100%" :src="updataAddImg" alt="">
        </el-dialog>
    </div>


.editor-after-div >>>.el-upload{
    widtH:56px;
    height: 56px;
    text-align: center;
    line-height: 56px;
}

.editor-after-div >>>.el-upload-list__item-thumbnail{
    width: 56px;
    height: 56px;
}
.editor-after-div >>>.el-upload-list__item{
    width: 56px;
    height: 56px;
}

原文:https://www.cnblogs.com/IwishIcould/p/12333854.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!