Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-21 16:04:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4b6433a607e74b73578682e6a866b5c453d2bcfa
4b6433a6
1 parent
96131129
style(CollapsibleCalendar): 优化日期切换按钮样式并移除多余注释
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/components/ui/CollapsibleCalendar.vue
src/components/ui/CollapsibleCalendar.vue
View file @
4b6433a
<!--
* @Date: 2025-01-25 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
5-12-19 01:22:52
* @LastEditTime: 202
6-01-21 16:03:33
* @FilePath: /mlaj/src/components/ui/CollapsibleCalendar.vue
* @Description: 可折叠日历组件
-->
...
...
@@ -29,7 +29,7 @@
<div class="calendar-date-display" @click="expandCalendar">
<div class="calendar-date-main">{{ formattedCurrentDate }}</div>
<div class="calendar-weekday">{{ formattedWeekday }}</div>
<div class="text-xs text-gray-500 mt-1 collapsible-text">切换日期</div>
<div class="text-xs text-gray-500 mt-1 collapsible-text
p-1 bg-white w-20 text-center rounded-full border border-gray-200
">切换日期</div>
</div>
<!-- <div class="calendar-action">
<div class="calendar-action-text">指定日期</div>
...
...
@@ -581,7 +581,7 @@ defineExpose({
.collapsible-text {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
max-height: 20px; // 假设文字高度不超过20px
//
max-height: 20px; // 假设文字高度不超过20px
opacity: 1;
}
...
...
Please
register
or
login
to post a comment