Commit a3553553 authored by spc's avatar spc

3

parent 6bedfe80
......@@ -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: 32rpx;
height: 32rpx;
width: 136rpx;
height: 46rpx;
transition: all 0.3s ease;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment