去掉图片组件默认背景
This commit is contained in:
parent
52ee8bd1f4
commit
ed22fdbb8f
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ const handleAdd = () => {
|
|||
if (props.modelValue?.length < props.max) {
|
||||
props.modelValue.push({
|
||||
image: '',
|
||||
name: '',
|
||||
name: '导航名称',
|
||||
link: {}
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export default () => ({
|
|||
data: [
|
||||
{
|
||||
image: '',
|
||||
name: '',
|
||||
name: '导航名称',
|
||||
link: {}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export default () => ({
|
|||
data: [
|
||||
{
|
||||
image: '',
|
||||
name: '导航',
|
||||
name: '导航名称',
|
||||
link: {}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue