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.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							933 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							933 B
						
					
					
				
								const app = getApp()
							 | 
						|
								
							 | 
						|
								Component({
							 | 
						|
								  data: {
							 | 
						|
								  },
							 | 
						|
								  properties: {
							 | 
						|
								    myAssociationList: {
							 | 
						|
								      type: Array,
							 | 
						|
								      value: []
							 | 
						|
								    },
							 | 
						|
								    noDataVisible: {
							 | 
						|
								      type: Boolean,
							 | 
						|
								      value: true
							 | 
						|
								    }
							 | 
						|
								  },
							 | 
						|
								  methods: {
							 | 
						|
								    toAssociationDetail (e) {
							 | 
						|
								      const { state, groupid, groupname, description } = e.currentTarget.dataset
							 | 
						|
								      if (state === 0 || state === 5) {
							 | 
						|
								        wx.navigateTo({
							 | 
						|
								          url: `/subpages/association/pages/unpassAssociation/unpassAssociation?id=${groupid}&state=${state}&description=${encodeURIComponent(description)}`
							 | 
						|
								        })
							 | 
						|
								      } else if (state === 10 || state === 15) {
							 | 
						|
								        wx.navigateTo({
							 | 
						|
								          url: `/subpages/association/pages/topicList/topicList?groupId=${groupid}&groupName=${groupname}&state=${state}`
							 | 
						|
								        })
							 | 
						|
								      }
							 | 
						|
								    },
							 | 
						|
								    previewImage (e) {
							 | 
						|
								      app.globalData.previewImage = true
							 | 
						|
								      wx.previewImage({
							 | 
						|
								        urls: [e.currentTarget.dataset.src]
							 | 
						|
								      })
							 | 
						|
								    }
							 | 
						|
								  }
							 | 
						|
								})
							 |