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