mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	
		
			
	
	
		
			44 lines
		
	
	
		
			713 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
		
		
			
		
	
	
			44 lines
		
	
	
		
			713 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| 
								 | 
							
								<template>
							 | 
						||
| 
								 | 
							
								  <view>
							 | 
						||
| 
								 | 
							
								    <uni-card class="view-title" :title="title">
							 | 
						||
| 
								 | 
							
								      <text class="uni-body view-content">{{ content }}</text>
							 | 
						||
| 
								 | 
							
								    </uni-card>
							 | 
						||
| 
								 | 
							
								  </view>
							 | 
						||
| 
								 | 
							
								</template>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<script>
							 | 
						||
| 
								 | 
							
								  export default {
							 | 
						||
| 
								 | 
							
								    data() {
							 | 
						||
| 
								 | 
							
								      return {
							 | 
						||
| 
								 | 
							
								        title: '',
							 | 
						||
| 
								 | 
							
								        content: ''
							 | 
						||
| 
								 | 
							
								      }
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								    onLoad(options) {
							 | 
						||
| 
								 | 
							
								      this.title = options.title
							 | 
						||
| 
								 | 
							
								      this.content = options.content
							 | 
						||
| 
								 | 
							
								      uni.setNavigationBarTitle({
							 | 
						||
| 
								 | 
							
								        title: options.title
							 | 
						||
| 
								 | 
							
								      })
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<style scoped>
							 | 
						||
| 
								 | 
							
								  page {
							 | 
						||
| 
								 | 
							
								    background-color: #ffffff;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  .view-title {
							 | 
						||
| 
								 | 
							
								    font-weight: bold;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  .view-content {
							 | 
						||
| 
								 | 
							
								    font-size: 26rpx;
							 | 
						||
| 
								 | 
							
								    padding: 12px 5px 0;
							 | 
						||
| 
								 | 
							
								    color: #333;
							 | 
						||
| 
								 | 
							
								    line-height: 24px;
							 | 
						||
| 
								 | 
							
								    font-weight: normal;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								</style>
							 |