2 Commits

1 changed files with 5 additions and 5 deletions
Split View
  1. 10
      pages/mall/index.vue

10
pages/mall/index.vue

@ -156,11 +156,11 @@ export default {
} else {
this.logo = res.logo
}
// if (res.backgroundImg === '') {
// this.backgroundStyle = 'background: url("/static/imgs/mall/zsc-bg-icon.png") no-repeat;'
// } else {
// this.backgroundStyle = 'background: url(' + res.backgroundImg + ') no-repeat;'
// }
if (res.backgroundImg === '') {
this.backgroundStyle = 'background: url("/static/imgs/mall/zsc-bg-icon.png") no-repeat;'
} else {
this.backgroundStyle = 'background: url(' + res.backgroundImg + ') no-repeat;'
}
}
})
.catch((err) => {

Loading…
Cancel
Save