| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | 
							- <template>
 
-   <view class="my-page ">
 
-     <uni-card class="view-title" :title="title">
 
-       <text class="uni-body view-content">{{ content }}</text>
 
-     </uni-card>
 
-   </view>
 
- </template>
 
- <script lang="uts">
 
-   export default {
 
-     data() {
 
-       return {
 
-         title: '',
 
-         content: ''
 
-       }
 
-     },
 
-     onLoad(options:OnLoadOptions) {
 
-       this.title = options['title'] as string
 
-       this.content = options['content'] as string
 
-       uni.setNavigationBarTitle({
 
-         title: options['title'] as string
 
-       })
 
-     }
 
-   }
 
- </script>
 
- <style scoped>
 
-   .my-page {
 
-     background-color: #ffffff;
 
- 	width: 100%;
 
- 	height: 100%;
 
-   }
 
-   .view-title {
 
-     font-weight: bold;
 
-   }
 
-   .view-content {
 
-     font-size: 26rpx;
 
-     padding: 12px 5px 0;
 
-     color: #333;
 
-     line-height: 24px;
 
-     font-weight: normal;
 
-   }
 
- </style>
 
 
  |