From efd620b121f27ba59a265402f2cec0ea0a5a1309 Mon Sep 17 00:00:00 2001 From: zhangnuoyan <9354631+zhangnuoyan@user.noreply.gitee.com> Date: 星期日, 25 八月 2024 18:33:53 +0800 Subject: [PATCH] feat: 增加组件 --- src/views/oneThree/member/pages/travel.vue | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/src/views/oneThree/member/pages/travel.vue b/src/views/oneThree/member/pages/travel.vue index 1e3a132..3eb2d20 100644 --- a/src/views/oneThree/member/pages/travel.vue +++ b/src/views/oneThree/member/pages/travel.vue @@ -33,6 +33,7 @@ </div> </div> </div> + <the-travel-line date="2023-12-13" :data="data" /> <div class="pagination"> <a-pagination :total="50" show-total show-jumper show-page-size style="margin-top: 8px" /> </div> @@ -53,6 +54,73 @@ value: "custom" } ]); +const data = reactive([ + { + type: "in", + title: "12:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "13:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "14:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "15:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "16:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "17:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "18:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "19:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "20:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "21:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "22:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "out", + title: "23:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + }, + { + type: "in", + title: "24:00", + content: "A灏忓尯2鍙锋ゼ1鍙锋4妤�" + } +]); </script> <style lang="scss" scoped> -- Gitblit v1.8.0