|
@@ -276,10 +276,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style scoped>
|
|
|
|
|
|
|
+<style scoped lang="scss">
|
|
|
|
|
+// 页面级局部调色板:仅本页专有色阶(跨页共性走 uni.scss 全局令牌)
|
|
|
|
|
+$c-tint-amber-edge: #FFECB3; // 能量提示渐变终点(amber-100;与全局 $mat-amber-tint 成梯度)
|
|
|
|
|
+
|
|
|
.checkin-container {
|
|
.checkin-container {
|
|
|
min-height: 100vh;
|
|
min-height: 100vh;
|
|
|
- background: #f5f7fa;
|
|
|
|
|
|
|
+ background: $app-bg;
|
|
|
padding-bottom: 60rpx;
|
|
padding-bottom: 60rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -291,7 +294,7 @@ export default {
|
|
|
/* ===== 能量提示 ===== */
|
|
/* ===== 能量提示 ===== */
|
|
|
.energy-tip {
|
|
.energy-tip {
|
|
|
margin: 20rpx 30rpx;
|
|
margin: 20rpx 30rpx;
|
|
|
- background: linear-gradient(135deg, #FFF8E1, #FFECB3);
|
|
|
|
|
|
|
+ background: linear-gradient(135deg, $mat-amber-tint, $c-tint-amber-edge);
|
|
|
border-radius: 16rpx;
|
|
border-radius: 16rpx;
|
|
|
padding: 16rpx 24rpx;
|
|
padding: 16rpx 24rpx;
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -304,13 +307,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
.tip-text {
|
|
.tip-text {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
- color: #E65100;
|
|
|
|
|
|
|
+ color: $mat-orange-strong;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* ===== 表单 ===== */
|
|
/* ===== 表单 ===== */
|
|
|
.form-section {
|
|
.form-section {
|
|
|
margin: 20rpx 30rpx;
|
|
margin: 20rpx 30rpx;
|
|
|
- background: #fff;
|
|
|
|
|
|
|
+ background: $app-surface;
|
|
|
border-radius: 20rpx;
|
|
border-radius: 20rpx;
|
|
|
padding: 24rpx;
|
|
padding: 24rpx;
|
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
|
|
@@ -318,7 +321,7 @@ export default {
|
|
|
.form-title {
|
|
.form-title {
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
- color: #333;
|
|
|
|
|
|
|
+ color: $facade-text-strong;
|
|
|
margin-bottom: 24rpx;
|
|
margin-bottom: 24rpx;
|
|
|
}
|
|
}
|
|
|
.form-item {
|
|
.form-item {
|
|
@@ -326,7 +329,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
.form-label {
|
|
.form-label {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
- color: #666;
|
|
|
|
|
|
|
+ color: $facade-text-body;
|
|
|
display: block;
|
|
display: block;
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
|
}
|
|
}
|
|
@@ -337,15 +340,15 @@ export default {
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
- background: #f5f7fa;
|
|
|
|
|
|
|
+ background: $app-bg;
|
|
|
border-radius: 12rpx;
|
|
border-radius: 12rpx;
|
|
|
padding: 16rpx 20rpx;
|
|
padding: 16rpx 20rpx;
|
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|
|
|
- color: #333;
|
|
|
|
|
|
|
+ color: $facade-text-strong;
|
|
|
}
|
|
}
|
|
|
.date-arrow {
|
|
.date-arrow {
|
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
|
- color: #ccc;
|
|
|
|
|
|
|
+ color: $facade-text-ghost;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* 行为选择 */
|
|
/* 行为选择 */
|
|
@@ -355,8 +358,8 @@ export default {
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
}
|
|
}
|
|
|
.behavior-chip {
|
|
.behavior-chip {
|
|
|
- background: #f0f0f0;
|
|
|
|
|
- color: #666;
|
|
|
|
|
|
|
+ background: $facade-fill;
|
|
|
|
|
+ color: $facade-text-body;
|
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
|
padding: 12rpx 20rpx;
|
|
padding: 12rpx 20rpx;
|
|
|
border-radius: 24rpx;
|
|
border-radius: 24rpx;
|
|
@@ -364,8 +367,8 @@ export default {
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
|
}
|
|
}
|
|
|
.behavior-selected {
|
|
.behavior-selected {
|
|
|
- background: #E8F5E9;
|
|
|
|
|
- color: #2E7D32;
|
|
|
|
|
|
|
+ background: $mat-green-tint;
|
|
|
|
|
+ color: $mat-green-strong;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* 心情 */
|
|
/* 心情 */
|
|
@@ -382,14 +385,14 @@ export default {
|
|
|
border-radius: 12rpx;
|
|
border-radius: 12rpx;
|
|
|
}
|
|
}
|
|
|
.mood-selected {
|
|
.mood-selected {
|
|
|
- background: #FFF8E1;
|
|
|
|
|
|
|
+ background: $mat-amber-tint;
|
|
|
}
|
|
}
|
|
|
.mood-emoji {
|
|
.mood-emoji {
|
|
|
font-size: 40rpx;
|
|
font-size: 40rpx;
|
|
|
}
|
|
}
|
|
|
.mood-label {
|
|
.mood-label {
|
|
|
font-size: 20rpx;
|
|
font-size: 20rpx;
|
|
|
- color: #666;
|
|
|
|
|
|
|
+ color: $facade-text-body;
|
|
|
margin-top: 4rpx;
|
|
margin-top: 4rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -397,18 +400,18 @@ export default {
|
|
|
.note-input {
|
|
.note-input {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- background: #f5f7fa;
|
|
|
|
|
|
|
+ background: $app-bg;
|
|
|
border-radius: 12rpx;
|
|
border-radius: 12rpx;
|
|
|
padding: 16rpx;
|
|
padding: 16rpx;
|
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|
|
|
- color: #333;
|
|
|
|
|
|
|
+ color: $facade-text-strong;
|
|
|
min-height: 120rpx;
|
|
min-height: 120rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* 提交按钮 */
|
|
/* 提交按钮 */
|
|
|
.submit-btn {
|
|
.submit-btn {
|
|
|
- background: linear-gradient(135deg, #4CAF50, #66BB6A);
|
|
|
|
|
- color: #fff;
|
|
|
|
|
|
|
+ background: linear-gradient(135deg, $mat-green, $mat-green-light-2);
|
|
|
|
|
+ color: $app-surface;
|
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -427,7 +430,7 @@ export default {
|
|
|
.section-title {
|
|
.section-title {
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
- color: #333;
|
|
|
|
|
|
|
+ color: $facade-text-strong;
|
|
|
margin-bottom: 16rpx;
|
|
margin-bottom: 16rpx;
|
|
|
}
|
|
}
|
|
|
.history-list {
|
|
.history-list {
|
|
@@ -435,7 +438,7 @@ export default {
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
}
|
|
}
|
|
|
.history-item {
|
|
.history-item {
|
|
|
- background: #fff;
|
|
|
|
|
|
|
+ background: $app-surface;
|
|
|
border-radius: 16rpx;
|
|
border-radius: 16rpx;
|
|
|
padding: 20rpx;
|
|
padding: 20rpx;
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
@@ -450,7 +453,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
.history-date {
|
|
.history-date {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
- color: #333;
|
|
|
|
|
|
|
+ color: $facade-text-strong;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
display: block;
|
|
display: block;
|
|
|
margin-bottom: 8rpx;
|
|
margin-bottom: 8rpx;
|
|
@@ -461,8 +464,8 @@ export default {
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
}
|
|
}
|
|
|
.bh-tag {
|
|
.bh-tag {
|
|
|
- background: #E3F2FD;
|
|
|
|
|
- color: #1565C0;
|
|
|
|
|
|
|
+ background: $mat-blue-tint;
|
|
|
|
|
+ color: $mat-blue-strong;
|
|
|
font-size: 20rpx;
|
|
font-size: 20rpx;
|
|
|
padding: 4rpx 12rpx;
|
|
padding: 4rpx 12rpx;
|
|
|
border-radius: 12rpx;
|
|
border-radius: 12rpx;
|
|
@@ -479,13 +482,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
.history-energy {
|
|
.history-energy {
|
|
|
font-size: 22rpx;
|
|
font-size: 22rpx;
|
|
|
- color: #4CAF50;
|
|
|
|
|
|
|
+ color: $mat-green;
|
|
|
margin-top: 4rpx;
|
|
margin-top: 4rpx;
|
|
|
}
|
|
}
|
|
|
.history-empty {
|
|
.history-empty {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
padding: 40rpx;
|
|
padding: 40rpx;
|
|
|
- color: #999;
|
|
|
|
|
|
|
+ color: $facade-text-muted;
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|