From 174c0cd84323b394f2009b864b09dc2d7f1e8de4 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期三, 10 四月 2024 22:12:45 +0800
Subject: [PATCH] update 页面
---
src/views/console/base/CalenderTab.vue | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/views/console/base/CalenderTab.vue b/src/views/console/base/CalenderTab.vue
index 72d5e3b..4e22a1e 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 15:05:06
+ * @LastEditTime: 2024-04-09 20:15:57
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/base/CalenderTab.vue
-->
<template>
@@ -23,7 +23,7 @@
<el-button type="primary">鍒犻櫎</el-button>
</el-header>
<el-main>
- <Calendar disable-page-swipe :nav-visibility="''" :attributes='attributes'/>
+ <Calendar :min-date="minDate" :rows="1" disable-page-swipe :nav-visibility="''" :attributes='attributes'/>
</el-main>
</el-container>
</el-container>
@@ -45,13 +45,20 @@
],
current: 0,
total: 1,
- caleList: []
+ caleList: [],
+ minDate: '',
+ maxDate: ''
}
},
created() {
this.load()
+ this.init()
},
methods: {
+ init () {
+ this.minDate = new Date('2024-01-01')
+ this.maxDate = new Date('2024-01-31')
+ },
load() {
if (this.current * 15 >= this.total) {
return
@@ -75,9 +82,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