13 changed files with 218 additions and 5 deletions
			
			
		| After Width: | Height: | Size: 1.8 KiB | 
| After Width: | Height: | Size: 819 B | 
| Before Width: | Height: | Size: 2.6 KiB | 
| @ -0,0 +1,36 @@ | |||
| <template> | |||
|     <Tabs /> | |||
|     <div class="main"> | |||
|         <div class="menu panel"> | |||
|             <h2>区域选择</h2> | |||
|         </div> | |||
|         <div class="container panel"></div> | |||
|     </div> | |||
| </template> | |||
| 
 | |||
| <script lang="ts"> | |||
|     import { reactive, toRefs } from 'vue' | |||
|     import Tabs from './Tabs.vue' | |||
| 
 | |||
|     export default { | |||
|         name: 'MicrowaveRadiation', | |||
|         components: {Tabs}, | |||
|         setup() { | |||
|             let options = reactive({ | |||
|                 currentTab: '垂直廓线' | |||
|             }) | |||
| 
 | |||
|             const onTabClick = (name) => { | |||
|                 options.currentTab = name; | |||
|             } | |||
| 
 | |||
|             return { | |||
|                 ...toRefs(options), | |||
|                 onTabClick | |||
|             } | |||
|         } | |||
|     } | |||
| </script> | |||
| <style lang="less" scoped> | |||
|      | |||
| </style> | |||
| @ -0,0 +1,24 @@ | |||
| <template> | |||
|     <div class="tabs"> | |||
|       <router-link class="tab-item" to="/MicrowaveRadiation/VerticalProfile">垂直廓线</router-link> | |||
|       <router-link class="tab-item" to="/MicrowaveRadiation/ConvectiveIndex">对流指数对流指数对流指数</router-link> | |||
|       <router-link class="tab-item" to="/MicrowaveRadiation/TLogP">T-logP图</router-link> | |||
|       <router-link class="tab-item" to="/MicrowaveRadiation/BPInversion">BP反演产品</router-link> | |||
|     </div> | |||
|     <router-view></router-view> | |||
| </template> | |||
| 
 | |||
| <script lang="ts"> | |||
| import { reactive, toRefs, onMounted} from 'vue' | |||
| export default { | |||
|     name: "app", | |||
|     setup() { | |||
|         return { | |||
| 
 | |||
|         } | |||
|     } | |||
| } | |||
| </script> | |||
| 
 | |||
| <style lang="less" scoped> | |||
| </style> | |||
					Loading…
					
					
				
		Reference in new issue