Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
a3553553
Commit
a3553553
authored
Jul 18, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3
parent
6bedfe80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
feedingRecord.vue
pages/feedingRecord/feedingRecord.vue
+7
-25
No files found.
pages/feedingRecord/feedingRecord.vue
View file @
a3553553
...
...
@@ -59,15 +59,11 @@
</view>
</view>
<!-- 选中日期指示器 -->
<!--
<view
v-if=
"!isCalendarExpanded"
class=
"date-indicator"
>
<view
class=
"triangle-down"
></view>
</view>
-->
<!-- 展开/收起按钮 -->
<view
class=
"expand-btn"
@
click=
"toggleCalendarExpand"
>
<image
:src=
"feedingRecordRes[isCalendarExpanded ? 'dropUp' : 'dropDown']"
class=
"expand-icon"
mode=
"aspectFit"
/>
<image
src=
"/static/feedingRecord/v1/dropDown.png"
class=
"expand-icon"
mode=
"aspectFit"
/>
</view>
</view>
...
...
@@ -659,7 +655,7 @@ watch(currentDate, (newDate, oldDate) => {
onMounted
(()
=>
{
// 组件挂载后的操作
})
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.feeding-record-page
{
...
...
@@ -942,33 +938,19 @@ onMounted(() => {
}
}
.date-indicator
{
position
:
absolute
;
bottom
:
20rpx
;
left
:
50%
;
transform
:
translateX
(
-50%
);
pointer-events
:
none
;
.triangle-down
{
width
:
0
;
height
:
0
;
border-left
:
8rpx
solid
transparent
;
border-right
:
8rpx
solid
transparent
;
border-top
:
8rpx
solid
#D4A574
;
}
}
.expand-btn
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
padding
:
20rpx
;
cursor
:
pointer
;
background
:
white
;
margin-top
:
0rpx
;
.expand-icon
{
width
:
32
rpx
;
height
:
32
rpx
;
width
:
136
rpx
;
height
:
46
rpx
;
transition
:
all
0
.3s
ease
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment