UNPKG

hot-form

Version:

A project developed based on ant-design-vue and vant whitch do some things on create/render/modify and etc. for forms. Also can custom some component on the form items if you want. 一个基于antdv/vant开发的创建表单组件,包含表单渲染、表单编辑页面、以及植入自定义附加内容的组件

52 lines (51 loc) 991 B
/deep/ .van-uploader__preview-image { width: 180px; min-height: 30px; } /deep/ .van-uploader__preview-image .preview-cover { width: 100%; height: 100%; padding-right: 12px; background-color: #fff; } /deep/ .van-uploader__preview-image .preview-cover .link { display: inline-block; width: 100%; height: 100%; white-space: normal; } .hide { display: none; } .file-input { display: block; width: 100%; } .file-list { padding-top: 4px; width: 100%; } .file-list .file-item { position: relative; } .file-list .file-item .delete { position: absolute; top: 0; right: 0; width: 14px; height: 14px; background-color: rgba(0, 0, 0, 0.7); border-radius: 0 0 0 12px; color: #fff; } .file-list .file-item .delete-icon { position: absolute; top: -2px; right: -2px; font-size: 16px; -webkit-transform: scale(0.5); transform: scale(0.5); } /deep/ .van-cell__value { max-width: calc(10%); }