xg
This commit is contained in:
		
							parent
							
								
									7fc75735b5
								
							
						
					
					
						commit
						487233462f
					
				| @ -81,7 +81,7 @@ | ||||
|             getData(id){ | ||||
|                 this.$http.post(`/door/getArt/${id}`).then(res=>{ | ||||
|                     this.datObj  = res.data.data | ||||
|                     this.datObj.content = this.datObj.content.replace(/<img/g,'<img style="width:95%; height: auto;margin:0 auto"') | ||||
|                     this.datObj.content = this.datObj.content&&this.datObj.content.replace(/<img/g,'<img style="width:95%; height: auto;margin:0 auto"') | ||||
|                     if(this.datObj.category.parentName=="寻红·红巡"){ | ||||
|                         this.menu = this.searchMenu | ||||
|                     }else if(this.datObj.category.parentName=="旅游服务"){ | ||||
|  | ||||
| @ -90,7 +90,7 @@ | ||||
|                     // 领导成员 | ||||
|                     this.$http.post(`/door/getArt/9302`).then(res=>{ | ||||
|                         this.leaders = res.data.data | ||||
|                         this.leaders.content = this.leaders.content.replace(/<img/g,'<img style="width:95%; height: auto;margin:0 auto"') | ||||
|                         // this.leaders.content = this.leaders.content.replace(/<img/g,'<img style="width:95%; height: auto;margin:0 auto"') | ||||
|                     }) | ||||
|                     // 联系我们 | ||||
|                     this.$http.post(`/door/getArt/9305`).then(res=>{ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user