feat: support shared pet care tasks and smooth daily page return
ci-cd / verify (push) Successful in 2m18s
ci-cd / deploy (push) Skipped

This commit is contained in:
2026-10-05 20:20:05 +08:00
parent fbc1eda561
commit 3175936266
16 changed files with 196 additions and 119 deletions
@@ -1 +0,0 @@
Component({});
@@ -1 +0,0 @@
{ "component": true }
@@ -1,9 +0,0 @@
<view class="skeleton" aria-label="正在准备首页内容">
<view class="hero-placeholder"><view class="bone line short"></view><view class="bone line title"></view><view class="bone line"></view><view class="bone art"></view></view>
<view class="bone heading"></view>
<view class="card-placeholder"><view class="bone line title"></view><view class="bone line"></view><view class="bone action"></view></view>
<view class="stats-placeholder"><view class="bone"></view><view class="bone"></view><view class="bone"></view></view>
<view class="bone heading"></view>
<view class="card-placeholder"><view class="bone line"></view><view class="bone line short"></view></view>
<view class="loading-copy">正在准备今天的小日常…</view>
</view>
@@ -1,73 +0,0 @@
.bone {
background: linear-gradient(100deg, #f3e7dc 20%, #fff8ef 45%, #f3e7dc 70%);
background-size: 220% 100%;
animation: shimmer 1.6s ease-in-out infinite;
border-radius: 15rpx;
}
.hero-placeholder {
position: relative;
min-height: 330rpx;
background: #fff0e2;
border-radius: 38rpx;
padding: 45rpx 35rpx;
box-sizing: border-box;
}
.line {
height: 22rpx;
width: 65%;
margin: 24rpx 0;
}
.short {
width: 25%;
}
.title {
height: 38rpx;
width: 48%;
}
.art {
position: absolute;
right: 35rpx;
top: 62rpx;
width: 170rpx;
height: 190rpx;
border-radius: 40rpx;
}
.heading {
width: 230rpx;
height: 33rpx;
margin: 48rpx 0 28rpx;
}
.card-placeholder {
padding: 28rpx;
background: white;
border-radius: 35rpx;
}
.action {
height: 80rpx;
margin-top: 42rpx;
border-radius: 24rpx;
}
.stats-placeholder {
display: flex;
gap: 14rpx;
margin-top: 20rpx;
}
.stats-placeholder view {
height: 140rpx;
flex: 1;
border-radius: 28rpx;
}
.loading-copy {
text-align: center;
color: #a48d7e;
font-size: 22rpx;
margin-top: 32rpx;
}
@keyframes shimmer {
0% {
background-position: 100% 0;
}
100% {
background-position: -100% 0;
}
}