去掉图片组件默认背景

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>
.el-image {
font-size: 0;
@apply bg-page;
display: block;
.el-image__error {
@apply text-xs;
}

View File

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

View File

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

View File

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

View File

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