去掉图片组件默认背景

This commit is contained in:
Jason 2022-09-13 11:42:21 +08:00
parent 52ee8bd1f4
commit ed22fdbb8f
5 changed files with 5 additions and 6 deletions

View File

@ -40,8 +40,7 @@ const styles = computed<CSSProperties>(() => {
<style lang="scss" scoped> <style lang="scss" scoped>
.el-image { .el-image {
font-size: 0; display: block;
@apply bg-page;
.el-image__error { .el-image__error {
@apply text-xs; @apply text-xs;
} }

View File

@ -61,7 +61,7 @@ const handleAdd = () => {
if (props.modelValue?.length < props.max) { if (props.modelValue?.length < props.max) {
props.modelValue.push({ props.modelValue.push({
image: '', image: '',
name: '', name: '导航名称',
link: {} link: {}
}) })
} else { } else {

View File

@ -9,7 +9,7 @@
</el-form-item> </el-form-item>
<el-form-item label="图片设置"> <el-form-item label="图片设置">
<div class="flex-1"> <div class="flex-1">
<div class="form-tips">最多添加5张建议图片尺寸750px*240px</div> <div class="form-tips">最多添加5张建议图片尺寸750px*340px</div>
<del-wrap <del-wrap
v-for="(item, index) in content.data" v-for="(item, index) in content.data"
:key="index" :key="index"

View File

@ -7,7 +7,7 @@ export default () => ({
data: [ data: [
{ {
image: '', image: '',
name: '', name: '导航名称',
link: {} link: {}
} }
] ]

View File

@ -6,7 +6,7 @@ export default () => ({
data: [ data: [
{ {
image: '', image: '',
name: '导航', name: '导航名称',
link: {} link: {}
} }
] ]