Add AMap location and weather header with warm mini program theme
ci-cd / verify (push) Successful in 1m54s
ci-cd / deploy (push) Skipped

This commit is contained in:
2026-10-04 11:03:34 +08:00
parent c2b51f96e0
commit 7fc50f9212
37 changed files with 568 additions and 122 deletions
+6 -6
View File
@@ -78,14 +78,14 @@
<view class="field-label">类型</view>
<radio-group bindchange="categoryChange">
<label>
<radio value="food" checked="{{category==='food'}}" color="#194f42" />
<radio value="food" checked="{{category==='food'}}" color="#b95738" />
喂食
</label>
<label>
<radio
value="water"
checked="{{category==='water'}}"
color="#194f42"
color="#b95738"
/>
喝水
</label>
@@ -93,7 +93,7 @@
<radio
value="other"
checked="{{category==='other'}}"
color="#194f42"
color="#b95738"
/>
其他
</label>
@@ -112,7 +112,7 @@
<radio
value="daily"
checked="{{repeat_rule==='daily'}}"
color="#194f42"
color="#b95738"
/>
每天
</label>
@@ -120,7 +120,7 @@
<radio
value="weekdays"
checked="{{repeat_rule==='weekdays'}}"
color="#194f42"
color="#b95738"
/>
工作日
</label>
@@ -128,7 +128,7 @@
<radio
value="weekends"
checked="{{repeat_rule==='weekends'}}"
color="#194f42"
color="#b95738"
/>
周末
</label>
+17 -17
View File
@@ -1,12 +1,12 @@
.summary {
background: #194f42;
color: white;
background: #e8f0fa;
color: #526986;
border-radius: 34rpx;
padding: 34rpx;
}
.summary > view:first-child {
font-size: 24rpx;
color: #bbe3c4;
color: #576c88;
}
.summary strong {
display: block;
@@ -15,28 +15,28 @@
}
.summary strong text {
font-size: 30rpx;
color: #b4d8be;
color: #576c88;
}
.progress {
height: 13rpx;
background: #3f7566;
background: #dbe4f2;
border-radius: 99rpx;
overflow: hidden;
}
.progress view {
height: 100%;
background: #e9ad6a;
background: #e49b75;
border-radius: 99rpx;
}
.add {
color: #2b8a63;
color: #b95738;
font-size: 24rpx;
font-weight: 600;
}
.date-nav {
display: flex;
justify-content: space-between;
color: #327c5e;
color: #b95738;
font-size: 23rpx;
margin: 0 0 22rpx;
}
@@ -48,7 +48,7 @@
align-items: center;
gap: 15rpx;
padding: 22rpx 0;
border-bottom: 1rpx solid #eef2ee;
border-bottom: 1rpx solid #ece2d8;
}
.task:last-child {
border: 0;
@@ -56,20 +56,20 @@
.check {
width: 42rpx;
height: 42rpx;
border: 3rpx solid #cbdcd1;
border: 3rpx solid #ece2d8;
border-radius: 13rpx;
text-align: center;
line-height: 37rpx;
color: white;
}
.check.done {
background: #389867;
border-color: #389867;
background: #b95738;
border-color: #b95738;
}
.icon {
width: 65rpx;
height: 65rpx;
background: #eff5ee;
background: #fff0e2;
border-radius: 18rpx;
display: grid;
place-items: center;
@@ -84,24 +84,24 @@
}
.info text {
font-size: 21rpx;
color: #92a498;
color: #886c5f;
margin-top: 5rpx;
}
.remove {
font-size: 36rpx;
color: #c4d0c7;
color: #9d8779;
}
.overlay {
position: fixed;
inset: 0;
background: #102a24a0;
background: #604a40a0;
z-index: 30;
display: flex;
align-items: flex-end;
}
.sheet {
width: 100%;
background: #f6f9f6;
background: #fff9f3;
border-radius: 35rpx 35rpx 0 0;
padding: 32rpx 32rpx calc(env(safe-area-inset-bottom) + 30rpx);
max-height: 85vh;