123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <template>
- <div class="main">
- <div class="content">
- <sub-header />
- <div class="left">
- <n-tabs type="line" pane-class="tab-content">
- <template #prefix>
- <span class="meta-title">
- <img src="img/subtitle_3.png" />
- </span>
- </template>
- <template #suffix>
- <span class="input-container">
- <!-- <n-input
- v-model:value="inputValue"
- placeholder="请输入要搜索的藏品"
- /> -->
- <n-input-group round>
- <n-input
- round
- v-model:value="inputValue"
- placeholder="请输入要搜索的藏品"
- />
- <n-button round type="primary"> 搜索 </n-button>
- </n-input-group>
- </span>
- </template>
- <n-tab-pane name="all" tab="全部">
- <n-grid :x-gap="XGap" :y-gap="YGap" :cols="3" class="tab-grid">
- <template v-for="(_, index) in 16">
- <n-gi>
- <collect-box
- :id="index + 1"
- title="里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》"
- cover="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
- time="2023-01-02"
- />
- </n-gi>
- </template>
- </n-grid>
- </n-tab-pane>
- <n-tab-pane name="one" tab="一级">
- <n-grid :x-gap="XGap" :y-gap="YGap" :cols="3" class="tab-grid">
- <template v-for="(_, index) in 16">
- <n-gi>
- <collect-box
- :id="index + 1"
- title="里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》"
- cover="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
- time="2023-01-02"
- />
- </n-gi>
- </template>
- </n-grid>
- </n-tab-pane>
- <n-tab-pane name="two" tab="二级">
- <n-grid :x-gap="XGap" :y-gap="YGap" :cols="3" class="tab-grid">
- <template v-for="(_, index) in 16">
- <n-gi>
- <collect-box
- :id="index + 1"
- title="里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》"
- cover="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
- time="2023-01-02"
- />
- </n-gi>
- </template>
- </n-grid>
- </n-tab-pane>
- <n-tab-pane name="three" tab="三级">
- <n-grid :x-gap="XGap" :y-gap="YGap" :cols="3" class="tab-grid">
- <template v-for="(_, index) in 16">
- <n-gi>
- <collect-box
- :id="index + 1"
- title="里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》里仁学校学生使用的课本——日本东洋博物学 会编《博物标本图汇》"
- cover="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
- time="2023-01-02"
- />
- </n-gi>
- </template>
- </n-grid>
- </n-tab-pane>
- </n-tabs>
- </div>
- <side-menu />
- </div>
- </div>
- </template>
- <script setup>
- import { onMounted, ref } from "vue";
- import { useFullscreen } from "@vueuse/core";
- import collectBox from "../components/collectBox";
- import subHeader from "../components/subHeader";
- import sideMenu from "../components/sideMenu";
- // import noticeBox from "../components/noticeBox";
- // import { useInfoStore } from "../store/info";
- const XGap = ref(50);
- const YGap = ref(50);
- const inputValue = ref("");
- // const InfoStore = useInfoStore();
- onMounted(() => {
- // InfoStore.getData();
- });
- </script>
- <style lang="scss" scoped>
- :deep(.n-tabs-nav__suffix) {
- min-width: 100px;
- flex: 1;
- .input-container {
- width: 100%;
- max-width: 515px;
- padding: 0 20px;
- }
- }
- </style>
|