From 7ec86fa74e94095c855f91448d01b033875cbc9c Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期四, 28 十月 2021 13:08:05 +0800 Subject: [PATCH] 修复单图上传组件,已上传图片也会返回图片路径 --- src/styles/element-ui.scss | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index 5dad702..4b9a98a 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -97,9 +97,33 @@ .disabled .el-upload--picture-card { display: none; } +.el-upload-list--picture-card{ + line-height: 1!important; +} +.disabled .el-upload-list--picture-card .el-upload-list__item{ + margin-bottom: 0!important; +} // 涓婁紶鍥剧墖棰勮 .el-upload-list--picture-card{ .el-upload-list__item-thumbnail{ object-fit: contain; } -} \ No newline at end of file +} + +// 鍘绘帀涓婁紶缁勪欢鐨勮繃搴﹀姩鐢� +.el-upload-list__item { + transition: none !important; +} + +// 璇勪环缁勪欢 +.mini-star .el-rate__icon{ + margin-right: 0; +} +.large-star .el-rate{ + line-height: 32px; +} +.large-star .el-rate__icon{ + font-size: 26px; + margin-right: 0; + line-height: 32px; +} -- Gitblit v1.8.0