From b86771c87f19521b18f8bbf5751e98239e8f1450 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 07 四月 2024 22:57:55 +0800
Subject: [PATCH] 新增休息日
---
src/views/console/base/CalenderTab.vue | 28 +++++++++++++++++++++++++---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/src/views/console/base/CalenderTab.vue b/src/views/console/base/CalenderTab.vue
index 07efd23..a3d8a70 100644
--- a/src/views/console/base/CalenderTab.vue
+++ b/src/views/console/base/CalenderTab.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-04-04 22:45:43
* @LastEditors: Sneed
- * @LastEditTime: 2024-04-06 14:30:47
+ * @LastEditTime: 2024-04-07 20:31:00
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/base/CalenderTab.vue
-->
<template>
@@ -15,15 +15,34 @@
<p>搴旂敤骞翠唤: {{item.year}}</p>
</el-card>
</div>
-
</el-aside>
+ <el-container>
+ <el-header>
+ <el-button type="primary">鍏宠仈宸ヤ綅</el-button>
+ <el-button type="primary">缂栬緫鏃ュ巻</el-button>
+ <el-button type="primary">鍒犻櫎</el-button>
+ </el-header>
+ <el-main>
+ <Calendar :rows="12" disable-page-swipe :nav-visibility="''" :attributes='attributes'/>
+ </el-main>
+ </el-container>
</el-container>
</template>
<script>
+import { Calendar, DatePicker } from 'v-calendar';
+import 'v-calendar/style.css';
+
export default {
+ components: {
+ Calendar,
+ DatePicker
+ },
data() {
return {
+ attributes: [
+
+ ],
current: 0,
total: 1,
caleList: []
@@ -56,9 +75,12 @@
}
</script>
-<style lang="scss" scoped>
+<style lang="scss">
.card {
cursor: pointer;
margin: 12px 12px 12px 0;
}
+.vc-arrow {
+ display: none!important;;
+}
</style>
\ No newline at end of file
--
Gitblit v1.9.3