Commit 1458a30d authored by zhengke's avatar zhengke

修改

parent 4fa279ef
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
}, },
//选择图片 //选择图片
SelectId(msg) { SelectId(msg) {
this.data.backgroundPicUrl = msg.url; this.data.backgroundPicUrl = this.getIconLink(msg.url);
this.choicImg = false; this.choicImg = false;
}, },
//得到地图信息 //得到地图信息
......
...@@ -260,33 +260,34 @@ ...@@ -260,33 +260,34 @@
}, },
//选择图片 //选择图片
SelectId(msg) { SelectId(msg) {
let commonUrl = this.getIconLink(msg.url);
switch (this.type){ switch (this.type){
case 1: case 1:
this.data.closedPicUrl=msg.url; this.data.closedPicUrl=commonUrl;
break; break;
case 2: case 2:
this.data.openedPicUrl=msg.url; this.data.openedPicUrl=commonUrl;
break; break;
case 3: case 3:
this.data.home.picUrl=msg.url; this.data.home.picUrl=commonUrl;
break; break;
case 4: case 4:
this.data.customerService.picUrl=msg.url; this.data.customerService.picUrl=commonUrl;
break; break;
case 5: case 5:
this.data.tel.picUrl=msg.url; this.data.tel.picUrl=commonUrl;
break; break;
case 6: case 6:
this.data.web.picUrl=msg.url; this.data.web.picUrl=commonUrl;
break; break;
case 7: case 7:
this.data.mApp.picUrl=msg.url; this.data.mApp.picUrl=commonUrl;
break; break;
case 8: case 8:
this.data.mapNav.picUrl=msg.url; this.data.mapNav.picUrl=commonUrl;
break; break;
case 9: case 9:
this.data.customize.picUrl=msg.url; this.data.customize.picUrl=commonUrl;
break; break;
} }
this.choicImg = false; this.choicImg = false;
......
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