diff --git a/index.html b/index.html index 615d90e..59f908e 100644 --- a/index.html +++ b/index.html @@ -733,6 +733,7 @@ const SITE_MAP = [ {label:'创作排行', file:'make-ranking.html'}, {label:'分享赚钱', file:'make-share.html'}, {label:'热门创作', file:'make-popular.html'}, + {label:'我的创作', file:'make-my-recipes.html'}, {label:'个人中心', file:'me-home.html'}, {label:'健康档案', file:'me-health.html'}, {label:'我的订单', file:'me-orders.html'}, diff --git a/other-module/mini-program/nutrition/eat-nutrition.html b/other-module/mini-program/nutrition/eat-nutrition.html index 73a7621..be02dab 100644 --- a/other-module/mini-program/nutrition/eat-nutrition.html +++ b/other-module/mini-program/nutrition/eat-nutrition.html @@ -94,6 +94,15 @@ .bar-label .vals .cur { color: #333; font-weight: 600; } .bar-label .vals .sep { color: #ccc; } .bar-label .vals .ref { color: #999; } + /* 分类标题 */ + .category-title { + display: flex; align-items: center; gap: 6px; margin: 14px 0 10px; + padding: 6px 10px; background: #f8f9fa; border-radius: 6px; + border-left: 3px solid #1677ff; + } + .category-title:first-child { margin-top: 0; } + .category-title .cat-name { font-size: 13px; font-weight: 600; color: #333; } + .category-title .cat-count { font-size: 11px; color: #999; } .progress-bar { position: relative; height: 8px; background: #f5f5f5; border-radius: 4px; overflow: hidden; } @@ -199,6 +208,7 @@ 超标(>120%) +
宏量营养素9项
热量1286 / 2000kcal
@@ -236,6 +246,7 @@
+
矿物质7项
2600mg / 2000mg
@@ -265,6 +276,7 @@
+
维生素9项
维生素A320μgRE / 800μgRE
diff --git a/other-module/mini-program/nutrition/eat-order.html b/other-module/mini-program/nutrition/eat-order.html index 2fd15b7..a71d64f 100644 --- a/other-module/mini-program/nutrition/eat-order.html +++ b/other-module/mini-program/nutrition/eat-order.html @@ -54,7 +54,16 @@ display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; } .menu-item .food-info { flex: 1; min-width: 0; } - .menu-item .food-name { font-size: 14px; font-weight: 600; } + .menu-item .food-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } + .food-tag { + font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 3px; + white-space: nowrap; line-height: 16px; + } + .food-tag.recommend { background: #f6ffed; color: #52c41a; } + .food-tag.low-cal { background: #e6f7ff; color: #1677ff; } + .food-tag.high-protein { background: #f9f0ff; color: #722ed1; } + .food-tag.allergy { background: #fff7e6; color: #fa8c16; } + .food-tag.contraindication { background: #fff1f0; color: #f5222d; } .menu-item .food-desc { font-size: 11px; color: #999; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .menu-item .food-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; } .menu-item .food-price { font-size: 15px; font-weight: 700; color: #f5222d; } @@ -120,7 +129,7 @@