You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							500 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							500 B
						
					
					
				
								const app = getApp()
							 | 
						|
								
							 | 
						|
								Component({
							 | 
						|
								  data: {
							 | 
						|
								    imagesList: ['../../../../images/mine/timg.jpg']
							 | 
						|
								  },
							 | 
						|
								  properties: {
							 | 
						|
								    topicObj: {
							 | 
						|
								      type: Object,
							 | 
						|
								      value: {}
							 | 
						|
								    }
							 | 
						|
								  },
							 | 
						|
								  methods:{
							 | 
						|
								    toDetail (e) {
							 | 
						|
								      this.triggerEvent('toTopicDetail', { topicId: e.currentTarget.dataset.topicid})
							 | 
						|
								    },
							 | 
						|
								    previewImage (e) {
							 | 
						|
								      app.globalData.previewImage = true
							 | 
						|
								      wx.previewImage({
							 | 
						|
								        urls: this.data.topicObj.images,
							 | 
						|
								        current: e.currentTarget.dataset.src
							 | 
						|
								      })
							 | 
						|
								    }
							 | 
						|
								  }
							 | 
						|
								})
							 |