Browse Source

修改纸商城

devlop
buffeyu 4 years ago
parent
commit
fdc01c94a4
1 changed files with 5 additions and 5 deletions
  1. 10
      pages/mall/index.vue

10
pages/mall/index.vue

@ -158,11 +158,11 @@ export default {
} else { } else {
this.logo = res.logo 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) => { .catch((err) => {

Loading…
Cancel
Save