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.
		
		
		
		
		
			
		
			
				
					
					
						
							49 lines
						
					
					
						
							716 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							49 lines
						
					
					
						
							716 B
						
					
					
				| <template> | |
| 	<view class="bg" > | |
| 		<view class="content" v-html="formateRichText(rele_content)"></view> | |
| 		 | |
| 	</view> | |
| </template> | |
| 
 | |
| <script> | |
| 	export default { | |
| 		data() { | |
| 			return { | |
| 				rele_content: '', | |
| 				headerTitle: '', | |
| 				id: null | |
| 			} | |
| 		}, | |
| 		onLoad(option) { | |
| 			this.id = option.id; | |
| 			this.Post({ | |
| 				id: option.id | |
| 			},"/api/sweepstakes/sweepstakes_act/getActInfo").then(res => { | |
| 				this.rele_content = res.data.rule_desc | |
| 				uni.setNavigationBarTitle({ | |
| 					title:res.data.title | |
| 				}) | |
| 			}) | |
| 		}, | |
| 		onReady() { | |
| 			 | |
| 		}, | |
| 		methods: { | |
| 			 | |
| 			 | |
| 			 | |
| 		}, | |
| 		 | |
| 	} | |
| </script> | |
| 
 | |
| <style lang="scss" scoped> | |
| 	.bg { | |
| 		width: 750rpx; | |
| 		min-height: 100vh; | |
| 		padding-bottom: 60rpx; | |
| 	} | |
| 	.content{ | |
| 		padding: 0 30rpx; | |
| 	} | |
| </style> |