12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <van-tabs v-model="active" @click-tab="onClickTab">
- <van-tab title="问题清单">
- <listquestions-component></listquestions-component>
- </van-tab>
- <van-tab title="问题统计">
- <questionstatistics-component></questionstatistics-component>
- </van-tab>
- </van-tabs>
- </template>
- <script setup>
- import { ref } from "vue";
- import ListQuestions from "./listquestions.vue";
- import QuestionsTatistics from "./questionstatistics.vue";
- import { showToast } from 'vant';
- const active = ref('问题清单');
- const onClickTab = ({ title }) => showToast(title);
- // onMounted(() => {
- // getRStLLMaxDate().then(res => {
- // console.log(res)
- // })
- // })
- </script>
- <style scoped>
- /* .container {
- padding: 20px;
- overflow-y: auto;
- }
- .card {
- background-color: #f9f9f9;
- border: 1px solid #ddd;
- border-radius: 5px;
- padding: 20px;
- margin-bottom: 20px;
- }
- .btn {
- display: inline-block;
- background-color: #007BFF;
- color: white;
- padding: 10px 20px;
- text-decoration: none;
- border-radius: 5px;
- } */
- </style>
|