Commit d42e734b by 李嘉林

背景颜色

parent d496f14d
...@@ -46,13 +46,14 @@ export default { ...@@ -46,13 +46,14 @@ export default {
_this.pageSettingData = JSON.parse(_this.pageInfo.pageSettingData); _this.pageSettingData = JSON.parse(_this.pageInfo.pageSettingData);
console.log(_this.pageSettingData, 'kl1') console.log(_this.pageSettingData, 'kl1')
_this.bacImage = `url(${_this.pageSettingData.backgroundImage})` _this.bacImage = `url(${_this.pageSettingData.backgroundImage})`
_this.imgRgb = `${_this.pageSettingData.backgroundColor}`;
} }
} }
this.mpApp.setHomeBgImg = this.setHomeBgImg; this.mpApp.setHomeBgImg = this.setHomeBgImg;
}, },
mounted() { mounted() {
this.bacImage = `url(${this.pageSettingData.backgroundImage})`; this.bacImage = `url(${this.pageSettingData.backgroundImage})`;
this.imgRgb = `url(${this.pageSettingData.backgroundColor})`; this.imgRgb = `${this.pageSettingData.backgroundColor}`;
}, },
computed: { computed: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment