| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <template>
- <n-layout>
- <n-layout has-sider>
- <n-layout-sider
- bordered
- show-trigger
- collapse-mode="width"
- :collapsed-width="64"
- :width="240"
- :native-scrollbar="false"
- >
- <n-menu
- :collapsed-width="64"
- :collapsed-icon-size="22"
- :options="menuOptions"
- />
- </n-layout-sider>
- <n-layout>
- 123
- </n-layout>
- </n-layout>
- </n-layout>
- </template>
- <script setup lang="ts">
- import NetService from '@/services/net.service.ts'
- const menuOptions = [
- {
- label: '且听风吟',
- key: 'hear-the-wind-sing'
- },
- {
- label: '1973年的弹珠玩具',
- key: 'pinball-1973',
- disabled: true,
- children: [
- {
- label: '鼠',
- key: 'rat'
- }
- ]
- },
- {
- label: '寻羊冒险记',
- key: 'a-wild-sheep-chase',
- disabled: true
- },
- {
- label: '舞,舞,舞',
- key: 'dance-dance-dance',
- children: [
- {
- type: 'group',
- label: '人物',
- key: 'people',
- children: [
- {
- label: '叙事者',
- key: 'narrator'
- },
- {
- label: '羊男',
- key: 'sheep-man'
- }
- ]
- },
- {
- label: '饮品',
- key: 'beverage',
- children: [
- {
- label: '威士忌',
- key: 'whisky'
- }
- ]
- },
- {
- label: '食物',
- key: 'food',
- children: [
- {
- label: '三明治',
- key: 'sandwich'
- }
- ]
- },
- {
- label: '过去增多,未来减少',
- key: 'the-past-increases-the-future-recedes'
- }
- ]
- }
- ]
- const netService = new NetService()
- netService.get('/sQuoteCenter/realTime.htm?code=JO_71&_=1744857439593').then((res) => {
- console.log(666, res)
- })
- </script>
- <style lang="scss" scoped>
- .n-layout {
- height: 100%;
- }
- </style>
|